weaver-work-cli 0.1.68 → 0.1.69

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 (146) hide show
  1. package/dist/chunks/{archive-SJTC5265.js → archive-VUTREF3P.js} +4 -4
  2. package/dist/chunks/{archive-oa-PN46RTI2.js → archive-oa-VXXO4RTB.js} +4 -4
  3. package/dist/chunks/{asset-XM3Y4FVU.js → asset-45U6TY7I.js} +32 -5
  4. package/dist/chunks/{asset-idle-DHGP3NYY.js → asset-idle-YCRBMTIT.js} +4 -4
  5. package/dist/chunks/{attachment-content-IXIBOET6.js → attachment-content-7BEDNQ3O.js} +3 -3
  6. package/dist/chunks/{blog-JC47AIXK.js → blog-5AML4WMG.js} +4 -4
  7. package/dist/chunks/{caizhilian-IKIHM77A.js → caizhilian-3P7BUNHT.js} +6 -6
  8. package/dist/chunks/{calendar-GZTSJ57Y.js → calendar-2HUXM3CZ.js} +4 -4
  9. package/dist/chunks/{chunk-QO6JYDIW.js → chunk-3CBURKSY.js} +4 -4
  10. package/dist/chunks/{chunk-Y7RGBRLG.js → chunk-3TZURS7M.js} +1 -1
  11. package/dist/chunks/{chunk-X7ZTM4XG.js → chunk-4XYRTXRR.js} +1 -1
  12. package/dist/chunks/{chunk-OKUJY5YB.js → chunk-67AN5YJT.js} +61 -18
  13. package/dist/chunks/{chunk-LXXR2RRE.js → chunk-6DH73Q5H.js} +50 -50
  14. package/dist/chunks/{chunk-3W5NMGDS.js → chunk-727VKJQK.js} +2 -2
  15. package/dist/chunks/{chunk-QHKY4WZA.js → chunk-BEYEXCWU.js} +2 -2
  16. package/dist/chunks/{chunk-26FCCU5O.js → chunk-DSBV4GRK.js} +3 -3
  17. package/dist/chunks/{chunk-HWA2A25Y.js → chunk-E7VWE2XI.js} +3 -3
  18. package/dist/chunks/{chunk-6OK4LW76.js → chunk-ELF5TPSG.js} +6 -6
  19. package/dist/chunks/{chunk-BJNSTCJK.js → chunk-ERAE4GHX.js} +1 -1
  20. package/dist/chunks/{chunk-YSEHTSHS.js → chunk-FMAZ42HS.js} +11 -11
  21. package/dist/chunks/{chunk-TJN4PIYO.js → chunk-GTAFCAVP.js} +2 -0
  22. package/dist/chunks/{chunk-WSHIOSGM.js → chunk-H2NRTGZR.js} +3 -3
  23. package/dist/chunks/{chunk-4WCVRDC5.js → chunk-HG6INLH6.js} +13 -0
  24. package/dist/chunks/{chunk-FDBAFANU.js → chunk-I5XB4MZT.js} +227 -23
  25. package/dist/chunks/{chunk-C5IIIT4D.js → chunk-JAIZY37Z.js} +4 -4
  26. package/dist/chunks/{chunk-FJUOUSV3.js → chunk-LRKKKO5A.js} +36 -9
  27. package/dist/chunks/{chunk-HLT6B26P.js → chunk-LSVA7QA6.js} +1 -1
  28. package/dist/chunks/{chunk-6N4JPNFL.js → chunk-MD5CW4B6.js} +1 -1
  29. package/dist/chunks/{chunk-O7KPHPXQ.js → chunk-MLJK4KLE.js} +34 -34
  30. package/dist/chunks/{chunk-Q6D6PSMH.js → chunk-QYDSTYGG.js} +3 -3
  31. package/dist/chunks/{chunk-AFZTMYGC.js → chunk-T24EBWAZ.js} +1 -1
  32. package/dist/chunks/{chunk-6T5X6YWX.js → chunk-U3OO3IZF.js} +3 -3
  33. package/dist/chunks/{chunk-VLY5RTVO.js → chunk-UVWW5ABZ.js} +3 -3
  34. package/dist/chunks/{chunk-NP3ZZFGI.js → chunk-VZUH3LKI.js} +16 -5
  35. package/dist/chunks/{chunk-3NJQTG6X.js → chunk-YR3K53BU.js} +2 -2
  36. package/dist/chunks/{conflict-CEXRX2KP.js → conflict-VKCRXHUV.js} +2 -2
  37. package/dist/chunks/{contract-PM3EUPZC.js → contract-3PMHUASH.js} +164 -5
  38. package/dist/chunks/{cowork-34CBYVQP.js → cowork-FZBTTBYX.js} +4 -4
  39. package/dist/chunks/{create-flow-DG6D7U2L.js → create-flow-WYPLBLRK.js} +6 -6
  40. package/dist/chunks/{data-3G4GQS5P.js → data-2YZ6A6TL.js} +19 -4
  41. package/dist/chunks/{ebuilder-form-5ENYH7IF.js → ebuilder-form-AWPTMZBZ.js} +5 -5
  42. package/dist/chunks/{ehr-2CONM7R6.js → ehr-MNPR4TE5.js} +4 -4
  43. package/dist/chunks/{entry-mode-KMP66KHE.js → entry-mode-BCJ7RPFC.js} +3 -3
  44. package/dist/chunks/{env-SW6CTETI.js → env-SCVCHBN2.js} +2 -2
  45. package/dist/chunks/{esb-FQASCY2H.js → esb-GSB5QCEX.js} +6 -6
  46. package/dist/chunks/{factory-ETQAICPA.js → factory-CBXYOEBF.js} +1 -1
  47. package/dist/chunks/{fna-FCLVIWAS.js → fna-XBSNUS2V.js} +4 -4
  48. package/dist/chunks/{group-chat-GTYMCBYS.js → group-chat-RFL4U7RF.js} +3 -3
  49. package/dist/chunks/{host-P7G22WNM.js → host-2UMNXX5H.js} +4 -4
  50. package/dist/chunks/{host-XLCBLNJD.js → host-BD44ASOD.js} +4 -4
  51. package/dist/chunks/{host-2ED2KC4X.js → host-NVDG3NC6.js} +4 -4
  52. package/dist/chunks/{host-46NYKDQP.js → host-R7BP3CTI.js} +4 -4
  53. package/dist/chunks/{host-7IPZKIM4.js → host-SYPCA63D.js} +4 -4
  54. package/dist/chunks/{host-2UYZEY2V.js → host-XVWBOSEN.js} +4 -4
  55. package/dist/chunks/{hrm-5WSMSKPX.js → hrm-FZUDJAND.js} +17 -11
  56. package/dist/chunks/{im-P7GNBRG6.js → im-F5NENPD7.js} +4 -4
  57. package/dist/chunks/{invoice-2QCVNXBG.js → invoice-DS6FLU55.js} +42 -6
  58. package/dist/chunks/{jiuchuanhui-FHGFYAHU.js → jiuchuanhui-PY2WEBUH.js} +157 -9
  59. package/dist/chunks/{lazy-dispatch-K25LTKQY.js → lazy-dispatch-F6O2EPGR.js} +7 -7
  60. package/dist/chunks/{mail-P7VMUKQW.js → mail-ZEOSANEJ.js} +4 -4
  61. package/dist/chunks/{meeting-3PTTPUSG.js → meeting-N2AGGLVI.js} +15 -15
  62. package/dist/chunks/{minute-doc-3IMRJDJV.js → minute-doc-C62EZOJH.js} +4 -4
  63. package/dist/chunks/{okr-OIWJRYWY.js → okr-OZUMTMCL.js} +4 -4
  64. package/dist/chunks/{operations-MI2BSKZX.js → operations-UTUWFJTX.js} +5 -5
  65. package/dist/chunks/{performance-OPEQNW7Y.js → performance-GBKM5G2Y.js} +3 -3
  66. package/dist/chunks/{plan-TJAS4N5X.js → plan-C2NENH42.js} +4 -4
  67. package/dist/chunks/{project-CYBGU6K6.js → project-FAJ2P3UR.js} +4 -4
  68. package/dist/chunks/{reception-2VSWJQ5N.js → reception-NH6MJFPR.js} +16 -8
  69. package/dist/chunks/{recruit-stage-KHJYQE3I.js → recruit-stage-DPEFHLSE.js} +3 -3
  70. package/dist/chunks/{registry-PHPYTXS4.js → registry-7US3QQXV.js} +12 -12
  71. package/dist/chunks/{registry-QRMXRSCT.js → registry-FTPUUHWC.js} +5 -5
  72. package/dist/chunks/{registry-FXBOGH2X.js → registry-Y2HWS6JS.js} +4 -4
  73. package/dist/chunks/{room-recommend-BKCPAXQG.js → room-recommend-LMNF76YS.js} +4 -4
  74. package/dist/chunks/{schedule-Q3MPSZV6.js → schedule-4QE2THAP.js} +4 -4
  75. package/dist/chunks/{smart-extract-TYYKC244.js → smart-extract-GTYKF5TJ.js} +4 -4
  76. package/dist/chunks/{workflow-GEDHALMY.js → workflow-KXYTQZ2H.js} +81 -12
  77. package/dist/core/error-codes.js +1 -1
  78. package/dist/core/host-policy.js +56 -0
  79. package/dist/core/timing.js +227 -0
  80. package/dist/index.js +39 -36
  81. package/dist/internal/e10/auth/commands.js +11 -0
  82. package/dist/internal/e10/auth/error-log.js +13 -0
  83. package/dist/internal/e10/auth/messages.js +10 -0
  84. package/dist/internal/e10/auth/xiaoe.js +12 -2
  85. package/dist/internal/e10/context.js +39 -12
  86. package/dist/internal/e10/network-error.js +28 -0
  87. package/dist/internal/e10/tls-policy.js +260 -0
  88. package/dist/shortcuts/asset/manifest.js +34 -1
  89. package/dist/shortcuts/contract/manifest.js +166 -1
  90. package/dist/shortcuts/data/manifest.js +32 -1
  91. package/dist/shortcuts/hrm/index.js +20 -7
  92. package/dist/shortcuts/invoice/manifest.js +43 -1
  93. package/dist/shortcuts/jiuchuanhui/host.js +76 -4
  94. package/dist/shortcuts/jiuchuanhui/manifest.js +102 -1
  95. package/dist/shortcuts/reception/host.js +19 -5
  96. package/dist/shortcuts/workflow/index.js +55 -5
  97. package/dist/shortcuts/workflow/operations/read.js +12 -2
  98. package/dist/shortcuts/workflow/operations/types.js +7 -1
  99. package/dist/shortcuts/workflow/operations/write.js +20 -2
  100. package/dist/shortcuts/workflow/operations.js +19 -1
  101. package/docs/e10-auth.md +48 -1
  102. package/package.json +1 -1
  103. package/scripts/xiaoe_env.py +18 -3
  104. package/skills/weaver-e10-asset-idle/SKILL.md +1 -1
  105. package/skills/weaver-e10-blog/SKILL.md +2 -2
  106. package/skills/weaver-e10-calendar/SKILL.md +1 -1
  107. package/skills/weaver-e10-data/SKILL.md +1 -1
  108. package/skills/weaver-e10-esb/SKILL.md +1 -1
  109. package/skills/weaver-e10-esb/references/source-manifest.json +3 -3
  110. package/skills/weaver-e10-hrm/SKILL.md +1 -1
  111. package/skills/weaver-e10-jiuchuanhui/references/customer.md +1 -0
  112. package/skills/weaver-e10-jucailin/SKILL.md +84 -17
  113. package/skills/weaver-e10-jucailin/agents/openai.yaml +2 -1
  114. package/skills/weaver-e10-jucailin/references/recruit-create.md +7 -8
  115. package/skills/weaver-e10-jucailin/references/recruit-implement-INDEX.md +41 -0
  116. package/skills/weaver-e10-jucailin/references/recruit-implement-consult-sop.md +77 -0
  117. package/skills/weaver-e10-jucailin/references/recruit-implement-guardrails.md +41 -0
  118. package/skills/weaver-e10-jucailin/references/recruit-implement-kb-data-update-channels.md +31 -0
  119. package/skills/weaver-e10-jucailin/references/recruit-implement-kb-form-external.md +43 -0
  120. package/skills/weaver-e10-jucailin/references/recruit-implement-kb-talent-base-form.md +32 -0
  121. package/skills/weaver-e10-jucailin/references/recruit-implement-pattern-external-collect-update-talent.md +93 -0
  122. package/skills/weaver-e10-jucailin/references/recruit-implement-pattern-external-share-edit.md +64 -0
  123. package/skills/weaver-e10-jucailin/references/recruit-read.md +1 -1
  124. package/skills/weaver-e10-jucailin/references/recruit-stage-ops.md +1 -1
  125. package/skills/weaver-e10-jucailin/references/recruit-write.md +4 -11
  126. package/skills/weaver-e10-jucailin/references/safety-boundaries.md +3 -3
  127. package/skills/weaver-e10-mail/SKILL.md +52 -10
  128. package/skills/weaver-e10-mail/references/mail-agent-entry.md +1 -2
  129. package/skills/weaver-e10-meeting/SKILL.md +1 -1
  130. package/skills/weaver-e10-meeting/references/meeting-verification.md +1 -1
  131. package/skills/weaver-e10-okr/SKILL.md +1 -1
  132. package/skills/weaver-e10-okr/references/source-manifest.json +3 -3
  133. package/skills/weaver-e10-plan/SKILL.md +2 -2
  134. package/skills/weaver-e10-plan/references/source-manifest.json +3 -3
  135. package/skills/weaver-e10-qiyecheng/SKILL.md +2 -2
  136. package/skills/weaver-e10-qiyecheng/references/source-manifest.json +3 -3
  137. package/skills/weaver-e10-reception-flow/SKILL.md +53 -16
  138. package/skills/weaver-e10-shared/SKILL.md +4 -9
  139. package/skills/weaver-e10-shared/references/e10-auth-and-session.md +2 -2
  140. package/skills/weaver-e10-shijingran/SKILL.md +14 -6
  141. package/skills/weaver-e10-shijingran/references/source-manifest.json +5 -4
  142. package/skills/weaver-e10-workflow/SKILL.md +1 -1
  143. package/skills/weaver-e10-workflow/references/source-manifest.json +3 -3
  144. package/skills/weaver-e10-workflow/references/workflow-agent-entry.md +1 -2
  145. package/skills/weaver-e10-ziguanjia/SKILL.md +1 -1
  146. package/skills/weaver-e10-ziguanjia/references/ziguanjia-agent-entry.md +1 -2
@@ -10,44 +10,44 @@ import {
10
10
  resolvePersonTokens,
11
11
  resolveSelfPerson,
12
12
  resolveWorkflowId
13
- } from "./chunk-O7KPHPXQ.js";
13
+ } from "./chunk-MLJK4KLE.js";
14
14
  import {
15
15
  ebMeetingWritePreflight,
16
16
  meetingEbConflictOperations
17
- } from "./chunk-6OK4LW76.js";
17
+ } from "./chunk-ELF5TPSG.js";
18
18
  import {
19
19
  listMeetingAttachments,
20
20
  meetingAttachmentContentOperations
21
- } from "./chunk-3NJQTG6X.js";
21
+ } from "./chunk-YR3K53BU.js";
22
22
  import {
23
23
  PENDING_MARK,
24
24
  renderDocx
25
25
  } from "./chunk-WMRNO6IU.js";
26
26
  import {
27
27
  meetingEbGroupChatOperations
28
- } from "./chunk-YSEHTSHS.js";
28
+ } from "./chunk-FMAZ42HS.js";
29
29
  import {
30
30
  meetingEntryOperations
31
- } from "./chunk-QHKY4WZA.js";
31
+ } from "./chunk-BEYEXCWU.js";
32
32
  import {
33
33
  meetingEbScheduleOperations
34
- } from "./chunk-QO6JYDIW.js";
34
+ } from "./chunk-3CBURKSY.js";
35
35
  import {
36
36
  ebRoomRecommendOperation,
37
37
  inferRoomFloor,
38
38
  recommendRooms,
39
39
  rememberFrequentRoom
40
- } from "./chunk-C5IIIT4D.js";
40
+ } from "./chunk-JAIZY37Z.js";
41
41
  import {
42
42
  cacheScopeSuffix,
43
43
  readCache,
44
44
  writeCache
45
- } from "./chunk-BJNSTCJK.js";
45
+ } from "./chunk-ERAE4GHX.js";
46
46
  import {
47
47
  meetingEnvOperations,
48
48
  meetingStateDir,
49
49
  resolveMeetingEnvMode
50
- } from "./chunk-X7ZTM4XG.js";
50
+ } from "./chunk-4XYRTXRR.js";
51
51
  import {
52
52
  EB_BASE,
53
53
  EB_ENDPOINTS,
@@ -79,14 +79,14 @@ import {
79
79
  toIdString,
80
80
  verifyLease,
81
81
  writeBody
82
- } from "./chunk-Y7RGBRLG.js";
82
+ } from "./chunk-3TZURS7M.js";
83
83
  import {
84
84
  CONTINUATION_TTL_SECONDS
85
85
  } from "./chunk-7BDPM5ST.js";
86
86
  import {
87
87
  hasXiaoEEnv,
88
88
  packagePath
89
- } from "./chunk-FDBAFANU.js";
89
+ } from "./chunk-I5XB4MZT.js";
90
90
 
91
91
  // src/shortcuts/meeting/operations/meetings.ts
92
92
  function overlapsDate(beginDatetime, endDatetime, date) {
@@ -2250,7 +2250,7 @@ var meetingAttachmentAttach = {
2250
2250
  if (mode === "append" && existingIds.length === 0) {
2251
2251
  existingIds.push(...beforeIds);
2252
2252
  }
2253
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
2253
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
2254
2254
  const list = getMeetingOperation2("meeting.eb.meeting.list");
2255
2255
  let fileId = incomingFileId;
2256
2256
  let name = String(args.name ?? "").trim();
@@ -2338,7 +2338,7 @@ function textOf(value) {
2338
2338
  return value === void 0 || value === null ? "" : String(value);
2339
2339
  }
2340
2340
  async function readMinute(env, id) {
2341
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
2341
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
2342
2342
  const detail = getMeetingOperation2("meeting.eb.minute.detail");
2343
2343
  const result = await detail.handler({ id }, env);
2344
2344
  const row = result?.data?.data;
@@ -2421,7 +2421,7 @@ var meetingMinuteWriteContent = {
2421
2421
  } else {
2422
2422
  statusReason = "\u4EC5\u6E05\u7A7A\u5185\u5BB9\uFF0C\u672A\u6539\u72B6\u6001";
2423
2423
  }
2424
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
2424
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
2425
2425
  const prepare = getMeetingOperation2("meeting.eb.minute.update.prepare");
2426
2426
  const apply = getMeetingOperation2("meeting.eb.minute.update.apply");
2427
2427
  const prepared = await prepare.handler({ id, mt_id: mtId, ...patch }, env);
@@ -2437,8 +2437,8 @@ var meetingMinuteWriteContent = {
2437
2437
  let minuteDoc = null;
2438
2438
  if (args.with_doc !== false) {
2439
2439
  try {
2440
- const { buildMinuteDocx } = await import("./minute-doc-3IMRJDJV.js");
2441
- const { meetingStateDir: meetingStateDir2 } = await import("./env-SW6CTETI.js");
2440
+ const { buildMinuteDocx } = await import("./minute-doc-C62EZOJH.js");
2441
+ const { meetingStateDir: meetingStateDir2 } = await import("./env-SCVCHBN2.js");
2442
2442
  const { mkdir: mkdir4, writeFile: writeFile4 } = await import("node:fs/promises");
2443
2443
  const { join: join3 } = await import("node:path");
2444
2444
  const subject = textOf(after.mt_minutes_subject).trim() || `\u4F1A\u8BAE\u7EAA\u8981-${mtId}`;
@@ -2475,7 +2475,7 @@ var meetingMinuteWriteContent = {
2475
2475
  }
2476
2476
  if (args.with_doc !== false) {
2477
2477
  try {
2478
- const { ensureMinuteDoc } = await import("./minute-doc-3IMRJDJV.js");
2478
+ const { ensureMinuteDoc } = await import("./minute-doc-C62EZOJH.js");
2479
2479
  const better = await ensureMinuteDoc(env, {
2480
2480
  id,
2481
2481
  mtId,
@@ -2846,7 +2846,7 @@ var meetingMinuteFromGroupChat = {
2846
2846
  const mtId = textOf2(args.mt_id).trim();
2847
2847
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
2848
2848
  const pipeline = ["text", "minutes", "document"].includes(args.pipeline) ? args.pipeline : "text";
2849
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
2849
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
2850
2850
  const ctx = env.ctx;
2851
2851
  let stepStart = Date.now();
2852
2852
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
@@ -2870,7 +2870,7 @@ var meetingMinuteFromGroupChat = {
2870
2870
  }
2871
2871
  mark("readMeeting", stepStart);
2872
2872
  const pullStart = Date.now();
2873
- const { createImHost } = await import("./host-XLCBLNJD.js");
2873
+ const { createImHost } = await import("./host-BD44ASOD.js");
2874
2874
  const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
2875
2875
  const { getImOperation } = await import("./registry-AC33ZZVH.js");
2876
2876
  const imEnv = { ctx, host: createImHost(ctx), continuation: createImContinuationSigner(ctx) };
@@ -2940,7 +2940,7 @@ var meetingMinuteFromGroupChat = {
2940
2940
  try {
2941
2941
  const { readFile: readFile4 } = await import("node:fs/promises");
2942
2942
  const buffer = await readFile4(file);
2943
- const { extractText } = await import("./attachment-content-IXIBOET6.js");
2943
+ const { extractText } = await import("./attachment-content-7BEDNQ3O.js");
2944
2944
  const extracted = extractText(buffer, file, "");
2945
2945
  if (extracted.text.trim()) {
2946
2946
  extraSections.push(`\u3010\u6750\u6599\uFF1A${file.split(/[\\/]/).pop() ?? file}\u3011
@@ -3069,9 +3069,9 @@ ${groupTranscript}` : ""
3069
3069
  if (!employeeId) {
3070
3070
  warnings.push("\u672A\u53D6\u5230 ESB \u89E6\u53D1\u4EBA id\uFF08employeeId\uFF09\uFF0C\u5DF2\u8DF3\u8FC7\u540E\u7EED ESB \u8C03\u7528");
3071
3071
  } else {
3072
- const { createEsbHost } = await import("./host-P7G22WNM.js");
3072
+ const { createEsbHost } = await import("./host-2UMNXX5H.js");
3073
3073
  const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
3074
- const { getEsbOperation } = await import("./registry-QRMXRSCT.js");
3074
+ const { getEsbOperation } = await import("./registry-FTPUUHWC.js");
3075
3075
  const esbEnv = { ctx, host: createEsbHost(ctx), continuation: createEsbContinuationSigner(ctx) };
3076
3076
  const prepareOp = getEsbOperation("esb.trigger.prepare");
3077
3077
  const applyOp = getEsbOperation("esb.trigger.apply");
@@ -3115,8 +3115,8 @@ ${groupTranscript}` : ""
3115
3115
  if (args.with_doc !== false) {
3116
3116
  const docStarted = Date.now();
3117
3117
  try {
3118
- const { buildMinuteDocx } = await import("./minute-doc-3IMRJDJV.js");
3119
- const { meetingStateDir: meetingStateDir2 } = await import("./env-SW6CTETI.js");
3118
+ const { buildMinuteDocx } = await import("./minute-doc-C62EZOJH.js");
3119
+ const { meetingStateDir: meetingStateDir2 } = await import("./env-SCVCHBN2.js");
3120
3120
  const { mkdir: mkdir4, writeFile: writeFile4 } = await import("node:fs/promises");
3121
3121
  const { join: join3 } = await import("node:path");
3122
3122
  const body = textOf2(row.parse_content) || textOf2(row.minutes_content) || transcript;
@@ -3303,7 +3303,7 @@ var meetingDecisionNotifyGroup = {
3303
3303
  const warnings = [];
3304
3304
  const mtId = textOf3(args.mt_id).trim();
3305
3305
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
3306
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
3306
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
3307
3307
  const ctx = env.ctx;
3308
3308
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
3309
3309
  { mt_id: mtId, pageNo: 1, pageSize: 1 },
@@ -3367,7 +3367,7 @@ var meetingDecisionNotifyGroup = {
3367
3367
  charCount: formatted.text.length,
3368
3368
  text: formatted.text
3369
3369
  };
3370
- const { createImHost } = await import("./host-XLCBLNJD.js");
3370
+ const { createImHost } = await import("./host-BD44ASOD.js");
3371
3371
  const imHost = createImHost(ctx);
3372
3372
  let displayText = formatted.text;
3373
3373
  let wireText = formatted.text;
@@ -3605,7 +3605,7 @@ var meetingPipelineRun = {
3605
3605
  const needsConfirm = level === "tasks" || level === "notify";
3606
3606
  const confirmed = args.confirm === true;
3607
3607
  const executedLevel = needsConfirm && !confirmed ? "document" : level;
3608
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
3608
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
3609
3609
  const ctx = env.ctx;
3610
3610
  let stepStart = Date.now();
3611
3611
  const reuseMinuteId = textOf4(args.minuteId).trim();
@@ -3674,7 +3674,7 @@ var meetingPipelineRun = {
3674
3674
  ]);
3675
3675
  }
3676
3676
  stepStart = Date.now();
3677
- const { createHrmHost } = await import("./host-2UYZEY2V.js");
3677
+ const { createHrmHost } = await import("./host-XVWBOSEN.js");
3678
3678
  const { getHrmOperation } = await import("./registry-4S3RXXWS.js");
3679
3679
  const hrmEnv = { ctx, host: createHrmHost(ctx) };
3680
3680
  const queryOp = getHrmOperation("hrm.employee.query");
@@ -3977,7 +3977,7 @@ function formatTimeRange(start, end) {
3977
3977
  }
3978
3978
  async function loadAgendaFromTopics(env, mtId) {
3979
3979
  try {
3980
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
3980
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
3981
3981
  const operation = getMeetingOperation2("meeting.eb.topic.list");
3982
3982
  const result = await operation.handler({ mt_id: mtId, pageNo: 1, pageSize: 200 }, env);
3983
3983
  const rows = result.data?.rows ?? [];
@@ -4128,7 +4128,7 @@ async function supplementRowFromDetail(row, mtId, env) {
4128
4128
  const missing = DETAIL_FALLBACK_KEYS.filter((key) => isBlank(row[key]));
4129
4129
  if (missing.length === 0) return { row, filled: [] };
4130
4130
  try {
4131
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
4131
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
4132
4132
  const detailOperation = getMeetingOperation2("meeting.eb.meeting.detail");
4133
4133
  const result = await detailOperation.handler({ id: mtId }, env);
4134
4134
  const flat = result?.data?.data ?? result?.data ?? {};
@@ -4302,7 +4302,7 @@ var meetingInvitationRender = {
4302
4302
  };
4303
4303
  dataSource = "payload";
4304
4304
  } else {
4305
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
4305
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
4306
4306
  const listOperation = getMeetingOperation2("meeting.eb.meeting.list");
4307
4307
  try {
4308
4308
  const listed = await listOperation.handler({ mt_id: mtId, pageNo: 1, pageSize: 1 }, env);
@@ -4647,7 +4647,7 @@ var meetingInvitationPublish = {
4647
4647
  "\u4F1A\u771F\u5B9E\u521B\u5EFA\u6587\u6863\uFF0C\u5FC5\u987B\u663E\u5F0F\u4F20 confirm: true\uFF08\u53EF\u5148\u4E0D\u5E26 confirm \u8C03 meeting.invitation.render \u9884\u89C8\u6B63\u6587\uFF09"
4648
4648
  );
4649
4649
  }
4650
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
4650
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
4651
4651
  const render = getMeetingOperation2("meeting.invitation.render");
4652
4652
  const rendered = await render.handler(
4653
4653
  {
@@ -4679,8 +4679,8 @@ var meetingInvitationPublish = {
4679
4679
  folder_type: String(args.folder_type ?? DEFAULT_FOLDER_TYPE),
4680
4680
  author_id: authorId
4681
4681
  };
4682
- const { executeCaizhilianOperation } = await import("./operations-MI2BSKZX.js");
4683
- const { createCaizhilianHost } = await import("./host-46NYKDQP.js");
4682
+ const { executeCaizhilianOperation } = await import("./operations-UTUWFJTX.js");
4683
+ const { createCaizhilianHost } = await import("./host-R7BP3CTI.js");
4684
4684
  const { createCaizhilianContinuationSigner } = await import("./continuation-GW6PRWK3.js");
4685
4685
  const caizhilianEnv = {
4686
4686
  ctx: env.ctx,
@@ -5362,7 +5362,7 @@ var meetingSummaryGet = {
5362
5362
  const mtId = textOf5(args.mt_id).trim();
5363
5363
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
5364
5364
  const ctx = env.ctx;
5365
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
5365
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
5366
5366
  const warnings = [];
5367
5367
  const timings = {};
5368
5368
  const include = Array.isArray(args.include) && args.include.length > 0 ? args.include.filter((item) => ALL_SECTIONS.includes(item)) : ALL_SECTIONS;
@@ -5498,7 +5498,7 @@ var meetingSummaryGet = {
5498
5498
  warnings.push("\u8BE5\u4F1A\u8BAE\u6CA1\u6709\u5173\u8054\u7FA4\u804A\uFF08imchat_groupid \u4E3A\u7A7A\uFF09\uFF0Cchat \u6BB5\u4E3A null");
5499
5499
  } else {
5500
5500
  try {
5501
- const { createImHost } = await import("./host-XLCBLNJD.js");
5501
+ const { createImHost } = await import("./host-BD44ASOD.js");
5502
5502
  const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
5503
5503
  const { getImOperation } = await import("./registry-AC33ZZVH.js");
5504
5504
  const imEnv = {
@@ -5624,7 +5624,7 @@ var meetingFormFields = {
5624
5624
  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"
5625
5625
  }, { warnings: resolved.warnings });
5626
5626
  }
5627
- const { createEbuilderFormHost } = await import("./host-7IPZKIM4.js");
5627
+ const { createEbuilderFormHost } = await import("./host-SYPCA63D.js");
5628
5628
  const { createEbuilderFormContinuationSigner } = await import("./continuation-3XLYYTKV.js");
5629
5629
  const { executeEbuilderFormOperation } = await import("./operations-LQY3FTPH.js");
5630
5630
  const formEnv = {
@@ -5683,7 +5683,7 @@ var MT_STATUS_OVER = "8";
5683
5683
  var CANCELLED_MARK_DELAY_MS = 800;
5684
5684
  async function isCancelledMeeting(env, mtId) {
5685
5685
  try {
5686
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
5686
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
5687
5687
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
5688
5688
  // withCount:false —— 这里只要一行状态,不必额外请求 count(少一次往返,也便于测试替身)
5689
5689
  { mt_id: mtId, pageNo: 1, pageSize: 1, withCount: false },
@@ -5728,7 +5728,7 @@ async function resolveDecisionPeople(env, input, ownerId) {
5728
5728
  }
5729
5729
  let nameToId = /* @__PURE__ */ new Map();
5730
5730
  if (nameTokens.size > 0) {
5731
- const { resolveMemberIdsByName } = await import("./schedule-Q3MPSZV6.js");
5731
+ const { resolveMemberIdsByName } = await import("./schedule-4QE2THAP.js");
5732
5732
  nameToId = await resolveMemberIdsByName(env, [...nameTokens]).catch(() => /* @__PURE__ */ new Map());
5733
5733
  }
5734
5734
  const unresolved = [];
@@ -6603,9 +6603,9 @@ async function runCrmSearchFlow(env, input) {
6603
6603
  if (!employeeId) {
6604
6604
  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");
6605
6605
  }
6606
- const { createEsbHost } = await import("./host-P7G22WNM.js");
6606
+ const { createEsbHost } = await import("./host-2UMNXX5H.js");
6607
6607
  const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
6608
- const { getEsbOperation } = await import("./registry-QRMXRSCT.js");
6608
+ const { getEsbOperation } = await import("./registry-FTPUUHWC.js");
6609
6609
  const esbEnv = {
6610
6610
  ctx: env.ctx,
6611
6611
  host: createEsbHost(env.ctx),
@@ -6772,7 +6772,7 @@ var deleteMany = {
6772
6772
  if (args.confirm !== true) {
6773
6773
  throw meetingValidationError("confirmation_required", "\u6279\u91CF\u5220\u9664\u4E0D\u53EF\u6062\u590D\uFF0C\u5FC5\u987B\u4F20 confirm=true");
6774
6774
  }
6775
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
6775
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
6776
6776
  const listOp = getMeetingOperation2("meeting.eb.decisionTask.list");
6777
6777
  const prepareOp = getMeetingOperation2("meeting.eb.decisionTask.delete.prepare");
6778
6778
  const applyOp = getMeetingOperation2("meeting.eb.decisionTask.delete.apply");
@@ -6907,7 +6907,7 @@ var reassign = {
6907
6907
  },
6908
6908
  handler: async (args, env) => {
6909
6909
  if (args.confirm === false) throw meetingValidationError("confirmation_required", "confirm=false\uFF0C\u672A\u6267\u884C");
6910
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
6910
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
6911
6911
  const mtId = String(args.mt_id ?? "").trim();
6912
6912
  const target = await resolveEmployeeId(env, String(args.to_executor ?? ""));
6913
6913
  const from = String(args.from_executor ?? "").trim();
@@ -7206,7 +7206,7 @@ var formLink = {
7206
7206
  pushValue("crm_members", "##" + first.id);
7207
7207
  } else {
7208
7208
  try {
7209
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
7209
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
7210
7210
  const search = getMeetingOperation2("meeting.eb.crm.search");
7211
7211
  const found = await search.handler({ keyword: first.name, pageSize: 10 }, env);
7212
7212
  const rows = found?.data?.items ?? [];
@@ -7361,7 +7361,7 @@ var ebAutoInvitationAfterWrite = async (context) => {
7361
7361
  const mtId = String(context.dataIds?.[0] ?? "").trim();
7362
7362
  if (!isCreate || !enabled || !mtId) return association;
7363
7363
  try {
7364
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
7364
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
7365
7365
  const render = getMeetingOperation2("meeting.invitation.render");
7366
7366
  const result = await render.handler({ mtId }, context.env);
7367
7367
  return { ...association ?? {}, invitation: result?.data ?? null };
@@ -7397,7 +7397,7 @@ var ebOperationsWithLinks = ebBaseOperations.map((operation) => {
7397
7397
  const raw = String(args.member).trim();
7398
7398
  let uid = /^\d+$/.test(raw) ? raw : "";
7399
7399
  if (!uid) {
7400
- const { resolveMemberIdsByName } = await import("./schedule-Q3MPSZV6.js");
7400
+ const { resolveMemberIdsByName } = await import("./schedule-4QE2THAP.js");
7401
7401
  const map = await resolveMemberIdsByName(env, [raw]).catch(() => /* @__PURE__ */ new Map());
7402
7402
  uid = String(map.get(raw) ?? "");
7403
7403
  }
@@ -7436,7 +7436,7 @@ var ebOperationsWithMinuteDoc = ebOperationsWithLinks.map((operation) => {
7436
7436
  if (!String(nextArgs.mt_minutes_subject ?? "").trim() && nextArgs.mt_id) {
7437
7437
  let meetingName = "";
7438
7438
  try {
7439
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
7439
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
7440
7440
  const detailOp = getMeetingOperation2("meeting.eb.meeting.detail");
7441
7441
  const detail = await detailOp.handler({ id: String(nextArgs.mt_id) }, env);
7442
7442
  const row = detail?.data?.data ?? {};
@@ -7456,8 +7456,8 @@ var ebOperationsWithMinuteDoc = ebOperationsWithLinks.map((operation) => {
7456
7456
  handler: async (args, env) => {
7457
7457
  const result = await operation.handler(args, env);
7458
7458
  try {
7459
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
7460
- const { ensureMinuteDoc } = await import("./minute-doc-3IMRJDJV.js");
7459
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
7460
+ const { ensureMinuteDoc } = await import("./minute-doc-C62EZOJH.js");
7461
7461
  const minuteId = String((result?.data?.dataIds ?? [])[0] ?? "").trim();
7462
7462
  if (minuteId) {
7463
7463
  const detail = await getMeetingOperation2("meeting.eb.minute.detail").handler({ id: minuteId }, env);
@@ -7581,7 +7581,7 @@ var composeOutcome = {
7581
7581
  if (args.confirm === false) {
7582
7582
  throw meetingValidationError("confirmation_required", "\u4F20\u4E86 confirm=false\uFF0C\u5DF2\u963B\u6B62\u5199\u5165");
7583
7583
  }
7584
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-PHPYTXS4.js");
7584
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7US3QQXV.js");
7585
7585
  let mtId = String(args.mt_id ?? "").trim();
7586
7586
  if (!mtId) {
7587
7587
  const listOp2 = getMeetingOperation2("meeting.eb.meeting.list");
@@ -10,10 +10,10 @@ import {
10
10
  createE10RequestRuntime,
11
11
  isE10SessionExpiredResponse,
12
12
  requireE10Session
13
- } from "./chunk-FJUOUSV3.js";
13
+ } from "./chunk-LRKKKO5A.js";
14
14
  import {
15
15
  getActiveProfile
16
- } from "./chunk-FDBAFANU.js";
16
+ } from "./chunk-I5XB4MZT.js";
17
17
 
18
18
  // src/shortcuts/ebuilder-form/host.ts
19
19
  import { randomUUID } from "node:crypto";
@@ -2,11 +2,11 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
2
  const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  meetingStateDir
5
- } from "./chunk-X7ZTM4XG.js";
5
+ } from "./chunk-4XYRTXRR.js";
6
6
  import {
7
7
  meetingSuccess,
8
8
  meetingValidationError
9
- } from "./chunk-Y7RGBRLG.js";
9
+ } from "./chunk-3TZURS7M.js";
10
10
 
11
11
  // src/shortcuts/meeting/operations/eb/entry-mode.ts
12
12
  import { join, dirname } from "node:path";
@@ -11,13 +11,13 @@ import {
11
11
  createE10RequestRuntime,
12
12
  isE10SessionExpiredResponse,
13
13
  requireE10Session
14
- } from "./chunk-FJUOUSV3.js";
14
+ } from "./chunk-LRKKKO5A.js";
15
15
  import {
16
16
  E10_SESSION_EXPIRED_MESSAGE
17
- } from "./chunk-TJN4PIYO.js";
17
+ } from "./chunk-GTAFCAVP.js";
18
18
  import {
19
19
  getActiveProfile
20
- } from "./chunk-FDBAFANU.js";
20
+ } from "./chunk-I5XB4MZT.js";
21
21
 
22
22
  // src/shortcuts/hrm/host.ts
23
23
  function inferProfile(ctx) {
@@ -9,13 +9,13 @@ import {
9
9
  createE10RequestRuntime,
10
10
  isE10AuthenticationRequired,
11
11
  requireE10Session
12
- } from "./chunk-FJUOUSV3.js";
12
+ } from "./chunk-LRKKKO5A.js";
13
13
  import {
14
14
  E10_SESSION_EXPIRED_MESSAGE
15
- } from "./chunk-TJN4PIYO.js";
15
+ } from "./chunk-GTAFCAVP.js";
16
16
  import {
17
17
  getActiveProfile
18
- } from "./chunk-FDBAFANU.js";
18
+ } from "./chunk-I5XB4MZT.js";
19
19
 
20
20
  // src/shortcuts/workflow/host.ts
21
21
  var DEFAULT_TIMEOUT_MS = 3e4;
@@ -12,7 +12,7 @@ import {
12
12
  meetingValidationError,
13
13
  queryBody,
14
14
  toIdCsv
15
- } from "./chunk-Y7RGBRLG.js";
15
+ } from "./chunk-3TZURS7M.js";
16
16
 
17
17
  // src/shortcuts/meeting/operations/eb/conflict.ts
18
18
  var ACTIVE_MT_STATUS = "1,2,8,9";
@@ -146,7 +146,7 @@ async function collectMemberConflicts(members, begin, end, excludeMtId, env, ope
146
146
  let candidates = allCandidates;
147
147
  let prefilterSkipped = 0;
148
148
  try {
149
- const { resolveEmployeeNames } = await import("./create-flow-DG6D7U2L.js");
149
+ const { resolveEmployeeNames } = await import("./create-flow-WYPLBLRK.js");
150
150
  const names = await resolveEmployeeNames(env, members);
151
151
  const tokens = [...members, ...names.values()].map((token) => String(token ?? "").trim()).filter((token) => token !== "");
152
152
  if (tokens.length > 0) {
@@ -315,7 +315,7 @@ var ebMeetingWritePreflight = async ({ endpoint, payload, args, env, extras }) =
315
315
  const items = rawMembers.split(/[,;,;]+/u).map((item) => item.trim()).filter((item) => item !== "");
316
316
  const nameLike = items.filter((item) => !/^\d+$/u.test(item));
317
317
  if (nameLike.length > 0) {
318
- const { resolveMemberIdsByName } = await import("./schedule-Q3MPSZV6.js");
318
+ const { resolveMemberIdsByName } = await import("./schedule-4QE2THAP.js");
319
319
  const idsByName = await resolveMemberIdsByName(env, nameLike);
320
320
  const resolved = items.map((item) => idsByName.get(item) ?? item);
321
321
  payload.mainTable.hrm_members = [...new Set(resolved)].join(",");
@@ -448,7 +448,7 @@ var ebConflictRoom = {
448
448
  let addressId = String(args.address ?? "").trim();
449
449
  let resolvedRoom = null;
450
450
  if (!addressId && String(args.room_name ?? "").trim()) {
451
- const { resolveAddressRoom } = await import("./create-flow-DG6D7U2L.js");
451
+ const { resolveAddressRoom } = await import("./create-flow-WYPLBLRK.js");
452
452
  const resolved = await resolveAddressRoom(env, String(args.room_name));
453
453
  if (!resolved?.id) {
454
454
  throw meetingValidationError(
@@ -637,7 +637,7 @@ async function findCommonFreeSlots(env, input) {
637
637
  let meetings = allMeetings;
638
638
  let prefilterSkipped = 0;
639
639
  try {
640
- const { resolveEmployeeNames } = await import("./create-flow-DG6D7U2L.js");
640
+ const { resolveEmployeeNames } = await import("./create-flow-WYPLBLRK.js");
641
641
  const names2 = await resolveEmployeeNames(env, members);
642
642
  const tokens = [...members, ...names2.values()].map((token) => String(token ?? "").trim()).filter((token) => token !== "");
643
643
  if (tokens.length > 0 && process.env.WEAVER_MEETING_NO_PREFILTER !== "1") {
@@ -675,7 +675,7 @@ async function findCommonFreeSlots(env, input) {
675
675
  const scheduleItems = [];
676
676
  if (includeSchedule) {
677
677
  try {
678
- const { runScheduleConflictFlow, parseScheduleConflictMessage, resolveMemberIdsByName } = await import("./schedule-Q3MPSZV6.js");
678
+ const { runScheduleConflictFlow, parseScheduleConflictMessage, resolveMemberIdsByName } = await import("./schedule-4QE2THAP.js");
679
679
  const dayBegin = new Date(rangeStart.getFullYear(), rangeStart.getMonth(), rangeStart.getDate(), 0, 0, 0, 0);
680
680
  const dayEnd = new Date(rangeStart.getFullYear(), rangeStart.getMonth(), rangeStart.getDate(), 23, 59, 0, 0);
681
681
  const flow = await runScheduleConflictFlow(env, {
@@ -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-X7ZTM4XG.js";
5
+ } from "./chunk-4XYRTXRR.js";
6
6
 
7
7
  // src/shortcuts/meeting/operations/eb/cache.ts
8
8
  import { mkdir, readFile, writeFile } from "node:fs/promises";
@@ -2,12 +2,12 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
2
  const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  meetingStateDir
5
- } from "./chunk-X7ZTM4XG.js";
5
+ } from "./chunk-4XYRTXRR.js";
6
6
  import {
7
7
  meetingSuccess,
8
8
  meetingValidationError,
9
9
  schemaOf
10
- } from "./chunk-Y7RGBRLG.js";
10
+ } from "./chunk-3TZURS7M.js";
11
11
 
12
12
  // src/shortcuts/meeting/operations/eb/group-chat.ts
13
13
  import { mkdir, readFile, readdir, rm, writeFile } from "node:fs/promises";
@@ -16,17 +16,17 @@ var DEFAULT_MEETING_GROUP_FLOW_ID = "1333212605456498718";
16
16
  var GROUP_FIELD = "imchat_groupid";
17
17
  var PENDING_DIR = "pending-forms";
18
18
  async function buildEsbEnv(env) {
19
- const { createEsbHost } = await import("./host-P7G22WNM.js");
19
+ const { createEsbHost } = await import("./host-2UMNXX5H.js");
20
20
  const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
21
21
  return { ctx: env.ctx, host: createEsbHost(env.ctx), continuation: createEsbContinuationSigner(env.ctx) };
22
22
  }
23
23
  async function buildImEnv(env) {
24
- const { createImHost } = await import("./host-XLCBLNJD.js");
24
+ const { createImHost } = await import("./host-BD44ASOD.js");
25
25
  const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
26
26
  return { ctx: env.ctx, host: createImHost(env.ctx), continuation: createImContinuationSigner(env.ctx) };
27
27
  }
28
28
  async function buildWorkflowEnv(env) {
29
- const { createWorkflowHost } = await import("./host-2ED2KC4X.js");
29
+ const { createWorkflowHost } = await import("./host-NVDG3NC6.js");
30
30
  const { createWorkflowContinuationSigner } = await import("./continuation-HFW2YT5S.js");
31
31
  return { ctx: env.ctx, host: createWorkflowHost(env.ctx), continuation: createWorkflowContinuationSigner(env.ctx) };
32
32
  }
@@ -159,7 +159,7 @@ async function triggerGroupFlow(env, input, meetingName, memberIds) {
159
159
  if (addressText === "[object Object]") addressText = "";
160
160
  if (addressText) {
161
161
  try {
162
- const { resolveAddressRoom } = await import("./create-flow-DG6D7U2L.js");
162
+ const { resolveAddressRoom } = await import("./create-flow-WYPLBLRK.js");
163
163
  const room = await resolveAddressRoom(env, addressText);
164
164
  if (room?.name) addressText = room.name;
165
165
  } catch {
@@ -168,7 +168,7 @@ async function triggerGroupFlow(env, input, meetingName, memberIds) {
168
168
  if (addressText) mainTable.address = addressText;
169
169
  }
170
170
  try {
171
- const { getEsbOperation } = await import("./registry-QRMXRSCT.js");
171
+ const { getEsbOperation } = await import("./registry-FTPUUHWC.js");
172
172
  const esbEnv = await buildEsbEnv(env);
173
173
  const prepare = getEsbOperation("esb.trigger.prepare");
174
174
  const apply = getEsbOperation("esb.trigger.apply");
@@ -201,7 +201,7 @@ async function bindGroupToMeeting(env, meetingId, groupId) {
201
201
  const group = String(groupId).trim();
202
202
  if (id === "" || group === "") return { ok: false, error: "\u6CA1\u6709\u4F1A\u8BAE id \u6216\u7FA4 id" };
203
203
  try {
204
- const { EB_BASE, ebBusinessSuccess, writeBody } = await import("./factory-ETQAICPA.js");
204
+ const { EB_BASE, ebBusinessSuccess, writeBody } = await import("./factory-CBXYOEBF.js");
205
205
  const session = await env.host.getSession();
206
206
  await env.host.request({
207
207
  method: "POST",
@@ -219,7 +219,7 @@ async function bindGroupToMeeting(env, meetingId, groupId) {
219
219
  return { ok: false, error: String(error?.message ?? error).slice(0, 300) };
220
220
  }
221
221
  try {
222
- const { getMeetingOperation } = await import("./registry-PHPYTXS4.js");
222
+ const { getMeetingOperation } = await import("./registry-7US3QQXV.js");
223
223
  const detail = getMeetingOperation("meeting.eb.meeting.detail");
224
224
  const read = await detail.handler({ id }, env);
225
225
  const main = read?.data?.data ?? read?.data?.main ?? {};
@@ -235,7 +235,7 @@ async function bindGroupToMeeting(env, meetingId, groupId) {
235
235
  }
236
236
  async function searchMyRequests(env, options = {}) {
237
237
  try {
238
- const { getWorkflowOperation } = await import("./registry-FXBOGH2X.js");
238
+ const { getWorkflowOperation } = await import("./registry-Y2HWS6JS.js");
239
239
  const op = getWorkflowOperation("workflow.search");
240
240
  const wfEnv = await buildWorkflowEnv(env);
241
241
  const args = { category: "mine", pageSize: 20, sort: "createTime:desc" };
@@ -267,7 +267,7 @@ async function resolveMeetingByRequestId(env, requestId, sinceMs) {
267
267
  const target = String(requestId).trim();
268
268
  if (target === "") return null;
269
269
  try {
270
- const { getMeetingOperation } = await import("./registry-PHPYTXS4.js");
270
+ const { getMeetingOperation } = await import("./registry-7US3QQXV.js");
271
271
  const list = getMeetingOperation("meeting.eb.meeting.list");
272
272
  const detail = getMeetingOperation("meeting.eb.meeting.detail");
273
273
  const page = await list.handler({ pageSize: 30 }, env);
@@ -7,6 +7,7 @@ var E10_AUTH_REQUIRED_MESSAGE = `E10 \u767B\u5F55\u6001\u4E0D\u53EF\u7528\u3002$
7
7
  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";
8
8
  var E10_XIAOE_HOST_CREDENTIAL_MISSING_MESSAGE = "E10 \u767B\u5F55\u6001\u4E0D\u53EF\u7528\u3002\u5C0F e \u7F51\u9875\u7AEF\u672A\u5411\u5F53\u524D\u8FD0\u884C\u73AF\u5883\u6CE8\u5165\u7EDF\u4E00\u767B\u5F55\u51ED\u636E\uFF0C\u81EA\u52A8\u83B7\u53D6\u5DF2\u505C\u6B62\u3002\u8BF7\u68C0\u67E5\u7F51\u9875\u6280\u80FD\u6C99\u7BB1\u7684\u5BBF\u4E3B\u51ED\u636E\u900F\u4F20\u540E\u91CD\u8BD5\u3002";
9
9
  var E10_XIAOE_NETWORK_UNAVAILABLE_MESSAGE = "\u6682\u65F6\u65E0\u6CD5\u8FDE\u63A5 E10\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5";
10
+ var E10_XIAOE_TLS_UNTRUSTED_MESSAGE = "E10 \u7F51\u5173\u8BC1\u4E66\u4E0D\u53D7\u4FE1\u4EFB\uFF08\u81EA\u7B7E\u540D\u6216\u79C1\u6709 CA \u7B7E\u53D1\u7684\u8BC1\u4E66\u94FE\uFF09\uFF0C\u81EA\u52A8\u83B7\u53D6\u767B\u5F55\u4FE1\u606F\u5DF2\u505C\u6B62\u3002\u8BF7\u628A\u7F51\u5173 CA \u8BC1\u4E66\uFF08PEM\uFF09\u4EA4\u7ED9 CLI\uFF1A\u8BBE\u7F6E WEAVER_E10_CA_FILE=<CA PEM \u8DEF\u5F84> \u540E\u91CD\u8BD5\uFF1BNode \u4F4E\u4E8E 22.15 \u65F6\u8BE5\u53D8\u91CF\u65E0\u6CD5\u5728\u8FD0\u884C\u65F6\u751F\u6548\uFF0C\u8BF7\u6539\u7528 NODE_EXTRA_CA_CERTS=<CA PEM \u8DEF\u5F84> \u542F\u52A8 CLI\u3002\u4EC5\u5728\u6392\u67E5\u300C\u662F\u4E0D\u662F\u8BC1\u4E66\u95EE\u9898\u300D\u65F6\u53EF\u663E\u5F0F\u8BBE\u7F6E WEAVER_E10_TLS_INSECURE=1 \u4E34\u65F6\u8DF3\u8FC7\u6821\u9A8C\uFF08\u4F1A\u5173\u95ED\u672C\u8FDB\u7A0B\u5168\u90E8\u8BC1\u4E66\u6821\u9A8C\uFF0C\u6362\u7968\u8BF7\u6C42\u643A\u5E26\u7684\u5E73\u53F0\u7968\u636E\u53EF\u80FD\u88AB\u622A\u83B7\uFF0C\u786E\u8BA4\u540E\u7ACB\u523B\u53BB\u6389\uFF09\u3002CLI \u4E0D\u4F1A\u9ED8\u8BA4\u5173\u95ED\u8BC1\u4E66\u6821\u9A8C\u3002";
10
11
  var E10_SESSION_EXPIRED_MESSAGE = `E10 \u767B\u5F55\u6001\u5DF2\u5931\u6548\uFF0C\u672C\u6B21\u64CD\u4F5C\u5DF2\u505C\u6B62\u3002${E10_REAUTH_GUIDANCE}`;
11
12
 
12
13
  // src/internal/e10/fetch-timing.ts
@@ -40,6 +41,7 @@ export {
40
41
  E10_XIAOE_RECOVERY_FAILED_MESSAGE,
41
42
  E10_XIAOE_HOST_CREDENTIAL_MISSING_MESSAGE,
42
43
  E10_XIAOE_NETWORK_UNAVAILABLE_MESSAGE,
44
+ E10_XIAOE_TLS_UNTRUSTED_MESSAGE,
43
45
  E10_SESSION_EXPIRED_MESSAGE,
44
46
  createFetchTimingSink,
45
47
  runWithFetchTiming,
@@ -4,14 +4,14 @@ import {
4
4
  createE10RequestRuntime,
5
5
  isE10SessionExpiredResponse,
6
6
  requireE10Session
7
- } from "./chunk-FJUOUSV3.js";
7
+ } from "./chunk-LRKKKO5A.js";
8
8
  import {
9
9
  E10_REAUTH_GUIDANCE,
10
10
  E10_SESSION_EXPIRED_MESSAGE
11
- } from "./chunk-TJN4PIYO.js";
11
+ } from "./chunk-GTAFCAVP.js";
12
12
  import {
13
13
  getActiveProfile
14
- } from "./chunk-FDBAFANU.js";
14
+ } from "./chunk-I5XB4MZT.js";
15
15
  import {
16
16
  CliError
17
17
  } from "./chunk-UG5G54VL.js";