@yuku123/z-team-component 0.2.72 → 0.2.74

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 (50) hide show
  1. package/dist/{ChangeLogView-AUM7QbBp.js → ChangeLogView-BJxIhIPc.js} +1 -1
  2. package/dist/{ComponentDoc-CLxzCDOh.js → ComponentDoc-CFKpk6X_.js} +3 -3
  3. package/dist/{InvitationManagementPage-MxyMf4G0.js → InvitationManagementPage-Dr4SxM5K.js} +1 -1
  4. package/dist/{OnboardingPage-BRwX8RYe.js → OnboardingPage-DcYULxKd.js} +2 -2
  5. package/dist/{ScheduledTasks-CM1m4eVZ.js → ScheduledTasks-T4NFJWsk.js} +2918 -3170
  6. package/dist/{SystemShell-BlgZhQ3V.js → SystemShell-D8aDuO_D.js} +215 -196
  7. package/dist/{admin-logs-Dx2fTWjF.js → admin-logs-asBlA9MU.js} +2 -2
  8. package/dist/{api-prj570UT.js → api-Bj-xsNGU.js} +1 -1
  9. package/dist/{api-CvQEwiLU.js → api-DPkUB1DA.js} +67 -67
  10. package/dist/{createWorkspaceWsHandler-gVanGCAb.js → createWorkspaceWsHandler-25JfnMML.js} +1834 -1812
  11. package/dist/{index-pyPNcAqs.js → index-BA3lZUmW.js} +1 -1
  12. package/dist/{index-DOyFfs3n.js → index-BYTVXqVp.js} +3844 -3731
  13. package/dist/{index-pc_ckjzD.js → index-BYn9kfIj.js} +3 -3
  14. package/dist/{index-C1rcAeiF.js → index-BZnC9BRh.js} +3 -3
  15. package/dist/{index-BujZj4b8.js → index-B_O9mXF6.js} +4 -4
  16. package/dist/{index-nj-cjKsf.js → index-BohoJQPr.js} +1849 -1857
  17. package/dist/{index-DDlmkQRB.js → index-C7ymoOiI.js} +2 -2
  18. package/dist/{index-DZbYU9xn.js → index-C9YhDxMT.js} +1 -1
  19. package/dist/{index-CxYTuPnw.js → index-CMVYzEVW.js} +2 -2
  20. package/dist/{index-DrWXMU6s.js → index-COhXbfib.js} +1 -1
  21. package/dist/index-CQcGGl6J.js +137 -0
  22. package/dist/{index-B5xRddRA.js → index-CbTwXfER.js} +6 -6
  23. package/dist/{index-Dk0Qm8aZ.js → index-Ccc2gRJA.js} +1 -1
  24. package/dist/{index-D1PpV_Lf.js → index-Ce9TrTy7.js} +2 -2
  25. package/dist/{index-C4AgHd-o.js → index-Czt_d2TY.js} +2 -2
  26. package/dist/{index-Cry-Oyoh.js → index-DHDQGO4q.js} +3 -3
  27. package/dist/{index-DJMZ1RpC.js → index-DOOlyOVX.js} +2 -2
  28. package/dist/{index-QZpyj7Q3.js → index-DfecivMN.js} +1256 -1256
  29. package/dist/{index-CL7GMxR-.js → index-DxRqnvKU.js} +4 -4
  30. package/dist/{index-PGSvSOmm.js → index-IK8UlsDo.js} +30 -30
  31. package/dist/{index-Cr4Rf1IT.js → index-OP18iV8V.js} +5 -5
  32. package/dist/{index-CrpF4NY8.js → index-Zx-BL-9D.js} +1 -1
  33. package/dist/{index-Do4YkHdZ.js → index-d5kr3WEM.js} +4 -4
  34. package/dist/{index-DzAkJL3V.js → index-rPNKkWaw.js} +3 -3
  35. package/dist/index-rkF8co0n.js +2882 -0
  36. package/dist/index.js +1 -1
  37. package/dist/{instance-TOlRCxS4.js → instance-B9aQMplq.js} +1 -1
  38. package/dist/{menuPermission-Bay-G_zT.js → menuPermission-6NaQTuIn.js} +3 -3
  39. package/dist/pages.js +11 -11
  40. package/dist/{schedule-DkbDjIh4.js → schedule-iMEGim0L.js} +1 -1
  41. package/dist/{send-default-agent-team-message-Bv-QRc7Y.js → send-default-agent-team-message-DtkE1OO4.js} +1 -1
  42. package/dist/{sso-user-BpOzJlQ3.js → sso-user-CFgbZoZ1.js} +1 -1
  43. package/dist/{training-BDzZav1U.js → training-DeyqAiin.js} +1 -1
  44. package/dist/{useAppStore-B1sVy9Iw.js → useAppStore-DQP0l22d.js} +19 -19
  45. package/dist/{webide-C3IaJ_eP.js → webide-BlpH-J-H.js} +4 -4
  46. package/dist/z-team-component.css +1 -1
  47. package/package.json +1 -1
  48. package/dist/index-BbxVn7xy.js +0 -1747
  49. package/dist/index-D4opADk_.js +0 -168
  50. package/dist/index-zhz9iWvI.js +0 -2629
@@ -1,8 +1,8 @@
1
1
  import { jsxs as a, jsx as i, Fragment as B } from "react/jsx-runtime";
2
2
  import { useState as d, useRef as F, useCallback as D, useEffect as R } from "react";
3
- import { u as O } from "./useAppStore-B1sVy9Iw.js";
3
+ import { u as O } from "./useAppStore-DQP0l22d.js";
4
4
  /* empty css */
5
- import { T as P, h as U } from "./api-CvQEwiLU.js";
5
+ import { T as P, g as U } from "./api-DPkUB1DA.js";
6
6
  async function y(o, s) {
7
7
  const n = await o.text().catch(() => "");
8
8
  let t = {};
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { C as r } from "./ChangeLogView-AUM7QbBp.js";
2
+ import { C as r } from "./ChangeLogView-BJxIhIPc.js";
3
3
  function n() {
4
4
  return /* @__PURE__ */ e(r, { variant: "page" });
5
5
  }
@@ -1,8 +1,8 @@
1
1
  import { jsxs as c, jsx as a } from "react/jsx-runtime";
2
2
  import v, { useState as d, useEffect as _, useMemo as h } from "react";
3
3
  import { useLocation as N } from "react-router-dom";
4
- import { g as b, s as g } from "./ComponentDoc-CLxzCDOh.js";
5
- import { i as K, P as x } from "./schedule-DkbDjIh4.js";
4
+ import { g as b, s as g } from "./ComponentDoc-CFKpk6X_.js";
5
+ import { i as K, P as x } from "./schedule-iMEGim0L.js";
6
6
  const E = "_banner_2v7mc_1", S = "_dot_2v7mc_18", f = "_text_2v7mc_26", A = "_retry_2v7mc_31", F = "_dismiss_2v7mc_44", P = "_details_2v7mc_57", k = "_method_2v7mc_85", C = "_status_2v7mc_86", D = "_statusNet_2v7mc_87", $ = "_url_2v7mc_88", e = {
7
7
  banner: E,
8
8
  dot: S,
@@ -2,7 +2,7 @@ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
2
  import { CopyOutlined as oe, ReloadOutlined as ve, PlusOutlined as Te, DeleteOutlined as Oe, ClearOutlined as Ue, CloseOutlined as Re, SendOutlined as De, RobotOutlined as Se, CloudServerOutlined as He, MessageOutlined as Fe, KeyOutlined as je, ApiOutlined as qe, ToolOutlined as Ge, BarChartOutlined as Je } from "@ant-design/icons";
3
3
  import { Tooltip as Y, Tabs as we, Input as pe, Button as D, Modal as ue, Drawer as Ae, Spin as X, Statistic as K, Table as Be, message as J, Tag as W, Select as We, Checkbox as Qe } from "antd";
4
4
  import { useState as N, useEffect as Z, useCallback as j, useRef as he, useMemo as ze, Suspense as Ve, lazy as Ye } from "react";
5
- import { u as Me } from "./useAppStore-B1sVy9Iw.js";
5
+ import { u as Me } from "./useAppStore-DQP0l22d.js";
6
6
  import { AgentAppList as Xe, McpPage as Ze, SkillMarket as et } from "@yuku123/z-agent-component";
7
7
  const le = "ft_gateway_default_ak", Ie = "system-default", ee = "", ke = "";
8
8
  function te(a = {}) {
@@ -0,0 +1,137 @@
1
+ import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
+ import { useState as r, useCallback as c } from "react";
3
+ import { S as C, T as N, P as I } from "./webide-BlpH-J-H.js";
4
+ import { P as W, S as H, C as $, E as B, a as E, W as h, b, T as j, c as K } from "./ScheduledTasks-T4NFJWsk.js";
5
+ import { p as q } from "./index-BYTVXqVp.js";
6
+ function M({
7
+ view: s,
8
+ agents: o,
9
+ token: i,
10
+ currentUser: u,
11
+ onOpenChat: l,
12
+ onOpenAgentDetail: f,
13
+ onBackToExtensions: g,
14
+ onOpenTab: a,
15
+ onAgentCreated: T,
16
+ onOpenProject: n,
17
+ onOpenWorkbenchShell: m
18
+ }) {
19
+ const [p, k] = r(
20
+ null
21
+ ), [x, P] = r(
22
+ null
23
+ ), S = c(
24
+ (e) => {
25
+ a("notes"), k({ id: e, ts: Date.now() });
26
+ },
27
+ [a]
28
+ ), y = c(
29
+ (e) => {
30
+ a("todo"), P({ id: e, ts: Date.now() });
31
+ },
32
+ [a]
33
+ ), D = s.kind === "chat" ? `${s.agent.id}-${s.sessionId ?? "new"}-${s.ts}` : "none";
34
+ return /* @__PURE__ */ d("div", { style: { height: "100%", display: "flex", flexDirection: "column" }, children: [
35
+ s.kind === "chat" && /* @__PURE__ */ t(
36
+ "div",
37
+ {
38
+ style: {
39
+ flex: 1,
40
+ minHeight: 0,
41
+ display: "flex",
42
+ flexDirection: "column"
43
+ },
44
+ children: /* @__PURE__ */ t(
45
+ W,
46
+ {
47
+ agent: s.agent,
48
+ initialSessionId: s.sessionId,
49
+ draftNoAutoPick: s.draft === !0,
50
+ autoSendDraft: s.autoSendDraft ?? null,
51
+ chromeless: !0,
52
+ agents: o,
53
+ onSwitchAgent: (e) => l(e)
54
+ },
55
+ D
56
+ )
57
+ }
58
+ ),
59
+ s.kind === "schedule" && /* @__PURE__ */ t(H, { localOnline: !1 }),
60
+ s.kind === "history" && /* @__PURE__ */ t(
61
+ $,
62
+ {
63
+ agents: o,
64
+ token: i,
65
+ onOpenSession: (e, A) => l(e, A)
66
+ }
67
+ ),
68
+ s.kind === "extensions" && /* @__PURE__ */ t(
69
+ B,
70
+ {
71
+ agents: o,
72
+ loading: !1,
73
+ skillsAgent: q(o),
74
+ token: i,
75
+ currentUser: u,
76
+ onChat: (e) => l(e),
77
+ onConfig: f,
78
+ onCreated: T,
79
+ onOpenPersonalTab: a,
80
+ onOpenWorkbenchShell: m
81
+ }
82
+ ),
83
+ s.kind === "agentDetail" && /* @__PURE__ */ t("div", { style: { flex: 1, minHeight: 0 }, children: /* @__PURE__ */ t(
84
+ E,
85
+ {
86
+ agent: s.agent,
87
+ onBack: g
88
+ }
89
+ ) }),
90
+ s.kind === "tab" && /* @__PURE__ */ d("div", { style: { flex: 1, minHeight: 0 }, children: [
91
+ s.tab === "projects" && /* @__PURE__ */ t(
92
+ h,
93
+ {
94
+ activeTab: "projects",
95
+ onActiveTabChange: () => {
96
+ },
97
+ onOpenProject: n,
98
+ hideTabs: !0
99
+ }
100
+ ),
101
+ s.tab === "personal" && /* @__PURE__ */ t(
102
+ h,
103
+ {
104
+ activeTab: "personal",
105
+ onActiveTabChange: () => {
106
+ },
107
+ onOpenProject: n,
108
+ hideTabs: !0
109
+ }
110
+ ),
111
+ s.tab === "business-stats" && /* @__PURE__ */ t(C, { source: "scenario" }),
112
+ s.tab === "tools" && /* @__PURE__ */ t(b, { showTools: !0, showWebsites: !1 }),
113
+ s.tab === "websites" && /* @__PURE__ */ t(b, { showTools: !1, showWebsites: !0 }),
114
+ s.tab === "todo" && /* @__PURE__ */ t(
115
+ N,
116
+ {
117
+ onOpenProject: n,
118
+ onOpenNote: S,
119
+ openTodoId: x
120
+ }
121
+ ),
122
+ s.tab === "notes" && /* @__PURE__ */ t(
123
+ I,
124
+ {
125
+ onOpenProject: n,
126
+ onOpenTodo: y,
127
+ openNoteId: p
128
+ }
129
+ ),
130
+ s.tab === "training" && /* @__PURE__ */ t(j, {}),
131
+ s.tab === "webide" && /* @__PURE__ */ t(K, {})
132
+ ] })
133
+ ] });
134
+ }
135
+ export {
136
+ M as default
137
+ };
@@ -1,19 +1,19 @@
1
1
  import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
2
  import { r as q, f as le } from "./ctc-sso-DtJHC-2M.js";
3
- import { r as de, h as K, s as X } from "./sso-user-BpOzJlQ3.js";
3
+ import { r as de, h as K, s as X } from "./sso-user-CFgbZoZ1.js";
4
4
  import { ArrowLeftOutlined as ue, PlusOutlined as pe, LogoutOutlined as me, SearchOutlined as he } from "@ant-design/icons";
5
5
  import { Spin as R, Button as D, Input as fe, Empty as J, Tag as ge, message as be } from "antd";
6
6
  import Q from "query-string";
7
7
  import { useState as y, useRef as E, useEffect as w, useMemo as Y, useCallback as B } from "react";
8
8
  import { useLocation as ke } from "react-router-dom";
9
9
  import { h as A } from "./history-BlrA1eaW.js";
10
- import { c as we, C as Se } from "./createWorkspaceWsHandler-gVanGCAb.js";
11
- import { u as i, f as ye, T as ve } from "./useAppStore-B1sVy9Iw.js";
12
- import { q as Te, v as Ne, w as je, x as Ce, g as ee } from "./api-CvQEwiLU.js";
13
- import { l as xe, j as Pe } from "./instance-TOlRCxS4.js";
10
+ import { c as we, C as Se } from "./createWorkspaceWsHandler-25JfnMML.js";
11
+ import { u as i, f as ye, T as ve } from "./useAppStore-DQP0l22d.js";
12
+ import { o as Te, q as Ne, v as je, w as Ce, e as ee } from "./api-DPkUB1DA.js";
13
+ import { l as xe, j as Pe } from "./instance-B9aQMplq.js";
14
14
  import { i as _e, s as Ee } from "./mobile-client-O3yr9h6t.js";
15
15
  /* empty css */
16
- import { s as Ae } from "./admin-logs-Dx2fTWjF.js";
16
+ import { s as Ae } from "./admin-logs-asBlA9MU.js";
17
17
  const ae = 2e4;
18
18
  function Ie(o, s = ae, n = globalThis) {
19
19
  let c = null;
@@ -3,7 +3,7 @@ import { useNavigate as X, useParams as me, useLocation as ye, useRoutes as ge }
3
3
  import { useState as m, useEffect as M, useMemo as be } from "react";
4
4
  import { RocketOutlined as fe, AppstoreOutlined as ce, CheckCircleOutlined as W, PlayCircleOutlined as K, CloseCircleOutlined as Z, BellOutlined as oe, BulbOutlined as ee, EditOutlined as _e, CloudUploadOutlined as we, CopyOutlined as ve, DeleteOutlined as Ie, ReloadOutlined as te, PlusOutlined as re, ArrowLeftOutlined as Ce, SaveOutlined as le, ShopOutlined as de, StarFilled as Te, CloudDownloadOutlined as ke, DashboardOutlined as xe, InfoCircleOutlined as Pe } from "@ant-design/icons";
5
5
  import { Typography as j, Row as q, Col as R, Card as E, Statistic as N, Table as Oe, Tag as T, Form as b, Space as D, Button as u, Popconfirm as pe, Drawer as V, Input as A, Select as H, message as d, Tabs as Ae, Descriptions as C, Alert as Se, Switch as Re, Spin as De } from "antd";
6
- import { r as _ } from "./ComponentDoc-CLxzCDOh.js";
6
+ import { r as _ } from "./ComponentDoc-CFKpk6X_.js";
7
7
  import { ListTable as Y } from "@yuku123/z-frontend-common/ui";
8
8
  const z = (r) => `script-admin/scripts/${encodeURIComponent(r)}`, P = {
9
9
  list: () => _.get("script-admin/scripts"),
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
2
2
  import { Navigate as t } from "react-router-dom";
3
3
  import { lazy as A } from "react";
4
4
  import { UnorderedListOutlined as i, HistoryOutlined as T, ClusterOutlined as p, DashboardOutlined as s, ExperimentOutlined as q, SettingOutlined as d, KeyOutlined as n, AppstoreOutlined as r, SafetyCertificateOutlined as P, TeamOutlined as w, ProfileOutlined as b, ApiOutlined as u, HddOutlined as l, ApartmentOutlined as g, InboxOutlined as k, FileTextOutlined as y, SendOutlined as G, CloudServerOutlined as a, NodeIndexOutlined as z, TableOutlined as f, SearchOutlined as m, DatabaseOutlined as v, ConsoleSqlOutlined as E, BranchesOutlined as I, DeploymentUnitOutlined as M, BookOutlined as h, FundOutlined as N, CloudUploadOutlined as _, TagsOutlined as x, CodeOutlined as B } from "@ant-design/icons";
5
- import { W as R } from "./index-PGSvSOmm.js";
5
+ import { W as R } from "./index-IK8UlsDo.js";
6
6
  import { ConfigApp as U } from "@yuku123/z-config-component";
7
7
  import { MistApp as H } from "@yuku123/z-mist-component";
8
8
  import { MetaApp as L } from "@yuku123/z-meta-component";
@@ -16,7 +16,7 @@ import { MqApp as Z } from "@yuku123/z-mq-component";
16
16
  import { OssApp as J } from "@yuku123/z-oss-component";
17
17
  import { ZkbApp as X } from "@yuku123/z-kb-component";
18
18
  import { ScriptProductizationPage as o } from "@yuku123/z-agent-component";
19
- import "./index-DOyFfs3n.js";
19
+ import "./index-BYTVXqVp.js";
20
20
  const $ = "/api/graph";
21
21
  let O = !1;
22
22
  function ee() {
@@ -3,8 +3,8 @@ import { useState as y, useMemo as d } from "react";
3
3
  import { useNavigate as G, useLocation as k } from "react-router-dom";
4
4
  import { CodeOutlined as L, DownOutlined as N, RightOutlined as O, AppstoreOutlined as v, TableOutlined as A, DatabaseOutlined as w, RobotOutlined as H, FunctionOutlined as M, ApartmentOutlined as W, EyeOutlined as C, BranchesOutlined as $, DeploymentUnitOutlined as p, SafetyCertificateOutlined as g } from "@ant-design/icons";
5
5
  import R from "@yuku123/z-lc-component";
6
- import { f as U, M as x } from "./menuPermission-Bay-G_zT.js";
7
- import { u as b } from "./useAppStore-B1sVy9Iw.js";
6
+ import { f as U, M as x } from "./menuPermission-6NaQTuIn.js";
7
+ import { u as b } from "./useAppStore-DQP0l22d.js";
8
8
  const D = "_shell_1n5c7_7", E = "_sidebar_1n5c7_15", P = "_sidebarHeader_1n5c7_26", j = "_menuList_1n5c7_37", K = "_menuGroup_1n5c7_43", T = "_menuGroupHeader_1n5c7_47", B = "_menuGroupLabel_1n5c7_65", F = "_menuGroupArrow_1n5c7_69", q = "_menuSubList_1n5c7_74", z = "_menuSubItemWrap_1n5c7_80", J = "_menuSubItem_1n5c7_80", Q = "_menuSubItemActive_1n5c7_101", V = "_menuSubItemIcon_1n5c7_108", X = "_menuSubItemLabel_1n5c7_113", Y = "_main_1n5c7_118", t = {
9
9
  shell: D,
10
10
  sidebar: E,
@@ -1,14 +1,14 @@
1
1
  import { jsx as s, jsxs as C } from "react/jsx-runtime";
2
2
  import { f as z, r as v } from "./ctc-sso-DtJHC-2M.js";
3
- import { r as L, h as N, s as T } from "./sso-user-BpOzJlQ3.js";
3
+ import { r as L, h as N, s as T } from "./sso-user-CFgbZoZ1.js";
4
4
  import { CheckCircleFilled as q } from "@ant-design/icons";
5
5
  import { Spin as R } from "antd";
6
6
  import W from "query-string";
7
7
  import { useMemo as P, useState as p, useCallback as A, useEffect as U } from "react";
8
8
  import { useLocation as F } from "react-router-dom";
9
9
  import { h as H } from "./history-BlrA1eaW.js";
10
- import { b as Y, g as B } from "./api-CvQEwiLU.js";
11
- import { u as m } from "./useAppStore-B1sVy9Iw.js";
10
+ import { c as Y, e as B } from "./api-DPkUB1DA.js";
11
+ import { u as m } from "./useAppStore-DQP0l22d.js";
12
12
  /* empty css */
13
13
  import { b as G } from "./mobile-client-O3yr9h6t.js";
14
14
  function ne() {
@@ -1,6 +1,6 @@
1
1
  import { AppLayout as v, ErrorBoundary as H, LoginPage as _, StatusTag as z, defaultStatusMap as F } from "@yuku123/z-frontend-common";
2
- import { a as y } from "./ComponentDoc-CLxzCDOh.js";
3
- import { c as J, E as Q, d as X, e as Y, f as Z, O as $, h as ee, R as te, j as re, k as ae, T as oe, l as ne, r as le, r as ie, m as se } from "./ComponentDoc-CLxzCDOh.js";
2
+ import { a as y } from "./ComponentDoc-CFKpk6X_.js";
3
+ import { c as J, E as Q, d as X, e as Y, f as Z, O as $, h as ee, R as te, j as re, k as ae, T as oe, l as ne, r as le, r as ie, m as se } from "./ComponentDoc-CFKpk6X_.js";
4
4
  import { jsxs as r, Fragment as h, jsx as e } from "react/jsx-runtime";
5
5
  import { useState as n, useEffect as T } from "react";
6
6
  import { Alert as I, Space as x, Button as l, Tag as c, Result as R } from "antd";