@yuku123/z-team-component 0.2.52 → 0.2.54

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 (58) hide show
  1. package/dist/{ChangeLogView-nPAmM1X0.js → ChangeLogView-Cstbioyw.js} +137 -137
  2. package/dist/{ComponentDoc-Cky9jCGu.js → ComponentDoc-yvIrAz9-.js} +506 -461
  3. package/dist/{InvitationManagementPage-BsbaIGvB.js → InvitationManagementPage-CIouC3Fn.js} +1 -1
  4. package/dist/{OnboardingPage-CHVgeBiO.js → OnboardingPage-DScwVCi-.js} +2 -2
  5. package/dist/ScheduledTasks-Dd2lJrBF.js +9449 -0
  6. package/dist/{SystemShell-4OiqvM11.js → SystemShell-DtvyWy0u.js} +1 -1
  7. package/dist/{admin-logs-D6HtRcK6.js → admin-logs-B9KS6VJz.js} +2 -2
  8. package/dist/{api-C78tCfne.js → api-CALqShkO.js} +288 -270
  9. package/dist/{api-BT968Uwc.js → api-CdVRdA0g.js} +1 -1
  10. package/dist/createWorkspaceWsHandler-CL5-4wFp.js +13037 -0
  11. package/dist/{index-BX1Wd9x9.js → index-4YxdJwFm.js} +3 -3
  12. package/dist/index-7Pe_xBrh.js +582 -0
  13. package/dist/{index-DFY3lzq0.js → index-C2Wkg1b5.js} +3 -3
  14. package/dist/{index-CdlfWFvS.js → index-C3B7CbHo.js} +610 -529
  15. package/dist/{index-BkX0I2aB.js → index-C6S3MIu4.js} +56 -56
  16. package/dist/{index-BAY37t4f.js → index-CGWttFLb.js} +41 -35
  17. package/dist/{index-LwKUkzKI.js → index-CKS65_Dw.js} +3 -3
  18. package/dist/{index-Bdu31aRV.js → index-CLWgeKwr.js} +2 -2
  19. package/dist/{index-DxFZKDq-.js → index-C_2o9qgM.js} +6 -6
  20. package/dist/index-CgQH7-9F.js +130 -0
  21. package/dist/{index-B_C7H9WL.js → index-D6V-4vNa.js} +5 -5
  22. package/dist/index-DC5lxCN8.js +474 -0
  23. package/dist/{index-D9AqC2O-.js → index-DET70T3j.js} +1 -1
  24. package/dist/index-DEx5rtXv.js +242 -0
  25. package/dist/{index-DpcrvKsK.js → index-DJOyOVn_.js} +87 -74
  26. package/dist/{index-qK6pyAGy.js → index-DKeYG0Fu.js} +4 -4
  27. package/dist/index-DLQoecEe.js +1143 -0
  28. package/dist/{index-CR3sbzOU.js → index-DLyAy3cr.js} +7 -7
  29. package/dist/index-DOygBsXO.js +2826 -0
  30. package/dist/index-DRrBkbr_.js +100 -0
  31. package/dist/index-DWsfQMp8.js +208 -0
  32. package/dist/index-Pk7OkJrk.js +1133 -0
  33. package/dist/index-TDZM-Zv3.js +9287 -0
  34. package/dist/index-WIsi8fln.js +339 -0
  35. package/dist/{index-BAK7UDvY.js → index-aw72ID7y.js} +1 -1
  36. package/dist/{index-ClA0896K.js → index-lftFkqfI.js} +4 -4
  37. package/dist/{index-JMzBzwiO.js → index-usrA11ZG.js} +618 -617
  38. package/dist/index.js +1 -1
  39. package/dist/{instance-D5dhjbgg.js → instance-f3C-1qYl.js} +3 -3
  40. package/dist/pages.js +1 -1
  41. package/dist/schedule-DfkgwPdE.js +497 -0
  42. package/dist/{send-default-agent-team-message-C882sJLV.js → send-default-agent-team-message-d_ECdczr.js} +1 -1
  43. package/dist/{sso-user-Bi9_l9yi.js → sso-user-HcsSzg8P.js} +1 -1
  44. package/dist/{training-Ba09KItE.js → training-DnNQN0An.js} +1 -1
  45. package/dist/{useAppStore-ibJyVIAX.js → useAppStore-kRZEA5WZ.js} +19 -19
  46. package/dist/webide-DPjFYxLl.js +7845 -0
  47. package/dist/z-team-component.css +2 -2
  48. package/package.json +1 -1
  49. package/dist/SmartWorkbench.module-xRRmpTTw.js +0 -85
  50. package/dist/createWorkspaceWsHandler-mq-UTF2O.js +0 -13028
  51. package/dist/index-7nSly-MA.js +0 -405
  52. package/dist/index-B11_fFjX.js +0 -1182
  53. package/dist/index-B3-0eXYQ.js +0 -844
  54. package/dist/index-Cp3DAwNx.js +0 -13862
  55. package/dist/index-NaBR2aQE.js +0 -6685
  56. package/dist/index-UsGqMo11.js +0 -848
  57. package/dist/schedule-C-4ksDPw.js +0 -239
  58. package/dist/webide-RsFP9pHM.js +0 -8087
@@ -1,5 +1,5 @@
1
- import { create as Ce } from "zustand";
2
- import { Q as je, x as M, i as C, y as ne, k as A, t as _, z as se, A as Pe, C as Ne, D as we, E as Ee, F as xe, G as Fe, H as ae, I as Re, J as Oe, K as B, L as Ue, M as He, n as ie, N as Le, O as $e, P as Ge, R as De, S as Ve, U as Be, V as qe, W as ze, X as Ke, Y as We, Z as Je, _ as Ye, $ as Ze, a0 as Qe, a1 as Xe, s as x, a2 as et, a3 as oe, a4 as tt, a5 as nt, a6 as rt, a7 as st, a8 as at, a9 as it, aa as ot, ab as ct, c as lt, ac as ut, ad as dt, w as ft, ae as mt } from "./api-C78tCfne.js";
1
+ import { create as je } from "zustand";
2
+ import { Q as Ce, H as M, i as j, I as ne, k as A, t as _, J as se, K as Pe, L as Ne, M as we, N as Ee, O as xe, P as Fe, R as ae, S as Re, U as Oe, V as B, W as Ue, X as He, w as ie, Y as Le, Z as $e, _ as Ge, $ as De, a0 as Ve, a1 as Be, a2 as qe, a3 as ze, a4 as Ke, a5 as We, a6 as Je, a7 as Ye, a8 as Ze, a9 as Qe, aa as Xe, s as x, ab as et, ac as oe, ad as tt, ae as nt, af as rt, ag as st, ah as at, ai as it, aj as ot, ak as ct, c as lt, al as ut, am as dt, m as ft, an as mt } from "./api-CALqShkO.js";
3
3
  import { message as F } from "antd";
4
4
  const _e = `[[REASONING:正在分析…]]
5
5
  正在分析…
@@ -65,7 +65,7 @@ function Rt(n) {
65
65
  }
66
66
  function pt(n) {
67
67
  var e;
68
- return ((e = n == null ? void 0 : n.scenario_code) == null ? void 0 : e.trim().toLowerCase()) === je;
68
+ return ((e = n == null ? void 0 : n.scenario_code) == null ? void 0 : e.trim().toLowerCase()) === Ce;
69
69
  }
70
70
  function he(n, t) {
71
71
  return pt(n) && !ye(t);
@@ -220,7 +220,7 @@ function ht(n) {
220
220
  return n.sender_type !== "AGENT" || E(n) || n.content === "已取消" ? !1 : n.content === "处理中..." || n.content === "🔄 正在处理中..." || Q(n.content) || n.content.includes("[[REASONING:") || n.content.includes("[[TOOL_CALL:");
221
221
  }
222
222
  function z(n, t, e, r, s, a) {
223
- if (C(a))
223
+ if (j(a))
224
224
  return a;
225
225
  const o = t ? s : r, i = t ?? null;
226
226
  for (let c = o.length - 1; c >= 0; c--) {
@@ -364,7 +364,7 @@ function me(n, t) {
364
364
  const Ie = "$ref";
365
365
  function N(n) {
366
366
  const t = _(n);
367
- return C(t) ? t : void 0;
367
+ return j(t) ? t : void 0;
368
368
  }
369
369
  function ve(n) {
370
370
  if (!n || typeof n != "object" || Array.isArray(n))
@@ -372,7 +372,7 @@ function ve(n) {
372
372
  const t = Object.keys(n);
373
373
  return t.length === 1 && t[0] === Ie;
374
374
  }
375
- function j(n) {
375
+ function C(n) {
376
376
  if (!(!n || typeof n != "object" || Array.isArray(n)) && !ve(n))
377
377
  return n;
378
378
  }
@@ -381,10 +381,10 @@ function w(n) {
381
381
  }
382
382
  function kt(n) {
383
383
  var s;
384
- const t = j(n.submittedValue);
384
+ const t = C(n.submittedValue);
385
385
  if (w(t))
386
386
  return t;
387
- const e = j((s = n.cardForm) == null ? void 0 : s.value);
387
+ const e = C((s = n.cardForm) == null ? void 0 : s.value);
388
388
  if (w(e))
389
389
  return e;
390
390
  const r = typeof n.result == "string" && n.result.trim() ? n.result.trim() : "";
@@ -405,7 +405,7 @@ function Tt(n) {
405
405
  }
406
406
  }
407
407
  function Zt(n, t) {
408
- const e = t.result == null || t.result === "" ? n.result : String(t.result), r = Tt(t.ext), s = j(
408
+ const e = t.result == null || t.result === "" ? n.result : String(t.result), r = Tt(t.ext), s = C(
409
409
  (r == null ? void 0 : r.submittedValue) ?? (r == null ? void 0 : r.submitted_value)
410
410
  ), a = {
411
411
  ...n,
@@ -420,7 +420,7 @@ function be(n) {
420
420
  const t = n, e = N(t.humanTaskId ?? t.human_task_id);
421
421
  if (e == null)
422
422
  return null;
423
- const r = j(t.cardForm) ?? j(t.card_form), s = j(t.submittedValue ?? t.submitted_value), a = typeof t.result == "string" ? t.result : void 0, o = kt({
423
+ const r = C(t.cardForm) ?? C(t.card_form), s = C(t.submittedValue ?? t.submitted_value), a = typeof t.result == "string" ? t.result : void 0, o = kt({
424
424
  submittedValue: s,
425
425
  cardForm: r,
426
426
  result: a
@@ -477,7 +477,7 @@ function ee(n) {
477
477
  sender_id: r,
478
478
  message_type: String(n.message_type ?? n.messageType ?? "TEXT"),
479
479
  content: String(n.content ?? ""),
480
- task_id: a == null || !C(a) ? null : a,
480
+ task_id: a == null || !j(a) ? null : a,
481
481
  ext: l,
482
482
  created_at: String(n.created_at ?? n.createdAt ?? ""),
483
483
  sender_name: String(n.sender_name ?? n.senderName ?? ""),
@@ -606,7 +606,7 @@ function bt(n, t, e) {
606
606
  const s = [...n];
607
607
  return s[r] = { ...t, id: t.id }, s;
608
608
  }
609
- function Ct(n) {
609
+ function jt(n) {
610
610
  var r;
611
611
  const t = (r = n.currentProject) == null ? void 0 : r.id;
612
612
  if (t == null)
@@ -626,7 +626,7 @@ function Ct(n) {
626
626
  }
627
627
  const L = 80;
628
628
  let ge = 0;
629
- function jt(n) {
629
+ function Ct(n) {
630
630
  let t = (n || "").trim();
631
631
  if (!t) return "";
632
632
  t.length > 2e3 && (t = t.slice(0, 2e3));
@@ -652,7 +652,7 @@ function $() {
652
652
  const n = /* @__PURE__ */ new Date(), t = (e) => String(e).padStart(2, "0");
653
653
  return `${t(n.getHours())}:${t(n.getMinutes())}:${t(n.getSeconds())}`;
654
654
  }
655
- const Xt = 3, en = 4, tn = 5, nn = Ce((n, t) => ({
655
+ const Xt = 3, en = 4, tn = 5, nn = je((n, t) => ({
656
656
  currentUser: null,
657
657
  // FEATURE-ZTEAM-MERGE: 优先 z-opc 的 token, 其次 z-team 原生的 z_team_token
658
658
  token: localStorage.getItem("token") || localStorage.getItem("z_team_token") || "",
@@ -1045,7 +1045,7 @@ const Xt = 3, en = 4, tn = 5, nn = Ce((n, t) => ({
1045
1045
  if (!Z(r))
1046
1046
  return;
1047
1047
  const s = r.id;
1048
- if (!C(s))
1048
+ if (!j(s))
1049
1049
  return;
1050
1050
  const a = t();
1051
1051
  let o = G(r, a.members);
@@ -1366,7 +1366,7 @@ const Xt = 3, en = 4, tn = 5, nn = Ce((n, t) => ({
1366
1366
  },
1367
1367
  expandProject: async (e, r) => {
1368
1368
  var g, P;
1369
- const s = String(e.id), a = (r == null ? void 0 : r.expandTree) === !0, o = t(), i = Ct(o), c = le(e, o.currentUser, e.mode), l = o.expandedProjectIds.includes(s), u = i[s], d = !o.fileTrees[s] || o.fileTrees[s].length === 0;
1369
+ const s = String(e.id), a = (r == null ? void 0 : r.expandTree) === !0, o = t(), i = jt(o), c = le(e, o.currentUser, e.mode), l = o.expandedProjectIds.includes(s), u = i[s], d = !o.fileTrees[s] || o.fileTrees[s].length === 0;
1370
1370
  if (((g = o.currentProject) == null ? void 0 : g.id) === s && o.projectSwitchSeq > 0) {
1371
1371
  a && !l && (n({
1372
1372
  expandedProjectIds: [
@@ -1643,8 +1643,8 @@ const Xt = 3, en = 4, tn = 5, nn = Ce((n, t) => ({
1643
1643
  const r = ee(
1644
1644
  e
1645
1645
  ), s = _(r.task_id);
1646
- if (C(s)) {
1647
- const d = jt(r.content);
1646
+ if (j(s)) {
1647
+ const d = Ct(r.content);
1648
1648
  d && t().pushTaskActivity(
1649
1649
  s,
1650
1650
  d,
@@ -1662,7 +1662,7 @@ const Xt = 3, en = 4, tn = 5, nn = Ce((n, t) => ({
1662
1662
  { ...r, task_id: o },
1663
1663
  t().members
1664
1664
  ), c = i.id;
1665
- C(c) && n((d) => {
1665
+ j(c) && n((d) => {
1666
1666
  let f = d.taskMessages;
1667
1667
  if (i.sender_type === "AGENT" && i.task_id && (f = f.filter(
1668
1668
  (g) => !(M(g.id) && g.sender_type === "AGENT" && g.task_id === i.task_id)