@yuku123/z-team-component 0.2.77 → 0.2.78

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-DwuIBDL5.js → ChangeLogView-_bRZ55Yi.js} +1 -1
  2. package/dist/{ComponentDoc-B83ray2w.js → ComponentDoc-Aw4QY8oI.js} +3 -3
  3. package/dist/{InvitationManagementPage-CIzCRWPq.js → InvitationManagementPage-Bv0ys--k.js} +1 -1
  4. package/dist/{OnboardingPage-BpjNlxUb.js → OnboardingPage-B7274ITW.js} +2 -2
  5. package/dist/{ScheduledTasks-B87VNnoB.js → ScheduledTasks-cc8n9giN.js} +8 -8
  6. package/dist/{SystemShell-B0kCPBz3.js → SystemShell-CPGtmxXl.js} +5 -5
  7. package/dist/{api-CpE2blgj.js → api-B2APc1an.js} +1 -1
  8. package/dist/{api-DPkUB1DA.js → api-CIhVblfa.js} +357 -356
  9. package/dist/{createWorkspaceWsHandler-CzfcRs0V.js → createWorkspaceWsHandler-BWP5S5X3.js} +4 -4
  10. package/dist/{index-DTBIyd4I.js → index-51d5011I.js} +2 -2
  11. package/dist/{index-cDBJpBAd.js → index-62K6U_D_.js} +2 -2
  12. package/dist/{index-BO5y0Gwn.js → index-ACANAhdd.js} +3 -3
  13. package/dist/{index-DHDQGO4q.js → index-BgIheStI.js} +3 -3
  14. package/dist/{index-Sk6xoy0n.js → index-Bpi_ysgC.js} +3 -3
  15. package/dist/{index-B2rRYGQK.js → index-BwyN94l7.js} +841 -841
  16. package/dist/{index-D1KPGWN9.js → index-C6FYNbSB.js} +2 -2
  17. package/dist/{index-BBu4pWAN.js → index-CNcX0oSU.js} +3 -3
  18. package/dist/{index-DxRqnvKU.js → index-CijskN6t.js} +4 -4
  19. package/dist/{index-Zx-BL-9D.js → index-Cvx6rrxD.js} +1 -1
  20. package/dist/{index-BoJxTQwX.js → index-Cwr5Slv1.js} +6 -6
  21. package/dist/{index-D6yh1Kok.js → index-CxFAICql.js} +7 -7
  22. package/dist/{index-DahQUH9c.js → index-D2cy0jVs.js} +1 -1
  23. package/dist/{index-CW-JDoj9.js → index-DGbL_CMP.js} +3 -3
  24. package/dist/{index-DK6-iytM.js → index-DK70mOTz.js} +3 -3
  25. package/dist/{index-DeT_z9Dg.js → index-DT80Pwa_.js} +4 -4
  26. package/dist/{index-C7ymoOiI.js → index-Dm3wmB0K.js} +2 -2
  27. package/dist/{index-BHDrnEnt.js → index-DvBDj0ul.js} +2 -2
  28. package/dist/{index-COhXbfib.js → index-DzS6-D3M.js} +1 -1
  29. package/dist/{index-CpAUbzCH.js → index-Xn84wLNu.js} +5 -5
  30. package/dist/{index-LA0c93lD.js → index-_9zO-72Q.js} +7 -7
  31. package/dist/{index-DF2jRLkS.js → index-cdB5K3gx.js} +1 -1
  32. package/dist/{index-d5kr3WEM.js → index-nU-V276i.js} +4 -4
  33. package/dist/{index-DCwvhwes.js → index-uF04Ucsi.js} +1 -1
  34. package/dist/index.js +1 -1
  35. package/dist/{instance-CDGmSyID.js → instance-CDmueqyu.js} +1 -1
  36. package/dist/{menuPermission-Cn3TADR1.js → menuPermission-CO2KgDX8.js} +3 -3
  37. package/dist/pages.js +1 -1
  38. package/dist/{personal-VG7XVvW-.js → personal-Bn3RLYB8.js} +2 -2
  39. package/dist/{schedule-Dt_ZRuce.js → schedule-CETzN_0H.js} +1 -1
  40. package/dist/{send-default-agent-team-message-DtkE1OO4.js → send-default-agent-team-message-CfVaEN2y.js} +1 -1
  41. package/dist/{sso-user-CFgbZoZ1.js → sso-user-ZUKv4XMX.js} +1 -1
  42. package/dist/{training-DeyqAiin.js → training-bxftgU55.js} +1 -1
  43. package/dist/{useAppStore-DQP0l22d.js → useAppStore-BBr_Fwsz.js} +1 -1
  44. package/dist/{webide-BM1A4eJr.js → webide-Cuj_Pvkk.js} +4 -4
  45. package/package.json +1 -1
@@ -1,28 +1,28 @@
1
1
  import { jsx as e, jsxs as n, Fragment as Qe } from "react/jsx-runtime";
2
- import { a as Ae, n as ut, f as ze, B as Ge, u as gn, T as dn, aG as qo, K as ea, t as et, aH as Cn, aI as Vo, aJ as Jo, c as Yo, ap as Qo, az as lo, k as zt, aK as Zo, aL as Xo, ag as ta, am as es, y as ts, H as ns, at as as, au as os, an as ss, i as mo, o as rs, q as is, w as cs, v as ls, e as ds, aM as ms } from "./api-DPkUB1DA.js";
3
- import { s as us, r as Sn, f as ps } from "./ctc-sso-DtJHC-2M.js";
4
- import { n as na, i as hs } from "./ComponentDoc-B83ray2w.js";
5
- import { r as fs, h as Ca, s as Sa } from "./sso-user-CFgbZoZ1.js";
6
- import { Input as un, Tooltip as pn, Spin as _t, Tabs as ia, Popconfirm as Kn, Button as xt, Empty as Tn, Modal as hn, Form as rn, Checkbox as gs, Tag as _s, Select as ys, Popover as Ta, Dropdown as bs, Avatar as vs, message as Ia } from "antd";
2
+ import { a as Ae, n as ut, f as ze, B as Ge, u as gn, T as dn, aG as qo, K as ea, t as et, aH as Cn, aI as Vo, aJ as Jo, c as Yo, ap as Qo, az as lo, k as zt, aK as Zo, aL as Xo, ag as ta, am as es, y as ts, H as ns, at as as, au as os, an as ss, i as mo, aM as rs, o as is, q as cs, w as ls, v as ds, e as ms, aN as us } from "./api-CIhVblfa.js";
3
+ import { s as ps, r as Sn, f as hs } from "./ctc-sso-DtJHC-2M.js";
4
+ import { n as na, i as fs } from "./ComponentDoc-Aw4QY8oI.js";
5
+ import { r as gs, h as Ca, s as Sa } from "./sso-user-ZUKv4XMX.js";
6
+ import { Input as un, Tooltip as pn, Spin as _t, Tabs as ia, Popconfirm as Kn, Button as xt, Empty as Tn, Modal as hn, Form as rn, Checkbox as _s, Tag as ys, Select as bs, Popover as Ta, Dropdown as vs, Avatar as ks, message as Ia } from "antd";
7
7
  import mn from "query-string";
8
- import { useState as l, useRef as ue, useCallback as Y, useEffect as W, createElement as ks, useLayoutEffect as uo, useMemo as Ee, memo as Ns, Suspense as In, lazy as yt } from "react";
9
- import { useLocation as ws, useNavigate as Cs } from "react-router-dom";
8
+ import { useState as l, useRef as ue, useCallback as Y, useEffect as W, createElement as Ns, useLayoutEffect as uo, useMemo as Ee, memo as ws, Suspense as In, lazy as yt } from "react";
9
+ import { useLocation as Cs, useNavigate as Ss } from "react-router-dom";
10
10
  import { h as Nt } from "./history-BlrA1eaW.js";
11
- import { x as ve, y as Ss, B as po, S as ho, z as Ts, A as Ma, D as xa, E as Is, F as Ms, u as ca, i as fo, w as xs, G as Aa, H as As, a as $s, I as Ls, J as u, K as Pn, C as Es, c as Ps, U as Os } from "./createWorkspaceWsHandler-CzfcRs0V.js";
12
- import { BarChartOutlined as Ds, PieChartOutlined as Rs, LinkOutlined as go, UnorderedListOutlined as Fs, FileTextOutlined as la, ReadOutlined as _o, ConsoleSqlOutlined as Bs, DashboardOutlined as yo, SearchOutlined as Ln, CloseOutlined as nn, ProfileOutlined as Hs, CustomerServiceOutlined as bo, ThunderboltOutlined as $a, MessageOutlined as js, ReloadOutlined as Ws, UndoOutlined as Us, DeleteOutlined as zs, FolderOpenOutlined as Gs, BugOutlined as da, SolutionOutlined as Ks, BellOutlined as qs, CheckOutlined as Vs, SettingOutlined as aa, MenuFoldOutlined as Js, HeartOutlined as Ys, BookOutlined as Qs, BulbOutlined as Zs, TeamOutlined as Xs, ProductOutlined as er, CodeOutlined as tr, CloudServerOutlined as nr, DatabaseOutlined as ar, AppstoreOutlined as or, RobotOutlined as sr, UserOutlined as rr, NotificationOutlined as ir, LogoutOutlined as cr } from "@ant-design/icons";
13
- import { u as q, s as Oe, i as lr, p as Ut, T as dr } from "./useAppStore-DQP0l22d.js";
14
- import { h as On, f as mr, b as ur, m as pr, g as hr, G as La } from "./schedule-Dt_ZRuce.js";
15
- import { s as vo, j as fr, k as gr, l as _r, n as yr, t as br, o as vr, p as kr, q as Nr } from "./personal-VG7XVvW-.js";
11
+ import { x as ve, y as Ts, B as po, S as ho, z as Is, A as Ma, D as xa, E as Ms, F as xs, u as ca, i as fo, w as As, G as Aa, H as $s, a as Ls, I as Es, J as u, K as Pn, C as Ps, c as Os, U as Ds } from "./createWorkspaceWsHandler-BWP5S5X3.js";
12
+ import { BarChartOutlined as Rs, PieChartOutlined as Fs, LinkOutlined as go, UnorderedListOutlined as Bs, FileTextOutlined as la, ReadOutlined as _o, ConsoleSqlOutlined as Hs, DashboardOutlined as yo, SearchOutlined as Ln, CloseOutlined as nn, ProfileOutlined as js, CustomerServiceOutlined as bo, ThunderboltOutlined as $a, MessageOutlined as Ws, ReloadOutlined as Us, UndoOutlined as zs, DeleteOutlined as Gs, FolderOpenOutlined as Ks, BugOutlined as da, SolutionOutlined as qs, BellOutlined as Vs, CheckOutlined as Js, SettingOutlined as aa, MenuFoldOutlined as Ys, HeartOutlined as Qs, BookOutlined as Zs, BulbOutlined as Xs, TeamOutlined as er, ProductOutlined as tr, CodeOutlined as nr, CloudServerOutlined as ar, DatabaseOutlined as or, AppstoreOutlined as sr, RobotOutlined as rr, UserOutlined as ir, NotificationOutlined as cr, LogoutOutlined as lr } from "@ant-design/icons";
13
+ import { u as q, s as Oe, i as dr, p as Ut, T as mr } from "./useAppStore-BBr_Fwsz.js";
14
+ import { h as On, f as ur, b as pr, m as hr, g as fr, G as La } from "./schedule-CETzN_0H.js";
15
+ import { s as vo, j as gr, k as _r, l as yr, n as br, t as vr, o as kr, p as Nr, q as wr } from "./personal-Bn3RLYB8.js";
16
16
  import { createPortal as ko } from "react-dom";
17
- import { c as wr, l as Cr, j as Sr } from "./instance-CDGmSyID.js";
17
+ import { c as Cr, l as Sr, j as Tr } from "./instance-CDmueqyu.js";
18
18
  import Ea from "react-markdown";
19
19
  import Pa from "rehype-highlight";
20
20
  import Oa from "remark-gfm";
21
- import { ListTable as Tr } from "@yuku123/z-frontend-common/ui";
22
- import { configureMeta as Ir } from "@yuku123/z-meta-component";
21
+ import { ListTable as Ir } from "@yuku123/z-frontend-common/ui";
22
+ import { configureMeta as Mr } from "@yuku123/z-meta-component";
23
23
  /* empty css */
24
- import { s as Mr, i as xr } from "./mobile-client-O3yr9h6t.js";
25
- function Ar(t, a, s, r) {
24
+ import { s as xr, i as Ar } from "./mobile-client-O3yr9h6t.js";
25
+ function $r(t, a, s, r) {
26
26
  const [d, m] = l(t), _ = ue(null), g = ue(!1), C = ue(0), L = ue(t), H = ue(a), P = ue(s);
27
27
  H.current = a, P.current = s;
28
28
  const w = Y(
@@ -52,7 +52,7 @@ function Ar(t, a, s, r) {
52
52
  };
53
53
  }, [r]), { width: d, onMouseDown: w, ref: _ };
54
54
  }
55
- async function i_(t = {}, a = "") {
55
+ async function c_(t = {}, a = "") {
56
56
  const s = new URLSearchParams();
57
57
  a && s.set("token", a), t.page && s.set("page", String(t.page)), t.size && s.set("size", String(t.size)), t.tag && s.set("tag", t.tag), t.sort && s.set("sort", t.sort);
58
58
  const r = s.toString(), d = await Ae(
@@ -61,14 +61,14 @@ async function i_(t = {}, a = "") {
61
61
  );
62
62
  return ut(d, "获取帖子列表失败");
63
63
  }
64
- async function c_(t, a = "") {
64
+ async function l_(t, a = "") {
65
65
  const s = a ? `?token=${encodeURIComponent(a)}` : "", r = await Ae(
66
66
  `${Ge}/community/posts/${t}${s}`,
67
67
  ze
68
68
  );
69
69
  return ut(r, "获取帖子详情失败");
70
70
  }
71
- async function l_(t, a = "") {
71
+ async function d_(t, a = "") {
72
72
  const s = await Ae(
73
73
  `${Ge}/community/posts${a ? `?token=${encodeURIComponent(a)}` : ""}`,
74
74
  {
@@ -80,7 +80,7 @@ async function l_(t, a = "") {
80
80
  );
81
81
  return ut(s, "发帖失败");
82
82
  }
83
- async function d_(t, a, s = "") {
83
+ async function m_(t, a, s = "") {
84
84
  const r = await Ae(
85
85
  `${Ge}/community/posts/${t}${s ? `?token=${encodeURIComponent(s)}` : ""}`,
86
86
  {
@@ -92,28 +92,28 @@ async function d_(t, a, s = "") {
92
92
  );
93
93
  return ut(r, "编辑帖子失败");
94
94
  }
95
- async function m_(t, a = "") {
95
+ async function u_(t, a = "") {
96
96
  const s = a ? `?token=${encodeURIComponent(a)}` : "", r = await Ae(`${Ge}/community/posts/${t}${s}`, {
97
97
  ...ze,
98
98
  method: "DELETE"
99
99
  });
100
100
  return ut(r, "删帖失败");
101
101
  }
102
- async function u_(t, a = "") {
102
+ async function p_(t, a = "") {
103
103
  const s = a ? `?token=${encodeURIComponent(a)}` : "", r = await Ae(`${Ge}/community/posts/${t}/pin${s}`, {
104
104
  ...ze,
105
105
  method: "POST"
106
106
  });
107
107
  return ut(r, "置顶操作失败");
108
108
  }
109
- async function p_(t, a = "") {
109
+ async function h_(t, a = "") {
110
110
  const s = a ? `?token=${encodeURIComponent(a)}` : "", r = await Ae(`${Ge}/community/posts/${t}/feature${s}`, {
111
111
  ...ze,
112
112
  method: "POST"
113
113
  });
114
114
  return ut(r, "精华操作失败");
115
115
  }
116
- async function h_(t, a, s = "") {
116
+ async function f_(t, a, s = "") {
117
117
  const r = await Ae(
118
118
  `${Ge}/community/posts/${t}/comments${s ? `?token=${encodeURIComponent(s)}` : ""}`,
119
119
  {
@@ -125,7 +125,7 @@ async function h_(t, a, s = "") {
125
125
  );
126
126
  return ut(r, "发评论失败");
127
127
  }
128
- async function f_(t, a = "") {
128
+ async function g_(t, a = "") {
129
129
  const s = await Ae(
130
130
  `${Ge}/community/likes${a ? `?token=${encodeURIComponent(a)}` : ""}`,
131
131
  {
@@ -137,7 +137,7 @@ async function f_(t, a = "") {
137
137
  );
138
138
  return ut(s, "点赞操作失败");
139
139
  }
140
- async function g_(t, a = "") {
140
+ async function __(t, a = "") {
141
141
  const s = await Ae(
142
142
  `${Ge}/community/favorites${a ? `?token=${encodeURIComponent(a)}` : ""}`,
143
143
  {
@@ -149,7 +149,7 @@ async function g_(t, a = "") {
149
149
  );
150
150
  return ut(s, "收藏操作失败");
151
151
  }
152
- async function __(t, a = "") {
152
+ async function y_(t, a = "") {
153
153
  const s = await Ae(
154
154
  `${Ge}/community/follows${a ? `?token=${encodeURIComponent(a)}` : ""}`,
155
155
  {
@@ -161,15 +161,15 @@ async function __(t, a = "") {
161
161
  );
162
162
  return ut(s, "关注操作失败");
163
163
  }
164
- async function y_(t = "") {
164
+ async function b_(t = "") {
165
165
  const a = t ? `?token=${encodeURIComponent(t)}` : "", s = await Ae(`${Ge}/community/tags${a}`, ze);
166
166
  return ut(s, "获取标签列表失败");
167
167
  }
168
- async function b_(t = "") {
168
+ async function v_(t = "") {
169
169
  const a = t ? `?token=${encodeURIComponent(t)}` : "", s = await Ae(`${Ge}/community/my/posts${a}`, ze);
170
170
  return ut(s, "获取我的帖子失败");
171
171
  }
172
- async function v_(t = "") {
172
+ async function k_(t = "") {
173
173
  const a = t ? `?token=${encodeURIComponent(t)}` : "", s = await Ae(`${Ge}/community/my/drafts${a}`, ze);
174
174
  return ut(s, "获取我的草稿失败");
175
175
  }
@@ -179,7 +179,7 @@ async function Da() {
179
179
  }
180
180
  const ma = "http://127.0.0.1:28080";
181
181
  let Dn = "direct", Gt = "";
182
- function k_(t, a = "") {
182
+ function N_(t, a = "") {
183
183
  Dn = t, Gt = t === "tunnel" ? a : "";
184
184
  }
185
185
  async function $t(t, a = {}) {
@@ -224,13 +224,13 @@ function _n(t) {
224
224
  updatedAt: Number(t.updatedAt ?? t.updated_at ?? 0)
225
225
  };
226
226
  }
227
- async function N_(t) {
227
+ async function w_(t) {
228
228
  const a = t ? `/v1/sessions?agentId=${encodeURIComponent(t)}` : "/v1/sessions", s = await $t(a);
229
229
  if (!s.ok) throw new Error("获取本地会话列表失败");
230
230
  const r = await s.json();
231
231
  return (Array.isArray(r) ? r : (r == null ? void 0 : r.sessions) ?? []).map(_n);
232
232
  }
233
- async function w_(t, a) {
233
+ async function C_(t, a) {
234
234
  const s = { title: t };
235
235
  a && (s.agentId = a);
236
236
  const r = await $t("/v1/sessions", {
@@ -241,12 +241,12 @@ async function w_(t, a) {
241
241
  if (!r.ok) throw new Error("创建本地会话失败");
242
242
  return _n(await r.json());
243
243
  }
244
- async function C_(t) {
244
+ async function S_(t) {
245
245
  const a = await $t(`/v1/sessions/${t}`);
246
246
  if (!a.ok) throw new Error("获取本地会话详情失败");
247
247
  return _n(await a.json());
248
248
  }
249
- async function S_(t, a) {
249
+ async function T_(t, a) {
250
250
  const s = await $t(
251
251
  `/v1/sessions/${t}/truncate`,
252
252
  {
@@ -259,7 +259,7 @@ async function S_(t, a) {
259
259
  const r = await s.json();
260
260
  return { previousId: r.previousId, session: _n(r.session) };
261
261
  }
262
- async function T_(t, a) {
262
+ async function I_(t, a) {
263
263
  const s = await $t(`/v1/sessions/${t}`, {
264
264
  method: "PATCH",
265
265
  headers: { "Content-Type": "application/json" },
@@ -268,7 +268,7 @@ async function T_(t, a) {
268
268
  if (!s.ok) throw new Error("重命名会话失败");
269
269
  return _n(await s.json());
270
270
  }
271
- async function I_(t) {
271
+ async function M_(t) {
272
272
  const a = await $t("/v1/chat/cancel", {
273
273
  method: "POST",
274
274
  headers: { "Content-Type": "application/json" },
@@ -277,10 +277,10 @@ async function I_(t) {
277
277
  if (!a.ok) throw new Error("终止生成失败");
278
278
  return a.json();
279
279
  }
280
- async function M_(t, a, s, r) {
280
+ async function x_(t, a, s, r) {
281
281
  var H, P;
282
282
  if (Dn === "tunnel")
283
- return Lr(t, a, s, r, Gt);
283
+ return Er(t, a, s, r, Gt);
284
284
  const { onToken: d, onReasoning: m, onEvent: _, onFinal: g, onError: C, onComplete: L } = s;
285
285
  try {
286
286
  const w = {
@@ -352,19 +352,19 @@ async function M_(t, a, s, r) {
352
352
  C(w instanceof Error ? w : new Error(String(w)));
353
353
  }
354
354
  }
355
- async function x_() {
355
+ async function A_() {
356
356
  try {
357
- return Dn === "tunnel" ? !!(await $r(Gt)).online : (await fetch(`${ma}/health`)).ok;
357
+ return Dn === "tunnel" ? !!(await Lr(Gt)).online : (await fetch(`${ma}/health`)).ok;
358
358
  } catch {
359
359
  return !1;
360
360
  }
361
361
  }
362
- async function A_() {
362
+ async function $_() {
363
363
  const t = await $t("/v1/agents");
364
364
  if (!t.ok) throw new Error("获取本地 Agent 列表失败");
365
365
  return (await t.json()).agents || [];
366
366
  }
367
- async function $_(t, a, s, r) {
367
+ async function L_(t, a, s, r) {
368
368
  const m = await $t("/v1/agents", {
369
369
  method: "POST",
370
370
  headers: { "Content-Type": "application/json" },
@@ -376,12 +376,12 @@ async function $_(t, a, s, r) {
376
376
  }
377
377
  return m.json();
378
378
  }
379
- async function L_(t) {
379
+ async function E_(t) {
380
380
  if (!(await $t(`/v1/agents/${t}`, {
381
381
  method: "DELETE"
382
382
  })).ok) throw new Error("删除 Agent 失败");
383
383
  }
384
- async function E_(t, a = "", s = "") {
384
+ async function P_(t, a = "", s = "") {
385
385
  const r = new URLSearchParams();
386
386
  a && r.set("subdir", a), s && r.set("token", s);
387
387
  const d = r.toString(), m = await Ae(
@@ -390,7 +390,7 @@ async function E_(t, a = "", s = "") {
390
390
  );
391
391
  return gn(m, "获取文件列表失败");
392
392
  }
393
- async function P_(t, a = "", s = "") {
393
+ async function O_(t, a = "", s = "") {
394
394
  const r = new URLSearchParams();
395
395
  a && r.set("path", a), s && r.set("token", s);
396
396
  const d = r.toString(), m = await Ae(
@@ -399,7 +399,7 @@ async function P_(t, a = "", s = "") {
399
399
  );
400
400
  return gn(m, "读取文件内容失败");
401
401
  }
402
- async function O_(t, a = 1, s = 20, r = "") {
402
+ async function D_(t, a = 1, s = 20, r = "") {
403
403
  const d = new URLSearchParams();
404
404
  d.set("page", String(a)), d.set("size", String(s)), r && d.set("token", r);
405
405
  const m = await Ae(
@@ -408,7 +408,7 @@ async function O_(t, a = 1, s = 20, r = "") {
408
408
  );
409
409
  return gn(m, "获取 Skill 列表失败");
410
410
  }
411
- async function D_(t, a, s, r = "") {
411
+ async function R_(t, a, s, r = "") {
412
412
  const d = r ? `?token=${encodeURIComponent(r)}` : "", m = await Ae(
413
413
  `${Ge}/personal-agents/${t}/skills/${encodeURIComponent(
414
414
  a
@@ -422,14 +422,14 @@ async function D_(t, a, s, r = "") {
422
422
  );
423
423
  return gn(m, "切换 Skill 失败");
424
424
  }
425
- async function $r(t = "") {
425
+ async function Lr(t = "") {
426
426
  const a = t ? `?token=${encodeURIComponent(t)}` : "", s = await Ae(
427
427
  `${Ge}/personal/local-agent/status${a}`,
428
428
  ze
429
429
  );
430
430
  return gn(s, "获取本地 Agent 状态失败");
431
431
  }
432
- async function Lr(t, a, s, r, d = "") {
432
+ async function Er(t, a, s, r, d = "") {
433
433
  const { onToken: m, onReasoning: _, onEvent: g, onFinal: C, onError: L, onComplete: H } = s, P = {
434
434
  messages: [{ role: "user", content: a }],
435
435
  stream: !0,
@@ -528,19 +528,19 @@ async function Lr(t, a, s, r, d = "") {
528
528
  L(w instanceof Error ? w : new Error(String(w)));
529
529
  }
530
530
  }
531
- const Kt = "lifeTab", Er = "market", Pr = "browser-plugin";
532
- function Or(t) {
531
+ const Kt = "lifeTab", Pr = "market", Or = "browser-plugin";
532
+ function Dr(t) {
533
533
  return t === "browser-plugin" || t === "ztools-plugin" || t === "software" || t === "coming";
534
534
  }
535
- function R_() {
535
+ function F_() {
536
536
  try {
537
537
  const a = new URL(window.location.href).searchParams.get(Kt);
538
- return a && (a === "learning" || a === "community" || Or(a)) ? a : null;
538
+ return a && (a === "learning" || a === "community" || Dr(a)) ? a : null;
539
539
  } catch {
540
540
  return null;
541
541
  }
542
542
  }
543
- function F_(t) {
543
+ function B_(t) {
544
544
  try {
545
545
  const a = new URL(window.location.href);
546
546
  t ? a.searchParams.set(Kt, t) : a.searchParams.delete(Kt), window.history.replaceState(window.history.state, "", a.toString());
@@ -566,12 +566,12 @@ const $n = [
566
566
  function Mn() {
567
567
  try {
568
568
  const t = new URL(window.location.href);
569
- return t.searchParams.get("mode") !== Er ? !1 : (t.searchParams.set("mode", "life"), t.searchParams.get(Kt) || t.searchParams.set(Kt, Pr), window.history.replaceState(window.history.state, "", t.toString()), !0);
569
+ return t.searchParams.get("mode") !== Pr ? !1 : (t.searchParams.set("mode", "life"), t.searchParams.get(Kt) || t.searchParams.set(Kt, Or), window.history.replaceState(window.history.state, "", t.toString()), !0);
570
570
  } catch {
571
571
  return !1;
572
572
  }
573
573
  }
574
- function Dr() {
574
+ function Rr() {
575
575
  try {
576
576
  const t = new URL(window.location.href), a = t.searchParams.get("mode");
577
577
  if (a && $n.includes(a))
@@ -584,7 +584,7 @@ function Dr() {
584
584
  }
585
585
  return "collaboration";
586
586
  }
587
- function Rr(t) {
587
+ function Fr(t) {
588
588
  try {
589
589
  const a = new URL(window.location.href);
590
590
  t === "collaboration" ? a.searchParams.delete("mode") : a.searchParams.set("mode", t), window.history.replaceState(window.history.state, "", a.toString());
@@ -602,7 +602,7 @@ const Ra = {
602
602
  smart: "SMART_WORKBENCH",
603
603
  dev: "DEV_ENTRY",
604
604
  test: "TEST_ENTRY"
605
- }, Fr = ["personal", "collaboration"], Br = [
605
+ }, Br = ["personal", "collaboration"], Hr = [
606
606
  "PERSONAL_ENTRY",
607
607
  "COLLABORATION_ENTRY",
608
608
  "BRAVE_LIFE",
@@ -611,14 +611,14 @@ const Ra = {
611
611
  "DEV_ENTRY",
612
612
  "TEST_ENTRY"
613
613
  ];
614
- function Hr(t) {
614
+ function jr(t) {
615
615
  return !t.is_global_admin && !(t.permissions && t.permissions.length > 0);
616
616
  }
617
617
  function ot(t, a) {
618
618
  if (!t)
619
- return Ra[a] ? Fr.includes(a) : !0;
619
+ return Ra[a] ? Br.includes(a) : !0;
620
620
  const s = Ra[a];
621
- return !s || On(t, s) ? !0 : Hr(t) && Br.includes(s);
621
+ return !s || On(t, s) ? !0 : jr(t) && Hr.includes(s);
622
622
  }
623
623
  function Ne(t) {
624
624
  function a({ className: s, spin: r, style: d, ...m }) {
@@ -644,14 +644,14 @@ function Ne(t) {
644
644
  },
645
645
  ...m,
646
646
  children: t.map(
647
- ([_, g], C) => ks(_, { ...g, key: C })
647
+ ([_, g], C) => Ns(_, { ...g, key: C })
648
648
  )
649
649
  }
650
650
  );
651
651
  }
652
652
  return a;
653
653
  }
654
- const B_ = Ne([
654
+ const H_ = Ne([
655
655
  [
656
656
  "path",
657
657
  {
@@ -659,7 +659,7 @@ const B_ = Ne([
659
659
  key: "k3hazp"
660
660
  }
661
661
  ]
662
- ]), jr = Ne([
662
+ ]), Wr = Ne([
663
663
  [
664
664
  "path",
665
665
  {
@@ -669,10 +669,10 @@ const B_ = Ne([
669
669
  ],
670
670
  ["path", { d: "M9 18h6", key: "x1upvd" }],
671
671
  ["path", { d: "M10 22h4", key: "ceow96" }]
672
- ]), Wr = Ne([
672
+ ]), Ur = Ne([
673
673
  ["path", { d: "m16 18 6-6-6-6", key: "eg8j8" }],
674
674
  ["path", { d: "m8 6-6 6 6 6", key: "ppft3o" }]
675
- ]), Ur = Ne([
675
+ ]), zr = Ne([
676
676
  [
677
677
  "path",
678
678
  {
@@ -680,14 +680,14 @@ const B_ = Ne([
680
680
  key: "mvr1a0"
681
681
  }
682
682
  ]
683
- ]), zr = Ne([
683
+ ]), Gr = Ne([
684
684
  [
685
685
  "path",
686
686
  { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }
687
687
  ],
688
688
  ["path", { d: "M3 3v5h5", key: "1xhq8a" }],
689
689
  ["path", { d: "M12 7v5l4 2", key: "1fdv2h" }]
690
- ]), Gr = Ne([
690
+ ]), Kr = Ne([
691
691
  ["path", { d: "m16 17 5-5-5-5", key: "1bji2h" }],
692
692
  ["path", { d: "M21 12H9", key: "dn1m92" }],
693
693
  ["path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4", key: "1uf3rs" }]
@@ -700,15 +700,15 @@ const B_ = Ne([
700
700
  }
701
701
  ],
702
702
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
703
- ]), H_ = Ne([
703
+ ]), j_ = Ne([
704
704
  ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
705
705
  ["path", { d: "M16 3.128a4 4 0 0 1 0 7.744", key: "16gr8j" }],
706
706
  ["path", { d: "M22 21v-2a4 4 0 0 0-3-3.87", key: "kshegd" }],
707
707
  ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }]
708
- ]), Kr = Ne([
708
+ ]), qr = Ne([
709
709
  ["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2", key: "975kel" }],
710
710
  ["circle", { cx: "12", cy: "7", r: "4", key: "17ys0d" }]
711
- ]), qr = Ne([
711
+ ]), Vr = Ne([
712
712
  [
713
713
  "path",
714
714
  { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }
@@ -722,12 +722,12 @@ const B_ = Ne([
722
722
  ]), No = Ne([
723
723
  ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
724
724
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
725
- ]), Vr = Ne([
725
+ ]), Jr = Ne([
726
726
  ["path", { d: "M12 6v6l4 2", key: "mmk7yg" }],
727
727
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
728
- ]), j_ = Ne([
728
+ ]), W_ = Ne([
729
729
  ["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
730
- ]), Jr = Ne([
730
+ ]), Yr = Ne([
731
731
  ["circle", { cx: "18", cy: "5", r: "3", key: "gq8acd" }],
732
732
  ["circle", { cx: "6", cy: "12", r: "3", key: "w7nqdw" }],
733
733
  ["circle", { cx: "18", cy: "19", r: "3", key: "1xt0gg" }],
@@ -736,7 +736,7 @@ const B_ = Ne([
736
736
  { x1: "8.59", x2: "15.42", y1: "13.51", y2: "17.49", key: "47mynk" }
737
737
  ],
738
738
  ["line", { x1: "15.41", x2: "8.59", y1: "6.51", y2: "10.49", key: "1n3mei" }]
739
- ]), Yr = Ne([
739
+ ]), Qr = Ne([
740
740
  [
741
741
  "path",
742
742
  {
@@ -744,14 +744,14 @@ const B_ = Ne([
744
744
  key: "1xq2db"
745
745
  }
746
746
  ]
747
- ]), W_ = Ne([
747
+ ]), U_ = Ne([
748
748
  ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
749
749
  ["path", { d: "M12 19V5", key: "x0mq9r" }]
750
750
  ]), Fa = Ne([
751
751
  ["ellipse", { cx: "12", cy: "5", rx: "9", ry: "3", key: "msslwz" }],
752
752
  ["path", { d: "M3 5V19A9 3 0 0 0 21 19V5", key: "1wlel7" }],
753
753
  ["path", { d: "M3 12A9 3 0 0 0 21 12", key: "mv7ke4" }]
754
- ]), Qr = Ne([
754
+ ]), Zr = Ne([
755
755
  ["path", { d: "M12 8V4H8", key: "hb8ula" }],
756
756
  [
757
757
  "rect",
@@ -761,7 +761,7 @@ const B_ = Ne([
761
761
  ["path", { d: "M20 14h2", key: "4cs60a" }],
762
762
  ["path", { d: "M15 13v2", key: "1xurst" }],
763
763
  ["path", { d: "M9 13v2", key: "rq6x2g" }]
764
- ]), Zr = Ne([
764
+ ]), Xr = Ne([
765
765
  [
766
766
  "path",
767
767
  {
@@ -769,7 +769,7 @@ const B_ = Ne([
769
769
  key: "1ngwbx"
770
770
  }
771
771
  ]
772
- ]), Xr = Ne([
772
+ ]), ei = Ne([
773
773
  [
774
774
  "path",
775
775
  {
@@ -777,7 +777,7 @@ const B_ = Ne([
777
777
  key: "1xq2db"
778
778
  }
779
779
  ]
780
- ]), ei = Ne([
780
+ ]), ti = Ne([
781
781
  ["path", { d: "M12 20v2", key: "1lh1kg" }],
782
782
  ["path", { d: "M12 2v2", key: "tus03m" }],
783
783
  ["path", { d: "M17 20v2", key: "1rnc9c" }],
@@ -795,17 +795,17 @@ const B_ = Ne([
795
795
  { x: "4", y: "4", width: "16", height: "16", rx: "2", key: "1vbyd7" }
796
796
  ],
797
797
  ["rect", { x: "8", y: "8", width: "8", height: "8", rx: "1", key: "z9xiuo" }]
798
- ]), ti = Ne([
798
+ ]), ni = Ne([
799
799
  ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
800
800
  ]);
801
- function U_(t) {
802
- return /* @__PURE__ */ e(ti, { spin: !0, ...t });
801
+ function z_(t) {
802
+ return /* @__PURE__ */ e(ni, { spin: !0, ...t });
803
803
  }
804
804
  const wo = Ne([
805
805
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
806
806
  ["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
807
807
  ["path", { d: "M12 17h.01", key: "p32p05" }]
808
- ]), ni = Ne([
808
+ ]), ai = Ne([
809
809
  [
810
810
  "path",
811
811
  {
@@ -813,14 +813,14 @@ const wo = Ne([
813
813
  key: "cloud1"
814
814
  }
815
815
  ]
816
- ]), ai = Ne([
816
+ ]), oi = Ne([
817
817
  ["circle", { cx: "12", cy: "12", r: "10", key: "globe1" }],
818
818
  [
819
819
  "path",
820
820
  { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "globe2" }
821
821
  ],
822
822
  ["path", { d: "M2 12h20", key: "globe3" }]
823
- ]), oi = Ne([
823
+ ]), si = Ne([
824
824
  ["rect", { width: "20", height: "5", x: "2", y: "3", rx: "1", key: "arch1" }],
825
825
  ["path", { d: "M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8", key: "arch2" }],
826
826
  ["path", { d: "M10 12h4", key: "arch3" }]
@@ -860,7 +860,7 @@ const wo = Ne([
860
860
  ["path", { d: "M7 16h10", key: "kb7" }],
861
861
  ["path", { d: "M8 12h.01", key: "kb8" }],
862
862
  ["rect", { width: "20", height: "16", x: "2", y: "4", rx: "2", key: "kb9" }]
863
- ]), si = Ne([
863
+ ]), ri = Ne([
864
864
  [
865
865
  "path",
866
866
  {
@@ -868,11 +868,11 @@ const wo = Ne([
868
868
  key: "shield1"
869
869
  }
870
870
  ]
871
- ]), ri = Ne([
871
+ ]), ii = Ne([
872
872
  ["circle", { cx: "12", cy: "12", r: "10", key: "info1" }],
873
873
  ["path", { d: "M12 16v-4", key: "info2" }],
874
874
  ["path", { d: "M12 8h.01", key: "info3" }]
875
- ]), ii = Ne([
875
+ ]), ci = Ne([
876
876
  ["path", { d: "M5 12h14", key: "1ays0h" }],
877
877
  ["path", { d: "M12 5v14", key: "s699le" }]
878
878
  ]), oa = Ne([
@@ -897,94 +897,94 @@ const wo = Ne([
897
897
  "rect",
898
898
  { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }
899
899
  ]
900
- ]), ci = "_shell_71dbl_4", li = "_xwScope_71dbl_11", di = "_sidebar_71dbl_42", mi = "_sideContent_71dbl_52", ui = "_newTaskBtn_71dbl_10", pi = "_sideNav_71dbl_94", hi = "_moreGear_71dbl_101", fi = "_moreFlyout_71dbl_127", gi = "_moreFlyoutItem_71dbl_141", _i = "_moreFlyoutIcon_71dbl_166", yi = "_moreFlyoutTabs_71dbl_180", bi = "_moreFlyoutTab_71dbl_180", vi = "_moreFlyoutTabActive_71dbl_200", ki = "_moreFlyoutGrid_71dbl_207", Ni = "_moreFlyoutWorkbench_71dbl_214", wi = "_sideTasks_71dbl_221", Ci = "_segToggle_71dbl_230", Si = "_segBtn_71dbl_240", Ti = "_segBtnActive_71dbl_263", Ii = "_tasksLabel_71dbl_270", Mi = "_projFolder_71dbl_278", xi = "_projCaret_71dbl_304", Ai = "_projCaretOpen_71dbl_312", $i = "_projIcon_71dbl_316", Li = "_projName_71dbl_322", Ei = "_projMeta_71dbl_331", Pi = "_projRows_71dbl_337", Oi = "_tasksEmpty_71dbl_346", Di = "_recentItem_71dbl_352", Ri = "_recentItemActive_71dbl_383", Fi = "_recentItemText_71dbl_389", Bi = "_agentDot_71dbl_396", Hi = "_navItem_71dbl_409", ji = "_navItemActive_71dbl_440", Wi = "_navIcon_71dbl_445", Ui = "_sideFooter_71dbl_451", zi = "_footerRow_71dbl_461", Gi = "_footerCard_71dbl_467", Ki = "_agentMenu_71dbl_8", qi = "_settingsMenu_71dbl_474", Vi = "_accountHeader_71dbl_482", Ji = "_accountAvatar_71dbl_491", Yi = "_accountName_71dbl_504", Qi = "_accountItemDisabled_71dbl_514", Zi = "_menuDivider_71dbl_524", Xi = "_footerAvatar_71dbl_538", ec = "_footerMeta_71dbl_551", tc = "_footerName_71dbl_559", nc = "_footerSub_71dbl_568", ac = "_footerGear_71dbl_576", oc = "_main_71dbl_597", sc = "_chatHost_71dbl_606", rc = "_detailHost_71dbl_611", ic = "_personalTabHost_71dbl_617", cc = "_landing_71dbl_627", lc = "_landingInner_71dbl_637", dc = "_landingTitle_71dbl_645", mc = "_landingSub_71dbl_653", uc = "_landingBox_71dbl_659", pc = "_landingInput_71dbl_675", hc = "_landingBoxBar_71dbl_691", fc = "_agentChipWrap_71dbl_698", gc = "_agentChip_71dbl_698", _c = "_chipCaret_71dbl_723", yc = "_agentChipEmpty_71dbl_728", bc = "_agentMenuMask_71dbl_733", vc = "_agentMenuItem_71dbl_757", kc = "_agentMenuItemActive_71dbl_778", Nc = "_landingSend_71dbl_783", wc = "_chipRow_71dbl_808", Cc = "_suggestChip_71dbl_815", Sc = "_emptyState_71dbl_835", Tc = "_emptyTitle_71dbl_847", Ic = "_newTaskWrap_71dbl_866", Mc = "_dropDownMenu_71dbl_870", xc = "_spaceMenu_71dbl_875", Ac = "_spaceIcon_71dbl_880", $c = "_spaceName_71dbl_890", Lc = "_spaceEmpty_71dbl_896", Ec = "_spaceMenuRight_71dbl_902", Pc = "_mascot_71dbl_908", Oc = "_contextRow_71dbl_927", Dc = "_contextChip_71dbl_934", Rc = "_capChip_71dbl_953", Fc = "_capChipIcon_71dbl_976", j = {
901
- shell: ci,
902
- xwScope: li,
903
- sidebar: di,
904
- sideContent: mi,
905
- newTaskBtn: ui,
906
- sideNav: pi,
907
- moreGear: hi,
908
- moreFlyout: fi,
909
- moreFlyoutItem: gi,
910
- moreFlyoutIcon: _i,
911
- moreFlyoutTabs: yi,
912
- moreFlyoutTab: bi,
913
- moreFlyoutTabActive: vi,
914
- moreFlyoutGrid: ki,
915
- moreFlyoutWorkbench: Ni,
916
- sideTasks: wi,
917
- segToggle: Ci,
918
- segBtn: Si,
919
- segBtnActive: Ti,
920
- tasksLabel: Ii,
921
- projFolder: Mi,
922
- projCaret: xi,
923
- projCaretOpen: Ai,
924
- projIcon: $i,
925
- projName: Li,
926
- projMeta: Ei,
927
- projRows: Pi,
928
- tasksEmpty: Oi,
929
- recentItem: Di,
930
- recentItemActive: Ri,
931
- recentItemText: Fi,
932
- agentDot: Bi,
933
- navItem: Hi,
934
- navItemActive: ji,
935
- navIcon: Wi,
936
- sideFooter: Ui,
937
- footerRow: zi,
938
- footerCard: Gi,
939
- agentMenu: Ki,
940
- settingsMenu: qi,
941
- accountHeader: Vi,
942
- accountAvatar: Ji,
943
- accountName: Yi,
944
- accountItemDisabled: Qi,
945
- menuDivider: Zi,
946
- footerAvatar: Xi,
947
- footerMeta: ec,
948
- footerName: tc,
949
- footerSub: nc,
950
- footerGear: ac,
951
- main: oc,
952
- chatHost: sc,
953
- detailHost: rc,
954
- personalTabHost: ic,
955
- landing: cc,
956
- landingInner: lc,
957
- landingTitle: dc,
958
- landingSub: mc,
959
- landingBox: uc,
960
- landingInput: pc,
961
- landingBoxBar: hc,
962
- agentChipWrap: fc,
963
- agentChip: gc,
964
- chipCaret: _c,
965
- agentChipEmpty: yc,
966
- agentMenuMask: bc,
967
- agentMenuItem: vc,
968
- agentMenuItemActive: kc,
969
- landingSend: Nc,
970
- chipRow: wc,
971
- suggestChip: Cc,
972
- emptyState: Sc,
973
- emptyTitle: Tc,
974
- newTaskWrap: Ic,
975
- dropDownMenu: Mc,
976
- spaceMenu: xc,
977
- spaceIcon: Ac,
978
- spaceName: $c,
979
- spaceEmpty: Lc,
980
- spaceMenuRight: Ec,
981
- mascot: Pc,
982
- contextRow: Oc,
983
- contextChip: Dc,
984
- capChip: Rc,
985
- capChipIcon: Fc
900
+ ]), li = "_shell_71dbl_4", di = "_xwScope_71dbl_11", mi = "_sidebar_71dbl_42", ui = "_sideContent_71dbl_52", pi = "_newTaskBtn_71dbl_10", hi = "_sideNav_71dbl_94", fi = "_moreGear_71dbl_101", gi = "_moreFlyout_71dbl_127", _i = "_moreFlyoutItem_71dbl_141", yi = "_moreFlyoutIcon_71dbl_166", bi = "_moreFlyoutTabs_71dbl_180", vi = "_moreFlyoutTab_71dbl_180", ki = "_moreFlyoutTabActive_71dbl_200", Ni = "_moreFlyoutGrid_71dbl_207", wi = "_moreFlyoutWorkbench_71dbl_214", Ci = "_sideTasks_71dbl_221", Si = "_segToggle_71dbl_230", Ti = "_segBtn_71dbl_240", Ii = "_segBtnActive_71dbl_263", Mi = "_tasksLabel_71dbl_270", xi = "_projFolder_71dbl_278", Ai = "_projCaret_71dbl_304", $i = "_projCaretOpen_71dbl_312", Li = "_projIcon_71dbl_316", Ei = "_projName_71dbl_322", Pi = "_projMeta_71dbl_331", Oi = "_projRows_71dbl_337", Di = "_tasksEmpty_71dbl_346", Ri = "_recentItem_71dbl_352", Fi = "_recentItemActive_71dbl_383", Bi = "_recentItemText_71dbl_389", Hi = "_agentDot_71dbl_396", ji = "_navItem_71dbl_409", Wi = "_navItemActive_71dbl_440", Ui = "_navIcon_71dbl_445", zi = "_sideFooter_71dbl_451", Gi = "_footerRow_71dbl_461", Ki = "_footerCard_71dbl_467", qi = "_agentMenu_71dbl_8", Vi = "_settingsMenu_71dbl_474", Ji = "_accountHeader_71dbl_482", Yi = "_accountAvatar_71dbl_491", Qi = "_accountName_71dbl_504", Zi = "_accountItemDisabled_71dbl_514", Xi = "_menuDivider_71dbl_524", ec = "_footerAvatar_71dbl_538", tc = "_footerMeta_71dbl_551", nc = "_footerName_71dbl_559", ac = "_footerSub_71dbl_568", oc = "_footerGear_71dbl_576", sc = "_main_71dbl_597", rc = "_chatHost_71dbl_606", ic = "_detailHost_71dbl_611", cc = "_personalTabHost_71dbl_617", lc = "_landing_71dbl_627", dc = "_landingInner_71dbl_637", mc = "_landingTitle_71dbl_645", uc = "_landingSub_71dbl_653", pc = "_landingBox_71dbl_659", hc = "_landingInput_71dbl_675", fc = "_landingBoxBar_71dbl_691", gc = "_agentChipWrap_71dbl_698", _c = "_agentChip_71dbl_698", yc = "_chipCaret_71dbl_723", bc = "_agentChipEmpty_71dbl_728", vc = "_agentMenuMask_71dbl_733", kc = "_agentMenuItem_71dbl_757", Nc = "_agentMenuItemActive_71dbl_778", wc = "_landingSend_71dbl_783", Cc = "_chipRow_71dbl_808", Sc = "_suggestChip_71dbl_815", Tc = "_emptyState_71dbl_835", Ic = "_emptyTitle_71dbl_847", Mc = "_newTaskWrap_71dbl_866", xc = "_dropDownMenu_71dbl_870", Ac = "_spaceMenu_71dbl_875", $c = "_spaceIcon_71dbl_880", Lc = "_spaceName_71dbl_890", Ec = "_spaceEmpty_71dbl_896", Pc = "_spaceMenuRight_71dbl_902", Oc = "_mascot_71dbl_908", Dc = "_contextRow_71dbl_927", Rc = "_contextChip_71dbl_934", Fc = "_capChip_71dbl_953", Bc = "_capChipIcon_71dbl_976", j = {
901
+ shell: li,
902
+ xwScope: di,
903
+ sidebar: mi,
904
+ sideContent: ui,
905
+ newTaskBtn: pi,
906
+ sideNav: hi,
907
+ moreGear: fi,
908
+ moreFlyout: gi,
909
+ moreFlyoutItem: _i,
910
+ moreFlyoutIcon: yi,
911
+ moreFlyoutTabs: bi,
912
+ moreFlyoutTab: vi,
913
+ moreFlyoutTabActive: ki,
914
+ moreFlyoutGrid: Ni,
915
+ moreFlyoutWorkbench: wi,
916
+ sideTasks: Ci,
917
+ segToggle: Si,
918
+ segBtn: Ti,
919
+ segBtnActive: Ii,
920
+ tasksLabel: Mi,
921
+ projFolder: xi,
922
+ projCaret: Ai,
923
+ projCaretOpen: $i,
924
+ projIcon: Li,
925
+ projName: Ei,
926
+ projMeta: Pi,
927
+ projRows: Oi,
928
+ tasksEmpty: Di,
929
+ recentItem: Ri,
930
+ recentItemActive: Fi,
931
+ recentItemText: Bi,
932
+ agentDot: Hi,
933
+ navItem: ji,
934
+ navItemActive: Wi,
935
+ navIcon: Ui,
936
+ sideFooter: zi,
937
+ footerRow: Gi,
938
+ footerCard: Ki,
939
+ agentMenu: qi,
940
+ settingsMenu: Vi,
941
+ accountHeader: Ji,
942
+ accountAvatar: Yi,
943
+ accountName: Qi,
944
+ accountItemDisabled: Zi,
945
+ menuDivider: Xi,
946
+ footerAvatar: ec,
947
+ footerMeta: tc,
948
+ footerName: nc,
949
+ footerSub: ac,
950
+ footerGear: oc,
951
+ main: sc,
952
+ chatHost: rc,
953
+ detailHost: ic,
954
+ personalTabHost: cc,
955
+ landing: lc,
956
+ landingInner: dc,
957
+ landingTitle: mc,
958
+ landingSub: uc,
959
+ landingBox: pc,
960
+ landingInput: hc,
961
+ landingBoxBar: fc,
962
+ agentChipWrap: gc,
963
+ agentChip: _c,
964
+ chipCaret: yc,
965
+ agentChipEmpty: bc,
966
+ agentMenuMask: vc,
967
+ agentMenuItem: kc,
968
+ agentMenuItemActive: Nc,
969
+ landingSend: wc,
970
+ chipRow: Cc,
971
+ suggestChip: Sc,
972
+ emptyState: Tc,
973
+ emptyTitle: Ic,
974
+ newTaskWrap: Mc,
975
+ dropDownMenu: xc,
976
+ spaceMenu: Ac,
977
+ spaceIcon: $c,
978
+ spaceName: Lc,
979
+ spaceEmpty: Ec,
980
+ spaceMenuRight: Pc,
981
+ mascot: Oc,
982
+ contextRow: Dc,
983
+ contextChip: Rc,
984
+ capChip: Fc,
985
+ capChipIcon: Bc
986
986
  };
987
- function Bc({
987
+ function Hc({
988
988
  token: t,
989
989
  down: a = !1,
990
990
  alignRight: s = !1,
@@ -994,7 +994,7 @@ function Bc({
994
994
  const [m, _] = l(null);
995
995
  return W(() => {
996
996
  let g = !0;
997
- return mr(t).then((C) => {
997
+ return ur(t).then((C) => {
998
998
  if (!g) return;
999
999
  const L = /* @__PURE__ */ new Set(), H = [];
1000
1000
  for (const P of [...C.owned, ...C.joined])
@@ -1045,13 +1045,13 @@ function Bc({
1045
1045
  }
1046
1046
  );
1047
1047
  }
1048
- const Hc = [
1049
- { label: "插件", icon: /* @__PURE__ */ e(Zr, {}) },
1050
- { label: "技能", icon: /* @__PURE__ */ e(Yr, {}) },
1051
- { label: "连接器", icon: /* @__PURE__ */ e(Jr, {}) }
1052
- ], jc = [
1053
- { label: "页面", icon: /* @__PURE__ */ e(ai, {}), title: "实验位:页面发布后续接入" },
1054
- { label: "云盘", icon: /* @__PURE__ */ e(oi, {}), title: "实验位:云盘后续接入" },
1048
+ const jc = [
1049
+ { label: "插件", icon: /* @__PURE__ */ e(Xr, {}) },
1050
+ { label: "技能", icon: /* @__PURE__ */ e(Qr, {}) },
1051
+ { label: "连接器", icon: /* @__PURE__ */ e(Yr, {}) }
1052
+ ], Wc = [
1053
+ { label: "页面", icon: /* @__PURE__ */ e(oi, {}), title: "实验位:页面发布后续接入" },
1054
+ { label: "云盘", icon: /* @__PURE__ */ e(si, {}), title: "实验位:云盘后续接入" },
1055
1055
  {
1056
1056
  label: "IM 频道",
1057
1057
  icon: /* @__PURE__ */ e(Co, {}),
@@ -1059,11 +1059,11 @@ const Hc = [
1059
1059
  }
1060
1060
  ], ua = [
1061
1061
  { tab: "projects", label: "工作单管理", icon: /* @__PURE__ */ e(oa, {}) },
1062
- { tab: "personal", label: "个人统计", icon: /* @__PURE__ */ e(Ds, {}) },
1063
- { tab: "business-stats", label: "业务指标", icon: /* @__PURE__ */ e(Rs, {}) },
1064
- { tab: "tools", label: "常用工具", icon: /* @__PURE__ */ e(Wr, {}) },
1062
+ { tab: "personal", label: "个人统计", icon: /* @__PURE__ */ e(Rs, {}) },
1063
+ { tab: "business-stats", label: "业务指标", icon: /* @__PURE__ */ e(Fs, {}) },
1064
+ { tab: "tools", label: "常用工具", icon: /* @__PURE__ */ e(Ur, {}) },
1065
1065
  { tab: "websites", label: "常用网站", icon: /* @__PURE__ */ e(go, {}) },
1066
- { tab: "todo", label: "工作待办", icon: /* @__PURE__ */ e(Fs, {}) },
1066
+ { tab: "todo", label: "工作待办", icon: /* @__PURE__ */ e(Bs, {}) },
1067
1067
  { tab: "notes", label: "个人笔记", icon: /* @__PURE__ */ e(la, {}) },
1068
1068
  // 学员侧学习入口与培训管理(TRAINING)解耦:按需单独分配,不随培训入口发放。
1069
1069
  // ⚠ 必须与二级壳(PersonalWorkspaceShell 的 NAV_ITEMS)用**同一套**权限点过滤,
@@ -1074,20 +1074,20 @@ const Hc = [
1074
1074
  icon: /* @__PURE__ */ e(_o, {}),
1075
1075
  permission: "TRAINING_CENTER"
1076
1076
  },
1077
- { tab: "webide", label: "WebIDE", icon: /* @__PURE__ */ e(Bs, {}) }
1078
- ], pa = /* @__PURE__ */ new Set(["todo", "notes"]), Wc = ua.filter(
1077
+ { tab: "webide", label: "WebIDE", icon: /* @__PURE__ */ e(Hs, {}) }
1078
+ ], pa = /* @__PURE__ */ new Set(["todo", "notes"]), Uc = ua.filter(
1079
1079
  (t) => pa.has(t.tab)
1080
1080
  );
1081
- function Uc(t) {
1081
+ function zc(t) {
1082
1082
  var a;
1083
1083
  return (a = ua.find((s) => s.tab === t)) == null ? void 0 : a.permission;
1084
1084
  }
1085
- function zc(t) {
1085
+ function Gc(t) {
1086
1086
  return ua.filter(
1087
1087
  (a) => !pa.has(a.tab) && (!a.permission || On(t, a.permission))
1088
1088
  );
1089
1089
  }
1090
- function Gc({
1090
+ function Kc({
1091
1091
  currentUser: t,
1092
1092
  token: a,
1093
1093
  isDesktop: s,
@@ -1108,7 +1108,7 @@ function Gc({
1108
1108
  onCloudNav: I,
1109
1109
  cloudNavActive: G
1110
1110
  }) {
1111
- const Z = zc(t), z = Wc.filter(
1111
+ const Z = Gc(t), z = Uc.filter(
1112
1112
  (se) => !se.permission || On(t, se.permission)
1113
1113
  ), O = d && !(m && pa.has(m)), [h, i] = l(!1), [p, k] = l(
1114
1114
  null
@@ -1146,7 +1146,7 @@ function Gc({
1146
1146
  className: j.newTaskBtn,
1147
1147
  onClick: ae,
1148
1148
  children: [
1149
- /* @__PURE__ */ e(ii, {}),
1149
+ /* @__PURE__ */ e(ci, {}),
1150
1150
  /* @__PURE__ */ e("span", { children: s ? "新建任务" : "云端任务" })
1151
1151
  ]
1152
1152
  }
@@ -1160,7 +1160,7 @@ function Gc({
1160
1160
  }
1161
1161
  ),
1162
1162
  /* @__PURE__ */ e(
1163
- Bc,
1163
+ Hc,
1164
1164
  {
1165
1165
  token: a,
1166
1166
  down: !0,
@@ -1199,7 +1199,7 @@ function Gc({
1199
1199
  "aria-current": G ? "page" : void 0,
1200
1200
  onClick: I,
1201
1201
  children: [
1202
- /* @__PURE__ */ e("span", { className: j.navIcon, children: /* @__PURE__ */ e(ni, {}) }),
1202
+ /* @__PURE__ */ e("span", { className: j.navIcon, children: /* @__PURE__ */ e(ai, {}) }),
1203
1203
  /* @__PURE__ */ e("span", { children: "云端任务" })
1204
1204
  ]
1205
1205
  }
@@ -1212,7 +1212,7 @@ function Gc({
1212
1212
  "aria-current": r === "schedule" ? "page" : void 0,
1213
1213
  onClick: H,
1214
1214
  children: [
1215
- /* @__PURE__ */ e("span", { className: j.navIcon, children: /* @__PURE__ */ e(Vr, {}) }),
1215
+ /* @__PURE__ */ e("span", { className: j.navIcon, children: /* @__PURE__ */ e(Jr, {}) }),
1216
1216
  /* @__PURE__ */ e("span", { children: "定时任务" })
1217
1217
  ]
1218
1218
  }
@@ -1263,7 +1263,7 @@ function Gc({
1263
1263
  style: { top: p.top, left: p.left },
1264
1264
  children: (() => {
1265
1265
  const se = [
1266
- ...Hc.map((N) => ({
1266
+ ...jc.map((N) => ({
1267
1267
  key: N.label,
1268
1268
  icon: N.icon,
1269
1269
  label: N.label,
@@ -1273,7 +1273,7 @@ function Gc({
1273
1273
  k(null), P();
1274
1274
  }
1275
1275
  })),
1276
- ...jc.map((N) => ({
1276
+ ...Wc.map((N) => ({
1277
1277
  key: N.label,
1278
1278
  icon: N.icon,
1279
1279
  label: N.label,
@@ -1387,7 +1387,7 @@ function Gc({
1387
1387
  "aria-current": r === "history" ? "page" : void 0,
1388
1388
  onClick: w,
1389
1389
  children: [
1390
- /* @__PURE__ */ e("span", { className: j.navIcon, children: /* @__PURE__ */ e(zr, {}) }),
1390
+ /* @__PURE__ */ e("span", { className: j.navIcon, children: /* @__PURE__ */ e(Gr, {}) }),
1391
1391
  /* @__PURE__ */ e("span", { children: "聊天记录" })
1392
1392
  ]
1393
1393
  }
@@ -1397,11 +1397,11 @@ function Gc({
1397
1397
  )
1398
1398
  ] });
1399
1399
  }
1400
- function Kc(t) {
1400
+ function qc(t) {
1401
1401
  return t.find((a) => a.agentCode === "agent_super_agent") ?? t[0] ?? null;
1402
1402
  }
1403
1403
  const Mo = 15;
1404
- function qc(t) {
1404
+ function Vc(t) {
1405
1405
  const a = (s) => s == null ? null : String(s);
1406
1406
  return {
1407
1407
  id: String(t.id ?? ""),
@@ -1422,7 +1422,7 @@ function qc(t) {
1422
1422
  function Ba(t) {
1423
1423
  return {
1424
1424
  records: (Array.isArray(t.records) ? t.records : []).map(
1425
- (s) => qc(s)
1425
+ (s) => Vc(s)
1426
1426
  ),
1427
1427
  total: Number(t.total ?? 0),
1428
1428
  current: Number(t.current ?? 1),
@@ -1442,12 +1442,12 @@ const ja = {
1442
1442
  3: { label: "已完成", cls: ve.todoStatusDone },
1443
1443
  4: { label: "失败", cls: ve.todoStatusFailed },
1444
1444
  5: { label: "已取消", cls: ve.todoStatusCancelled }
1445
- }, Vc = /* @__PURE__ */ new Set(["JUDGE_CONTINUE", "SUSPEND_FOR_TEAM"]);
1446
- function Jc(t) {
1445
+ }, Jc = /* @__PURE__ */ new Set(["JUDGE_CONTINUE", "SUSPEND_FOR_TEAM"]);
1446
+ function Yc(t) {
1447
1447
  const a = ja[t.status] || ja[0];
1448
- return t.status === 2 && t.waitReason && Vc.has(t.waitReason) ? { label: "等待输入", cls: a.cls } : a;
1448
+ return t.status === 2 && t.waitReason && Jc.has(t.waitReason) ? { label: "等待输入", cls: a.cls } : a;
1449
1449
  }
1450
- function Yc(t) {
1450
+ function Qc(t) {
1451
1451
  if (!t) return "";
1452
1452
  try {
1453
1453
  const a = new Date(t), s = String(a.getMonth() + 1).padStart(2, "0"), r = String(a.getDate()).padStart(2, "0"), d = String(a.getHours()).padStart(2, "0"), m = String(a.getMinutes()).padStart(2, "0");
@@ -1463,7 +1463,7 @@ const Wa = {
1463
1463
  minLoadedPage: 1,
1464
1464
  maxLoadedPage: 0
1465
1465
  };
1466
- function Qc({
1466
+ function Zc({
1467
1467
  onCountChange: t
1468
1468
  }) {
1469
1469
  const a = q(($) => $.projects), s = q(($) => $.openTaskFromTodo), [r, d] = l(Wa), [m, _] = l(!1), [g, C] = l(!1), [L, H] = l(!1), [P, w] = l(null), [S, Q] = l(""), [X, x] = l(""), I = ue(null), G = ue(null), Z = ue(null), z = ue(!1), O = ue(r), h = ue(null), i = ue(null), p = ue(X);
@@ -1641,7 +1641,7 @@ function Qc({
1641
1641
  /* @__PURE__ */ e("span", { className: ve.todoGroupCount, children: v.length })
1642
1642
  ] }),
1643
1643
  v.map((le) => {
1644
- const pe = Jc(le), He = Ss(le);
1644
+ const pe = Yc(le), He = Ts(le);
1645
1645
  return /* @__PURE__ */ n(
1646
1646
  "div",
1647
1647
  {
@@ -1663,7 +1663,7 @@ function Qc({
1663
1663
  "@",
1664
1664
  He.label
1665
1665
  ] }) : null,
1666
- /* @__PURE__ */ e("span", { className: ve.todoTime, children: Yc(le.createTime) })
1666
+ /* @__PURE__ */ e("span", { className: ve.todoTime, children: Qc(le.createTime) })
1667
1667
  ] })
1668
1668
  ]
1669
1669
  },
@@ -1688,43 +1688,43 @@ function Qc({
1688
1688
  ] })
1689
1689
  ] });
1690
1690
  }
1691
- const Zc = "_fabWrap_1dlon_1", Xc = "_menuWrap_1dlon_11", el = "_menuItem_1dlon_31", tl = "_fab_1dlon_1", nl = "_catSvg_1dlon_91", al = "_catTail_1dlon_100", ol = "_catEyesNormal_1dlon_116", sl = "_catEyesPlead_1dlon_134", rl = "_catTearLeft_1dlon_147", il = "_catTearRight_1dlon_151", cl = "_catEarLeft_1dlon_186", ll = "_catEarRight_1dlon_191", dl = "_pleadCard_1dlon_197", ml = "_pleadArrow_1dlon_221", ul = "_pleadClose_1dlon_233", pl = "_pleadTitle_1dlon_254", hl = "_pleadFace_1dlon_264", fl = "_pleadList_1dlon_269", gl = "_pleadItem_1dlon_281", _l = "_pleadItemName_1dlon_302", yl = "_pleadItemAge_1dlon_310", bl = "_pleadEmpty_1dlon_316", vl = "_pleadFooter_1dlon_323", We = {
1692
- fabWrap: Zc,
1693
- menuWrap: Xc,
1694
- menuItem: el,
1695
- fab: tl,
1696
- catSvg: nl,
1697
- catTail: al,
1698
- catEyesNormal: ol,
1699
- catEyesPlead: sl,
1700
- catTearLeft: rl,
1701
- catTearRight: il,
1702
- catEarLeft: cl,
1703
- catEarRight: ll,
1704
- pleadCard: dl,
1705
- pleadArrow: ml,
1706
- pleadClose: ul,
1707
- pleadTitle: pl,
1708
- pleadFace: hl,
1709
- pleadList: fl,
1710
- pleadItem: gl,
1711
- pleadItemName: _l,
1712
- pleadItemAge: yl,
1713
- pleadEmpty: bl,
1714
- pleadFooter: vl
1715
- }, Ua = "ft_floating_dock_top", sa = "ft_cat_pet_last_plead", xo = 40, Ao = 80, kl = 8, Nl = 4, wl = 45 * 1e3, Cl = 25 * 1e3, Sl = 5 * 1e3, $o = 600 * 1e3, Tl = 8;
1716
- function Il() {
1691
+ const Xc = "_fabWrap_1dlon_1", el = "_menuWrap_1dlon_11", tl = "_menuItem_1dlon_31", nl = "_fab_1dlon_1", al = "_catSvg_1dlon_91", ol = "_catTail_1dlon_100", sl = "_catEyesNormal_1dlon_116", rl = "_catEyesPlead_1dlon_134", il = "_catTearLeft_1dlon_147", cl = "_catTearRight_1dlon_151", ll = "_catEarLeft_1dlon_186", dl = "_catEarRight_1dlon_191", ml = "_pleadCard_1dlon_197", ul = "_pleadArrow_1dlon_221", pl = "_pleadClose_1dlon_233", hl = "_pleadTitle_1dlon_254", fl = "_pleadFace_1dlon_264", gl = "_pleadList_1dlon_269", _l = "_pleadItem_1dlon_281", yl = "_pleadItemName_1dlon_302", bl = "_pleadItemAge_1dlon_310", vl = "_pleadEmpty_1dlon_316", kl = "_pleadFooter_1dlon_323", We = {
1692
+ fabWrap: Xc,
1693
+ menuWrap: el,
1694
+ menuItem: tl,
1695
+ fab: nl,
1696
+ catSvg: al,
1697
+ catTail: ol,
1698
+ catEyesNormal: sl,
1699
+ catEyesPlead: rl,
1700
+ catTearLeft: il,
1701
+ catTearRight: cl,
1702
+ catEarLeft: ll,
1703
+ catEarRight: dl,
1704
+ pleadCard: ml,
1705
+ pleadArrow: ul,
1706
+ pleadClose: pl,
1707
+ pleadTitle: hl,
1708
+ pleadFace: fl,
1709
+ pleadList: gl,
1710
+ pleadItem: _l,
1711
+ pleadItemName: yl,
1712
+ pleadItemAge: bl,
1713
+ pleadEmpty: vl,
1714
+ pleadFooter: kl
1715
+ }, Ua = "ft_floating_dock_top", sa = "ft_cat_pet_last_plead", xo = 40, Ao = 80, Nl = 8, wl = 4, Cl = 45 * 1e3, Sl = 25 * 1e3, Tl = 5 * 1e3, $o = 600 * 1e3, Il = 8;
1716
+ function Ml() {
1717
1717
  return Math.max(Ao, window.innerHeight - xo - 100);
1718
1718
  }
1719
1719
  function qn(t) {
1720
- const a = window.innerHeight - xo - kl;
1720
+ const a = window.innerHeight - xo - Nl;
1721
1721
  return Math.max(Ao, Math.min(t, a));
1722
1722
  }
1723
1723
  function za() {
1724
1724
  const t = Number(sessionStorage.getItem(sa));
1725
1725
  return Number.isFinite(t) && t > 0 && Date.now() - t < $o;
1726
1726
  }
1727
- function Ml(t) {
1727
+ function xl(t) {
1728
1728
  const a = Date.parse(t);
1729
1729
  if (!Number.isFinite(a)) return "";
1730
1730
  const s = Math.floor((Date.now() - a) / 864e5);
@@ -1732,10 +1732,10 @@ function Ml(t) {
1732
1732
  const r = Math.floor((Date.now() - a) / 36e5);
1733
1733
  return r >= 1 ? `${r}小时前` : "刚刚";
1734
1734
  }
1735
- function xl() {
1735
+ function Al() {
1736
1736
  const [t, a] = l(!1), [s, r] = l(!1), [d, m] = l(() => {
1737
1737
  const U = Number(localStorage.getItem(Ua));
1738
- return Number.isFinite(U) && U > 0 ? qn(U) : Il();
1738
+ return Number.isFinite(U) && U > 0 ? qn(U) : Ml();
1739
1739
  }), [_, g] = l(!1), C = ue({
1740
1740
  active: !1,
1741
1741
  moved: !1,
@@ -1752,11 +1752,11 @@ function xl() {
1752
1752
  async (U = !1) => {
1753
1753
  if (!(!U && (document.hidden || za() || t)))
1754
1754
  try {
1755
- const M = await wr(G, Tl);
1755
+ const M = await Cr(G, Il);
1756
1756
  if (!U && (!M.length || za())) return;
1757
1757
  P(M), S(!0), M.length && sessionStorage.setItem(sa, String(Date.now())), h(), Q.current = setTimeout(
1758
1758
  () => i(!1),
1759
- M.length ? Cl : Sl
1759
+ M.length ? Sl : Tl
1760
1760
  );
1761
1761
  } catch {
1762
1762
  }
@@ -1764,7 +1764,7 @@ function xl() {
1764
1764
  [G, t, h, i]
1765
1765
  );
1766
1766
  W(() => {
1767
- const U = setTimeout(() => void p(), wl), M = setInterval(() => void p(), $o);
1767
+ const U = setTimeout(() => void p(), Cl), M = setInterval(() => void p(), $o);
1768
1768
  return () => {
1769
1769
  clearTimeout(U), clearInterval(M), h();
1770
1770
  };
@@ -1783,7 +1783,7 @@ function xl() {
1783
1783
  (U) => {
1784
1784
  if (!C.current.active) return;
1785
1785
  const M = U.clientY - C.current.startY;
1786
- Math.abs(M) > Nl && (C.current.moved = !0, g(!0)), m(qn(C.current.startTop + M));
1786
+ Math.abs(M) > wl && (C.current.moved = !0, g(!0)), m(qn(C.current.startTop + M));
1787
1787
  },
1788
1788
  []
1789
1789
  ), T = Y(
@@ -1814,7 +1814,7 @@ function xl() {
1814
1814
  const ee = [
1815
1815
  {
1816
1816
  key: "unclosed",
1817
- icon: /* @__PURE__ */ e(Hs, {}),
1817
+ icon: /* @__PURE__ */ e(js, {}),
1818
1818
  label: "我的未关单",
1819
1819
  onClick: () => {
1820
1820
  a(!1), p(!0);
@@ -1869,7 +1869,7 @@ function xl() {
1869
1869
  onClick: () => ae(U.id),
1870
1870
  children: [
1871
1871
  /* @__PURE__ */ e("span", { className: We.pleadItemName, children: U.name }),
1872
- /* @__PURE__ */ e("span", { className: We.pleadItemAge, children: Ml(U.created_at) })
1872
+ /* @__PURE__ */ e("span", { className: We.pleadItemAge, children: xl(U.created_at) })
1873
1873
  ]
1874
1874
  }
1875
1875
  ) }, U.id)) }),
@@ -2075,86 +2075,86 @@ function xl() {
2075
2075
  )
2076
2076
  ] });
2077
2077
  }
2078
- const Al = "_resumeModal_1ytri_3", $l = "_modalHeader_1ytri_10", Ll = "_closeBtn_1ytri_19", El = "_resumeBody_1ytri_38", Pl = "_leftPanel_1ytri_46", Ol = "_avatarWrap_1ytri_57", Dl = "_avatarSvg_1ytri_70", Rl = "_avatarFallback_1ytri_83", Fl = "_profileName_1ytri_87", Bl = "_profileCreator_1ytri_98", Hl = "_profileType_1ytri_105", jl = "_profileDesc_1ytri_112", Wl = "_profileCapabilities_1ytri_121", Ul = "_capabilityTag_1ytri_128", zl = "_leftFooter_1ytri_136", Gl = "_rightPanel_1ytri_143", Kl = "_tabs_1ytri_151", ql = "_infoTab_1ytri_183", Vl = "_infoRow_1ytri_189", Jl = "_infoLabel_1ytri_197", Yl = "_infoValue_1ytri_206", Ql = "_infoTags_1ytri_213", Zl = "_infoTag_1ytri_213", Xl = "_memoryTab_1ytri_230", ed = "_memoryToolbar_1ytri_236", td = "_memoryHint_1ytri_244", nd = "_memoryList_1ytri_254", ad = "_memoryItemInfo_1ytri_285", od = "_memoryItemTitle_1ytri_290", sd = "_memoryItemDesc_1ytri_297", rd = "_memoryItemKeywords_1ytri_307", id = "_memoryItemActions_1ytri_312", cd = "_memoryItemFileName_1ytri_319", ld = "_skillsTab_1ytri_354", dd = "_skillList_1ytri_359", md = "_skillIcon_1ytri_379", ud = "_skillInfo_1ytri_384", pd = "_skillName_1ytri_389", hd = "_skillBadge_1ytri_398", fd = "_skillDesc_1ytri_406", gd = "_skillPath_1ytri_416", _d = "_loadingWrap_1ytri_425", yd = "_memoryDetailOverlay_1ytri_435", bd = "_memoryDetailModal_1ytri_448", vd = "_memoryDetailHeader_1ytri_460", kd = "_memoryDetailTitle_1ytri_469", Nd = "_memoryDetailBody_1ytri_475", wd = "_memoryDetailMeta_1ytri_481", Cd = "_memoryDetailMetaTag_1ytri_488", Sd = "_memoryDetailContent_1ytri_496", Td = "_skillDetailOverlay_1ytri_517", Id = "_skillDetailModal_1ytri_530", Md = "_skillDetailHeader_1ytri_543", xd = "_skillDetailTitle_1ytri_552", Ad = "_skillDetailBody_1ytri_561", $d = "_skillFileTree_1ytri_567", Ld = "_skillFileTreeNode_1ytri_575", Ed = "_skillFileTreeNodeActive_1ytri_593", Pd = "_skillFileTreeIcon_1ytri_599", Od = "_skillFileTreeName_1ytri_604", Dd = "_skillFileTreeEmpty_1ytri_609", Rd = "_skillFileContent_1ytri_616", Fd = "_skillFileContentPath_1ytri_622", Bd = "_skillFileContentMarkdown_1ytri_631", Hd = "_skillFileContentEmpty_1ytri_723", jd = "_skillItemClickable_1ytri_734", Wd = "_memoryItemClickable_1ytri_752", E = {
2079
- resumeModal: Al,
2080
- modalHeader: $l,
2081
- closeBtn: Ll,
2082
- resumeBody: El,
2083
- leftPanel: Pl,
2084
- avatarWrap: Ol,
2085
- avatarSvg: Dl,
2086
- avatarFallback: Rl,
2087
- profileName: Fl,
2088
- profileCreator: Bl,
2089
- profileType: Hl,
2090
- profileDesc: jl,
2091
- profileCapabilities: Wl,
2092
- capabilityTag: Ul,
2093
- leftFooter: zl,
2094
- rightPanel: Gl,
2095
- tabs: Kl,
2096
- infoTab: ql,
2097
- infoRow: Vl,
2098
- infoLabel: Jl,
2099
- infoValue: Yl,
2100
- infoTags: Ql,
2101
- infoTag: Zl,
2102
- memoryTab: Xl,
2103
- memoryToolbar: ed,
2104
- memoryHint: td,
2105
- memoryList: nd,
2106
- memoryItemInfo: ad,
2107
- memoryItemTitle: od,
2108
- memoryItemDesc: sd,
2109
- memoryItemKeywords: rd,
2110
- memoryItemActions: id,
2111
- memoryItemFileName: cd,
2112
- skillsTab: ld,
2113
- skillList: dd,
2114
- skillIcon: md,
2115
- skillInfo: ud,
2116
- skillName: pd,
2117
- skillBadge: hd,
2118
- skillDesc: fd,
2119
- skillPath: gd,
2120
- loadingWrap: _d,
2121
- memoryDetailOverlay: yd,
2122
- memoryDetailModal: bd,
2123
- memoryDetailHeader: vd,
2124
- memoryDetailTitle: kd,
2125
- memoryDetailBody: Nd,
2126
- memoryDetailMeta: wd,
2127
- memoryDetailMetaTag: Cd,
2128
- memoryDetailContent: Sd,
2129
- skillDetailOverlay: Td,
2130
- skillDetailModal: Id,
2131
- skillDetailHeader: Md,
2132
- skillDetailTitle: xd,
2133
- skillDetailBody: Ad,
2134
- skillFileTree: $d,
2135
- skillFileTreeNode: Ld,
2136
- skillFileTreeNodeActive: Ed,
2137
- skillFileTreeIcon: Pd,
2138
- skillFileTreeName: Od,
2139
- skillFileTreeEmpty: Dd,
2140
- skillFileContent: Rd,
2141
- skillFileContentPath: Fd,
2142
- skillFileContentMarkdown: Bd,
2143
- skillFileContentEmpty: Hd,
2144
- skillItemClickable: jd,
2145
- memoryItemClickable: Wd
2146
- }, Ud = "_overlay_m9czp_11", zd = "_modal_m9czp_22", Gd = "_modalHeader_m9czp_35", Kd = "_title_m9czp_45", qd = "_modalContent_m9czp_52", Vd = "_modalFooter_m9czp_59", Jd = "_btnPrimary_m9czp_70", Yd = "_btnCancel_m9czp_94", Qd = "_label_m9czp_110", gt = {
2147
- overlay: Ud,
2148
- modal: zd,
2149
- modalHeader: Gd,
2150
- title: Kd,
2151
- modalContent: qd,
2152
- modalFooter: Vd,
2153
- btnPrimary: Jd,
2154
- btnCancel: Yd,
2155
- label: Qd
2078
+ const $l = "_resumeModal_1ytri_3", Ll = "_modalHeader_1ytri_10", El = "_closeBtn_1ytri_19", Pl = "_resumeBody_1ytri_38", Ol = "_leftPanel_1ytri_46", Dl = "_avatarWrap_1ytri_57", Rl = "_avatarSvg_1ytri_70", Fl = "_avatarFallback_1ytri_83", Bl = "_profileName_1ytri_87", Hl = "_profileCreator_1ytri_98", jl = "_profileType_1ytri_105", Wl = "_profileDesc_1ytri_112", Ul = "_profileCapabilities_1ytri_121", zl = "_capabilityTag_1ytri_128", Gl = "_leftFooter_1ytri_136", Kl = "_rightPanel_1ytri_143", ql = "_tabs_1ytri_151", Vl = "_infoTab_1ytri_183", Jl = "_infoRow_1ytri_189", Yl = "_infoLabel_1ytri_197", Ql = "_infoValue_1ytri_206", Zl = "_infoTags_1ytri_213", Xl = "_infoTag_1ytri_213", ed = "_memoryTab_1ytri_230", td = "_memoryToolbar_1ytri_236", nd = "_memoryHint_1ytri_244", ad = "_memoryList_1ytri_254", od = "_memoryItemInfo_1ytri_285", sd = "_memoryItemTitle_1ytri_290", rd = "_memoryItemDesc_1ytri_297", id = "_memoryItemKeywords_1ytri_307", cd = "_memoryItemActions_1ytri_312", ld = "_memoryItemFileName_1ytri_319", dd = "_skillsTab_1ytri_354", md = "_skillList_1ytri_359", ud = "_skillIcon_1ytri_379", pd = "_skillInfo_1ytri_384", hd = "_skillName_1ytri_389", fd = "_skillBadge_1ytri_398", gd = "_skillDesc_1ytri_406", _d = "_skillPath_1ytri_416", yd = "_loadingWrap_1ytri_425", bd = "_memoryDetailOverlay_1ytri_435", vd = "_memoryDetailModal_1ytri_448", kd = "_memoryDetailHeader_1ytri_460", Nd = "_memoryDetailTitle_1ytri_469", wd = "_memoryDetailBody_1ytri_475", Cd = "_memoryDetailMeta_1ytri_481", Sd = "_memoryDetailMetaTag_1ytri_488", Td = "_memoryDetailContent_1ytri_496", Id = "_skillDetailOverlay_1ytri_517", Md = "_skillDetailModal_1ytri_530", xd = "_skillDetailHeader_1ytri_543", Ad = "_skillDetailTitle_1ytri_552", $d = "_skillDetailBody_1ytri_561", Ld = "_skillFileTree_1ytri_567", Ed = "_skillFileTreeNode_1ytri_575", Pd = "_skillFileTreeNodeActive_1ytri_593", Od = "_skillFileTreeIcon_1ytri_599", Dd = "_skillFileTreeName_1ytri_604", Rd = "_skillFileTreeEmpty_1ytri_609", Fd = "_skillFileContent_1ytri_616", Bd = "_skillFileContentPath_1ytri_622", Hd = "_skillFileContentMarkdown_1ytri_631", jd = "_skillFileContentEmpty_1ytri_723", Wd = "_skillItemClickable_1ytri_734", Ud = "_memoryItemClickable_1ytri_752", E = {
2079
+ resumeModal: $l,
2080
+ modalHeader: Ll,
2081
+ closeBtn: El,
2082
+ resumeBody: Pl,
2083
+ leftPanel: Ol,
2084
+ avatarWrap: Dl,
2085
+ avatarSvg: Rl,
2086
+ avatarFallback: Fl,
2087
+ profileName: Bl,
2088
+ profileCreator: Hl,
2089
+ profileType: jl,
2090
+ profileDesc: Wl,
2091
+ profileCapabilities: Ul,
2092
+ capabilityTag: zl,
2093
+ leftFooter: Gl,
2094
+ rightPanel: Kl,
2095
+ tabs: ql,
2096
+ infoTab: Vl,
2097
+ infoRow: Jl,
2098
+ infoLabel: Yl,
2099
+ infoValue: Ql,
2100
+ infoTags: Zl,
2101
+ infoTag: Xl,
2102
+ memoryTab: ed,
2103
+ memoryToolbar: td,
2104
+ memoryHint: nd,
2105
+ memoryList: ad,
2106
+ memoryItemInfo: od,
2107
+ memoryItemTitle: sd,
2108
+ memoryItemDesc: rd,
2109
+ memoryItemKeywords: id,
2110
+ memoryItemActions: cd,
2111
+ memoryItemFileName: ld,
2112
+ skillsTab: dd,
2113
+ skillList: md,
2114
+ skillIcon: ud,
2115
+ skillInfo: pd,
2116
+ skillName: hd,
2117
+ skillBadge: fd,
2118
+ skillDesc: gd,
2119
+ skillPath: _d,
2120
+ loadingWrap: yd,
2121
+ memoryDetailOverlay: bd,
2122
+ memoryDetailModal: vd,
2123
+ memoryDetailHeader: kd,
2124
+ memoryDetailTitle: Nd,
2125
+ memoryDetailBody: wd,
2126
+ memoryDetailMeta: Cd,
2127
+ memoryDetailMetaTag: Sd,
2128
+ memoryDetailContent: Td,
2129
+ skillDetailOverlay: Id,
2130
+ skillDetailModal: Md,
2131
+ skillDetailHeader: xd,
2132
+ skillDetailTitle: Ad,
2133
+ skillDetailBody: $d,
2134
+ skillFileTree: Ld,
2135
+ skillFileTreeNode: Ed,
2136
+ skillFileTreeNodeActive: Pd,
2137
+ skillFileTreeIcon: Od,
2138
+ skillFileTreeName: Dd,
2139
+ skillFileTreeEmpty: Rd,
2140
+ skillFileContent: Fd,
2141
+ skillFileContentPath: Bd,
2142
+ skillFileContentMarkdown: Hd,
2143
+ skillFileContentEmpty: jd,
2144
+ skillItemClickable: Wd,
2145
+ memoryItemClickable: Ud
2146
+ }, zd = "_overlay_m9czp_11", Gd = "_modal_m9czp_22", Kd = "_modalHeader_m9czp_35", qd = "_title_m9czp_45", Vd = "_modalContent_m9czp_52", Jd = "_modalFooter_m9czp_59", Yd = "_btnPrimary_m9czp_70", Qd = "_btnCancel_m9czp_94", Zd = "_label_m9czp_110", gt = {
2147
+ overlay: zd,
2148
+ modal: Gd,
2149
+ modalHeader: Kd,
2150
+ title: qd,
2151
+ modalContent: Vd,
2152
+ modalFooter: Jd,
2153
+ btnPrimary: Yd,
2154
+ btnCancel: Qd,
2155
+ label: Zd
2156
2156
  }, { TabPane: Vn } = ia;
2157
- function Zd() {
2157
+ function Xd() {
2158
2158
  var nt, it;
2159
2159
  const { agentProfileState: t, closeAgentProfile: a, navigateToPersonalChat: s } = q(), r = q((te) => te.token), [d, m] = l(!1), [_, g] = l(
2160
2160
  null
@@ -2402,7 +2402,7 @@ function Zd() {
2402
2402
  disabled: d,
2403
2403
  style: { width: "100%" },
2404
2404
  children: [
2405
- /* @__PURE__ */ e(js, { style: { marginRight: 6 } }),
2405
+ /* @__PURE__ */ e(Ws, { style: { marginRight: 6 } }),
2406
2406
  d ? "正在打开..." : "聊天"
2407
2407
  ]
2408
2408
  }
@@ -2479,7 +2479,7 @@ function Zd() {
2479
2479
  xt,
2480
2480
  {
2481
2481
  size: "small",
2482
- icon: /* @__PURE__ */ e(Ws, {}),
2482
+ icon: /* @__PURE__ */ e(Us, {}),
2483
2483
  loading: w,
2484
2484
  danger: !0,
2485
2485
  children: "重置全部记忆"
@@ -2521,7 +2521,7 @@ function Zd() {
2521
2521
  {
2522
2522
  size: "small",
2523
2523
  type: "text",
2524
- icon: /* @__PURE__ */ e(Us, {}),
2524
+ icon: /* @__PURE__ */ e(zs, {}),
2525
2525
  loading: w,
2526
2526
  onClick: (qe) => qe.stopPropagation(),
2527
2527
  title: "重置为种子内容"
@@ -2543,7 +2543,7 @@ function Zd() {
2543
2543
  size: "small",
2544
2544
  type: "text",
2545
2545
  danger: !0,
2546
- icon: /* @__PURE__ */ e(zs, {}),
2546
+ icon: /* @__PURE__ */ e(Gs, {}),
2547
2547
  loading: w,
2548
2548
  onClick: (qe) => qe.stopPropagation(),
2549
2549
  title: "删除"
@@ -2610,7 +2610,7 @@ function Zd() {
2610
2610
  ie.isDir || He(ie.path);
2611
2611
  },
2612
2612
  children: [
2613
- ie.isDir ? /* @__PURE__ */ e(Gs, { className: E.skillFileTreeIcon }) : /* @__PURE__ */ e(la, { className: E.skillFileTreeIcon }),
2613
+ ie.isDir ? /* @__PURE__ */ e(Ks, { className: E.skillFileTreeIcon }) : /* @__PURE__ */ e(la, { className: E.skillFileTreeIcon }),
2614
2614
  /* @__PURE__ */ e("span", { className: E.skillFileTreeName, children: ie.name })
2615
2615
  ]
2616
2616
  }
@@ -2775,7 +2775,7 @@ function Zd() {
2775
2775
  }
2776
2776
  );
2777
2777
  }
2778
- const Xd = [
2778
+ const em = [
2779
2779
  "门急诊",
2780
2780
  "住院",
2781
2781
  "药房",
@@ -2783,12 +2783,12 @@ const Xd = [
2783
2783
  "电子病历",
2784
2784
  "小程序"
2785
2785
  ];
2786
- function em({
2786
+ function tm({
2787
2787
  scenario: t,
2788
2788
  onClose: a,
2789
2789
  onCreated: s
2790
2790
  }) {
2791
- const [r, d] = l(""), [m, _] = l([]), [g, C] = l(Xd), [L, H] = l([]), [P, w] = l(!1), [S, Q] = l(null), [X, x] = l(""), [I, G] = l(!1), [Z, z] = l("");
2791
+ const [r, d] = l(""), [m, _] = l([]), [g, C] = l(em), [L, H] = l([]), [P, w] = l(!1), [S, Q] = l(null), [X, x] = l(""), [I, G] = l(!1), [Z, z] = l("");
2792
2792
  W(() => {
2793
2793
  let p = !1;
2794
2794
  return Jo().then((k) => {
@@ -2944,7 +2944,7 @@ function em({
2944
2944
  P && /* @__PURE__ */ e(_t, { size: "small" })
2945
2945
  ] }) }),
2946
2946
  /* @__PURE__ */ e(rn.Item, { label: "业务域(可多选)", children: /* @__PURE__ */ e(
2947
- gs.Group,
2947
+ _s.Group,
2948
2948
  {
2949
2949
  options: g,
2950
2950
  value: m,
@@ -3044,7 +3044,7 @@ function Ga(t) {
3044
3044
  const a = t.match(/(?:^|[\s"'])\S*\/t\/([A-Za-z0-9]{4,})/i);
3045
3045
  return a ? a[1] : null;
3046
3046
  }
3047
- function tm(t) {
3047
+ function nm(t) {
3048
3048
  const a = t.match(/https?:\/\/\S+/i);
3049
3049
  return a ? a[0] : null;
3050
3050
  }
@@ -3052,7 +3052,7 @@ function Ka(t, a) {
3052
3052
  const s = a || "12004";
3053
3053
  return `${En ? En.replace(/\/+$/, "") : ""}/fone/projectDetail/requirement/${s}?workItemId=${t}&workitemViewId=10003013`;
3054
3054
  }
3055
- function nm({
3055
+ function am({
3056
3056
  scenario: t,
3057
3057
  onClose: a,
3058
3058
  onCreated: s
@@ -3064,7 +3064,7 @@ function nm({
3064
3064
  null
3065
3065
  );
3066
3066
  W(() => {
3067
- H(!0), Ts().then((K) => {
3067
+ H(!0), Is().then((K) => {
3068
3068
  C(K || []), K && K.length > 0 && !P && w(String(K[0].id));
3069
3069
  }).catch((K) => ae(K.message || "加载项目空间失败")).finally(() => H(!1));
3070
3070
  }, []), W(() => {
@@ -3104,7 +3104,7 @@ function nm({
3104
3104
  if (P) {
3105
3105
  z(!0), ae("");
3106
3106
  try {
3107
- const K = await Is(
3107
+ const K = await Ms(
3108
3108
  P,
3109
3109
  S,
3110
3110
  O,
@@ -3138,7 +3138,7 @@ function nm({
3138
3138
  dataIndex: "state",
3139
3139
  key: "state",
3140
3140
  width: 120,
3141
- render: (K) => K != null && K.label ? /* @__PURE__ */ e(_s, { color: "blue", children: K.label }) : "—"
3141
+ render: (K) => K != null && K.label ? /* @__PURE__ */ e(ys, { color: "blue", children: K.label }) : "—"
3142
3142
  },
3143
3143
  {
3144
3144
  title: "优先级",
@@ -3180,7 +3180,7 @@ function nm({
3180
3180
  }
3181
3181
  ae(""), B(!0);
3182
3182
  try {
3183
- const tt = await Ms(K);
3183
+ const tt = await xs(K);
3184
3184
  if (tt != null) {
3185
3185
  s(et(tt));
3186
3186
  return;
@@ -3236,7 +3236,7 @@ function nm({
3236
3236
  const Pe = await Ma($e);
3237
3237
  be = xn(Pe), tt = Pe;
3238
3238
  } else
3239
- be = xn(K), tt = tm(K) || K;
3239
+ be = xn(K), tt = nm(K) || K;
3240
3240
  if (!be) {
3241
3241
  ae(
3242
3242
  $e ? "短链解析结果中无法识别 workItemId,请改用工单详情页长链接" : "无法从链接中识别 workItemId,请检查链接是否包含 workItemId 参数"
@@ -3376,7 +3376,7 @@ function nm({
3376
3376
  },
3377
3377
  children: [
3378
3378
  /* @__PURE__ */ e(
3379
- ys,
3379
+ bs,
3380
3380
  {
3381
3381
  showSearch: !0,
3382
3382
  allowClear: !0,
@@ -3420,7 +3420,7 @@ function nm({
3420
3420
  }
3421
3421
  ),
3422
3422
  /* @__PURE__ */ e(_t, { spinning: Z, children: /* @__PURE__ */ e(
3423
- Tr,
3423
+ Ir,
3424
3424
  {
3425
3425
  rows: X,
3426
3426
  rowKey: "id",
@@ -3453,26 +3453,26 @@ function nm({
3453
3453
  }
3454
3454
  );
3455
3455
  }
3456
- const am = "_section_fs105_7", om = "_sectionPadded_fs105_12", sm = "_sectionHeader_fs105_18", rm = "_sectionTitle_fs105_22", im = "_sectionSubtitle_fs105_29", cm = "_cardGrid_fs105_36", lm = "_scenarioCard_fs105_43", dm = "_cardHeader_fs105_79", mm = "_iconWrap_fs105_87", um = "_iconFone_fs105_103", pm = "_iconBiz_fs105_108", hm = "_cardInfo_fs105_113", fm = "_cardTitle_fs105_118", gm = "_tags_fs105_127", _m = "_tag_fs105_127", ym = "_cardDesc_fs105_149", bm = "_cardFooter_fs105_157", vm = "_enterHint_fs105_165", Xe = {
3457
- section: am,
3458
- sectionPadded: om,
3459
- sectionHeader: sm,
3460
- sectionTitle: rm,
3461
- sectionSubtitle: im,
3462
- cardGrid: cm,
3463
- scenarioCard: lm,
3464
- cardHeader: dm,
3465
- iconWrap: mm,
3466
- iconFone: um,
3467
- iconBiz: pm,
3468
- cardInfo: hm,
3469
- cardTitle: fm,
3470
- tags: gm,
3471
- tag: _m,
3472
- cardDesc: ym,
3473
- cardFooter: bm,
3474
- enterHint: vm
3475
- }, km = [
3456
+ const om = "_section_fs105_7", sm = "_sectionPadded_fs105_12", rm = "_sectionHeader_fs105_18", im = "_sectionTitle_fs105_22", cm = "_sectionSubtitle_fs105_29", lm = "_cardGrid_fs105_36", dm = "_scenarioCard_fs105_43", mm = "_cardHeader_fs105_79", um = "_iconWrap_fs105_87", pm = "_iconFone_fs105_103", hm = "_iconBiz_fs105_108", fm = "_cardInfo_fs105_113", gm = "_cardTitle_fs105_118", _m = "_tags_fs105_127", ym = "_tag_fs105_127", bm = "_cardDesc_fs105_149", vm = "_cardFooter_fs105_157", km = "_enterHint_fs105_165", Xe = {
3457
+ section: om,
3458
+ sectionPadded: sm,
3459
+ sectionHeader: rm,
3460
+ sectionTitle: im,
3461
+ sectionSubtitle: cm,
3462
+ cardGrid: lm,
3463
+ scenarioCard: dm,
3464
+ cardHeader: mm,
3465
+ iconWrap: um,
3466
+ iconFone: pm,
3467
+ iconBiz: hm,
3468
+ cardInfo: fm,
3469
+ cardTitle: gm,
3470
+ tags: _m,
3471
+ tag: ym,
3472
+ cardDesc: bm,
3473
+ cardFooter: vm,
3474
+ enterHint: km
3475
+ }, Nm = [
3476
3476
  {
3477
3477
  key: "troubleshooting-fone",
3478
3478
  icon: /* @__PURE__ */ e(da, {}),
@@ -3491,7 +3491,7 @@ const am = "_section_fs105_7", om = "_sectionPadded_fs105_12", sm = "_sectionHea
3491
3491
  },
3492
3492
  {
3493
3493
  key: "biz-consult",
3494
- icon: /* @__PURE__ */ e(Ks, {}),
3494
+ icon: /* @__PURE__ */ e(qs, {}),
3495
3495
  iconClass: Xe.iconBiz,
3496
3496
  title: "HBOS业务咨询",
3497
3497
  description: "HBOS业务咨询:产品页面地址、图片解析→ 知识库检索 + 深度代码探查 → 综合回答",
@@ -3500,7 +3500,7 @@ const am = "_section_fs105_7", om = "_sectionPadded_fs105_12", sm = "_sectionHea
3500
3500
  tags: ["页面地址解析", "工程定位", "知识问答"]
3501
3501
  }
3502
3502
  ];
3503
- function Nm({
3503
+ function wm({
3504
3504
  onProjectCreated: t,
3505
3505
  padded: a = !0,
3506
3506
  className: s
@@ -3515,7 +3515,7 @@ function Nm({
3515
3515
  /* @__PURE__ */ e("h2", { className: Xe.sectionTitle, children: "可用场景" }),
3516
3516
  /* @__PURE__ */ e("p", { className: Xe.sectionSubtitle, children: "选择场景,即刻启动智能协作" })
3517
3517
  ] }),
3518
- /* @__PURE__ */ e("div", { className: Xe.cardGrid, children: km.map((m) => /* @__PURE__ */ n(
3518
+ /* @__PURE__ */ e("div", { className: Xe.cardGrid, children: Nm.map((m) => /* @__PURE__ */ n(
3519
3519
  "div",
3520
3520
  {
3521
3521
  className: Xe.scenarioCard,
@@ -3538,14 +3538,14 @@ function Nm({
3538
3538
  m.key
3539
3539
  )) }),
3540
3540
  r && (r.scenarioCode === "biz-consult" ? /* @__PURE__ */ e(
3541
- em,
3541
+ tm,
3542
3542
  {
3543
3543
  scenario: r,
3544
3544
  onClose: () => d(null),
3545
3545
  onCreated: t
3546
3546
  }
3547
3547
  ) : /* @__PURE__ */ e(
3548
- nm,
3548
+ am,
3549
3549
  {
3550
3550
  scenario: r,
3551
3551
  onClose: () => d(null),
@@ -3556,35 +3556,35 @@ function Nm({
3556
3556
  }
3557
3557
  );
3558
3558
  }
3559
- const wm = "_landing_1na4r_1", Cm = "_scrollArea_1na4r_11", Sm = "_header_1na4r_22", Tm = "_title_1na4r_31", Im = "_contextLine_1na4r_39", Mm = "_contextItem_1na4r_48", xm = "_contextIcon_1na4r_54", Am = "_contextDivider_1na4r_58", $m = "_contextError_1na4r_62", Lm = "_scenariosSection_1na4r_66", Em = "_composerDock_1na4r_71", Pm = "_inputCard_1na4r_80", Om = "_textarea_1na4r_95", Dm = "_toolbar_1na4r_113", Rm = "_toolbarLeft_1na4r_120", Fm = "_scenarioSelect_1na4r_129", Bm = "_scenarioHint_1na4r_150", Hm = "_hintTooltip_1na4r_161", jm = "_sendBtn_1na4r_181", Ve = {
3560
- landing: wm,
3561
- scrollArea: Cm,
3562
- header: Sm,
3563
- title: Tm,
3564
- contextLine: Im,
3565
- contextItem: Mm,
3566
- contextIcon: xm,
3567
- contextDivider: Am,
3568
- contextError: $m,
3569
- scenariosSection: Lm,
3570
- composerDock: Em,
3571
- inputCard: Pm,
3572
- textarea: Om,
3573
- toolbar: Dm,
3574
- toolbarLeft: Rm,
3575
- scenarioSelect: Fm,
3576
- scenarioHint: Bm,
3577
- hintTooltip: Hm,
3578
- sendBtn: jm
3559
+ const Cm = "_landing_1na4r_1", Sm = "_scrollArea_1na4r_11", Tm = "_header_1na4r_22", Im = "_title_1na4r_31", Mm = "_contextLine_1na4r_39", xm = "_contextItem_1na4r_48", Am = "_contextIcon_1na4r_54", $m = "_contextDivider_1na4r_58", Lm = "_contextError_1na4r_62", Em = "_scenariosSection_1na4r_66", Pm = "_composerDock_1na4r_71", Om = "_inputCard_1na4r_80", Dm = "_textarea_1na4r_95", Rm = "_toolbar_1na4r_113", Fm = "_toolbarLeft_1na4r_120", Bm = "_scenarioSelect_1na4r_129", Hm = "_scenarioHint_1na4r_150", jm = "_hintTooltip_1na4r_161", Wm = "_sendBtn_1na4r_181", Ve = {
3560
+ landing: Cm,
3561
+ scrollArea: Sm,
3562
+ header: Tm,
3563
+ title: Im,
3564
+ contextLine: Mm,
3565
+ contextItem: xm,
3566
+ contextIcon: Am,
3567
+ contextDivider: $m,
3568
+ contextError: Lm,
3569
+ scenariosSection: Em,
3570
+ composerDock: Pm,
3571
+ inputCard: Om,
3572
+ textarea: Dm,
3573
+ toolbar: Rm,
3574
+ toolbarLeft: Fm,
3575
+ scenarioSelect: Bm,
3576
+ scenarioHint: Hm,
3577
+ hintTooltip: jm,
3578
+ sendBtn: Wm
3579
3579
  };
3580
- function Wm(t) {
3580
+ function Um(t) {
3581
3581
  if (t.length === 0) return null;
3582
3582
  const a = t.find(
3583
3583
  (s) => /全场景总控/.test(s.name || "") || /super_common/i.test(s.code || "")
3584
3584
  );
3585
3585
  return a || t[0];
3586
3586
  }
3587
- function Um({
3587
+ function zm({
3588
3588
  onCreated: t,
3589
3589
  onProjectCreated: a,
3590
3590
  presetScenarioCode: s
@@ -3604,7 +3604,7 @@ function Um({
3604
3604
  return;
3605
3605
  }
3606
3606
  Q(""), C(p);
3607
- const k = (s || "").trim(), T = (k ? p.find((B) => B.code === k) : null) || Wm(p);
3607
+ const k = (s || "").trim(), T = (k ? p.find((B) => B.code === k) : null) || Um(p);
3608
3608
  T && H(T.code);
3609
3609
  } catch (i) {
3610
3610
  h || (C([]), Q(i instanceof Error ? i.message : "加载场景失败"));
@@ -3647,7 +3647,7 @@ function Um({
3647
3647
  ] })
3648
3648
  ] }),
3649
3649
  a ? /* @__PURE__ */ e("div", { className: Ve.scenariosSection, children: /* @__PURE__ */ e(
3650
- Nm,
3650
+ wm,
3651
3651
  {
3652
3652
  onProjectCreated: a,
3653
3653
  padded: !1
@@ -3709,33 +3709,33 @@ function Um({
3709
3709
  ] }) })
3710
3710
  ] });
3711
3711
  }
3712
- const zm = "_bellBtn_zkdkx_2", Gm = "_badge_zkdkx_25", Km = "_overlay_zkdkx_44", qm = "_panel_zkdkx_55", Vm = "_panelHeader_zkdkx_70", Jm = "_panelTitle_zkdkx_79", Ym = "_markAllBtn_zkdkx_85", Qm = "_panelBody_zkdkx_101", Zm = "_empty_zkdkx_107", Xm = "_item_zkdkx_115", eu = "_itemUnread_zkdkx_130", tu = "_itemHeader_zkdkx_135", nu = "_statusDot_zkdkx_142", au = "_statusSuccess_zkdkx_149", ou = "_statusFail_zkdkx_153", su = "_itemTask_zkdkx_157", ru = "_markReadBtn_zkdkx_167", iu = "_itemMeta_zkdkx_185", cu = "_itemResult_zkdkx_194", Ye = {
3713
- bellBtn: zm,
3714
- badge: Gm,
3715
- overlay: Km,
3716
- panel: qm,
3717
- panelHeader: Vm,
3718
- panelTitle: Jm,
3719
- markAllBtn: Ym,
3720
- panelBody: Qm,
3721
- empty: Zm,
3722
- item: Xm,
3723
- itemUnread: eu,
3724
- itemHeader: tu,
3725
- statusDot: nu,
3726
- statusSuccess: au,
3727
- statusFail: ou,
3728
- itemTask: su,
3729
- markReadBtn: ru,
3730
- itemMeta: iu,
3731
- itemResult: cu
3712
+ const Gm = "_bellBtn_zkdkx_2", Km = "_badge_zkdkx_25", qm = "_overlay_zkdkx_44", Vm = "_panel_zkdkx_55", Jm = "_panelHeader_zkdkx_70", Ym = "_panelTitle_zkdkx_79", Qm = "_markAllBtn_zkdkx_85", Zm = "_panelBody_zkdkx_101", Xm = "_empty_zkdkx_107", eu = "_item_zkdkx_115", tu = "_itemUnread_zkdkx_130", nu = "_itemHeader_zkdkx_135", au = "_statusDot_zkdkx_142", ou = "_statusSuccess_zkdkx_149", su = "_statusFail_zkdkx_153", ru = "_itemTask_zkdkx_157", iu = "_markReadBtn_zkdkx_167", cu = "_itemMeta_zkdkx_185", lu = "_itemResult_zkdkx_194", Ye = {
3713
+ bellBtn: Gm,
3714
+ badge: Km,
3715
+ overlay: qm,
3716
+ panel: Vm,
3717
+ panelHeader: Jm,
3718
+ panelTitle: Ym,
3719
+ markAllBtn: Qm,
3720
+ panelBody: Zm,
3721
+ empty: Xm,
3722
+ item: eu,
3723
+ itemUnread: tu,
3724
+ itemHeader: nu,
3725
+ statusDot: au,
3726
+ statusSuccess: ou,
3727
+ statusFail: su,
3728
+ itemTask: ru,
3729
+ markReadBtn: iu,
3730
+ itemMeta: cu,
3731
+ itemResult: lu
3732
3732
  };
3733
- function lu() {
3733
+ function du() {
3734
3734
  const t = q((x) => x.token), a = ca(), s = ue(null), [r, d] = l([]), [m, _] = l(0), [g, C] = l(!1), L = ue(null), [H, P] = l({ top: 0, right: 0 }), w = Y(async () => {
3735
3735
  try {
3736
- const x = await ur(t, 30), I = s.current;
3736
+ const x = await pr(t, 30), I = s.current;
3737
3737
  I && a.desktopNotify && document.hidden && x.items.filter((G) => G.readFlag === 0 && !I.has(String(G.id))).slice(0, 3).forEach(
3738
- (G) => xs(
3738
+ (G) => As(
3739
3739
  G.taskName || "工作通知",
3740
3740
  G.result || G.agentDisplayName || "有新的工作通知"
3741
3741
  )
@@ -3760,14 +3760,14 @@ function lu() {
3760
3760
  C(x);
3761
3761
  }, Q = async (x) => {
3762
3762
  try {
3763
- await pr(x, t), d(
3763
+ await hr(x, t), d(
3764
3764
  (I) => I.map((G) => zt(G.id, x) ? { ...G, readFlag: 1 } : G)
3765
3765
  ), _((I) => Math.max(0, I - 1));
3766
3766
  } catch {
3767
3767
  }
3768
3768
  }, X = async () => {
3769
3769
  try {
3770
- await hr(t), d((x) => x.map((I) => ({ ...I, readFlag: 1 }))), _(0);
3770
+ await fr(t), d((x) => x.map((I) => ({ ...I, readFlag: 1 }))), _(0);
3771
3771
  } catch {
3772
3772
  }
3773
3773
  };
@@ -3781,7 +3781,7 @@ function lu() {
3781
3781
  onClick: S,
3782
3782
  title: "触达通知",
3783
3783
  children: [
3784
- /* @__PURE__ */ e(qs, {}),
3784
+ /* @__PURE__ */ e(Vs, {}),
3785
3785
  m > 0 && /* @__PURE__ */ e("span", { className: Ye.badge, children: m > 99 ? "99+" : m })
3786
3786
  ]
3787
3787
  }
@@ -3844,23 +3844,23 @@ function lu() {
3844
3844
  ] })
3845
3845
  ] });
3846
3846
  }
3847
- const du = "_selfSupportFabWrap_1y10a_1", mu = "_selfSupportFab_1y10a_1", qa = {
3848
- selfSupportFabWrap: du,
3849
- selfSupportFab: mu
3850
- }, Va = "ft_self_support_fab_top", uu = "ft_self_support_fab_visible", Lo = 48, Eo = 80, pu = 8, hu = 4;
3851
- function fu() {
3847
+ const mu = "_selfSupportFabWrap_1y10a_1", uu = "_selfSupportFab_1y10a_1", qa = {
3848
+ selfSupportFabWrap: mu,
3849
+ selfSupportFab: uu
3850
+ }, Va = "ft_self_support_fab_top", pu = "ft_self_support_fab_visible", Lo = 48, Eo = 80, hu = 8, fu = 4;
3851
+ function gu() {
3852
3852
  return Math.max(Eo, window.innerHeight - Lo - 140);
3853
3853
  }
3854
3854
  function Jn(t) {
3855
- const a = window.innerHeight - Lo - pu;
3855
+ const a = window.innerHeight - Lo - hu;
3856
3856
  return Math.max(Eo, Math.min(t, a));
3857
3857
  }
3858
- function gu() {
3858
+ function _u() {
3859
3859
  const [t] = l(
3860
- () => localStorage.getItem(uu) === "true"
3860
+ () => localStorage.getItem(pu) === "true"
3861
3861
  ), [a, s] = l(!1), [r, d] = l(() => {
3862
3862
  const w = Number(localStorage.getItem(Va));
3863
- return Number.isFinite(w) && w > 0 ? Jn(w) : fu();
3863
+ return Number.isFinite(w) && w > 0 ? Jn(w) : gu();
3864
3864
  }), [m, _] = l(!1), g = ue({ active: !1, moved: !1, startY: 0, startTop: 0 }), C = Y(
3865
3865
  (w) => {
3866
3866
  g.current = {
@@ -3875,7 +3875,7 @@ function gu() {
3875
3875
  (w) => {
3876
3876
  if (!g.current.active) return;
3877
3877
  const S = w.clientY - g.current.startY;
3878
- Math.abs(S) > hu && (g.current.moved = !0, _(!0)), d(Jn(g.current.startTop + S));
3878
+ Math.abs(S) > fu && (g.current.moved = !0, _(!0)), d(Jn(g.current.startTop + S));
3879
3879
  },
3880
3880
  []
3881
3881
  ), H = Y(
@@ -3931,7 +3931,7 @@ function Ya(t) {
3931
3931
  function Qa(t) {
3932
3932
  return t ? t.charAt(0).toUpperCase() : "?";
3933
3933
  }
3934
- function _u({
3934
+ function yu({
3935
3935
  displayName: t,
3936
3936
  subtitle: a,
3937
3937
  onOpenSettings: s,
@@ -4049,7 +4049,7 @@ function _u({
4049
4049
  disabled: !0,
4050
4050
  title: "即将上线",
4051
4051
  children: [
4052
- /* @__PURE__ */ e("span", { className: j.navIcon, children: /* @__PURE__ */ e(qr, {}) }),
4052
+ /* @__PURE__ */ e("span", { className: j.navIcon, children: /* @__PURE__ */ e(Vr, {}) }),
4053
4053
  /* @__PURE__ */ e("span", { children: "检查更新" })
4054
4054
  ]
4055
4055
  }
@@ -4063,7 +4063,7 @@ function _u({
4063
4063
  className: j.agentMenuItem,
4064
4064
  onClick: () => void vo(),
4065
4065
  children: [
4066
- /* @__PURE__ */ e("span", { className: j.navIcon, children: /* @__PURE__ */ e(Gr, {}) }),
4066
+ /* @__PURE__ */ e("span", { className: j.navIcon, children: /* @__PURE__ */ e(Kr, {}) }),
4067
4067
  /* @__PURE__ */ e("span", { children: "退出登录" })
4068
4068
  ]
4069
4069
  }
@@ -4114,62 +4114,62 @@ function _u({
4114
4114
  ] })
4115
4115
  ] });
4116
4116
  }
4117
- const yu = "_overlay_5bnt0_1", bu = "_modal_5bnt0_11", vu = "_closeBtn_5bnt0_24", ku = "_menuCol_5bnt0_45", Nu = "_searchBox_5bnt0_56", wu = "_menuGroup_5bnt0_78", Cu = "_menuGroupTitle_5bnt0_84", Su = "_menuItem_5bnt0_91", Tu = "_menuItemActive_5bnt0_112", Iu = "_menuItemDisabled_5bnt0_118", Mu = "_menuIcon_5bnt0_123", xu = "_menuEmpty_5bnt0_128", Au = "_contentCol_5bnt0_136", $u = "_contentHeader_5bnt0_144", Lu = "_contentHeaderRow_5bnt0_151", Eu = "_saveStatus_5bnt0_162", Pu = "_saveStatusError_5bnt0_168", Ou = "_contentBody_5bnt0_172", Du = "_section_5bnt0_178", Ru = "_sectionTitle_5bnt0_182", Fu = "_card_5bnt0_189", Bu = "_row_5bnt0_196", Hu = "_rowMain_5bnt0_208", ju = "_rowTitle_5bnt0_212", Wu = "_rowDesc_5bnt0_218", Uu = "_selectBox_5bnt0_225", zu = "_disabled_5bnt0_258", Gu = "_placeholderHost_5bnt0_264", Ku = "_placeholderIcon_5bnt0_274", qu = "_placeholderTitle_5bnt0_279", Vu = "_placeholderDesc_5bnt0_284", Ju = "_fieldInput_5bnt0_289", Yu = "_formGrid_5bnt0_304", Qu = "_formActions_5bnt0_310", Zu = "_primaryBtn_5bnt0_314", Xu = "_ghostBtn_5bnt0_328", ep = "_switchBtn_5bnt0_343", tp = "_switchOn_5bnt0_367", np = "_mono_5bnt0_373", ap = "_hint_5bnt0_378", op = "_errorTip_5bnt0_384", sp = "_emptyTip_5bnt0_389", rp = "_selectWrap_5bnt0_396", ip = "_inputCell_5bnt0_431", cp = "_sectionHeadRow_5bnt0_436", lp = "_formHint_5bnt0_452", dp = "_successTip_5bnt0_458", mp = "_enablePill_5bnt0_464", up = "_enableOn_5bnt0_476", b = {
4118
- overlay: yu,
4119
- modal: bu,
4120
- closeBtn: vu,
4121
- menuCol: ku,
4122
- searchBox: Nu,
4123
- menuGroup: wu,
4124
- menuGroupTitle: Cu,
4125
- menuItem: Su,
4126
- menuItemActive: Tu,
4127
- menuItemDisabled: Iu,
4128
- menuIcon: Mu,
4129
- menuEmpty: xu,
4130
- contentCol: Au,
4131
- contentHeader: $u,
4132
- contentHeaderRow: Lu,
4133
- saveStatus: Eu,
4134
- saveStatusError: Pu,
4135
- contentBody: Ou,
4136
- section: Du,
4137
- sectionTitle: Ru,
4138
- card: Fu,
4139
- row: Bu,
4140
- rowMain: Hu,
4141
- rowTitle: ju,
4142
- rowDesc: Wu,
4143
- selectBox: Uu,
4144
- disabled: zu,
4145
- placeholderHost: Gu,
4146
- placeholderIcon: Ku,
4147
- placeholderTitle: qu,
4148
- placeholderDesc: Vu,
4149
- fieldInput: Ju,
4150
- formGrid: Yu,
4151
- formActions: Qu,
4152
- primaryBtn: Zu,
4153
- ghostBtn: Xu,
4154
- switchBtn: ep,
4155
- switchOn: tp,
4156
- mono: np,
4157
- hint: ap,
4158
- errorTip: op,
4159
- emptyTip: sp,
4160
- selectWrap: rp,
4161
- inputCell: ip,
4162
- sectionHeadRow: cp,
4163
- formHint: lp,
4164
- successTip: dp,
4165
- enablePill: mp,
4166
- enableOn: up
4117
+ const bu = "_overlay_5bnt0_1", vu = "_modal_5bnt0_11", ku = "_closeBtn_5bnt0_24", Nu = "_menuCol_5bnt0_45", wu = "_searchBox_5bnt0_56", Cu = "_menuGroup_5bnt0_78", Su = "_menuGroupTitle_5bnt0_84", Tu = "_menuItem_5bnt0_91", Iu = "_menuItemActive_5bnt0_112", Mu = "_menuItemDisabled_5bnt0_118", xu = "_menuIcon_5bnt0_123", Au = "_menuEmpty_5bnt0_128", $u = "_contentCol_5bnt0_136", Lu = "_contentHeader_5bnt0_144", Eu = "_contentHeaderRow_5bnt0_151", Pu = "_saveStatus_5bnt0_162", Ou = "_saveStatusError_5bnt0_168", Du = "_contentBody_5bnt0_172", Ru = "_section_5bnt0_178", Fu = "_sectionTitle_5bnt0_182", Bu = "_card_5bnt0_189", Hu = "_row_5bnt0_196", ju = "_rowMain_5bnt0_208", Wu = "_rowTitle_5bnt0_212", Uu = "_rowDesc_5bnt0_218", zu = "_selectBox_5bnt0_225", Gu = "_disabled_5bnt0_258", Ku = "_placeholderHost_5bnt0_264", qu = "_placeholderIcon_5bnt0_274", Vu = "_placeholderTitle_5bnt0_279", Ju = "_placeholderDesc_5bnt0_284", Yu = "_fieldInput_5bnt0_289", Qu = "_formGrid_5bnt0_304", Zu = "_formActions_5bnt0_310", Xu = "_primaryBtn_5bnt0_314", ep = "_ghostBtn_5bnt0_328", tp = "_switchBtn_5bnt0_343", np = "_switchOn_5bnt0_367", ap = "_mono_5bnt0_373", op = "_hint_5bnt0_378", sp = "_errorTip_5bnt0_384", rp = "_emptyTip_5bnt0_389", ip = "_selectWrap_5bnt0_396", cp = "_inputCell_5bnt0_431", lp = "_sectionHeadRow_5bnt0_436", dp = "_formHint_5bnt0_452", mp = "_successTip_5bnt0_458", up = "_enablePill_5bnt0_464", pp = "_enableOn_5bnt0_476", b = {
4118
+ overlay: bu,
4119
+ modal: vu,
4120
+ closeBtn: ku,
4121
+ menuCol: Nu,
4122
+ searchBox: wu,
4123
+ menuGroup: Cu,
4124
+ menuGroupTitle: Su,
4125
+ menuItem: Tu,
4126
+ menuItemActive: Iu,
4127
+ menuItemDisabled: Mu,
4128
+ menuIcon: xu,
4129
+ menuEmpty: Au,
4130
+ contentCol: $u,
4131
+ contentHeader: Lu,
4132
+ contentHeaderRow: Eu,
4133
+ saveStatus: Pu,
4134
+ saveStatusError: Ou,
4135
+ contentBody: Du,
4136
+ section: Ru,
4137
+ sectionTitle: Fu,
4138
+ card: Bu,
4139
+ row: Hu,
4140
+ rowMain: ju,
4141
+ rowTitle: Wu,
4142
+ rowDesc: Uu,
4143
+ selectBox: zu,
4144
+ disabled: Gu,
4145
+ placeholderHost: Ku,
4146
+ placeholderIcon: qu,
4147
+ placeholderTitle: Vu,
4148
+ placeholderDesc: Ju,
4149
+ fieldInput: Yu,
4150
+ formGrid: Qu,
4151
+ formActions: Zu,
4152
+ primaryBtn: Xu,
4153
+ ghostBtn: ep,
4154
+ switchBtn: tp,
4155
+ switchOn: np,
4156
+ mono: ap,
4157
+ hint: op,
4158
+ errorTip: sp,
4159
+ emptyTip: rp,
4160
+ selectWrap: ip,
4161
+ inputCell: cp,
4162
+ sectionHeadRow: lp,
4163
+ formHint: dp,
4164
+ successTip: mp,
4165
+ enablePill: up,
4166
+ enableOn: pp
4167
4167
  }, An = [
4168
4168
  {
4169
4169
  title: "设置",
4170
4170
  items: [
4171
4171
  { key: "general", label: "通用", icon: /* @__PURE__ */ e(fn, {}) },
4172
- { key: "profile", label: "个人主页", icon: /* @__PURE__ */ e(Kr, {}) },
4172
+ { key: "profile", label: "个人主页", icon: /* @__PURE__ */ e(qr, {}) },
4173
4173
  {
4174
4174
  key: "plan",
4175
4175
  label: "套餐与积分",
@@ -4183,11 +4183,11 @@ const yu = "_overlay_5bnt0_1", bu = "_modal_5bnt0_11", vu = "_closeBtn_5bnt0_24"
4183
4183
  {
4184
4184
  title: "功能",
4185
4185
  items: [
4186
- { key: "personalize", label: "个性化", icon: /* @__PURE__ */ e(Ur, {}) },
4187
- { key: "memory", label: "记忆与进化", icon: /* @__PURE__ */ e(jr, {}) },
4188
- { key: "agents", label: "智能体", icon: /* @__PURE__ */ e(Qr, {}) },
4189
- { key: "models", label: "模型", icon: /* @__PURE__ */ e(ei, {}) },
4190
- { key: "assistant", label: "助理", icon: /* @__PURE__ */ e(Xr, {}) },
4186
+ { key: "personalize", label: "个性化", icon: /* @__PURE__ */ e(zr, {}) },
4187
+ { key: "memory", label: "记忆与进化", icon: /* @__PURE__ */ e(Wr, {}) },
4188
+ { key: "agents", label: "智能体", icon: /* @__PURE__ */ e(Zr, {}) },
4189
+ { key: "models", label: "模型", icon: /* @__PURE__ */ e(ti, {}) },
4190
+ { key: "assistant", label: "助理", icon: /* @__PURE__ */ e(ei, {}) },
4191
4191
  { key: "devices", label: "设备连接", icon: /* @__PURE__ */ e(Co, {}) }
4192
4192
  ]
4193
4193
  },
@@ -4201,13 +4201,13 @@ const yu = "_overlay_5bnt0_1", bu = "_modal_5bnt0_11", vu = "_closeBtn_5bnt0_24"
4201
4201
  icon: /* @__PURE__ */ e(Io, {}),
4202
4202
  disabled: !0
4203
4203
  },
4204
- { key: "security", label: "安全中心", icon: /* @__PURE__ */ e(si, {}) }
4204
+ { key: "security", label: "安全中心", icon: /* @__PURE__ */ e(ri, {}) }
4205
4205
  ]
4206
4206
  },
4207
4207
  {
4208
4208
  title: "",
4209
4209
  items: [
4210
- { key: "about", label: "关于", icon: /* @__PURE__ */ e(ri, {}) },
4210
+ { key: "about", label: "关于", icon: /* @__PURE__ */ e(ii, {}) },
4211
4211
  {
4212
4212
  key: "feedback",
4213
4213
  label: "获取帮助",
@@ -4262,7 +4262,7 @@ function Te({
4262
4262
  s
4263
4263
  ] });
4264
4264
  }
4265
- function pp({
4265
+ function hp({
4266
4266
  config: t,
4267
4267
  update: a
4268
4268
  }) {
@@ -4307,7 +4307,7 @@ function pp({
4307
4307
  ] })
4308
4308
  ] });
4309
4309
  }
4310
- function hp({
4310
+ function fp({
4311
4311
  config: t,
4312
4312
  update: a
4313
4313
  }) {
@@ -4336,7 +4336,7 @@ function hp({
4336
4336
  ] })
4337
4337
  ] });
4338
4338
  }
4339
- function fp({
4339
+ function gp({
4340
4340
  config: t,
4341
4341
  update: a
4342
4342
  }) {
@@ -4372,7 +4372,7 @@ function fp({
4372
4372
  ] })
4373
4373
  ] });
4374
4374
  }
4375
- function gp({
4375
+ function _p({
4376
4376
  config: t,
4377
4377
  update: a
4378
4378
  }) {
@@ -4394,7 +4394,7 @@ function gp({
4394
4394
  ] })
4395
4395
  ] });
4396
4396
  }
4397
- function _p({
4397
+ function yp({
4398
4398
  config: t,
4399
4399
  update: a
4400
4400
  }) {
@@ -4423,7 +4423,7 @@ function _p({
4423
4423
  ] })
4424
4424
  ] });
4425
4425
  }
4426
- function yp({
4426
+ function bp({
4427
4427
  config: t,
4428
4428
  update: a
4429
4429
  }) {
@@ -4451,7 +4451,7 @@ function yp({
4451
4451
  ] })
4452
4452
  ] });
4453
4453
  }
4454
- function bp({
4454
+ function vp({
4455
4455
  config: t,
4456
4456
  update: a
4457
4457
  }) {
@@ -4475,7 +4475,7 @@ function bp({
4475
4475
  ] })
4476
4476
  ] });
4477
4477
  }
4478
- function vp({
4478
+ function kp({
4479
4479
  config: t,
4480
4480
  update: a
4481
4481
  }) {
@@ -4499,14 +4499,14 @@ function vp({
4499
4499
  ] })
4500
4500
  ] });
4501
4501
  }
4502
- function kp({
4502
+ function Np({
4503
4503
  config: t,
4504
4504
  update: a,
4505
4505
  token: s
4506
4506
  }) {
4507
- const r = Ls(), d = typeof Notification < "u", [m, _] = l([]);
4507
+ const r = Es(), d = typeof Notification < "u", [m, _] = l([]);
4508
4508
  W(() => {
4509
- yr(s).then(_).catch(() => {
4509
+ br(s).then(_).catch(() => {
4510
4510
  });
4511
4511
  }, [s]);
4512
4512
  const g = (C) => {
@@ -4528,7 +4528,7 @@ function kp({
4528
4528
  {
4529
4529
  checked: At(t, "devices", "desktopNotify", !0),
4530
4530
  onChange: (C) => {
4531
- C && As(), a("devices", { desktopNotify: C });
4531
+ C && $s(), a("devices", { desktopNotify: C });
4532
4532
  }
4533
4533
  }
4534
4534
  )
@@ -4545,7 +4545,7 @@ function kp({
4545
4545
  ] })
4546
4546
  ] });
4547
4547
  }
4548
- function Np({
4548
+ function wp({
4549
4549
  config: t,
4550
4550
  update: a
4551
4551
  }) {
@@ -4569,7 +4569,7 @@ function Np({
4569
4569
  ] })
4570
4570
  ] });
4571
4571
  }
4572
- function wp({
4572
+ function Cp({
4573
4573
  config: t,
4574
4574
  update: a,
4575
4575
  token: s
@@ -4577,7 +4577,7 @@ function wp({
4577
4577
  const [r, d] = l(!1), [m, _] = l(""), g = async () => {
4578
4578
  d(!0), _("");
4579
4579
  try {
4580
- const { fileName: C, content: L } = await Nr(s), H = new Blob([L], {
4580
+ const { fileName: C, content: L } = await wr(s), H = new Blob([L], {
4581
4581
  type: "text/markdown;charset=utf-8"
4582
4582
  }), P = URL.createObjectURL(H), w = document.createElement("a");
4583
4583
  w.href = P, w.download = C || "z-team-chat.md", w.click(), URL.revokeObjectURL(P), _("已导出全部个人会话记录");
@@ -4629,11 +4629,11 @@ const Yn = {
4629
4629
  apiKey: "",
4630
4630
  modelName: ""
4631
4631
  };
4632
- function Cp({ token: t }) {
4632
+ function Sp({ token: t }) {
4633
4633
  const [a, s] = l([]), [r, d] = l(!0), [m, _] = l(Yn), [g, C] = l(!1), [L, H] = l(!1), [P, w] = l(""), [S, Q] = l(""), X = Y(async () => {
4634
4634
  d(!0);
4635
4635
  try {
4636
- const O = await _r(t);
4636
+ const O = await yr(t);
4637
4637
  s(O || []), w("");
4638
4638
  } catch (O) {
4639
4639
  w(O instanceof Error ? O.message : String(O));
@@ -4648,7 +4648,7 @@ function Cp({ token: t }) {
4648
4648
  if (I) {
4649
4649
  H(!0);
4650
4650
  try {
4651
- await kr(t, {
4651
+ await Nr(t, {
4652
4652
  name: m.name.trim(),
4653
4653
  endpoint: m.endpoint.trim(),
4654
4654
  apiKey: m.apiKey.trim(),
@@ -4662,14 +4662,14 @@ function Cp({ token: t }) {
4662
4662
  }
4663
4663
  }, Z = async (O) => {
4664
4664
  try {
4665
- await br(t, O.id, !O.enable), await X();
4665
+ await vr(t, O.id, !O.enable), await X();
4666
4666
  } catch (h) {
4667
4667
  w(h instanceof Error ? h.message : String(h));
4668
4668
  }
4669
4669
  }, z = async (O) => {
4670
- if (await $s({ content: `确定删除自定义模型「${O.name}」吗?` }))
4670
+ if (await Ls({ content: `确定删除自定义模型「${O.name}」吗?` }))
4671
4671
  try {
4672
- await vr(t, O.id), await X();
4672
+ await kr(t, O.id), await X();
4673
4673
  } catch (h) {
4674
4674
  w(h instanceof Error ? h.message : String(h));
4675
4675
  }
@@ -4807,21 +4807,21 @@ function Cp({ token: t }) {
4807
4807
  ] })
4808
4808
  ] });
4809
4809
  }
4810
- function Sp({ label: t }) {
4810
+ function Tp({ label: t }) {
4811
4811
  return /* @__PURE__ */ n("div", { className: b.placeholderHost, children: [
4812
4812
  /* @__PURE__ */ e("span", { className: b.placeholderIcon, children: /* @__PURE__ */ e(fn, {}) }),
4813
4813
  /* @__PURE__ */ e("span", { className: b.placeholderTitle, children: t }),
4814
4814
  /* @__PURE__ */ e("span", { className: b.placeholderDesc, children: "该设置项即将上线" })
4815
4815
  ] });
4816
4816
  }
4817
- function Tp() {
4817
+ function Ip() {
4818
4818
  const t = typeof Notification < "u" ? "支持" : "不支持";
4819
4819
  return /* @__PURE__ */ n("section", { className: b.section, children: [
4820
4820
  /* @__PURE__ */ e("h3", { className: b.sectionTitle, children: "关于" }),
4821
4821
  /* @__PURE__ */ n("div", { className: b.card, children: [
4822
4822
  /* @__PURE__ */ e(Te, { title: "z-team 智能工作台", desc: "个人工作台 / 协作工作台 / 群学习。", children: /* @__PURE__ */ n("span", { className: b.mono, children: [
4823
4823
  "v",
4824
- "0.2.75"
4824
+ "0.2.77"
4825
4825
  ] }) }),
4826
4826
  /* @__PURE__ */ e(Te, { title: "运行形态", desc: "Web 浏览器接入,也可内嵌于桌面客户端。", children: /* @__PURE__ */ e("span", { className: b.mono, children: "Web" }) }),
4827
4827
  /* @__PURE__ */ e(Te, { title: "统一认证", desc: "登录态由 4A / CTC SSO 托管。", children: /* @__PURE__ */ e("span", { className: b.mono, children: "SSO" }) }),
@@ -4829,7 +4829,7 @@ function Tp() {
4829
4829
  ] })
4830
4830
  ] });
4831
4831
  }
4832
- function Ip() {
4832
+ function Mp() {
4833
4833
  return /* @__PURE__ */ n("section", { className: b.section, children: [
4834
4834
  /* @__PURE__ */ e("h3", { className: b.sectionTitle, children: "获取帮助" }),
4835
4835
  /* @__PURE__ */ e("p", { className: b.hint, children: "常见能力入口与自助排查说明,均可在本工作台内完成。" }),
@@ -4877,7 +4877,7 @@ function Ip() {
4877
4877
  ] })
4878
4878
  ] });
4879
4879
  }
4880
- function Mp({
4880
+ function xp({
4881
4881
  open: t,
4882
4882
  onClose: a,
4883
4883
  token: s
@@ -4900,7 +4900,7 @@ function Mp({
4900
4900
  W(() => {
4901
4901
  if (!t) return;
4902
4902
  let i = !0;
4903
- return H(!1), w(!1), fr(s).then((p) => {
4903
+ return H(!1), w(!1), gr(s).then((p) => {
4904
4904
  i && (C(p || {}), Aa(p || {}), H(!0));
4905
4905
  }).catch(() => {
4906
4906
  i && w(!0);
@@ -4911,7 +4911,7 @@ function Mp({
4911
4911
  const Z = Y(async () => {
4912
4912
  x.current != null && (window.clearTimeout(x.current), x.current = null), Q("saving");
4913
4913
  try {
4914
- await gr(s, X.current), Q("saved");
4914
+ await _r(s, X.current), Q("saved");
4915
4915
  } catch {
4916
4916
  Q("error");
4917
4917
  }
@@ -4940,35 +4940,35 @@ function Mp({
4940
4940
  return P ? /* @__PURE__ */ e("div", { className: b.emptyTip, children: "设置加载失败,请关闭后重试。" }) : /* @__PURE__ */ e("div", { className: b.emptyTip, children: "加载中…" });
4941
4941
  switch (G.key) {
4942
4942
  case "general":
4943
- return /* @__PURE__ */ e(pp, { config: g, update: z });
4944
- case "profile":
4945
4943
  return /* @__PURE__ */ e(hp, { config: g, update: z });
4946
- case "appearance":
4944
+ case "profile":
4947
4945
  return /* @__PURE__ */ e(fp, { config: g, update: z });
4948
- case "shortcuts":
4946
+ case "appearance":
4949
4947
  return /* @__PURE__ */ e(gp, { config: g, update: z });
4950
- case "personalize":
4948
+ case "shortcuts":
4951
4949
  return /* @__PURE__ */ e(_p, { config: g, update: z });
4952
- case "memory":
4950
+ case "personalize":
4953
4951
  return /* @__PURE__ */ e(yp, { config: g, update: z });
4954
- case "agents":
4952
+ case "memory":
4955
4953
  return /* @__PURE__ */ e(bp, { config: g, update: z });
4956
- case "assistant":
4954
+ case "agents":
4957
4955
  return /* @__PURE__ */ e(vp, { config: g, update: z });
4956
+ case "assistant":
4957
+ return /* @__PURE__ */ e(kp, { config: g, update: z });
4958
4958
  case "devices":
4959
- return /* @__PURE__ */ e(kp, { config: g, update: z, token: s });
4959
+ return /* @__PURE__ */ e(Np, { config: g, update: z, token: s });
4960
4960
  case "security":
4961
- return /* @__PURE__ */ e(Np, { config: g, update: z });
4961
+ return /* @__PURE__ */ e(wp, { config: g, update: z });
4962
4962
  case "data":
4963
- return /* @__PURE__ */ e(wp, { config: g, update: z, token: s });
4963
+ return /* @__PURE__ */ e(Cp, { config: g, update: z, token: s });
4964
4964
  case "models":
4965
- return /* @__PURE__ */ e(Cp, { token: s });
4965
+ return /* @__PURE__ */ e(Sp, { token: s });
4966
4966
  case "about":
4967
- return /* @__PURE__ */ e(Tp, {});
4968
- case "feedback":
4969
4967
  return /* @__PURE__ */ e(Ip, {});
4968
+ case "feedback":
4969
+ return /* @__PURE__ */ e(Mp, {});
4970
4970
  default:
4971
- return /* @__PURE__ */ e(Sp, { label: G.label });
4971
+ return /* @__PURE__ */ e(Tp, { label: G.label });
4972
4972
  }
4973
4973
  };
4974
4974
  return /* @__PURE__ */ e("div", { className: b.overlay, onClick: O, children: /* @__PURE__ */ n(
@@ -5040,30 +5040,30 @@ function Mp({
5040
5040
  }
5041
5041
  ) });
5042
5042
  }
5043
- const xp = "_overlay_x7o5t_2", Ap = "_dialog_x7o5t_14", $p = "_inputRow_x7o5t_28", Lp = "_inputIcon_x7o5t_36", Ep = "_input_x7o5t_28", Pp = "_clear_x7o5t_56", Op = "_header_x7o5t_67", Dp = "_headerTitle_x7o5t_76", Rp = "_headerHints_x7o5t_83", Fp = "_kbd_x7o5t_93", Bp = "_searching_x7o5t_108", Hp = "_headerCount_x7o5t_112", jp = "_list_x7o5t_116", Wp = "_row_x7o5t_121", Up = "_rowActive_x7o5t_131", zp = "_rowDisabled_x7o5t_135", Gp = "_rowIcon_x7o5t_140", Kp = "_rowMain_x7o5t_147", qp = "_rowTitle_x7o5t_155", Vp = "_rowSnippet_x7o5t_163", Jp = "_rowMeta_x7o5t_171", Yp = "_rowTime_x7o5t_181", Qp = "_empty_x7o5t_189", De = {
5044
- overlay: xp,
5045
- dialog: Ap,
5046
- inputRow: $p,
5047
- inputIcon: Lp,
5048
- input: Ep,
5049
- clear: Pp,
5050
- header: Op,
5051
- headerTitle: Dp,
5052
- headerHints: Rp,
5053
- kbd: Fp,
5054
- searching: Bp,
5055
- headerCount: Hp,
5056
- list: jp,
5057
- row: Wp,
5058
- rowActive: Up,
5059
- rowDisabled: zp,
5060
- rowIcon: Gp,
5061
- rowMain: Kp,
5062
- rowTitle: qp,
5063
- rowSnippet: Vp,
5064
- rowMeta: Jp,
5065
- rowTime: Yp,
5066
- empty: Qp
5043
+ const Ap = "_overlay_x7o5t_2", $p = "_dialog_x7o5t_14", Lp = "_inputRow_x7o5t_28", Ep = "_inputIcon_x7o5t_36", Pp = "_input_x7o5t_28", Op = "_clear_x7o5t_56", Dp = "_header_x7o5t_67", Rp = "_headerTitle_x7o5t_76", Fp = "_headerHints_x7o5t_83", Bp = "_kbd_x7o5t_93", Hp = "_searching_x7o5t_108", jp = "_headerCount_x7o5t_112", Wp = "_list_x7o5t_116", Up = "_row_x7o5t_121", zp = "_rowActive_x7o5t_131", Gp = "_rowDisabled_x7o5t_135", Kp = "_rowIcon_x7o5t_140", qp = "_rowMain_x7o5t_147", Vp = "_rowTitle_x7o5t_155", Jp = "_rowSnippet_x7o5t_163", Yp = "_rowMeta_x7o5t_171", Qp = "_rowTime_x7o5t_181", Zp = "_empty_x7o5t_189", De = {
5044
+ overlay: Ap,
5045
+ dialog: $p,
5046
+ inputRow: Lp,
5047
+ inputIcon: Ep,
5048
+ input: Pp,
5049
+ clear: Op,
5050
+ header: Dp,
5051
+ headerTitle: Rp,
5052
+ headerHints: Fp,
5053
+ kbd: Bp,
5054
+ searching: Hp,
5055
+ headerCount: jp,
5056
+ list: Wp,
5057
+ row: Up,
5058
+ rowActive: zp,
5059
+ rowDisabled: Gp,
5060
+ rowIcon: Kp,
5061
+ rowMain: qp,
5062
+ rowTitle: Vp,
5063
+ rowSnippet: Jp,
5064
+ rowMeta: Yp,
5065
+ rowTime: Qp,
5066
+ empty: Zp
5067
5067
  }, Za = {
5068
5068
  user: /* @__PURE__ */ n(
5069
5069
  "svg",
@@ -5099,7 +5099,7 @@ const xp = "_overlay_x7o5t_2", Ap = "_dialog_x7o5t_14", $p = "_inputRow_x7o5t_28
5099
5099
  ]
5100
5100
  }
5101
5101
  )
5102
- }, Xa = 200, Zp = 2, Xp = 250;
5102
+ }, Xa = 200, Xp = 2, eh = 250;
5103
5103
  function Qn(t) {
5104
5104
  return t.updateTime || t.createTime || "";
5105
5105
  }
@@ -5111,7 +5111,7 @@ function eo(t) {
5111
5111
  const s = /* @__PURE__ */ new Date(), r = (d) => String(d).padStart(2, "0");
5112
5112
  return a.toDateString() === s.toDateString() ? `${r(a.getHours())}:${r(a.getMinutes())}` : a.getFullYear() === s.getFullYear() ? `${a.getMonth() + 1}月${a.getDate()}日` : `${a.getFullYear()}-${r(a.getMonth() + 1)}-${r(a.getDate())}`;
5113
5113
  }
5114
- function eh({
5114
+ function th({
5115
5115
  sessions: t,
5116
5116
  agentsById: a,
5117
5117
  projects: s,
@@ -5122,7 +5122,7 @@ function eh({
5122
5122
  }) {
5123
5123
  const [g, C] = l(""), [L, H] = l(0), [P, w] = l({ keyword: "", hits: [] }), [S, Q] = l(!1), X = ue(null), x = ue(null), I = g.trim(), G = I.toLowerCase();
5124
5124
  W(() => {
5125
- if (I.length < Zp) {
5125
+ if (I.length < Xp) {
5126
5126
  Q(!1);
5127
5127
  return;
5128
5128
  }
@@ -5136,7 +5136,7 @@ function eh({
5136
5136
  }).finally(() => {
5137
5137
  i || Q(!1);
5138
5138
  });
5139
- }, Xp);
5139
+ }, eh);
5140
5140
  return () => {
5141
5141
  i = !0, window.clearTimeout(p);
5142
5142
  };
@@ -5293,7 +5293,7 @@ function eh({
5293
5293
  document.body
5294
5294
  );
5295
5295
  }
5296
- function th({
5296
+ function nh({
5297
5297
  members: t,
5298
5298
  loading: a,
5299
5299
  value: s,
@@ -5487,7 +5487,7 @@ function th({
5487
5487
  children: [
5488
5488
  /* @__PURE__ */ e("span", { className: u.participantItemName, children: h.name || h.accountNo }),
5489
5489
  /* @__PURE__ */ e("span", { className: u.participantItemAccount, children: h.accountNo }),
5490
- p && /* @__PURE__ */ e("span", { className: u.participantItemCheck, children: /* @__PURE__ */ e(Vs, {}) })
5490
+ p && /* @__PURE__ */ e("span", { className: u.participantItemCheck, children: /* @__PURE__ */ e(Js, {}) })
5491
5491
  ]
5492
5492
  },
5493
5493
  i
@@ -5985,7 +5985,7 @@ const ne = {
5985
5985
  }
5986
5986
  )
5987
5987
  };
5988
- function nh(t) {
5988
+ function ah(t) {
5989
5989
  return /^\.z_team\/\.agent\/[^/]+\/skills$/.test(t);
5990
5990
  }
5991
5991
  const to = /* @__PURE__ */ new Set([
@@ -5999,7 +5999,7 @@ const to = /* @__PURE__ */ new Set([
5999
5999
  name: "asc",
6000
6000
  id: "asc"
6001
6001
  };
6002
- function ah() {
6002
+ function oh() {
6003
6003
  try {
6004
6004
  const t = localStorage.getItem("ft_sidebar_sortDims");
6005
6005
  if (!t) return [];
@@ -6024,7 +6024,7 @@ function ah() {
6024
6024
  return [];
6025
6025
  }
6026
6026
  }
6027
- function oh({
6027
+ function sh({
6028
6028
  onOpenTeam: t,
6029
6029
  onOpenPersonalSession: a,
6030
6030
  collabNav: s,
@@ -6057,7 +6057,7 @@ function oh({
6057
6057
  projectsLoading: o.loading
6058
6058
  }))
6059
6059
  ), Q = q((o) => o.selectFile), X = q((o) => o.deleteScenarioInstance), x = q((o) => o.forkScenarioInstance), I = q((o) => o.updateScenarioInstance), G = q((o) => o.renameFile), Z = q((o) => o.createFile), z = q((o) => o.createFolder), O = q((o) => o.deleteFile), h = q((o) => o.uploadFile), i = q((o) => o.uploadFolder), p = q((o) => o.downloadFile), k = q((o) => o.expandProject), f = q((o) => o.loadAllSkills), T = q((o) => o.addProjectSkill), B = q((o) => o.removeProjectSkill), ee = q((o) => o.refreshAgentSkills), ae = q((o) => o.refreshAllAgentSkills), se = q((o) => o.syncFromProduction), U = q((o) => o.fetchWorkspaceEnv), M = q((o) => o.loadProjects), N = Ee(
6060
- () => lr(d),
6060
+ () => dr(d),
6061
6061
  [d]
6062
6062
  ), [F, ye] = l(null), [Ie, Me] = l({ x: 0, y: 0 }), [we, $] = l(!1), v = ue(null), V = ue(null), [R, le] = l(null), [pe, He] = l(!1), [rt, K] = l({}), [he, $e] = l(
6063
6063
  /* @__PURE__ */ new Set()
@@ -6068,7 +6068,7 @@ function oh({
6068
6068
  } catch {
6069
6069
  return [];
6070
6070
  }
6071
- }), [Pe, nt] = l(ah), [it, te] = l(
6071
+ }), [Pe, nt] = l(oh), [it, te] = l(
6072
6072
  /* @__PURE__ */ new Set()
6073
6073
  ), [me, ie] = l(() => {
6074
6074
  try {
@@ -6862,7 +6862,7 @@ function oh({
6862
6862
  _e("新建文件夹", ne.folder, "new-folder"),
6863
6863
  _e("上传文件", ne.upload, "upload-file"),
6864
6864
  _e("上传文件夹", ne.upload, "upload-folder")
6865
- ] : o.is_dir && nh(o.path) ? [
6865
+ ] : o.is_dir && ah(o.path) ? [
6866
6866
  _e("刷新技能", ne.refresh, "refresh-agent-skills"),
6867
6867
  _e("新建文件", ne.file, "new-file"),
6868
6868
  _e("新建文件夹", ne.folder, "new-folder"),
@@ -6904,7 +6904,7 @@ function oh({
6904
6904
  )) }),
6905
6905
  /* @__PURE__ */ n("div", { className: u.filterSectionRow, children: [
6906
6906
  /* @__PURE__ */ e(
6907
- th,
6907
+ nh,
6908
6908
  {
6909
6909
  members: ke,
6910
6910
  loading: yn,
@@ -7058,7 +7058,7 @@ function oh({
7058
7058
  return /* @__PURE__ */ n("div", { className: u.sidebarInner, ref: v, children: [
7059
7059
  s && /* @__PURE__ */ n("div", { style: { padding: "12px 10px 0", position: "relative" }, children: [
7060
7060
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
7061
- Gc,
7061
+ Kc,
7062
7062
  {
7063
7063
  currentUser: d,
7064
7064
  token: ce,
@@ -7078,7 +7078,7 @@ function oh({
7078
7078
  }
7079
7079
  ) }),
7080
7080
  qe && /* @__PURE__ */ e(
7081
- eh,
7081
+ th,
7082
7082
  {
7083
7083
  sessions: Qt,
7084
7084
  agentsById: Wt,
@@ -7211,7 +7211,7 @@ function oh({
7211
7211
  }
7212
7212
  ),
7213
7213
  R && /* @__PURE__ */ e(
7214
- rh,
7214
+ ih,
7215
7215
  {
7216
7216
  title: Uo,
7217
7217
  placeholder: Wo,
@@ -7221,7 +7221,7 @@ function oh({
7221
7221
  }
7222
7222
  ),
7223
7223
  pe && /* @__PURE__ */ e(
7224
- ih,
7224
+ ch,
7225
7225
  {
7226
7226
  allSkills: H,
7227
7227
  projectSkills: P,
@@ -7238,7 +7238,7 @@ function oh({
7238
7238
  }
7239
7239
  ),
7240
7240
  /* @__PURE__ */ e(
7241
- _u,
7241
+ yu,
7242
7242
  {
7243
7243
  displayName: (d == null ? void 0 : d.display_name) || (d == null ? void 0 : d.username) || "",
7244
7244
  subtitle: "Z-OPC · 一人公司基建",
@@ -7251,13 +7251,13 @@ function oh({
7251
7251
  title: "收起左栏",
7252
7252
  "aria-label": "收起左栏",
7253
7253
  onClick: () => r(),
7254
- children: /* @__PURE__ */ e(Js, {})
7254
+ children: /* @__PURE__ */ e(Ys, {})
7255
7255
  }
7256
7256
  ) : null
7257
7257
  }
7258
7258
  ),
7259
7259
  /* @__PURE__ */ e(
7260
- Mp,
7260
+ xp,
7261
7261
  {
7262
7262
  open: je,
7263
7263
  onClose: () => xe(!1),
@@ -7266,8 +7266,8 @@ function oh({
7266
7266
  )
7267
7267
  ] });
7268
7268
  }
7269
- const sh = Ns(oh);
7270
- function rh({
7269
+ const rh = ws(sh);
7270
+ function ih({
7271
7271
  title: t,
7272
7272
  placeholder: a,
7273
7273
  defaultValue: s,
@@ -7301,7 +7301,7 @@ function rh({
7301
7301
  ] })
7302
7302
  ] }) });
7303
7303
  }
7304
- function ih({
7304
+ function ch({
7305
7305
  allSkills: t,
7306
7306
  projectSkills: a,
7307
7307
  onConfirm: s,
@@ -7384,12 +7384,12 @@ function ih({
7384
7384
  }
7385
7385
  ) });
7386
7386
  }
7387
- const ch = "_toggle_ewsc0_1", lh = "_btn_ewsc0_11", dh = "_btnActive_ewsc0_28", cn = {
7388
- toggle: ch,
7389
- btn: lh,
7390
- btnActive: dh
7387
+ const lh = "_toggle_ewsc0_1", dh = "_btn_ewsc0_11", mh = "_btnActive_ewsc0_28", cn = {
7388
+ toggle: lh,
7389
+ btn: dh,
7390
+ btnActive: mh
7391
7391
  };
7392
- function mh({
7392
+ function uh({
7393
7393
  lane: t,
7394
7394
  onLaneChange: a
7395
7395
  }) {
@@ -7418,41 +7418,41 @@ function mh({
7418
7418
  )
7419
7419
  ] });
7420
7420
  }
7421
- const uh = "_welcomeRoot_19teb_2", ph = "_welcomeInner_19teb_14", hh = "_heroTitle_19teb_25", fh = "_heroDivider_19teb_46", gh = "_composer_19teb_55", _h = "_composerTextarea_19teb_73", yh = "_composerFooter_19teb_92", bh = "_scenarioWrap_19teb_100", vh = "_scenarioIcon_19teb_121", kh = "_scenarioLabel_19teb_126", Nh = "_scenarioArrow_19teb_133", wh = "_scenarioArrowOpen_19teb_139", Ch = "_scenarioDropdown_19teb_143", Sh = "_scenarioOption_19teb_163", Th = "_scenarioOptionActive_19teb_180", Ih = "_scenarioOptionName_19teb_186", Mh = "_scenarioOptionCode_19teb_196", xh = "_scenarioOptionDesc_19teb_203", Ah = "_scenarioOptionMeta_19teb_210", $h = "_scenarioDefaultBadge_19teb_218", Lh = "_scenarioMetaHint_19teb_228", Eh = "_sendBtn_19teb_239", Ph = "_suggestions_19teb_269", Oh = "_suggestionsLabel_19teb_277", Dh = "_suggestionItem_19teb_284", Rh = "_suggestionIcon_19teb_306", Fh = "_suggestionText_19teb_312", Bh = "_errorHint_19teb_321", de = {
7422
- welcomeRoot: uh,
7423
- welcomeInner: ph,
7424
- heroTitle: hh,
7425
- heroDivider: fh,
7426
- composer: gh,
7427
- composerTextarea: _h,
7428
- composerFooter: yh,
7429
- scenarioWrap: bh,
7430
- scenarioIcon: vh,
7431
- scenarioLabel: kh,
7432
- scenarioArrow: Nh,
7433
- scenarioArrowOpen: wh,
7434
- scenarioDropdown: Ch,
7435
- scenarioOption: Sh,
7436
- scenarioOptionActive: Th,
7437
- scenarioOptionName: Ih,
7438
- scenarioOptionCode: Mh,
7439
- scenarioOptionDesc: xh,
7440
- scenarioOptionMeta: Ah,
7441
- scenarioDefaultBadge: $h,
7442
- scenarioMetaHint: Lh,
7443
- sendBtn: Eh,
7444
- suggestions: Ph,
7445
- suggestionsLabel: Oh,
7446
- suggestionItem: Dh,
7447
- suggestionIcon: Rh,
7448
- suggestionText: Fh,
7449
- errorHint: Bh
7450
- }, Zn = "ft_personal_llm_code", Hh = [
7421
+ const ph = "_welcomeRoot_19teb_2", hh = "_welcomeInner_19teb_14", fh = "_heroTitle_19teb_25", gh = "_heroDivider_19teb_46", _h = "_composer_19teb_55", yh = "_composerTextarea_19teb_73", bh = "_composerFooter_19teb_92", vh = "_scenarioWrap_19teb_100", kh = "_scenarioIcon_19teb_121", Nh = "_scenarioLabel_19teb_126", wh = "_scenarioArrow_19teb_133", Ch = "_scenarioArrowOpen_19teb_139", Sh = "_scenarioDropdown_19teb_143", Th = "_scenarioOption_19teb_163", Ih = "_scenarioOptionActive_19teb_180", Mh = "_scenarioOptionName_19teb_186", xh = "_scenarioOptionCode_19teb_196", Ah = "_scenarioOptionDesc_19teb_203", $h = "_scenarioOptionMeta_19teb_210", Lh = "_scenarioDefaultBadge_19teb_218", Eh = "_scenarioMetaHint_19teb_228", Ph = "_sendBtn_19teb_239", Oh = "_suggestions_19teb_269", Dh = "_suggestionsLabel_19teb_277", Rh = "_suggestionItem_19teb_284", Fh = "_suggestionIcon_19teb_306", Bh = "_suggestionText_19teb_312", Hh = "_errorHint_19teb_321", de = {
7422
+ welcomeRoot: ph,
7423
+ welcomeInner: hh,
7424
+ heroTitle: fh,
7425
+ heroDivider: gh,
7426
+ composer: _h,
7427
+ composerTextarea: yh,
7428
+ composerFooter: bh,
7429
+ scenarioWrap: vh,
7430
+ scenarioIcon: kh,
7431
+ scenarioLabel: Nh,
7432
+ scenarioArrow: wh,
7433
+ scenarioArrowOpen: Ch,
7434
+ scenarioDropdown: Sh,
7435
+ scenarioOption: Th,
7436
+ scenarioOptionActive: Ih,
7437
+ scenarioOptionName: Mh,
7438
+ scenarioOptionCode: xh,
7439
+ scenarioOptionDesc: Ah,
7440
+ scenarioOptionMeta: $h,
7441
+ scenarioDefaultBadge: Lh,
7442
+ scenarioMetaHint: Eh,
7443
+ sendBtn: Ph,
7444
+ suggestions: Oh,
7445
+ suggestionsLabel: Dh,
7446
+ suggestionItem: Rh,
7447
+ suggestionIcon: Fh,
7448
+ suggestionText: Bh,
7449
+ errorHint: Hh
7450
+ }, Zn = "ft_personal_llm_code", jh = [
7451
7451
  { icon: "🛒", text: "开发一个购物车结算流程" },
7452
7452
  { icon: "🧹", text: "将当前项目治理重复代码,降至 5% 以下" },
7453
7453
  { icon: "🔍", text: "调研 AI Agent 开发框架选型" }
7454
7454
  ], no = 18;
7455
- function jh(t) {
7455
+ function Wh(t) {
7456
7456
  const a = t.trim();
7457
7457
  if (!a) return "新会话";
7458
7458
  const s = a.replace(/^[#@/·\-\s]+/, "").replace(/[。!?!?.,,;;]+$/, "").trim(), d = s.split(/\n/)[0].trim() || s;
@@ -7572,7 +7572,7 @@ function ao({
7572
7572
  return;
7573
7573
  }
7574
7574
  z(!0), h("");
7575
- const V = jh(v);
7575
+ const V = Wh(v);
7576
7576
  try {
7577
7577
  await _(
7578
7578
  V,
@@ -7610,7 +7610,7 @@ function ao({
7610
7610
  }
7611
7611
  ),
7612
7612
  /* @__PURE__ */ n("div", { className: de.composerFooter, children: [
7613
- a && t ? /* @__PURE__ */ e(mh, { lane: t, onLaneChange: a }) : null,
7613
+ a && t ? /* @__PURE__ */ e(uh, { lane: t, onLaneChange: a }) : null,
7614
7614
  s ? (
7615
7615
  /* 单聊模式:右侧 = 模型选择下拉(无场景概念) */
7616
7616
  /* @__PURE__ */ n(
@@ -7741,7 +7741,7 @@ function ao({
7741
7741
  ] }),
7742
7742
  /* @__PURE__ */ n("div", { className: de.suggestions, children: [
7743
7743
  /* @__PURE__ */ e("div", { className: de.suggestionsLabel, children: "试试这些" }),
7744
- Hh.map((v) => /* @__PURE__ */ n(
7744
+ jh.map((v) => /* @__PURE__ */ n(
7745
7745
  "button",
7746
7746
  {
7747
7747
  type: "button",
@@ -7758,68 +7758,68 @@ function ao({
7758
7758
  ] })
7759
7759
  ] }) });
7760
7760
  }
7761
- const Wh = "_layout_i9evc_1", Uh = "_banner_i9evc_8", zh = "_bannerLeft_i9evc_20", Gh = "_logo_i9evc_26", Kh = "_bannerRight_i9evc_33", qh = "_bannerCenter_i9evc_39", Vh = "_bannerTipLine_i9evc_53", Jh = "_bannerNoticeLine_i9evc_65", Yh = "_bannerNoticeClickable_i9evc_71", Qh = "_bannerTipText_i9evc_75", Zh = "_announcementModalWrap_i9evc_82", Xh = "_announcementModalHeader_i9evc_89", ef = "_announcementModalTitle_i9evc_98", tf = "_announcementModalIcon_i9evc_107", nf = "_announcementModalClose_i9evc_112", af = "_announcementModalBody_i9evc_133", of = "_announcementList_i9evc_140", sf = "_announcementListItem_i9evc_149", rf = "_announcementListItemActive_i9evc_167", cf = "_announcementDetail_i9evc_176", lf = "_announcementDetailTitle_i9evc_187", df = "_announcementDetailContent_i9evc_196", mf = "_announcementDetailMeta_i9evc_207", uf = "_announcementDetailEmpty_i9evc_218", pf = "_popupNoticeModalWrap_i9evc_230", hf = "_popupNoticeHeader_i9evc_237", ff = "_popupNoticeHeaderTitle_i9evc_246", gf = "_popupNoticeHeaderIcon_i9evc_255", _f = "_popupNoticeCounter_i9evc_260", yf = "_popupNoticeBody_i9evc_267", bf = "_popupNoticeTitle_i9evc_277", vf = "_popupNoticeContent_i9evc_287", kf = "_popupNoticeFooter_i9evc_296", Nf = "_popupNoticeBtn_i9evc_304", wf = "_popupNoticeBtnConfirm_i9evc_327", Cf = "_bannerQuoteLine_i9evc_349", Sf = "_bannerTipLabel_i9evc_359", Tf = "_quoteAuthor_i9evc_378", If = "_iconGroup_i9evc_417", Mf = "_wsIndicator_i9evc_476", xf = "_wsConnecting_i9evc_486", Af = "_wsDisconnected_i9evc_491", $f = "_wsConnected_i9evc_496", Lf = "_wsDot_i9evc_501", Ef = "_wsLabel_i9evc_531", Pf = "_headerUser_i9evc_535", Of = "_headerUsername_i9evc_549", Df = "_mainArea_i9evc_559", Rf = "_sidebar_i9evc_566", Ff = "_sidebarResizeHandle_i9evc_577", Bf = "_sidebarCollapseFab_i9evc_587", Hf = "_sidebarExpandFab_i9evc_617", jf = "_todoPanel_i9evc_775", Wf = "_todoPanelHidden_i9evc_785", Uf = "_centerPanel_i9evc_791", zf = "_modeToggleBtn_i9evc_801", Gf = "_modeToggleBtnActive_i9evc_820", Kf = "_smartWorkbenchArea_i9evc_834", D = {
7762
- layout: Wh,
7763
- banner: Uh,
7764
- bannerLeft: zh,
7765
- logo: Gh,
7766
- bannerRight: Kh,
7767
- bannerCenter: qh,
7768
- bannerTipLine: Vh,
7769
- bannerNoticeLine: Jh,
7770
- bannerNoticeClickable: Yh,
7771
- bannerTipText: Qh,
7772
- announcementModalWrap: Zh,
7773
- announcementModalHeader: Xh,
7774
- announcementModalTitle: ef,
7775
- announcementModalIcon: tf,
7776
- announcementModalClose: nf,
7777
- announcementModalBody: af,
7778
- announcementList: of,
7779
- announcementListItem: sf,
7780
- announcementListItemActive: rf,
7781
- announcementDetail: cf,
7782
- announcementDetailTitle: lf,
7783
- announcementDetailContent: df,
7784
- announcementDetailMeta: mf,
7785
- announcementDetailEmpty: uf,
7786
- popupNoticeModalWrap: pf,
7787
- popupNoticeHeader: hf,
7788
- popupNoticeHeaderTitle: ff,
7789
- popupNoticeHeaderIcon: gf,
7790
- popupNoticeCounter: _f,
7791
- popupNoticeBody: yf,
7792
- popupNoticeTitle: bf,
7793
- popupNoticeContent: vf,
7794
- popupNoticeFooter: kf,
7795
- popupNoticeBtn: Nf,
7796
- popupNoticeBtnConfirm: wf,
7797
- bannerQuoteLine: Cf,
7798
- bannerTipLabel: Sf,
7799
- quoteAuthor: Tf,
7800
- iconGroup: If,
7801
- wsIndicator: Mf,
7802
- wsConnecting: xf,
7803
- wsDisconnected: Af,
7804
- wsConnected: $f,
7805
- wsDot: Lf,
7806
- wsLabel: Ef,
7807
- headerUser: Pf,
7808
- headerUsername: Of,
7809
- mainArea: Df,
7810
- sidebar: Rf,
7811
- sidebarResizeHandle: Ff,
7812
- sidebarCollapseFab: Bf,
7813
- sidebarExpandFab: Hf,
7814
- todoPanel: jf,
7815
- todoPanelHidden: Wf,
7816
- centerPanel: Uf,
7817
- modeToggleBtn: zf,
7818
- modeToggleBtnActive: Gf,
7819
- smartWorkbenchArea: Kf
7820
- }, qf = "/api";
7821
- Ir({ apiBase: qf });
7822
- const Vf = yt(() => import("./index-LA0c93lD.js")), Jf = yt(() => import("./index-CW-JDoj9.js")), Yf = yt(() => import("./index-COhXbfib.js")), Qf = yt(() => import("./index-Zx-BL-9D.js")), Zf = yt(() => import("./index-CpAUbzCH.js").then((t) => t.i)), Xf = yt(() => import("./index-BO5y0Gwn.js")), eg = yt(() => import("./index-cDBJpBAd.js")), tg = yt(() => import("./index-D6yh1Kok.js")), ng = yt(() => import("./index-D1KPGWN9.js")), ag = yt(() => import("./index-DeT_z9Dg.js")), og = yt(() => import("./index-DahQUH9c.js")), sg = yt(() => import("@yuku123/z-product-component").then((t) => ({ default: t.Atelier }))), oo = yt(() => import("./SystemShell-B0kCPBz3.js")), rg = `${window.publicPath ?? "/"}logo.svg`, Po = "ft_popup_read";
7761
+ const Uh = "_layout_i9evc_1", zh = "_banner_i9evc_8", Gh = "_bannerLeft_i9evc_20", Kh = "_logo_i9evc_26", qh = "_bannerRight_i9evc_33", Vh = "_bannerCenter_i9evc_39", Jh = "_bannerTipLine_i9evc_53", Yh = "_bannerNoticeLine_i9evc_65", Qh = "_bannerNoticeClickable_i9evc_71", Zh = "_bannerTipText_i9evc_75", Xh = "_announcementModalWrap_i9evc_82", ef = "_announcementModalHeader_i9evc_89", tf = "_announcementModalTitle_i9evc_98", nf = "_announcementModalIcon_i9evc_107", af = "_announcementModalClose_i9evc_112", of = "_announcementModalBody_i9evc_133", sf = "_announcementList_i9evc_140", rf = "_announcementListItem_i9evc_149", cf = "_announcementListItemActive_i9evc_167", lf = "_announcementDetail_i9evc_176", df = "_announcementDetailTitle_i9evc_187", mf = "_announcementDetailContent_i9evc_196", uf = "_announcementDetailMeta_i9evc_207", pf = "_announcementDetailEmpty_i9evc_218", hf = "_popupNoticeModalWrap_i9evc_230", ff = "_popupNoticeHeader_i9evc_237", gf = "_popupNoticeHeaderTitle_i9evc_246", _f = "_popupNoticeHeaderIcon_i9evc_255", yf = "_popupNoticeCounter_i9evc_260", bf = "_popupNoticeBody_i9evc_267", vf = "_popupNoticeTitle_i9evc_277", kf = "_popupNoticeContent_i9evc_287", Nf = "_popupNoticeFooter_i9evc_296", wf = "_popupNoticeBtn_i9evc_304", Cf = "_popupNoticeBtnConfirm_i9evc_327", Sf = "_bannerQuoteLine_i9evc_349", Tf = "_bannerTipLabel_i9evc_359", If = "_quoteAuthor_i9evc_378", Mf = "_iconGroup_i9evc_417", xf = "_wsIndicator_i9evc_476", Af = "_wsConnecting_i9evc_486", $f = "_wsDisconnected_i9evc_491", Lf = "_wsConnected_i9evc_496", Ef = "_wsDot_i9evc_501", Pf = "_wsLabel_i9evc_531", Of = "_headerUser_i9evc_535", Df = "_headerUsername_i9evc_549", Rf = "_mainArea_i9evc_559", Ff = "_sidebar_i9evc_566", Bf = "_sidebarResizeHandle_i9evc_577", Hf = "_sidebarCollapseFab_i9evc_587", jf = "_sidebarExpandFab_i9evc_617", Wf = "_todoPanel_i9evc_775", Uf = "_todoPanelHidden_i9evc_785", zf = "_centerPanel_i9evc_791", Gf = "_modeToggleBtn_i9evc_801", Kf = "_modeToggleBtnActive_i9evc_820", qf = "_smartWorkbenchArea_i9evc_834", D = {
7762
+ layout: Uh,
7763
+ banner: zh,
7764
+ bannerLeft: Gh,
7765
+ logo: Kh,
7766
+ bannerRight: qh,
7767
+ bannerCenter: Vh,
7768
+ bannerTipLine: Jh,
7769
+ bannerNoticeLine: Yh,
7770
+ bannerNoticeClickable: Qh,
7771
+ bannerTipText: Zh,
7772
+ announcementModalWrap: Xh,
7773
+ announcementModalHeader: ef,
7774
+ announcementModalTitle: tf,
7775
+ announcementModalIcon: nf,
7776
+ announcementModalClose: af,
7777
+ announcementModalBody: of,
7778
+ announcementList: sf,
7779
+ announcementListItem: rf,
7780
+ announcementListItemActive: cf,
7781
+ announcementDetail: lf,
7782
+ announcementDetailTitle: df,
7783
+ announcementDetailContent: mf,
7784
+ announcementDetailMeta: uf,
7785
+ announcementDetailEmpty: pf,
7786
+ popupNoticeModalWrap: hf,
7787
+ popupNoticeHeader: ff,
7788
+ popupNoticeHeaderTitle: gf,
7789
+ popupNoticeHeaderIcon: _f,
7790
+ popupNoticeCounter: yf,
7791
+ popupNoticeBody: bf,
7792
+ popupNoticeTitle: vf,
7793
+ popupNoticeContent: kf,
7794
+ popupNoticeFooter: Nf,
7795
+ popupNoticeBtn: wf,
7796
+ popupNoticeBtnConfirm: Cf,
7797
+ bannerQuoteLine: Sf,
7798
+ bannerTipLabel: Tf,
7799
+ quoteAuthor: If,
7800
+ iconGroup: Mf,
7801
+ wsIndicator: xf,
7802
+ wsConnecting: Af,
7803
+ wsDisconnected: $f,
7804
+ wsConnected: Lf,
7805
+ wsDot: Ef,
7806
+ wsLabel: Pf,
7807
+ headerUser: Of,
7808
+ headerUsername: Df,
7809
+ mainArea: Rf,
7810
+ sidebar: Ff,
7811
+ sidebarResizeHandle: Bf,
7812
+ sidebarCollapseFab: Hf,
7813
+ sidebarExpandFab: jf,
7814
+ todoPanel: Wf,
7815
+ todoPanelHidden: Uf,
7816
+ centerPanel: zf,
7817
+ modeToggleBtn: Gf,
7818
+ modeToggleBtnActive: Kf,
7819
+ smartWorkbenchArea: qf
7820
+ }, Vf = "/api";
7821
+ Mr({ apiBase: Vf });
7822
+ const Jf = yt(() => import("./index-_9zO-72Q.js")), Yf = yt(() => import("./index-DGbL_CMP.js")), Qf = yt(() => import("./index-DzS6-D3M.js")), Zf = yt(() => import("./index-Cvx6rrxD.js")), Xf = yt(() => import("./index-Xn84wLNu.js").then((t) => t.i)), eg = yt(() => import("./index-ACANAhdd.js")), tg = yt(() => import("./index-62K6U_D_.js")), ng = yt(() => import("./index-CxFAICql.js")), ag = yt(() => import("./index-C6FYNbSB.js")), og = yt(() => import("./index-DT80Pwa_.js")), sg = yt(() => import("./index-D2cy0jVs.js")), rg = yt(() => import("@yuku123/z-product-component").then((t) => ({ default: t.Atelier }))), oo = yt(() => import("./SystemShell-CPGtmxXl.js")), ig = `${window.publicPath ?? "/"}logo.svg`, Po = "ft_popup_read";
7823
7823
  function so(t) {
7824
7824
  return t.id != null ? String(t.id) : `${t.title ?? ""}|${t.content ?? ""}`;
7825
7825
  }
@@ -7831,7 +7831,7 @@ function Oo() {
7831
7831
  return [];
7832
7832
  }
7833
7833
  }
7834
- function ig(t) {
7834
+ function cg(t) {
7835
7835
  try {
7836
7836
  const a = Oo();
7837
7837
  if (a.includes(t)) return;
@@ -7842,7 +7842,7 @@ function ig(t) {
7842
7842
  } catch {
7843
7843
  }
7844
7844
  }
7845
- function cg({
7845
+ function lg({
7846
7846
  onNewProject: t,
7847
7847
  onOpenTeam: a,
7848
7848
  forcedChatMode: s,
@@ -7857,7 +7857,7 @@ function cg({
7857
7857
  currentProject: A.currentProject,
7858
7858
  clearCurrentProject: A.clearCurrentProject
7859
7859
  }))
7860
- ), H = q((A) => A.wsState), P = q((A) => A.token), w = ue(null), S = Ar(260, 180, 400, "left"), [Q, X] = l(
7860
+ ), H = q((A) => A.wsState), P = q((A) => A.token), w = ue(null), S = $r(260, 180, 400, "left"), [Q, X] = l(
7861
7861
  () => localStorage.getItem("ft_sidebar_collapsed") === "true"
7862
7862
  ), [x, I] = l(!1), [G, Z] = l(0), [z, O] = l(!1), [h, i] = l(null), [p, k] = l(0), [f, T] = l(!1), [B, ee] = l(0), [ae, se] = l([]), [U, M] = l(0), [N, F] = l(!1), [ye, Ie] = l([]), [Me, we] = l(0), $ = Ee(() => {
7863
7863
  const A = h == null ? void 0 : h.announcements;
@@ -7934,7 +7934,7 @@ function cg({
7934
7934
  I(!1), nt("group"), tt(null), L();
7935
7935
  }, [L]), qe = Y(
7936
7936
  (A) => {
7937
- const oe = Kc(it);
7937
+ const oe = qc(it);
7938
7938
  if (!oe) {
7939
7939
  Oe("暂无可用伙伴,请先在「更多能力」里创建伙伴", "warning");
7940
7940
  return;
@@ -7957,7 +7957,7 @@ function cg({
7957
7957
  [it]
7958
7958
  ), ct = Y(
7959
7959
  (A) => {
7960
- const oe = Uc(A);
7960
+ const oe = zc(A);
7961
7961
  oe && !On(g, oe) || xe({ kind: "tab", tab: A, ts: Date.now() });
7962
7962
  },
7963
7963
  [g, xe]
@@ -7967,7 +7967,7 @@ function cg({
7967
7967
  W(() => {
7968
7968
  C && nt("group");
7969
7969
  }, [C]);
7970
- const [lt, Ct] = l(() => (Mn(), Dr())), [bt, Vt] = l(() => {
7970
+ const [lt, Ct] = l(() => (Mn(), Rr())), [bt, Vt] = l(() => {
7971
7971
  try {
7972
7972
  Mn();
7973
7973
  const A = new URL(window.location.href).searchParams.get("mode");
@@ -8023,7 +8023,7 @@ function cg({
8023
8023
  } catch {
8024
8024
  }
8025
8025
  }, []), W(() => {
8026
- Rr(lt);
8026
+ Fr(lt);
8027
8027
  }, [lt]);
8028
8028
  const Qt = ue(lt);
8029
8029
  W(() => {
@@ -8093,7 +8093,7 @@ function cg({
8093
8093
  ), Wt = g != null && g.avatar && (g.avatar.startsWith("http") || g.avatar.startsWith("data:")) ? g.avatar : void 0, St = [
8094
8094
  {
8095
8095
  key: "logout",
8096
- icon: /* @__PURE__ */ e(cr, {}),
8096
+ icon: /* @__PURE__ */ e(lr, {}),
8097
8097
  label: "退出登录",
8098
8098
  onClick: () => {
8099
8099
  vo();
@@ -8111,7 +8111,7 @@ function cg({
8111
8111
  ), T(!0);
8112
8112
  }, [p, $.length]), vt = ae[U], kt = U >= ae.length - 1, Wn = Y(() => {
8113
8113
  const A = ae[U];
8114
- if (A && ig(so(A)), U < ae.length - 1) {
8114
+ if (A && cg(so(A)), U < ae.length - 1) {
8115
8115
  M((oe) => oe + 1);
8116
8116
  return;
8117
8117
  }
@@ -8125,7 +8125,7 @@ function cg({
8125
8125
  className: D.bannerLeft,
8126
8126
  onClick: () => Nt.push("/welcome"),
8127
8127
  style: { cursor: "pointer" },
8128
- children: /* @__PURE__ */ e("img", { src: rg, alt: "Z-OPC 一人公司基建", className: D.logo })
8128
+ children: /* @__PURE__ */ e("img", { src: ig, alt: "Z-OPC 一人公司基建", className: D.logo })
8129
8129
  }
8130
8130
  ),
8131
8131
  /* @__PURE__ */ n("div", { className: D.bannerCenter, children: [
@@ -8186,7 +8186,7 @@ function cg({
8186
8186
  className: `${D.modeToggleBtn} ${ke === "life" ? D.modeToggleBtnActive : ""}`,
8187
8187
  onClick: () => Je("life"),
8188
8188
  title: "生活",
8189
- children: /* @__PURE__ */ e(Ys, {})
8189
+ children: /* @__PURE__ */ e(Qs, {})
8190
8190
  }
8191
8191
  ),
8192
8192
  ot(g, "training") && /* @__PURE__ */ e(
@@ -8206,7 +8206,7 @@ function cg({
8206
8206
  className: `${D.modeToggleBtn} ${ke === "knowledge" ? D.modeToggleBtnActive : ""}`,
8207
8207
  onClick: () => Je("knowledge"),
8208
8208
  title: "知识",
8209
- children: /* @__PURE__ */ e(Qs, {})
8209
+ children: /* @__PURE__ */ e(Zs, {})
8210
8210
  }
8211
8211
  ),
8212
8212
  ot(g, "smart") && /* @__PURE__ */ e(
@@ -8216,7 +8216,7 @@ function cg({
8216
8216
  className: `${D.modeToggleBtn} ${ke === "smart" ? D.modeToggleBtnActive : ""}`,
8217
8217
  onClick: () => Je("smart"),
8218
8218
  title: "智能",
8219
- children: /* @__PURE__ */ e(Zs, {})
8219
+ children: /* @__PURE__ */ e(Xs, {})
8220
8220
  }
8221
8221
  ),
8222
8222
  ot(g, "collaboration") && /* @__PURE__ */ e(
@@ -8226,7 +8226,7 @@ function cg({
8226
8226
  className: `${D.modeToggleBtn} ${ke === "collaboration" ? D.modeToggleBtnActive : ""}`,
8227
8227
  onClick: () => Je("collaboration"),
8228
8228
  title: "协作",
8229
- children: /* @__PURE__ */ e(Xs, {})
8229
+ children: /* @__PURE__ */ e(er, {})
8230
8230
  }
8231
8231
  ),
8232
8232
  ot(g, "product") && /* @__PURE__ */ e(
@@ -8236,7 +8236,7 @@ function cg({
8236
8236
  className: `${D.modeToggleBtn} ${ke === "product" ? D.modeToggleBtnActive : ""}`,
8237
8237
  onClick: () => Je("product"),
8238
8238
  title: "产品",
8239
- children: /* @__PURE__ */ e(er, {})
8239
+ children: /* @__PURE__ */ e(tr, {})
8240
8240
  }
8241
8241
  ),
8242
8242
  ot(g, "dev") && /* @__PURE__ */ e(
@@ -8246,7 +8246,7 @@ function cg({
8246
8246
  className: `${D.modeToggleBtn} ${ke === "dev" ? D.modeToggleBtnActive : ""}`,
8247
8247
  onClick: () => Je("dev"),
8248
8248
  title: "研发",
8249
- children: /* @__PURE__ */ e(tr, {})
8249
+ children: /* @__PURE__ */ e(nr, {})
8250
8250
  }
8251
8251
  ),
8252
8252
  ot(g, "test") && /* @__PURE__ */ e(
@@ -8266,7 +8266,7 @@ function cg({
8266
8266
  className: `${D.modeToggleBtn} ${ke === "ops" ? D.modeToggleBtnActive : ""}`,
8267
8267
  onClick: () => Je("ops"),
8268
8268
  title: "运维",
8269
- children: /* @__PURE__ */ e(nr, {})
8269
+ children: /* @__PURE__ */ e(ar, {})
8270
8270
  }
8271
8271
  ),
8272
8272
  ot(g, "middleware") && /* @__PURE__ */ e(
@@ -8276,7 +8276,7 @@ function cg({
8276
8276
  className: `${D.modeToggleBtn} ${ke === "middleware" ? D.modeToggleBtnActive : ""}`,
8277
8277
  onClick: () => Je("middleware"),
8278
8278
  title: "中间件",
8279
- children: /* @__PURE__ */ e(ar, {})
8279
+ children: /* @__PURE__ */ e(or, {})
8280
8280
  }
8281
8281
  ),
8282
8282
  ot(g, "admin") && /* @__PURE__ */ e(
@@ -8296,7 +8296,7 @@ function cg({
8296
8296
  className: `${D.modeToggleBtn} ${ke === "system" ? D.modeToggleBtnActive : ""}`,
8297
8297
  onClick: () => Je("system"),
8298
8298
  title: "系统",
8299
- children: /* @__PURE__ */ e(or, {})
8299
+ children: /* @__PURE__ */ e(sr, {})
8300
8300
  }
8301
8301
  ),
8302
8302
  ot(g, "rpa") && /* @__PURE__ */ e(
@@ -8306,23 +8306,23 @@ function cg({
8306
8306
  className: `${D.modeToggleBtn} ${ke === "rpa" ? D.modeToggleBtnActive : ""}`,
8307
8307
  onClick: () => Je("rpa"),
8308
8308
  title: "RPA",
8309
- children: /* @__PURE__ */ e(sr, {})
8309
+ children: /* @__PURE__ */ e(rr, {})
8310
8310
  }
8311
8311
  ),
8312
- /* @__PURE__ */ e("div", { className: D.iconGroup, children: /* @__PURE__ */ e(lu, {}) }),
8312
+ /* @__PURE__ */ e("div", { className: D.iconGroup, children: /* @__PURE__ */ e(du, {}) }),
8313
8313
  g && /* @__PURE__ */ e(
8314
- bs,
8314
+ vs,
8315
8315
  {
8316
8316
  menu: { items: St },
8317
8317
  placement: "bottomRight",
8318
8318
  trigger: ["click"],
8319
8319
  children: /* @__PURE__ */ n("div", { className: D.headerUser, children: [
8320
8320
  /* @__PURE__ */ e(
8321
- vs,
8321
+ ks,
8322
8322
  {
8323
8323
  size: 28,
8324
8324
  src: Wt,
8325
- icon: /* @__PURE__ */ e(rr, {}),
8325
+ icon: /* @__PURE__ */ e(ir, {}),
8326
8326
  style: {
8327
8327
  backgroundColor: "#2F70F1",
8328
8328
  flexShrink: 0
@@ -8337,27 +8337,27 @@ function cg({
8337
8337
  ] }),
8338
8338
  /* @__PURE__ */ e(In, { fallback: /* @__PURE__ */ e("div", { style: { padding: 24, color: "rgba(0,0,0,0.45)" }, children: "加载中…" }), children: ke === "smart" ? (
8339
8339
  /* ── 智能模式 ── */
8340
- /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(Yf, {}) })
8340
+ /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(Qf, {}) })
8341
8341
  ) : ke === "knowledge" ? (
8342
8342
  /* ── 业务知识图谱(因果链图数据库直查) ── */
8343
- /* @__PURE__ */ e(Qf, {})
8343
+ /* @__PURE__ */ e(Zf, {})
8344
8344
  ) : ke === "life" ? (
8345
8345
  /* ── 勇敢爱生活(社区 + 学习中心 + 市场资源)──
8346
8346
  * 2026-10-22:原顶栏「市场」入口已撤,市场资源分类进了这里的二级导航。 */
8347
- /* @__PURE__ */ e(Zf, {})
8347
+ /* @__PURE__ */ e(Xf, {})
8348
8348
  ) : ke === "middleware" ? (
8349
8349
  /* ── 中间件模式(2026-10-25 从运维面拆出):大需求 004 的中间件页面 ──
8350
8350
  * 左侧 13 组中间件菜单(配置/密钥/元数据/消息/注册/向量/图/网关/缓存/MQ/
8351
8351
  * 知识库/对象存储/脚本治理),右侧渲染对应中间件组件。
8352
8352
  * 深链归属见 src/zteam/utils/businessFace.ts。 */
8353
- /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(eg, {}) })
8353
+ /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(tg, {}) })
8354
8354
  ) : ke === "ops" ? (
8355
8355
  /* ── 运维模式:真运维面(DevOps / 基础设施 / 资源管理),见文件头 OpsWorkbench 的注释 ── */
8356
- /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(Xf, {}) })
8356
+ /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(eg, {}) })
8357
8357
  ) : ke === "admin" ? (
8358
8358
  /* ── 运营模式(团队后台管理):embedded 隐藏内层 Z-OPC 顶栏,导航由外层 tab 栏提供,避免双层顶栏 ── */
8359
8359
  /* @__PURE__ */ e(
8360
- tg,
8360
+ ng,
8361
8361
  {
8362
8362
  embedded: !0,
8363
8363
  onSwitchToCollaboration: () => Ct("collaboration")
@@ -8375,16 +8375,16 @@ function cg({
8375
8375
  /* ── FEATURE063: RPA 模式 ──
8376
8376
  * 左侧 RpaSidebar (7 个菜单) + 右侧 useRoutes 渲染 7 个一级页面.
8377
8377
  */
8378
- /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(og, { onModeSwitch: Je }) })
8378
+ /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(sg, { onModeSwitch: Je }) })
8379
8379
  ) : ke === "product" ? (
8380
8380
  /* ── 产品工坊:一个面板干完产品业务开发(对话 / 产物 / 运行态) ── */
8381
- /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(In, { fallback: null, children: /* @__PURE__ */ e(La, { children: /* @__PURE__ */ e(sg, {}) }) }) })
8381
+ /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(In, { fallback: null, children: /* @__PURE__ */ e(La, { children: /* @__PURE__ */ e(rg, {}) }) }) })
8382
8382
  ) : ke === "dev" ? (
8383
8383
  /* ── 研发模式:z-lc 低代码平台 ──
8384
8384
  * 左侧 DevWorkbench 出 z-lc 的 4 组 11 项菜单, 右侧 LcApp 渲染
8385
8385
  * /lc/* 下的页面。z-lc 前端源码已并入本仓 src/lc/。
8386
8386
  */
8387
- /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(ng, {}) })
8387
+ /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(ag, {}) })
8388
8388
  ) : ke === "test" ? (
8389
8389
  /* ── 测试模式 (FEATURE061) ──
8390
8390
  * 复用 SystemShell 体系: 左侧 SystemWorkbench 菜单 + 右侧 pathname 匹配渲染
@@ -8393,7 +8393,7 @@ function cg({
8393
8393
  /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(oo, {}) })
8394
8394
  ) : ke === "training" ? (
8395
8395
  /* ── 培训管理 ── */
8396
- /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(ag, {}) })
8396
+ /* @__PURE__ */ e("div", { className: D.smartWorkbenchArea, children: /* @__PURE__ */ e(og, {}) })
8397
8397
  ) : ke === "personal" ? (
8398
8398
  /* ── 个人模式:workbuddy 壳(MiniMax Code 式布局) ──
8399
8399
  * 点「个人」直接落到 workbuddy 首页:左侧项目树 + 中间大输入框。
@@ -8406,7 +8406,7 @@ function cg({
8406
8406
  * 包一层后最多是「这个壳显示渲染异常 + 重试」,其余模式仍可切。
8407
8407
  */
8408
8408
  /* @__PURE__ */ e(In, { fallback: null, children: /* @__PURE__ */ e(La, { children: /* @__PURE__ */ e(
8409
- Vf,
8409
+ Jf,
8410
8410
  {
8411
8411
  onOpenProject: jt,
8412
8412
  onSwitchMode: (A) => Je(A),
@@ -8439,7 +8439,7 @@ function cg({
8439
8439
  style: { width: S.width, minWidth: S.width },
8440
8440
  children: [
8441
8441
  /* @__PURE__ */ e(
8442
- sh,
8442
+ rh,
8443
8443
  {
8444
8444
  onOpenTeam: a,
8445
8445
  onOpenPersonalSession: je,
@@ -8487,13 +8487,13 @@ function cg({
8487
8487
  }
8488
8488
  ),
8489
8489
  /* @__PURE__ */ e("div", { className: D.centerPanel, children: r ? /* @__PURE__ */ e(
8490
- Um,
8490
+ zm,
8491
8491
  {
8492
8492
  onCreated: _,
8493
8493
  presetScenarioCode: d
8494
8494
  }
8495
8495
  ) : Pe === "personal" ? be ? /* @__PURE__ */ e("div", { style: { flex: 1, minHeight: 0 }, children: /* @__PURE__ */ e(In, { fallback: /* @__PURE__ */ e("div", { style: { padding: 24, color: "rgba(0,0,0,0.45)" }, children: "加载中…" }), children: /* @__PURE__ */ e(
8496
- Jf,
8496
+ Yf,
8497
8497
  {
8498
8498
  view: be,
8499
8499
  agents: it,
@@ -8524,7 +8524,7 @@ function cg({
8524
8524
  }
8525
8525
  )
8526
8526
  ) : C ? /* @__PURE__ */ e(
8527
- Es,
8527
+ Ps,
8528
8528
  {
8529
8529
  onOpenTeamModal: a,
8530
8530
  todoPanelVisible: x,
@@ -8542,14 +8542,14 @@ function cg({
8542
8542
  "div",
8543
8543
  {
8544
8544
  className: `${D.todoPanel} ${x ? "" : D.todoPanelHidden}`,
8545
- children: /* @__PURE__ */ e(Qc, { onCountChange: Z })
8545
+ children: /* @__PURE__ */ e(Zc, { onCountChange: Z })
8546
8546
  }
8547
8547
  )
8548
8548
  ] })
8549
8549
  ) }),
8550
- /* @__PURE__ */ e(Zd, {}),
8551
- /* @__PURE__ */ e(gu, {}),
8552
- /* @__PURE__ */ e(xl, {}),
8550
+ /* @__PURE__ */ e(Xd, {}),
8551
+ /* @__PURE__ */ e(_u, {}),
8552
+ /* @__PURE__ */ e(Al, {}),
8553
8553
  /* @__PURE__ */ e(
8554
8554
  po,
8555
8555
  {
@@ -8575,7 +8575,7 @@ function cg({
8575
8575
  children: [
8576
8576
  /* @__PURE__ */ n("div", { className: D.announcementModalHeader, children: [
8577
8577
  /* @__PURE__ */ n("span", { className: D.announcementModalTitle, children: [
8578
- /* @__PURE__ */ e(ir, { className: D.announcementModalIcon }),
8578
+ /* @__PURE__ */ e(cr, { className: D.announcementModalIcon }),
8579
8579
  "公告中心"
8580
8580
  ] }),
8581
8581
  /* @__PURE__ */ e(
@@ -8655,25 +8655,25 @@ function cg({
8655
8655
  )
8656
8656
  ] });
8657
8657
  }
8658
- const lg = "_selectList_13hpp_1", dg = "_selectItem_13hpp_14", mg = "_selectItemInfo_13hpp_32", ug = "_selectItemName_13hpp_38", pg = "_selectItemDesc_13hpp_45", hg = "_selectedBadge_13hpp_54", fg = "_divider_13hpp_62", gg = "_memberList_13hpp_68", _g = "_memberRow_13hpp_72", yg = "_memberRowLeft_13hpp_80", bg = "_removeBtn_13hpp_86", vg = "_searchInput_13hpp_98", kg = "_spinBody_13hpp_119", Be = {
8659
- selectList: lg,
8660
- selectItem: dg,
8661
- selectItemInfo: mg,
8662
- selectItemName: ug,
8663
- selectItemDesc: pg,
8664
- selectedBadge: hg,
8665
- divider: fg,
8666
- memberList: gg,
8667
- memberRow: _g,
8668
- memberRowLeft: yg,
8669
- removeBtn: bg,
8670
- searchInput: vg,
8671
- spinBody: kg
8658
+ const dg = "_selectList_13hpp_1", mg = "_selectItem_13hpp_14", ug = "_selectItemInfo_13hpp_32", pg = "_selectItemName_13hpp_38", hg = "_selectItemDesc_13hpp_45", fg = "_selectedBadge_13hpp_54", gg = "_divider_13hpp_62", _g = "_memberList_13hpp_68", yg = "_memberRow_13hpp_72", bg = "_memberRowLeft_13hpp_80", vg = "_removeBtn_13hpp_86", kg = "_searchInput_13hpp_98", Ng = "_spinBody_13hpp_119", Be = {
8659
+ selectList: dg,
8660
+ selectItem: mg,
8661
+ selectItemInfo: ug,
8662
+ selectItemName: pg,
8663
+ selectItemDesc: hg,
8664
+ selectedBadge: fg,
8665
+ divider: gg,
8666
+ memberList: _g,
8667
+ memberRow: yg,
8668
+ memberRowLeft: bg,
8669
+ removeBtn: vg,
8670
+ searchInput: kg,
8671
+ spinBody: Ng
8672
8672
  }, ro = (t) => {
8673
8673
  var a;
8674
8674
  return (t.agent_code || ((a = t._agenthub_raw) == null ? void 0 : a.agentCode) || "").trim();
8675
8675
  }, en = (t, a) => `${t}:${a}`;
8676
- function Ng({ onClose: t }) {
8676
+ function wg({ onClose: t }) {
8677
8677
  const {
8678
8678
  members: a,
8679
8679
  availableAgents: s,
@@ -9020,21 +9020,21 @@ function Ng({ onClose: t }) {
9020
9020
  }
9021
9021
  );
9022
9022
  }
9023
- const wg = "/v1/ws/local-agent";
9023
+ const Cg = "/v1/ws/local-agent";
9024
9024
  let st = null, Ht = "", an = null, Ot = null, ra = 0;
9025
9025
  const on = /* @__PURE__ */ new Map();
9026
- function Cg() {
9026
+ function Sg() {
9027
9027
  if (typeof window > "u") return !1;
9028
9028
  const t = window;
9029
9029
  return !!t.__TAURI__ || !!t.__TAURI_INTERNALS__ || !!t.__FT_DESKTOP__;
9030
9030
  }
9031
- function Sg() {
9032
- return `${window.location.protocol === "https:" ? "wss:" : "ws:"}//${window.location.host}${wg}`;
9031
+ function Tg() {
9032
+ return `${window.location.protocol === "https:" ? "wss:" : "ws:"}//${window.location.host}${rs}${Cg}`;
9033
9033
  }
9034
9034
  function Pt(t) {
9035
9035
  st && st.readyState === WebSocket.OPEN && st.send(JSON.stringify(t));
9036
9036
  }
9037
- function Tg() {
9037
+ function Ig() {
9038
9038
  Ot != null && window.clearInterval(Ot), Ot = window.setInterval(() => {
9039
9039
  Pt({ type: "register", token: Ht });
9040
9040
  }, 3e4);
@@ -9047,7 +9047,7 @@ function io() {
9047
9047
  an = null, Do();
9048
9048
  }, t);
9049
9049
  }
9050
- async function Ig(t) {
9050
+ async function Mg(t) {
9051
9051
  const a = String(t.requestId ?? ""), s = String(t.method ?? "GET"), r = String(t.path ?? "");
9052
9052
  if (!a || !r.startsWith("/v1/")) {
9053
9053
  Pt({ type: "error", requestId: a, message: "invalid proxy request" });
@@ -9101,19 +9101,19 @@ async function Ig(t) {
9101
9101
  function Do() {
9102
9102
  if (Ht && !(st && (st.readyState === WebSocket.CONNECTING || st.readyState === WebSocket.OPEN))) {
9103
9103
  try {
9104
- st = new WebSocket(Sg());
9104
+ st = new WebSocket(Tg());
9105
9105
  } catch {
9106
9106
  io();
9107
9107
  return;
9108
9108
  }
9109
9109
  st.onopen = () => {
9110
- ra = 0, Pt({ type: "register", token: Ht }), Tg();
9110
+ ra = 0, Pt({ type: "register", token: Ht }), Ig();
9111
9111
  }, st.onmessage = (t) => {
9112
9112
  var a;
9113
9113
  try {
9114
9114
  const s = JSON.parse(t.data), r = String(s.type ?? "");
9115
9115
  if (r === "request")
9116
- Ig(s);
9116
+ Mg(s);
9117
9117
  else if (r === "cancel") {
9118
9118
  const d = String(s.requestId ?? "");
9119
9119
  (a = on.get(d)) == null || a.abort(), on.delete(d);
@@ -9126,18 +9126,18 @@ function Do() {
9126
9126
  };
9127
9127
  }
9128
9128
  }
9129
- function Mg(t) {
9130
- !Cg() || !t || (Ht && Ht !== t && xg(), Ht = t, Do());
9129
+ function xg(t) {
9130
+ !Sg() || !t || (Ht && Ht !== t && Ag(), Ht = t, Do());
9131
9131
  }
9132
- function xg() {
9132
+ function Ag() {
9133
9133
  Ht = "", an != null && (window.clearTimeout(an), an = null), Ot != null && (window.clearInterval(Ot), Ot = null), on.forEach((t) => t.abort()), on.clear(), st && (st.onclose = null, st.close(), st = null);
9134
9134
  }
9135
- const Ag = "_teamWorkspaceRoot_1ydrp_1", $g = "_loadingWrap_1ydrp_7", Lg = "_openingOverlay_1ydrp_13", ln = {
9136
- teamWorkspaceRoot: Ag,
9137
- loadingWrap: $g,
9138
- openingOverlay: Lg
9139
- }, Eg = 2e4, Pg = 8e3;
9140
- function Og(t, a) {
9135
+ const $g = "_teamWorkspaceRoot_1ydrp_1", Lg = "_loadingWrap_1ydrp_7", Eg = "_openingOverlay_1ydrp_13", ln = {
9136
+ teamWorkspaceRoot: $g,
9137
+ loadingWrap: Lg,
9138
+ openingOverlay: Eg
9139
+ }, Pg = 2e4, Og = 8e3;
9140
+ function Dg(t, a) {
9141
9141
  return new Promise((s, r) => {
9142
9142
  const d = window.setTimeout(
9143
9143
  () => r(
@@ -9158,9 +9158,9 @@ function Og(t, a) {
9158
9158
  });
9159
9159
  }
9160
9160
  async function Xn(t, a) {
9161
- const s = await ds();
9161
+ const s = await ms();
9162
9162
  if (mo(s.id)) {
9163
- const r = await ms(s.id, t), d = r.codes, m = s.permissions ?? [], _ = d.length > 0 ? [.../* @__PURE__ */ new Set([...m, ...d])] : m;
9163
+ const r = await us(s.id, t), d = r.codes, m = s.permissions ?? [], _ = d.length > 0 ? [.../* @__PURE__ */ new Set([...m, ...d])] : m;
9164
9164
  s.permissions = _, _.includes("GLOBAL_ADMIN") && (s.is_global_admin = !0), q.getState().setPermissionState(
9165
9165
  r.failed && _.length === 0 ? "failed" : "ok"
9166
9166
  );
@@ -9179,10 +9179,10 @@ function co() {
9179
9179
  search: r ? `?${r}` : ""
9180
9180
  });
9181
9181
  }
9182
- function Dg({
9182
+ function Rg({
9183
9183
  forcedChatMode: t
9184
9184
  } = {}) {
9185
- const a = ws(), s = Cs(), d = !["system", "ops", "middleware"].includes(t ?? "") && Mr() && !xr(a.search);
9185
+ const a = Cs(), s = Ss(), d = !["system", "ops", "middleware"].includes(t ?? "") && xr() && !Ar(a.search);
9186
9186
  W(() => {
9187
9187
  d && Nt.replace({
9188
9188
  pathname: "/workspace/phone",
@@ -9204,7 +9204,7 @@ function Dg({
9204
9204
  }))
9205
9205
  ), H = q((M) => M.loadProjects), P = q((M) => M.loadRunningExecutions), w = q((M) => M.updateCurrentUser), S = q((M) => M.selectFile), Q = q((M) => M.clearCurrentProject), [X, x] = l(!1), [I, G] = l(!1), [Z, z] = l(null), O = ue(!1), h = ue(!1);
9206
9206
  W(() => {
9207
- Mg(L);
9207
+ xg(L);
9208
9208
  }, [L]), W(() => {
9209
9209
  const M = mn.parse(a.search), N = String(M.newChat ?? "").trim();
9210
9210
  if (!N) return;
@@ -9228,9 +9228,9 @@ function Dg({
9228
9228
  return U.current = m, W(() => {
9229
9229
  ae.current = null, se.current = null;
9230
9230
  }, [m]), W(() => {
9231
- us();
9231
+ ps();
9232
9232
  const M = q.getState().token;
9233
- if (M && hs(M)) {
9233
+ if (M && fs(M)) {
9234
9234
  localStorage.removeItem("z_team_token"), localStorage.removeItem("token"), localStorage.removeItem("USER_INFO"), q.setState({ token: "", currentUser: null }), Sn();
9235
9235
  return;
9236
9236
  }
@@ -9253,11 +9253,11 @@ function Dg({
9253
9253
  });
9254
9254
  return;
9255
9255
  }
9256
- Og(
9256
+ Dg(
9257
9257
  Xn(R, (pe) => {
9258
9258
  N || w(pe);
9259
9259
  }),
9260
- Pg
9260
+ Og
9261
9261
  ).catch((pe) => {
9262
9262
  N || (!(pe && pe.timedOut) && R && (localStorage.removeItem("z_team_token"), q.setState({ token: "" })), w(Sa(V)));
9263
9263
  }).finally(() => {
@@ -9268,11 +9268,11 @@ function Dg({
9268
9268
  if (N) return;
9269
9269
  const V = async () => {
9270
9270
  if (N) return;
9271
- let R = fs();
9271
+ let R = gs();
9272
9272
  if ((!R || !Ca(R)) && !Ie) {
9273
9273
  Ie = !0;
9274
9274
  try {
9275
- const le = await ps();
9275
+ const le = await hs();
9276
9276
  le.kind === "authenticated" ? R = le.user : le.kind === "unauthenticated" && (Me += 1);
9277
9277
  } catch {
9278
9278
  } finally {
@@ -9306,7 +9306,7 @@ function Dg({
9306
9306
  }
9307
9307
  const M = window.setTimeout(() => {
9308
9308
  f(!0);
9309
- }, Eg);
9309
+ }, Pg);
9310
9310
  return () => {
9311
9311
  window.clearTimeout(M);
9312
9312
  };
@@ -9394,14 +9394,14 @@ function Dg({
9394
9394
  return;
9395
9395
  let { token: $, projects: v, expandProject: V } = q.getState(), R = v.find((le) => le.id === M);
9396
9396
  if (!R) {
9397
- const le = await Cr(M, $);
9397
+ const le = await Sr(M, $);
9398
9398
  if (F)
9399
9399
  return;
9400
9400
  if (le.status === "NOT_FOUND" || !le.scenarioInstance) {
9401
9401
  Ia.info("无此工程");
9402
9402
  return;
9403
9403
  }
9404
- if (R = await Sr(M, $), F)
9404
+ if (R = await Tr(M, $), F)
9405
9405
  return;
9406
9406
  }
9407
9407
  await V(R), F || (ae.current = M, co());
@@ -9433,12 +9433,12 @@ function Dg({
9433
9433
  $ != null && $.taskId && we.loadTaskMessages($.taskId).catch(() => {
9434
9434
  }), we.loadFileTree(void 0, !0).catch(() => {
9435
9435
  });
9436
- }, N = rs((we) => {
9436
+ }, N = is((we) => {
9437
9437
  q.getState().setWsState(we);
9438
9438
  });
9439
- is(_.id, L, M), P().catch(() => {
9439
+ cs(_.id, L, M), P().catch(() => {
9440
9440
  });
9441
- const F = q.getState(), { handler: ye, dispose: Ie } = Ps({
9441
+ const F = q.getState(), { handler: ye, dispose: Ie } = Os({
9442
9442
  projectId: _.id,
9443
9443
  token: L,
9444
9444
  updateExecution: F.updateExecution,
@@ -9450,9 +9450,9 @@ function Dg({
9450
9450
  deleteMessage: F.deleteMessage,
9451
9451
  updateMessageReadStatus: F.updateMessageReadStatus,
9452
9452
  loadFileTree: F.loadFileTree
9453
- }), Me = ls(ye);
9453
+ }), Me = ds(ye);
9454
9454
  return () => {
9455
- Me(), Ie(), cs(), N(), q.getState().setObserverStatus(null);
9455
+ Me(), Ie(), ls(), N(), q.getState().setObserverStatus(null);
9456
9456
  };
9457
9457
  }, [_ == null ? void 0 : _.id, L]), d ? /* @__PURE__ */ e("div", { className: ln.loadingWrap, children: /* @__PURE__ */ e(_t, { description: "正在进入移动版工作台…" }) }) : !i || !g ? k ? /* @__PURE__ */ n("div", { className: ln.loadingWrap, children: [
9458
9458
  /* @__PURE__ */ e(_t, { description: "" }),
@@ -9475,9 +9475,9 @@ function Dg({
9475
9475
  }
9476
9476
  )
9477
9477
  ] })
9478
- ] }) : /* @__PURE__ */ e("div", { className: ln.loadingWrap, children: /* @__PURE__ */ e(_t, { description: "正在接入 4A 统一登录…" }) }) : /* @__PURE__ */ e(Os, { children: /* @__PURE__ */ n("div", { className: `${ln.teamWorkspaceRoot} team-workspace-root`, children: [
9478
+ ] }) : /* @__PURE__ */ e("div", { className: ln.loadingWrap, children: /* @__PURE__ */ e(_t, { description: "正在接入 4A 统一登录…" }) }) : /* @__PURE__ */ e(Ds, { children: /* @__PURE__ */ n("div", { className: `${ln.teamWorkspaceRoot} team-workspace-root`, children: [
9479
9479
  /* @__PURE__ */ e(
9480
- cg,
9480
+ lg,
9481
9481
  {
9482
9482
  onNewProject: () => {
9483
9483
  q.getState().currentProject && Q();
@@ -9491,77 +9491,77 @@ function Dg({
9491
9491
  }
9492
9492
  ),
9493
9493
  T != null ? /* @__PURE__ */ e("div", { className: ln.openingOverlay, children: /* @__PURE__ */ e(_t, { description: `正在打开工程 ${T}…` }) }) : null,
9494
- X && /* @__PURE__ */ e(Ng, { onClose: () => x(!1) }),
9495
- /* @__PURE__ */ e(dr, {})
9494
+ X && /* @__PURE__ */ e(wg, { onClose: () => x(!1) }),
9495
+ /* @__PURE__ */ e(mr, {})
9496
9496
  ] }) });
9497
9497
  }
9498
- const z_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9498
+ const G_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9499
9499
  __proto__: null,
9500
- default: Dg
9500
+ default: Rg
9501
9501
  }, Symbol.toStringTag, { value: "Module" }));
9502
9502
  export {
9503
- O_ as $,
9504
- W_ as A,
9505
- l_ as B,
9506
- ni as C,
9507
- j_ as D,
9508
- R_ as E,
9503
+ D_ as $,
9504
+ U_ as A,
9505
+ d_ as B,
9506
+ ai as C,
9507
+ W_ as D,
9508
+ F_ as E,
9509
9509
  oa as F,
9510
- i_ as G,
9511
- y_ as H,
9512
- v_ as I,
9513
- b_ as J,
9514
- F_ as K,
9515
- U_ as L,
9516
- Or as M,
9517
- Br as N,
9518
- m_ as O,
9519
- Bc as P,
9520
- u_ as Q,
9521
- Qr as R,
9522
- Mp as S,
9523
- H_ as T,
9524
- Kr as U,
9525
- p_ as V,
9526
- Gc as W,
9527
- f_ as X,
9528
- __ as Y,
9529
- g_ as Z,
9530
- h_ as _,
9531
- C_ as a,
9532
- E_ as a0,
9533
- D_ as a1,
9534
- P_ as a2,
9510
+ c_ as G,
9511
+ b_ as H,
9512
+ k_ as I,
9513
+ v_ as J,
9514
+ B_ as K,
9515
+ z_ as L,
9516
+ Dr as M,
9517
+ Hr as N,
9518
+ u_ as O,
9519
+ Hc as P,
9520
+ p_ as Q,
9521
+ Zr as R,
9522
+ xp as S,
9523
+ j_ as T,
9524
+ qr as U,
9525
+ h_ as V,
9526
+ Kc as W,
9527
+ g_ as X,
9528
+ y_ as Y,
9529
+ __ as Z,
9530
+ f_ as _,
9531
+ S_ as a,
9532
+ P_ as a0,
9533
+ R_ as a1,
9534
+ O_ as a2,
9535
9535
  No as a3,
9536
- zc as a4,
9537
- ii as a5,
9538
- B_ as a6,
9536
+ Gc as a4,
9537
+ ci as a5,
9538
+ H_ as a6,
9539
9539
  Io as a7,
9540
- Vr as a8,
9541
- z_ as a9,
9542
- I_ as b,
9543
- w_ as c,
9544
- A_ as d,
9545
- x_ as e,
9546
- N_ as f,
9547
- $_ as g,
9548
- L_ as h,
9540
+ Jr as a8,
9541
+ G_ as a9,
9542
+ M_ as b,
9543
+ C_ as c,
9544
+ $_ as d,
9545
+ A_ as e,
9546
+ w_ as f,
9547
+ L_ as g,
9548
+ E_ as h,
9549
9549
  ot as i,
9550
9550
  j,
9551
9551
  Qa as k,
9552
9552
  Ya as l,
9553
- Wr as m,
9553
+ Ur as m,
9554
9554
  So as n,
9555
- Uc as o,
9556
- Kc as p,
9557
- _u as q,
9558
- T_ as r,
9559
- M_ as s,
9560
- S_ as t,
9561
- eh as u,
9562
- $r as v,
9563
- Cg as w,
9564
- k_ as x,
9565
- c_ as y,
9566
- d_ as z
9555
+ zc as o,
9556
+ qc as p,
9557
+ yu as q,
9558
+ I_ as r,
9559
+ x_ as s,
9560
+ T_ as t,
9561
+ th as u,
9562
+ Lr as v,
9563
+ Sg as w,
9564
+ N_ as x,
9565
+ l_ as y,
9566
+ m_ as z
9567
9567
  };