weaver-work-cli 0.1.38 → 0.1.39

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 (136) hide show
  1. package/README.md +4 -2
  2. package/dist/chunks/{archive-PDV724YK.js → archive-ENZYBBME.js} +556 -66
  3. package/dist/chunks/{archive-oa-4XE4MNXQ.js → archive-oa-YWLEC5V4.js} +2 -2
  4. package/dist/chunks/{asset-PDL2QE2N.js → asset-OOV6DWPA.js} +2 -2
  5. package/dist/chunks/asset-idle-RE632MY5.js +670 -0
  6. package/dist/chunks/{attachment-content-MDDGOE5E.js → attachment-content-RWN2FCLL.js} +3 -3
  7. package/dist/chunks/{blog-UYR3EUXW.js → blog-PEPOJAL7.js} +2 -2
  8. package/dist/chunks/{caizhilian-LG2X5NMF.js → caizhilian-WYIQDVPJ.js} +2 -2
  9. package/dist/chunks/{calendar-FG4BAZHE.js → calendar-CIARBAOX.js} +2 -2
  10. package/dist/chunks/{chunk-6FTTSA45.js → chunk-36DIFZAH.js} +2 -2
  11. package/dist/chunks/{chunk-UJJD4QWF.js → chunk-BJGXMFGD.js} +2 -2
  12. package/dist/chunks/{chunk-ELYDWBZJ.js → chunk-CQHGNCK2.js} +1 -1
  13. package/dist/chunks/{chunk-XJY7G4DD.js → chunk-EINRJHQ3.js} +3 -3
  14. package/dist/chunks/{chunk-UZZBA6PV.js → chunk-EZGFHJFW.js} +28 -6
  15. package/dist/chunks/{chunk-NI6GIPIM.js → chunk-F2EQXUEE.js} +438 -387
  16. package/dist/chunks/{chunk-VRYHGG6O.js → chunk-GVPJZXJ2.js} +3 -3
  17. package/dist/chunks/{chunk-IZUDA353.js → chunk-HJYVHXUQ.js} +1 -1
  18. package/dist/chunks/{chunk-KKRL3REV.js → chunk-I2HB737U.js} +2 -2
  19. package/dist/chunks/{chunk-NR6RKXPA.js → chunk-K3RUEEOL.js} +4 -2
  20. package/dist/chunks/{chunk-6LTFIFLM.js → chunk-KTCB5R5H.js} +2 -2
  21. package/dist/chunks/{chunk-J7USS3ED.js → chunk-L4N7B7ZD.js} +4 -4
  22. package/dist/chunks/{chunk-CORFRD7Q.js → chunk-MUQUHKPG.js} +2 -2
  23. package/dist/chunks/{chunk-DMV2TOMH.js → chunk-NLK2RZKG.js} +46 -46
  24. package/dist/chunks/{chunk-JSMFPO43.js → chunk-P2DAISYW.js} +1 -1
  25. package/dist/chunks/{chunk-GGJFMNJM.js → chunk-T7JDJJ7H.js} +3 -3
  26. package/dist/chunks/{chunk-OJQUJZQF.js → chunk-XXJOSZTQ.js} +2 -0
  27. package/dist/chunks/{chunk-Z32KWY6G.js → chunk-YS5DPN4T.js} +1 -1
  28. package/dist/chunks/{chunk-EG6ZU444.js → chunk-ZUX3P6BQ.js} +10 -5
  29. package/dist/chunks/{chunk-FUWVHMVV.js → chunk-ZXRNHZTE.js} +2 -2
  30. package/dist/chunks/{conflict-BQZEQ4SP.js → conflict-DRMDOL56.js} +2 -2
  31. package/dist/chunks/{contract-XIRAFTEV.js → contract-73MERZWN.js} +2 -2
  32. package/dist/chunks/{cowork-BLG62BL2.js → cowork-HNGBPD7A.js} +2 -2
  33. package/dist/chunks/{ebuilder-form-NUKG5QW4.js → ebuilder-form-OY6DVNRK.js} +3 -3
  34. package/dist/chunks/{ehr-2STW5ILH.js → ehr-RAQNEQO7.js} +2 -2
  35. package/dist/chunks/{esb-UUDQUNKY.js → esb-6XV7C7YV.js} +4 -4
  36. package/dist/chunks/{fna-6RCY4NU5.js → fna-XTSRB7G7.js} +2 -2
  37. package/dist/chunks/{host-RHM3NPXV.js → host-3F5UM5GN.js} +3 -3
  38. package/dist/chunks/{host-EJZFROU3.js → host-A7J6GDUP.js} +3 -3
  39. package/dist/chunks/{host-FWDOSRH5.js → host-VGPVP7YF.js} +3 -3
  40. package/dist/chunks/{host-7RXEDMAH.js → host-YAQAPYNP.js} +3 -3
  41. package/dist/chunks/{host-UFF33TWJ.js → host-YMBXWFWX.js} +3 -3
  42. package/dist/chunks/{hrm-PKJ6ELSH.js → hrm-TLHKC545.js} +3 -3
  43. package/dist/chunks/{im-YJAXS7CO.js → im-YOUCFMUK.js} +3 -3
  44. package/dist/chunks/{invoice-HWVSXGX6.js → invoice-WNBS2B4C.js} +3 -3
  45. package/dist/chunks/{jiuchuanhui-L7VKILZB.js → jiuchuanhui-XABWS5RN.js} +2 -2
  46. package/dist/chunks/{lazy-dispatch-NMYEIHRH.js → lazy-dispatch-NLZ5UQQI.js} +5 -5
  47. package/dist/chunks/{mail-B42RRU7G.js → mail-LRYMBFNL.js} +2 -2
  48. package/dist/chunks/{meeting-CFYVBJSS.js → meeting-ESXL6MFI.js} +10 -10
  49. package/dist/chunks/{okr-GCLF6V7W.js → okr-EOV65SSF.js} +2 -2
  50. package/dist/chunks/{plan-ZVL7GBRI.js → plan-YFPVKW6Y.js} +2 -2
  51. package/dist/chunks/{project-4YWAAE2K.js → project-MDVZUYQW.js} +2 -2
  52. package/dist/chunks/{registry-EP4VTHZS.js → registry-QCLZEDAP.js} +8 -8
  53. package/dist/chunks/{registry-FRJ6H7BT.js → registry-VT5Y2HLA.js} +4 -4
  54. package/dist/chunks/{registry-SG2PGVCF.js → registry-YX4CSEMD.js} +3 -3
  55. package/dist/chunks/{room-recommend-R3JVUUAC.js → room-recommend-L3MWH4JW.js} +4 -4
  56. package/dist/chunks/{schedule-NIJBTYDO.js → schedule-UASAVDVD.js} +4 -4
  57. package/dist/chunks/{workflow-BB24DFBY.js → workflow-KDGIUCNW.js} +9 -6
  58. package/dist/core/output.js +16 -6
  59. package/dist/index.js +33 -28
  60. package/dist/internal/e10/auth/messages.js +1 -0
  61. package/dist/internal/e10/auth-recovery.js +13 -6
  62. package/dist/internal/e10/context.js +16 -3
  63. package/dist/internal/e10/request-runtime.js +3 -1
  64. package/dist/shortcuts/archive/host.js +2 -0
  65. package/dist/shortcuts/archive/manifest.js +1 -1
  66. package/dist/shortcuts/archive/operations/borrow-list.js +13 -1
  67. package/dist/shortcuts/archive/operations/flow-url.js +1 -1
  68. package/dist/shortcuts/archive/operations/prelib.js +472 -0
  69. package/dist/shortcuts/archive/operations/registry.js +2 -0
  70. package/dist/shortcuts/archive/operations/upload.js +1 -1
  71. package/dist/shortcuts/asset-idle/errors.js +44 -0
  72. package/dist/shortcuts/asset-idle/host.js +161 -0
  73. package/dist/shortcuts/asset-idle/index.js +114 -0
  74. package/dist/shortcuts/asset-idle/manifest.js +159 -0
  75. package/dist/shortcuts/asset-idle/operations/idle.js +47 -0
  76. package/dist/shortcuts/asset-idle/operations/registry.js +33 -0
  77. package/dist/shortcuts/asset-idle/operations/shared.js +142 -0
  78. package/dist/shortcuts/asset-idle/operations/types.js +9 -0
  79. package/dist/shortcuts/asset-idle/operations.js +15 -0
  80. package/dist/shortcuts/index.js +5 -0
  81. package/dist/shortcuts/workflow/host.js +3 -0
  82. package/dist/shortcuts/workflow/index.js +1 -1
  83. package/dist/shortcuts/workflow/operations/form.js +46 -171
  84. package/dist/shortcuts/workflow/operations/todoSmartConvert/aigroupRules.js +77 -26
  85. package/dist/shortcuts/workflow/operations/todoSmartConvert/aigroupStore.js +6 -0
  86. package/dist/shortcuts/workflow/operations/todoSmartConvert/summaryCache.js +59 -117
  87. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoDetailCache.js +44 -7
  88. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoDetailFetcher.js +37 -29
  89. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.collect.js +20 -6
  90. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.detail.js +22 -18
  91. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.groupSummary.js +34 -10
  92. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.js +4 -2
  93. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.smartGroup.js +9 -2
  94. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.summary.js +110 -20
  95. package/docs/_catalog.md +3 -0
  96. package/docs/asset-idle.md +45 -0
  97. package/docs/e10-auth.md +1 -1
  98. package/docs/todo-smart-convert/subgroup-rules.md +1 -1
  99. package/package.json +1 -1
  100. package/scripts/package-skill.mjs +2 -0
  101. package/skill-template/business-info.json +14 -1
  102. package/skill-template/domains/asset-idle.md +13 -0
  103. package/skill-template/domains/wenshuding.md +3 -0
  104. package/skills/weaver-e10-archive-oa/SKILL.md +1 -0
  105. package/skills/weaver-e10-archive-oa/references/my-borrow.md +49 -0
  106. package/skills/weaver-e10-asset-idle/SKILL.md +73 -0
  107. package/skills/weaver-e10-asset-idle/references/idle-list.md +62 -0
  108. package/skills/weaver-e10-asset-idle/references/idle-stats-and-charts.md +65 -0
  109. package/skills/weaver-e10-asset-idle/references/source-manifest.json +193 -0
  110. package/skills/weaver-e10-asset-idle/references/widget-style.md +205 -0
  111. package/skills/weaver-e10-caizhilian/SKILL.md +29 -11
  112. package/skills/weaver-e10-caizhilian/references/auth-and-install.md +12 -0
  113. package/skills/weaver-e10-caizhilian/references/files.md +1 -1
  114. package/skills/weaver-e10-caizhilian/references/setting-encrypt.md +1 -1
  115. package/skills/weaver-e10-caizhilian/references/source-manifest.json +45 -45
  116. package/skills/weaver-e10-cowork/SKILL.md +2 -0
  117. package/skills/weaver-e10-jucailin/SKILL.md +2 -0
  118. package/skills/weaver-e10-jucailin/references/recruit-read.md +2 -0
  119. package/skills/weaver-e10-jucailin/references/recruit-write.md +1 -1
  120. package/skills/weaver-e10-mail/SKILL.md +3 -0
  121. package/skills/weaver-e10-shared/SKILL.md +5 -5
  122. package/skills/weaver-e10-shared/references/e10-auth-and-session.md +3 -3
  123. package/skills/weaver-e10-wenshuding/SKILL.md +29 -6
  124. package/skills/weaver-e10-wenshuding/references/archive-borrow-list.md +14 -0
  125. package/skills/weaver-e10-wenshuding/references/archive-download.md +2 -0
  126. package/skills/weaver-e10-wenshuding/references/archive-flow.md +1 -1
  127. package/skills/weaver-e10-wenshuding/references/archive-prelib-arrange.md +76 -0
  128. package/skills/weaver-e10-wenshuding/references/archive-prelib-list.md +107 -0
  129. package/skills/weaver-e10-wenshuding/references/archive-prelib-open.md +59 -0
  130. package/skills/weaver-e10-wenshuding/references/archive-upload.md +4 -1
  131. package/skills/weaver-e10-wenshuding/references/source-manifest.json +108 -65
  132. package/skills/weaver-e10-workflow/SKILL.md +5 -2
  133. package/skills/weaver-e10-workflow/aigroup/default.json +154 -19
  134. package/skills/weaver-e10-workflow/references/todo-smart-convert.md +59 -27
  135. package/skills/weaver-e10-workflow/tools/todo-serve.cjs +113 -25
  136. package/skills/weaver-e10-workflow/tools/todo-summary.cjs +292 -42
@@ -13,13 +13,13 @@ import {
13
13
  refMaxCount,
14
14
  resolveRefInput,
15
15
  resultThresholdBytes
16
- } from "./chunk-EG6ZU444.js";
16
+ } from "./chunk-ZUX3P6BQ.js";
17
17
  import {
18
18
  refsDir
19
19
  } from "./chunk-AJ62BGAW.js";
20
20
  import {
21
21
  clearInvoiceTokenForSession
22
- } from "./chunk-FUWVHMVV.js";
22
+ } from "./chunk-ZXRNHZTE.js";
23
23
  import {
24
24
  E10AuthSession,
25
25
  XIAOE_AGENT_TYPE,
@@ -48,7 +48,7 @@ import {
48
48
  setActiveProfile,
49
49
  switchActiveProfile,
50
50
  tryXiaoEUnifiedLogin
51
- } from "./chunk-OJQUJZQF.js";
51
+ } from "./chunk-XXJOSZTQ.js";
52
52
  import {
53
53
  CliError,
54
54
  isCliError,
@@ -2,7 +2,7 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
2
  const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  isEsbFlowUnavailable
5
- } from "./chunk-UJJD4QWF.js";
5
+ } from "./chunk-BJGXMFGD.js";
6
6
  import {
7
7
  esbValidationError
8
8
  } from "./chunk-GPMFD4RD.js";
@@ -11,11 +11,11 @@ import {
11
11
  createE10RequestRuntime,
12
12
  isE10SessionExpiredResponse,
13
13
  requireE10Session
14
- } from "./chunk-UZZBA6PV.js";
14
+ } from "./chunk-EZGFHJFW.js";
15
15
  import {
16
16
  E10_SESSION_EXPIRED_MESSAGE,
17
17
  getActiveProfile
18
- } from "./chunk-OJQUJZQF.js";
18
+ } from "./chunk-XXJOSZTQ.js";
19
19
 
20
20
  // src/shortcuts/im/host.ts
21
21
  import { createHash } from "node:crypto";
@@ -7,12 +7,13 @@ import {
7
7
  } from "./chunk-FMPJJYYI.js";
8
8
  import {
9
9
  createE10RequestRuntime,
10
+ isE10AuthenticationRequired,
10
11
  requireE10Session
11
- } from "./chunk-UZZBA6PV.js";
12
+ } from "./chunk-EZGFHJFW.js";
12
13
  import {
13
14
  E10_SESSION_EXPIRED_MESSAGE,
14
15
  getActiveProfile
15
- } from "./chunk-OJQUJZQF.js";
16
+ } from "./chunk-XXJOSZTQ.js";
16
17
 
17
18
  // src/shortcuts/workflow/host.ts
18
19
  var DEFAULT_TIMEOUT_MS = 3e4;
@@ -72,6 +73,7 @@ function isAtustRedirect(status, value) {
72
73
  }
73
74
  function isLoginExpired(value, httpStatus) {
74
75
  if (httpStatus === 401 || httpStatus === 403) return true;
76
+ if (isE10AuthenticationRequired({ status: httpStatus ?? 200, value })) return true;
75
77
  if (isAtustRedirect(httpStatus, value)) return true;
76
78
  const joined = payloadTexts(value).join("\n").toLowerCase();
77
79
  if (joined.includes("login.jsp")) return true;
@@ -2,13 +2,13 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
2
  const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  meetingStateDir
5
- } from "./chunk-Z32KWY6G.js";
5
+ } from "./chunk-YS5DPN4T.js";
6
6
  import {
7
7
  SCHEMA_ID,
8
8
  meetingSuccess,
9
9
  meetingValidationError,
10
10
  schemaOf
11
- } from "./chunk-ELYDWBZJ.js";
11
+ } from "./chunk-CQHGNCK2.js";
12
12
 
13
13
  // src/shortcuts/meeting/operations/attachment-content.ts
14
14
  import { mkdir, writeFile } from "node:fs/promises";
@@ -3,13 +3,13 @@ const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  readCache,
5
5
  writeCache
6
- } from "./chunk-JSMFPO43.js";
6
+ } from "./chunk-P2DAISYW.js";
7
7
  import {
8
8
  SCHEMA_DATETIME_MINUTE,
9
9
  meetingSuccess,
10
10
  meetingValidationError,
11
11
  schemaOf
12
- } from "./chunk-ELYDWBZJ.js";
12
+ } from "./chunk-CQHGNCK2.js";
13
13
 
14
14
  // src/shortcuts/meeting/operations/eb/schedule.ts
15
15
  var SCHEDULE_TYPE_PATH = "/api/ebuilder/form/formdata/v2/getFormDataList/queryAgendaType";
@@ -110,9 +110,9 @@ async function runScheduleConflictFlow(env, input) {
110
110
  if (!employeeId) {
111
111
  throw meetingValidationError("schedule_employee_required", "\u53D6\u4E0D\u5230\u5F53\u524D\u767B\u5F55\u7528\u6237 id\uFF0C\u65E0\u6CD5\u89E6\u53D1 ESB \u65E5\u7A0B\u67E5\u8BE2");
112
112
  }
113
- const { createEsbHost } = await import("./host-FWDOSRH5.js");
113
+ const { createEsbHost } = await import("./host-VGPVP7YF.js");
114
114
  const { createEsbContinuationSigner } = await import("./continuation-NLECEJPX.js");
115
- const { getEsbOperation } = await import("./registry-FRJ6H7BT.js");
115
+ const { getEsbOperation } = await import("./registry-VT5Y2HLA.js");
116
116
  const esbEnv = {
117
117
  ctx: env.ctx,
118
118
  host: createEsbHost(env.ctx),
@@ -10,10 +10,10 @@ import {
10
10
  createE10RequestRuntime,
11
11
  isE10SessionExpiredResponse,
12
12
  requireE10Session
13
- } from "./chunk-UZZBA6PV.js";
13
+ } from "./chunk-EZGFHJFW.js";
14
14
  import {
15
15
  getActiveProfile
16
- } from "./chunk-OJQUJZQF.js";
16
+ } from "./chunk-XXJOSZTQ.js";
17
17
 
18
18
  // src/shortcuts/ebuilder-form/host.ts
19
19
  import { randomUUID } from "node:crypto";
@@ -5,27 +5,27 @@ import {
5
5
  loadRooms,
6
6
  recommendRooms,
7
7
  rememberFrequentRoom
8
- } from "./chunk-GGJFMNJM.js";
8
+ } from "./chunk-T7JDJJ7H.js";
9
9
  import {
10
10
  meetingEbScheduleOperations
11
- } from "./chunk-J7USS3ED.js";
11
+ } from "./chunk-L4N7B7ZD.js";
12
12
  import {
13
13
  ebMeetingWritePreflight,
14
14
  fetchEbAppSettings,
15
15
  findCommonFreeSlots,
16
16
  meetingEbConflictOperations
17
- } from "./chunk-XJY7G4DD.js";
17
+ } from "./chunk-EINRJHQ3.js";
18
18
  import {
19
19
  PENDING_MARK,
20
20
  listMeetingAttachments,
21
21
  meetingAttachmentContentOperations,
22
22
  renderDocx
23
- } from "./chunk-6LTFIFLM.js";
23
+ } from "./chunk-KTCB5R5H.js";
24
24
  import {
25
25
  meetingEnvOperations,
26
26
  meetingStateDir,
27
27
  resolveMeetingEnvMode
28
- } from "./chunk-Z32KWY6G.js";
28
+ } from "./chunk-YS5DPN4T.js";
29
29
  import {
30
30
  EB_BASE,
31
31
  EB_ENDPOINTS,
@@ -57,7 +57,7 @@ import {
57
57
  toIdString,
58
58
  verifyLease,
59
59
  writeBody
60
- } from "./chunk-ELYDWBZJ.js";
60
+ } from "./chunk-CQHGNCK2.js";
61
61
 
62
62
  // src/shortcuts/meeting/operations/meetings.ts
63
63
  function overlapsDate(beginDatetime, endDatetime, date) {
@@ -2223,7 +2223,7 @@ var meetingAttachmentAttach = {
2223
2223
  if (mode === "append" && existingIds.length === 0) {
2224
2224
  existingIds.push(...beforeIds);
2225
2225
  }
2226
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
2226
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
2227
2227
  const list = getMeetingOperation2("meeting.eb.meeting.list");
2228
2228
  let fileId = incomingFileId;
2229
2229
  let name = String(args.name ?? "").trim();
@@ -2311,7 +2311,7 @@ function textOf(value) {
2311
2311
  return value === void 0 || value === null ? "" : String(value);
2312
2312
  }
2313
2313
  async function readMinute(env, id) {
2314
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
2314
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
2315
2315
  const detail = getMeetingOperation2("meeting.eb.minute.detail");
2316
2316
  const result = await detail.handler({ id }, env);
2317
2317
  const row = result?.data?.data;
@@ -2390,7 +2390,7 @@ var meetingMinuteWriteContent = {
2390
2390
  } else {
2391
2391
  statusReason = "\u4EC5\u6E05\u7A7A\u5185\u5BB9\uFF0C\u672A\u6539\u72B6\u6001";
2392
2392
  }
2393
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
2393
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
2394
2394
  const prepare = getMeetingOperation2("meeting.eb.minute.update.prepare");
2395
2395
  const apply = getMeetingOperation2("meeting.eb.minute.update.apply");
2396
2396
  const prepared = await prepare.handler({ id, mt_id: mtId, ...patch }, env);
@@ -2748,7 +2748,7 @@ var meetingMinuteFromGroupChat = {
2748
2748
  const mtId = textOf2(args.mt_id).trim();
2749
2749
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
2750
2750
  const pipeline = ["text", "minutes", "document"].includes(args.pipeline) ? args.pipeline : "text";
2751
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
2751
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
2752
2752
  const ctx = env.ctx;
2753
2753
  let stepStart = Date.now();
2754
2754
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
@@ -2772,7 +2772,7 @@ var meetingMinuteFromGroupChat = {
2772
2772
  }
2773
2773
  mark("readMeeting", stepStart);
2774
2774
  const pullStart = Date.now();
2775
- const { createImHost } = await import("./host-RHM3NPXV.js");
2775
+ const { createImHost } = await import("./host-3F5UM5GN.js");
2776
2776
  const { createImContinuationSigner } = await import("./continuation-2CKSBLA6.js");
2777
2777
  const { getImOperation } = await import("./registry-OZSMDVPP.js");
2778
2778
  const imEnv = { ctx, host: createImHost(ctx), continuation: createImContinuationSigner(ctx) };
@@ -2842,7 +2842,7 @@ var meetingMinuteFromGroupChat = {
2842
2842
  try {
2843
2843
  const { readFile: readFile5 } = await import("node:fs/promises");
2844
2844
  const buffer = await readFile5(file);
2845
- const { extractText } = await import("./attachment-content-MDDGOE5E.js");
2845
+ const { extractText } = await import("./attachment-content-RWN2FCLL.js");
2846
2846
  const extracted = extractText(buffer, file, "");
2847
2847
  if (extracted.text.trim()) {
2848
2848
  extraSections.push(`\u3010\u6750\u6599\uFF1A${file.split(/[\\/]/).pop() ?? file}\u3011
@@ -2969,9 +2969,9 @@ ${groupTranscript}` : ""
2969
2969
  if (!employeeId) {
2970
2970
  warnings.push("\u672A\u53D6\u5230 ESB \u89E6\u53D1\u4EBA id\uFF08employeeId\uFF09\uFF0C\u5DF2\u8DF3\u8FC7\u540E\u7EED ESB \u8C03\u7528");
2971
2971
  } else {
2972
- const { createEsbHost } = await import("./host-FWDOSRH5.js");
2972
+ const { createEsbHost } = await import("./host-VGPVP7YF.js");
2973
2973
  const { createEsbContinuationSigner } = await import("./continuation-NLECEJPX.js");
2974
- const { getEsbOperation } = await import("./registry-FRJ6H7BT.js");
2974
+ const { getEsbOperation } = await import("./registry-VT5Y2HLA.js");
2975
2975
  const esbEnv = { ctx, host: createEsbHost(ctx), continuation: createEsbContinuationSigner(ctx) };
2976
2976
  const prepareOp = getEsbOperation("esb.trigger.prepare");
2977
2977
  const applyOp = getEsbOperation("esb.trigger.apply");
@@ -3155,7 +3155,7 @@ var meetingDecisionNotifyGroup = {
3155
3155
  const warnings = [];
3156
3156
  const mtId = textOf3(args.mt_id).trim();
3157
3157
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
3158
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
3158
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
3159
3159
  const ctx = env.ctx;
3160
3160
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
3161
3161
  { mt_id: mtId, pageNo: 1, pageSize: 1 },
@@ -3219,7 +3219,7 @@ var meetingDecisionNotifyGroup = {
3219
3219
  charCount: formatted.text.length,
3220
3220
  text: formatted.text
3221
3221
  };
3222
- const { createImHost } = await import("./host-RHM3NPXV.js");
3222
+ const { createImHost } = await import("./host-3F5UM5GN.js");
3223
3223
  const imHost = createImHost(ctx);
3224
3224
  let displayText = formatted.text;
3225
3225
  let wireText = formatted.text;
@@ -3457,7 +3457,7 @@ var meetingPipelineRun = {
3457
3457
  const needsConfirm = level === "tasks" || level === "notify";
3458
3458
  const confirmed = args.confirm === true;
3459
3459
  const executedLevel = needsConfirm && !confirmed ? "document" : level;
3460
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
3460
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
3461
3461
  const ctx = env.ctx;
3462
3462
  let stepStart = Date.now();
3463
3463
  const reuseMinuteId = textOf4(args.minuteId).trim();
@@ -3526,7 +3526,7 @@ var meetingPipelineRun = {
3526
3526
  ]);
3527
3527
  }
3528
3528
  stepStart = Date.now();
3529
- const { createHrmHost } = await import("./host-EJZFROU3.js");
3529
+ const { createHrmHost } = await import("./host-A7J6GDUP.js");
3530
3530
  const { getHrmOperation } = await import("./registry-NYPYMZXG.js");
3531
3531
  const hrmEnv = { ctx, host: createHrmHost(ctx) };
3532
3532
  const queryOp = getHrmOperation("hrm.employee.query");
@@ -3829,7 +3829,7 @@ function formatTimeRange(start, end) {
3829
3829
  }
3830
3830
  async function loadAgendaFromTopics(env, mtId) {
3831
3831
  try {
3832
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
3832
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
3833
3833
  const operation = getMeetingOperation2("meeting.eb.topic.list");
3834
3834
  const result = await operation.handler({ mt_id: mtId, pageNo: 1, pageSize: 200 }, env);
3835
3835
  const rows = result.data?.rows ?? [];
@@ -3967,7 +3967,7 @@ async function supplementRowFromDetail(row, mtId, env) {
3967
3967
  const missing = DETAIL_FALLBACK_KEYS.filter((key) => isBlank(row[key]));
3968
3968
  if (missing.length === 0) return { row, filled: [] };
3969
3969
  try {
3970
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
3970
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
3971
3971
  const detailOperation = getMeetingOperation2("meeting.eb.meeting.detail");
3972
3972
  const result = await detailOperation.handler({ id: mtId }, env);
3973
3973
  const flat = result?.data?.data ?? result?.data ?? {};
@@ -4141,7 +4141,7 @@ var meetingInvitationRender = {
4141
4141
  };
4142
4142
  dataSource = "payload";
4143
4143
  } else {
4144
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
4144
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
4145
4145
  const listOperation = getMeetingOperation2("meeting.eb.meeting.list");
4146
4146
  try {
4147
4147
  const listed = await listOperation.handler({ mt_id: mtId, pageNo: 1, pageSize: 1 }, env);
@@ -4895,7 +4895,7 @@ var meetingSummaryGet = {
4895
4895
  const mtId = textOf5(args.mt_id).trim();
4896
4896
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
4897
4897
  const ctx = env.ctx;
4898
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
4898
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
4899
4899
  const warnings = [];
4900
4900
  const timings = {};
4901
4901
  const include = Array.isArray(args.include) && args.include.length > 0 ? args.include.filter((item) => ALL_SECTIONS.includes(item)) : ALL_SECTIONS;
@@ -5031,7 +5031,7 @@ var meetingSummaryGet = {
5031
5031
  warnings.push("\u8BE5\u4F1A\u8BAE\u6CA1\u6709\u5173\u8054\u7FA4\u804A\uFF08imchat_groupid \u4E3A\u7A7A\uFF09\uFF0Cchat \u6BB5\u4E3A null");
5032
5032
  } else {
5033
5033
  try {
5034
- const { createImHost } = await import("./host-RHM3NPXV.js");
5034
+ const { createImHost } = await import("./host-3F5UM5GN.js");
5035
5035
  const { createImContinuationSigner } = await import("./continuation-2CKSBLA6.js");
5036
5036
  const { getImOperation } = await import("./registry-OZSMDVPP.js");
5037
5037
  const imEnv = {
@@ -5157,7 +5157,7 @@ var meetingFormFields = {
5157
5157
  hint: "\u6CA1\u89E3\u6790\u5230\u8BE5\u8868\u7684 objId\uFF08\u53EF\u80FD\u5F53\u524D\u73AF\u5883\u6CA1\u6709\u8FD9\u5F20\u8868\uFF0C\u6216\u8D26\u53F7\u65E0\u6743\u9650\uFF09"
5158
5158
  }, { warnings: resolved.warnings });
5159
5159
  }
5160
- const { createEbuilderFormHost } = await import("./host-UFF33TWJ.js");
5160
+ const { createEbuilderFormHost } = await import("./host-YMBXWFWX.js");
5161
5161
  const { createEbuilderFormContinuationSigner } = await import("./continuation-RN6PZN2M.js");
5162
5162
  const { executeEbuilderFormOperation } = await import("./operations-5QL3AECO.js");
5163
5163
  const formEnv = {
@@ -5217,7 +5217,7 @@ var MT_STATUS_OVER = "8";
5217
5217
  var CANCELLED_MARK_DELAY_MS = 800;
5218
5218
  async function isCancelledMeeting(env, mtId) {
5219
5219
  try {
5220
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
5220
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
5221
5221
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
5222
5222
  // withCount:false —— 这里只要一行状态,不必额外请求 count(少一次往返,也便于测试替身)
5223
5223
  { mt_id: mtId, pageNo: 1, pageSize: 1, withCount: false },
@@ -5985,9 +5985,9 @@ async function runCrmSearchFlow(env, input) {
5985
5985
  if (!employeeId) {
5986
5986
  throw meetingValidationError("crm_employee_required", "\u53D6\u4E0D\u5230\u5F53\u524D\u767B\u5F55\u7528\u6237 id\uFF0C\u65E0\u6CD5\u89E6\u53D1 ESB \u5BA2\u6237\u67E5\u8BE2");
5987
5987
  }
5988
- const { createEsbHost } = await import("./host-FWDOSRH5.js");
5988
+ const { createEsbHost } = await import("./host-VGPVP7YF.js");
5989
5989
  const { createEsbContinuationSigner } = await import("./continuation-NLECEJPX.js");
5990
- const { getEsbOperation } = await import("./registry-FRJ6H7BT.js");
5990
+ const { getEsbOperation } = await import("./registry-VT5Y2HLA.js");
5991
5991
  const esbEnv = {
5992
5992
  ctx: env.ctx,
5993
5993
  host: createEsbHost(env.ctx),
@@ -6137,9 +6137,9 @@ function workflowEnv(env) {
6137
6137
  return env;
6138
6138
  }
6139
6139
  async function loadCreateForm(env, workflowId) {
6140
- const { createWorkflowHost } = await import("./host-7RXEDMAH.js");
6140
+ const { createWorkflowHost } = await import("./host-YAQAPYNP.js");
6141
6141
  const { createWorkflowContinuationSigner } = await import("./continuation-HZIZRZBX.js");
6142
- const { getWorkflowOperation } = await import("./registry-SG2PGVCF.js");
6142
+ const { getWorkflowOperation } = await import("./registry-YX4CSEMD.js");
6143
6143
  const wfEnv = {
6144
6144
  ...workflowEnv(env),
6145
6145
  host: createWorkflowHost(env.ctx),
@@ -6258,7 +6258,7 @@ async function resolveAddressRoom(env, input) {
6258
6258
  const text = String(input ?? "").trim();
6259
6259
  if (!text) return null;
6260
6260
  const ref = parseRoomRef(text);
6261
- const { loadRooms: loadRooms2 } = await import("./room-recommend-R3JVUUAC.js");
6261
+ const { loadRooms: loadRooms2 } = await import("./room-recommend-L3MWH4JW.js");
6262
6262
  let rooms = [];
6263
6263
  try {
6264
6264
  rooms = (await loadRooms2(env, {})).rooms;
@@ -6280,7 +6280,7 @@ async function resolveRoomValue(env, input) {
6280
6280
  const ref = parseRoomRef(text);
6281
6281
  if (ref.id) {
6282
6282
  try {
6283
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
6283
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
6284
6284
  const detail = await getMeetingOperation2("meeting.eb.room.detail").handler({ id: ref.id }, env);
6285
6285
  const main = detail?.data?.mainTable ?? detail?.data?.data?.mainTable ?? {};
6286
6286
  const name = String(main.room_name ?? "").trim() || ref.name || "";
@@ -6386,7 +6386,7 @@ async function shapeBrowserValues(env, values) {
6386
6386
  const nameOnly = rows.filter((row) => row.id === "" && row.name !== "");
6387
6387
  if (nameOnly.length > 0) {
6388
6388
  try {
6389
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
6389
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
6390
6390
  const search = getMeetingOperation2("meeting.eb.crm.search");
6391
6391
  for (const row of nameOnly) {
6392
6392
  const found = await search.handler({ keyword: row.name, limit: 5 }, env).catch(() => null);
@@ -6580,7 +6580,7 @@ async function resolveAutoCrmDetailRows(env, raw) {
6580
6580
  const missing = [];
6581
6581
  if (entries.length > 0) {
6582
6582
  try {
6583
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
6583
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
6584
6584
  const search = getMeetingOperation2("meeting.eb.crm.search");
6585
6585
  for (const entry of entries) {
6586
6586
  const keyword = (entry.name || entry.id).trim();
@@ -7005,7 +7005,7 @@ var ebMeetingCreateFlowPrepare = {
7005
7005
  let endText = String(args.end_datetime ?? "").trim();
7006
7006
  const rawMembers = String(args.hrm_members ?? "").split(/[,;,;\s]+/).map((item) => item.trim()).filter((item) => item !== "");
7007
7007
  const nameLike = rawMembers.filter((item) => !/^\d+$/.test(item));
7008
- const nameToId = nameLike.length > 0 ? await import("./schedule-NIJBTYDO.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
7008
+ const nameToId = nameLike.length > 0 ? await import("./schedule-UASAVDVD.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
7009
7009
  const memberIds = rawMembers.map((item) => nameToId.get(item) ?? item);
7010
7010
  const timeConfirmed = args.timeConfirmed === true;
7011
7011
  const callerWorkflowId = String(args.workflowId ?? "").trim();
@@ -7020,7 +7020,7 @@ var ebMeetingCreateFlowPrepare = {
7020
7020
  if (!beginHasTime || !timeConfirmed) {
7021
7021
  const day2 = /^\d{4}-\d{2}-\d{2}/.test(beginText) ? beginText.slice(0, 10) : String(args.dateFrom ?? "").trim().slice(0, 10) || tomorrowIso();
7022
7022
  const duration = Number(args.durationMinutes) > 0 ? Math.round(Number(args.durationMinutes)) : 60;
7023
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
7023
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
7024
7024
  const suggested = await getMeetingOperation2("meeting.eb.meeting.create.suggest").handler(
7025
7025
  {
7026
7026
  dateFrom: day2,
@@ -7112,7 +7112,7 @@ var ebMeetingCreateFlowPrepare = {
7112
7112
  const room = await resolveAddressRoom(env, addressId);
7113
7113
  if (!room) return { unresolved: true, input: addressId };
7114
7114
  if (!room.id || room.lookupFailed || room.status !== "0") return { room };
7115
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
7115
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
7116
7116
  const result = await getMeetingOperation2("meeting.eb.conflict.room").handler(
7117
7117
  { beginDatetime: beginText, endDatetime: endText, address: room.id },
7118
7118
  env
@@ -7120,7 +7120,7 @@ var ebMeetingCreateFlowPrepare = {
7120
7120
  return { room, ...result?.data ?? {} };
7121
7121
  })().catch(noteFailure("\u4F1A\u8BAE\u5BA4**\u5360\u7528**\u68C0\u6D4B")) : Promise.resolve(null);
7122
7122
  const conflictTask = enrich && beginText && endText && memberIds.length > 0 ? (async () => {
7123
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
7123
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
7124
7124
  return getMeetingOperation2("meeting.eb.conflict.member").handler(
7125
7125
  { beginDatetime: beginText, endDatetime: endText, hrmMembers: memberIds.join(",") },
7126
7126
  env
@@ -7695,7 +7695,7 @@ async function patchMeetingCrmMembers(env, meetingId, ids, count, settleMsList =
7695
7695
  });
7696
7696
  };
7697
7697
  const readBack = async () => {
7698
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
7698
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
7699
7699
  const detail = getMeetingOperation2("meeting.eb.meeting.detail");
7700
7700
  const read = await detail.handler({ id: String(meetingId).trim() }, env);
7701
7701
  return String(read?.data?.data?.crm_members ?? "").trim();
@@ -7722,7 +7722,7 @@ async function renderPreInvitation(payload, env) {
7722
7722
  const fields = payload?.invitationFields ?? {};
7723
7723
  const started = Date.now();
7724
7724
  try {
7725
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
7725
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
7726
7726
  const render = getMeetingOperation2("meeting.invitation.render");
7727
7727
  const rendered = await render.handler(
7728
7728
  {
@@ -7793,9 +7793,9 @@ var ebMeetingCreateFlowApply = {
7793
7793
  throw meetingValidationError("context_mismatch", "\u786E\u8BA4\u4E0A\u4E0B\u6587\u5DF2\u53D8\u5316\uFF08\u79DF\u6237\u6216\u767B\u5F55\u8D26\u53F7\u4E0D\u540C\uFF09\uFF0C\u8BF7\u91CD\u65B0\u6267\u884C prepare");
7794
7794
  }
7795
7795
  const payload = lease?.payload ?? {};
7796
- const { createWorkflowHost } = await import("./host-7RXEDMAH.js");
7796
+ const { createWorkflowHost } = await import("./host-YAQAPYNP.js");
7797
7797
  const { createWorkflowContinuationSigner } = await import("./continuation-HZIZRZBX.js");
7798
- const { getWorkflowOperation } = await import("./registry-SG2PGVCF.js");
7798
+ const { getWorkflowOperation } = await import("./registry-YX4CSEMD.js");
7799
7799
  const wfEnv = {
7800
7800
  ...workflowEnv(env),
7801
7801
  host: createWorkflowHost(env.ctx),
@@ -7877,7 +7877,7 @@ var ebMeetingCreateFlowApply = {
7877
7877
  let meetingId = "";
7878
7878
  const timings = { submitMs: Date.now() - submitStartedAt };
7879
7879
  if (waitSeconds > 0) {
7880
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
7880
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
7881
7881
  const list = getMeetingOperation2("meeting.eb.meeting.list");
7882
7882
  const deadline = Date.now() + Math.min(waitSeconds, 30) * 1e3;
7883
7883
  const pollStart = Date.now();
@@ -7922,7 +7922,7 @@ var ebMeetingCreateFlowApply = {
7922
7922
  if (meetingId) {
7923
7923
  const invitationStart = Date.now();
7924
7924
  try {
7925
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
7925
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
7926
7926
  const render = getMeetingOperation2("meeting.invitation.render");
7927
7927
  const rendered = await render.handler(
7928
7928
  {
@@ -8078,7 +8078,7 @@ var ebMeetingCreateFlowQuick = {
8078
8078
  `\u4F1A\u8BAE\u540D\u79F0/\u5185\u5BB9\u91CC\u63D0\u5230\u5BA2\u6237\u300C${crmMentioned}\u300D\uFF0C\u4F46\u6CA1\u4F20 crm_members \u2014\u2014 \u63D0\u4EA4\u540E\u300C\u53C2\u4F1A\u5BA2\u6237\u300D\u4F1A\u662F\u7A7A\u7684\u3002\u5148 meeting.eb.crm.search {"keyword":"${crmMentioned}"} \u62FF items[].customerId\uFF0C\u518D\u628A crm_members:[{"id":"<customerId>","name":"<\u5B8C\u6574\u5BA2\u6237\u540D>"}] \u4E00\u8D77\u4F20\uFF08\u5FC5\u987B\u5E26\u540D\u79F0\uFF0C\u53EA\u7ED9 id \u4F1A\u88AB\u9759\u9ED8\u5B58\u7A7A\uFF09\uFF1B\u786E\u5B9E\u4E0D\u9700\u8981\u586B\u53C2\u4F1A\u5BA2\u6237\u5C31\u4F20 crm_skip:true\u3002`
8079
8079
  );
8080
8080
  }
8081
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
8081
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
8082
8082
  const prepareStartedAt = Date.now();
8083
8083
  const { submit_mode: _submitMode, confirm: _confirm, ...prepareArgs } = args;
8084
8084
  const prepared = await getMeetingOperation2("meeting.eb.meeting.create.flow.prepare").handler(
@@ -8173,7 +8173,7 @@ var ebMeetingCreateSuggest = {
8173
8173
  const topN = Math.max(1, Math.min(5, Number(args.topN) || 3));
8174
8174
  const rawMembers = String(args.hrm_members ?? "").split(/[,;,;\s]+/).map((item) => item.trim()).filter((item) => item !== "");
8175
8175
  const nameLike = rawMembers.filter((item) => !/^\d+$/.test(item));
8176
- const nameToId = nameLike.length > 0 ? await import("./schedule-NIJBTYDO.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
8176
+ const nameToId = nameLike.length > 0 ? await import("./schedule-UASAVDVD.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
8177
8177
  const memberIds = rawMembers.map((item) => nameToId.get(item) ?? item);
8178
8178
  const unresolved = rawMembers.filter((item) => nameToId.get(item) === void 0 && !/^\d+$/.test(item));
8179
8179
  const selfId = await env.host.getSession().then((s) => String(s?.userId ?? "")).catch(() => "");
@@ -8345,7 +8345,7 @@ var ebAutoInvitationAfterWrite = async (context) => {
8345
8345
  const mtId = String(context.dataIds?.[0] ?? "").trim();
8346
8346
  if (!isCreate || !enabled || !mtId) return association;
8347
8347
  try {
8348
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-EP4VTHZS.js");
8348
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-QCLZEDAP.js");
8349
8349
  const render = getMeetingOperation2("meeting.invitation.render");
8350
8350
  const result = await render.handler({ mtId }, context.env);
8351
8351
  return { ...association ?? {}, invitation: result?.data ?? null };
@@ -2,7 +2,7 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
2
  const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  meetingStateDir
5
- } from "./chunk-Z32KWY6G.js";
5
+ } from "./chunk-YS5DPN4T.js";
6
6
 
7
7
  // src/shortcuts/meeting/operations/eb/cache.ts
8
8
  import { mkdir, readFile, writeFile } from "node:fs/promises";
@@ -4,7 +4,7 @@ import {
4
4
  cacheScopeSuffix,
5
5
  readCache,
6
6
  writeCache
7
- } from "./chunk-JSMFPO43.js";
7
+ } from "./chunk-P2DAISYW.js";
8
8
  import {
9
9
  EB_BASE,
10
10
  SCHEMA_DATETIME_MINUTE,
@@ -13,7 +13,7 @@ import {
13
13
  meetingSuccess,
14
14
  queryBody,
15
15
  schemaOf
16
- } from "./chunk-ELYDWBZJ.js";
16
+ } from "./chunk-CQHGNCK2.js";
17
17
 
18
18
  // src/shortcuts/meeting/operations/eb/room-recommend.ts
19
19
  var ROOMS_TTL_MS = 24 * 60 * 60 * 1e3;
@@ -121,7 +121,7 @@ async function loadFrequentRooms(env, options = {}) {
121
121
  const counts = /* @__PURE__ */ new Map();
122
122
  let requests = 0;
123
123
  try {
124
- const { getMeetingOperation } = await import("./registry-EP4VTHZS.js");
124
+ const { getMeetingOperation } = await import("./registry-QCLZEDAP.js");
125
125
  const listOp = getMeetingOperation("meeting.eb.meeting.list");
126
126
  for (let pageNo = 1; pageNo <= 5; pageNo += 1) {
127
127
  const page = await listOp.handler(
@@ -711,6 +711,7 @@ var E10AuthSession = class _E10AuthSession {
711
711
  // src/internal/e10/auth/messages.ts
712
712
  var E10_REAUTH_GUIDANCE = "\u8BF7\u7ED3\u5408\u5F53\u524D\u5BBF\u4E3B\u73AF\u5883\u9009\u62E9\u5408\u9002\u7684\u767B\u5F55\u65B9\u5F0F\uFF0C\u6062\u590D\u767B\u5F55\u540E\u91CD\u8BD5\u539F\u8BF7\u6C42\u3002";
713
713
  var E10_AUTH_REQUIRED_MESSAGE = `E10 \u767B\u5F55\u6001\u4E0D\u53EF\u7528\u3002${E10_REAUTH_GUIDANCE}`;
714
+ var E10_XIAOE_RECOVERY_FAILED_MESSAGE = "E10 \u767B\u5F55\u6001\u4E0D\u53EF\u7528\u3002\u5DF2\u5C1D\u8BD5\u5C0F e \u81EA\u52A8\u91CD\u65B0\u83B7\u53D6\u767B\u5F55\u4FE1\u606F\uFF0C\u4F46\u672A\u53D6\u5F97\u53EF\u7528\u767B\u5F55\u6001\u3002\u8BF7\u5728\u5C0F e \u4E2D\u6062\u590D\u767B\u5F55\u540E\u91CD\u8BD5\u3002";
714
715
  var E10_SESSION_EXPIRED_MESSAGE = `E10 \u767B\u5F55\u6001\u5DF2\u5931\u6548\uFF0C\u672C\u6B21\u64CD\u4F5C\u5DF2\u505C\u6B62\u3002${E10_REAUTH_GUIDANCE}`;
715
716
 
716
717
  // src/core/package-paths.ts
@@ -1628,6 +1629,7 @@ export {
1628
1629
  E10AuthSession,
1629
1630
  E10_REAUTH_GUIDANCE,
1630
1631
  E10_AUTH_REQUIRED_MESSAGE,
1632
+ E10_XIAOE_RECOVERY_FAILED_MESSAGE,
1631
1633
  E10_SESSION_EXPIRED_MESSAGE,
1632
1634
  isXiaoERuntimeAgent,
1633
1635
  XIAOE_AGENT_TYPE,
@@ -5,7 +5,7 @@ import {
5
5
  ebBusinessSuccess,
6
6
  meetingSuccess,
7
7
  meetingValidationError
8
- } from "./chunk-ELYDWBZJ.js";
8
+ } from "./chunk-CQHGNCK2.js";
9
9
 
10
10
  // src/shortcuts/meeting/operations/env.ts
11
11
  import { existsSync } from "node:fs";
@@ -405,18 +405,23 @@ function refMaxBytes(ctx) {
405
405
  function bytesOf(value) {
406
406
  return Buffer.byteLength(JSON.stringify(value ?? null, null, 2), "utf8");
407
407
  }
408
- function compactValue(value, arrayLimit, stringLimit, depth = 0) {
408
+ function isLinkField(key) {
409
+ if (!key) return false;
410
+ return /(?:^|[a-z0-9])(?:url|urls|uri|href|link|links)$/i.test(key);
411
+ }
412
+ function compactValue(value, arrayLimit, stringLimit, depth = 0, key) {
409
413
  if (depth > 6) return "<omitted: too deep>";
414
+ const limit = isLinkField(key) ? Number.MAX_SAFE_INTEGER : stringLimit;
410
415
  if (typeof value === "string") {
411
- return value.length > stringLimit ? `${value.slice(0, stringLimit)}\u2026(truncated ${value.length - stringLimit} chars)` : value;
416
+ return value.length > limit ? `${value.slice(0, limit)}\u2026(truncated ${value.length - limit} chars)` : value;
412
417
  }
413
418
  if (Array.isArray(value)) {
414
- return value.slice(0, arrayLimit).map((item) => compactValue(item, arrayLimit, stringLimit, depth + 1));
419
+ return value.slice(0, arrayLimit).map((item) => compactValue(item, arrayLimit, limit, depth + 1, key));
415
420
  }
416
421
  if (value && typeof value === "object") {
417
422
  const out = {};
418
- for (const [key, inner] of Object.entries(value)) {
419
- out[key] = compactValue(inner, arrayLimit, stringLimit, depth + 1);
423
+ for (const [name, inner] of Object.entries(value)) {
424
+ out[name] = compactValue(inner, arrayLimit, stringLimit, depth + 1, name);
420
425
  }
421
426
  return out;
422
427
  }
@@ -4,12 +4,12 @@ import {
4
4
  createE10RequestRuntime,
5
5
  isE10SessionExpiredResponse,
6
6
  requireE10Session
7
- } from "./chunk-UZZBA6PV.js";
7
+ } from "./chunk-EZGFHJFW.js";
8
8
  import {
9
9
  E10_REAUTH_GUIDANCE,
10
10
  E10_SESSION_EXPIRED_MESSAGE,
11
11
  getActiveProfile
12
- } from "./chunk-OJQUJZQF.js";
12
+ } from "./chunk-XXJOSZTQ.js";
13
13
  import {
14
14
  CliError
15
15
  } from "./chunk-LUSPKZKY.js";
@@ -7,8 +7,8 @@ import {
7
7
  findCommonFreeSlots,
8
8
  meetingEbConflictOperations,
9
9
  runEbConflictCheck
10
- } from "./chunk-XJY7G4DD.js";
11
- import "./chunk-ELYDWBZJ.js";
10
+ } from "./chunk-EINRJHQ3.js";
11
+ import "./chunk-CQHGNCK2.js";
12
12
  import "./chunk-LUSPKZKY.js";
13
13
  import "./chunk-BUSC6UAE.js";
14
14
  export {
@@ -5,11 +5,11 @@ import {
5
5
  createE10RequestRuntime,
6
6
  isE10SessionExpiredResponse,
7
7
  requireE10Session
8
- } from "./chunk-UZZBA6PV.js";
8
+ } from "./chunk-EZGFHJFW.js";
9
9
  import {
10
10
  E10_SESSION_EXPIRED_MESSAGE,
11
11
  getActiveProfile
12
- } from "./chunk-OJQUJZQF.js";
12
+ } from "./chunk-XXJOSZTQ.js";
13
13
  import {
14
14
  CliError,
15
15
  isCliError,