weaver-work-cli 0.1.80 → 0.1.81

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 (186) hide show
  1. package/README.md +3 -1
  2. package/dist/chunks/{archive-ENBSUMHV.js → archive-KVV4SM7J.js} +3 -3
  3. package/dist/chunks/{archive-oa-7BFPQ6M5.js → archive-oa-VRSPNLY4.js} +3 -3
  4. package/dist/chunks/{asset-V5SUD3PW.js → asset-JZ5MN6OL.js} +306 -10
  5. package/dist/chunks/{asset-idle-3CEL7WFX.js → asset-idle-B4SAL43V.js} +3 -3
  6. package/dist/chunks/{attachment-content-SHXZUE3N.js → attachment-content-7W4XQTA7.js} +3 -3
  7. package/dist/chunks/{blog-FLI4SS3P.js → blog-XCBM467O.js} +3 -3
  8. package/dist/chunks/{caizhilian-7WCTKCCP.js → caizhilian-NZVUKCZD.js} +5 -5
  9. package/dist/chunks/{calendar-G726HUUH.js → calendar-OVM2SGYJ.js} +3 -3
  10. package/dist/chunks/{chunk-XNN5PZTI.js → chunk-3WZMDOI3.js} +1 -1
  11. package/dist/chunks/{chunk-TM2G7DNT.js → chunk-56F2GGE4.js} +5 -5
  12. package/dist/chunks/{chunk-LCM5SSGJ.js → chunk-5MM2IZ27.js} +423 -36
  13. package/dist/chunks/{chunk-BWFCTE43.js → chunk-5NQZO3CO.js} +48 -5
  14. package/dist/chunks/{chunk-KVCDZ2FX.js → chunk-5RIK6OLF.js} +7 -7
  15. package/dist/chunks/{chunk-5E2FDXBU.js → chunk-64RYQOXA.js} +1 -1
  16. package/dist/chunks/{chunk-44ZWNC7A.js → chunk-7BP3HU74.js} +2 -2
  17. package/dist/chunks/{chunk-3Q5F4C5B.js → chunk-AW3HQUOC.js} +5 -5
  18. package/dist/chunks/{chunk-7M5OYRK2.js → chunk-BD3M2YVN.js} +3 -3
  19. package/dist/chunks/{chunk-JEQHNNSS.js → chunk-BFVUBCYO.js} +14 -0
  20. package/dist/chunks/{chunk-PAWXVT6H.js → chunk-CLVEXDEJ.js} +4 -5
  21. package/dist/chunks/{chunk-TBCKK6LH.js → chunk-DWCMKEMO.js} +2 -2
  22. package/dist/chunks/{chunk-AVDEZLEB.js → chunk-E3XUYWYA.js} +4 -4
  23. package/dist/chunks/{chunk-3IX6L74V.js → chunk-FIPTUAOW.js} +2 -2
  24. package/dist/chunks/{chunk-4MAQALTM.js → chunk-GQEIHXY5.js} +6 -6
  25. package/dist/chunks/{chunk-TD5IOEGN.js → chunk-JUPKXW4P.js} +1 -1
  26. package/dist/chunks/{chunk-HYNOKFYJ.js → chunk-KZ3JR3GE.js} +3 -3
  27. package/dist/chunks/{chunk-4PBN7NJY.js → chunk-L2PKMZIU.js} +1 -1
  28. package/dist/chunks/{chunk-DACQKJ6O.js → chunk-LXWWOHM6.js} +4 -4
  29. package/dist/chunks/{chunk-7DE3VMZD.js → chunk-LYFPWZBD.js} +6 -1
  30. package/dist/chunks/{chunk-2UV4IZIT.js → chunk-MTIV6JEN.js} +2 -2
  31. package/dist/chunks/{chunk-WXV5FIKA.js → chunk-MWFKLXVU.js} +38 -38
  32. package/dist/chunks/{chunk-PMRNIGKZ.js → chunk-RVVRTW4P.js} +2 -2
  33. package/dist/chunks/{chunk-FPWCCRKT.js → chunk-UASZW22U.js} +3 -3
  34. package/dist/chunks/{chunk-RVEKGVZU.js → chunk-VMUVVTT4.js} +2 -2
  35. package/dist/chunks/{chunk-JQPKSQAK.js → chunk-W4BGNYKR.js} +1 -1
  36. package/dist/chunks/{chunk-OVTCWLNQ.js → chunk-W4R3SXJV.js} +15 -7
  37. package/dist/chunks/{chunk-UDBQJLQF.js → chunk-WF5G5SV3.js} +2 -2
  38. package/dist/chunks/{chunk-EGHRA2E3.js → chunk-WM5ZE67G.js} +1 -1
  39. package/dist/chunks/{chunk-QVKRNL7L.js → chunk-WQ4ZHAEZ.js} +10 -2
  40. package/dist/chunks/{chunk-JFZM3ZRU.js → chunk-X7OZKI6F.js} +12 -12
  41. package/dist/chunks/{chunk-YKTVK6XM.js → chunk-Y6HRTEDD.js} +1 -1
  42. package/dist/chunks/{chunk-2KW7AI6P.js → chunk-YFDKTTYX.js} +8 -5
  43. package/dist/chunks/{chunk-HKW5FYZR.js → chunk-YLPGCOAM.js} +76 -69
  44. package/dist/chunks/{chunk-LQLIXBJF.js → chunk-YXIPZFMX.js} +1 -1
  45. package/dist/chunks/{cli-JDTWQDDR.js → cli-VCQIDBDQ.js} +37 -37
  46. package/dist/chunks/{commands-J52MJ6NF.js → commands-THGXVOEL.js} +9 -5
  47. package/dist/chunks/{conflict-O4FXUTIX.js → conflict-T7URCNS6.js} +2 -2
  48. package/dist/chunks/{contract-GW7US3UF.js → contract-ZLGLQ45G.js} +3 -3
  49. package/dist/chunks/{cowork-GZDODGKF.js → cowork-2MBNOUYS.js} +21 -8
  50. package/dist/chunks/{create-flow-YIFMKM2C.js → create-flow-OFZC36MV.js} +6 -6
  51. package/dist/chunks/{data-HTQZRPPI.js → data-6O7ANJVT.js} +3 -3
  52. package/dist/chunks/{ebuilder-form-GHNIZ7ET.js → ebuilder-form-OJ3KJVQI.js} +4 -4
  53. package/dist/chunks/{ehr-7TGZTZR3.js → ehr-NWMI5Q7S.js} +4 -4
  54. package/dist/chunks/{employee-QX57HEWS.js → employee-O2EPUYIH.js} +2 -2
  55. package/dist/chunks/{entry-mode-X3KKRN36.js → entry-mode-TVACGU7K.js} +3 -3
  56. package/dist/chunks/{env-MCVDVISU.js → env-EWG4ZAWP.js} +2 -2
  57. package/dist/chunks/{esb-ATRKVHCD.js → esb-56FV2PIA.js} +5 -5
  58. package/dist/chunks/{factory-ALB7DMVY.js → factory-GQSEJRDY.js} +1 -1
  59. package/dist/chunks/{fna-IKYI3SST.js → fna-YLA3RKRW.js} +3 -3
  60. package/dist/chunks/{group-chat-GGPL2EBF.js → group-chat-5R6L3LCG.js} +3 -3
  61. package/dist/chunks/{host-UY4LQPN4.js → host-42MLO4KX.js} +4 -4
  62. package/dist/chunks/{host-XXGDQM7D.js → host-J72VEDW5.js} +4 -4
  63. package/dist/chunks/{host-EJSJSLVK.js → host-QKCRQS2C.js} +4 -4
  64. package/dist/chunks/{host-EYNLB6S4.js → host-W3BVEATN.js} +4 -4
  65. package/dist/chunks/{host-OT4KNR3G.js → host-YJINI5GG.js} +4 -4
  66. package/dist/chunks/{host-6UOXYOOY.js → host-ZVGBZOHY.js} +4 -4
  67. package/dist/chunks/{hrm-5JQ7QZ6A.js → hrm-3JFZNB42.js} +66 -26
  68. package/dist/chunks/{im-2YJW3EI5.js → im-HKIRPCGD.js} +5 -5
  69. package/dist/chunks/{invoice-36BCXKOX.js → invoice-4PREIOTG.js} +80 -17
  70. package/dist/chunks/{jiuchuanhui-KBWUZ7WT.js → jiuchuanhui-K3PLNENZ.js} +3 -3
  71. package/dist/chunks/{lazy-dispatch-ZDKLS5MR.js → lazy-dispatch-MKGEWZNM.js} +8 -8
  72. package/dist/chunks/{mail-YBKUM6HM.js → mail-6QPVWKXM.js} +3 -3
  73. package/dist/chunks/{meeting-MU3RHAEX.js → meeting-QPPEPBSN.js} +15 -15
  74. package/dist/chunks/{minute-doc-NHIEZEHU.js → minute-doc-JMIDZK5D.js} +1 -1
  75. package/dist/chunks/{okr-HW7IULIR.js → okr-67C5LQYD.js} +3 -3
  76. package/dist/chunks/{operations-4P2UYVLH.js → operations-YLKRNAPI.js} +5 -5
  77. package/dist/chunks/{org-MWWIFNAO.js → org-L5XDM2RQ.js} +2 -2
  78. package/dist/chunks/{performance-PM2G6L3E.js → performance-33QZZR4I.js} +3 -3
  79. package/dist/chunks/{plan-3YYGZ7ZM.js → plan-W4BPONRL.js} +3 -3
  80. package/dist/chunks/{project-6PRGBLO2.js → project-OKSEH6AF.js} +3 -3
  81. package/dist/chunks/{reception-7G3J2MA6.js → reception-H5M7SPHT.js} +3 -3
  82. package/dist/chunks/{recruit-stage-5KK7R37U.js → recruit-stage-O2JGNVMO.js} +12 -8
  83. package/dist/chunks/{registry-4S3RXXWS.js → registry-45VEUYTC.js} +4 -4
  84. package/dist/chunks/{registry-3VTB3KLV.js → registry-BMTQ55G5.js} +5 -5
  85. package/dist/chunks/{registry-KQ4TNUWO.js → registry-PYONXFUF.js} +3 -3
  86. package/dist/chunks/{registry-HWUNNXDU.js → registry-SAMJ4VH2.js} +14 -14
  87. package/dist/chunks/{registry-AC33ZZVH.js → registry-YY62OFKQ.js} +1 -1
  88. package/dist/chunks/{room-recommend-V4BSHR2M.js → room-recommend-NRLAZJCI.js} +4 -4
  89. package/dist/chunks/{schedule-T7W357TN.js → schedule-LNBOCBP5.js} +4 -4
  90. package/dist/chunks/{smart-extract-T5Z4AULN.js → smart-extract-JOTX6UZC.js} +3 -3
  91. package/dist/chunks/{update-77ZUIYSG.js → update-BERR64TI.js} +3 -3
  92. package/dist/chunks/{workflow-SYCBS5XD.js → workflow-ZDQY3TI7.js} +5 -5
  93. package/dist/core/runtime-agent.js +19 -3
  94. package/dist/index.js +4 -4
  95. package/dist/internal/e10/auth/agent-host-key.js +10 -1
  96. package/dist/internal/e10/auth/commands.js +20 -4
  97. package/dist/internal/e10/auth/xiaoe.js +15 -3
  98. package/dist/shortcuts/asset/host.js +39 -1
  99. package/dist/shortcuts/asset/index.js +16 -2
  100. package/dist/shortcuts/asset/manifest.js +115 -1
  101. package/dist/shortcuts/asset/operations/audit-report.js +144 -0
  102. package/dist/shortcuts/asset/operations/registry.js +4 -0
  103. package/dist/shortcuts/asset/operations/write.js +7 -1
  104. package/dist/shortcuts/cowork/operations/read.js +13 -6
  105. package/dist/shortcuts/cowork/operations/shared.js +15 -0
  106. package/dist/shortcuts/hrm/host.js +51 -4
  107. package/dist/shortcuts/hrm/index.js +45 -26
  108. package/dist/shortcuts/hrm/manifest.js +17 -0
  109. package/dist/shortcuts/hrm/operations/employee.js +3 -7
  110. package/dist/shortcuts/hrm/operations/org.js +2 -4
  111. package/dist/shortcuts/hrm/operations/position.js +2 -4
  112. package/dist/shortcuts/hrm/operations/shared.js +21 -0
  113. package/dist/shortcuts/hrm/operations.js +34 -0
  114. package/dist/shortcuts/im/constants.js +163 -0
  115. package/dist/shortcuts/im/host.js +12 -5
  116. package/dist/shortcuts/im/operations/at-mention.js +4 -2
  117. package/dist/shortcuts/im/operations/file-user.js +3 -1
  118. package/dist/shortcuts/im/operations/msg-sync.js +219 -2
  119. package/dist/shortcuts/im/operations/msg-write.js +70 -30
  120. package/dist/shortcuts/invoice/invoice-record.js +4 -0
  121. package/dist/shortcuts/invoice/manifest.js +1 -1
  122. package/dist/shortcuts/invoice/operations/reim-auto.js +10 -7
  123. package/dist/shortcuts/invoice/read-enrichment.js +74 -7
  124. package/dist/shortcuts/meeting/operations/eb/create-flow.js +1 -1
  125. package/dist/shortcuts/meeting/operations/rooms.js +7 -0
  126. package/dist/shortcuts/recruit-stage/operations/list.js +3 -2
  127. package/dist/shortcuts/recruit-stage/operations/profile.js +3 -2
  128. package/dist/shortcuts/recruit-stage/operations/search.js +2 -2
  129. package/dist/shortcuts/recruit-stage/operations/shortlist.js +3 -2
  130. package/dist/shortcuts/recruit-stage/operations/tag.js +5 -0
  131. package/dist/shortcuts/workflow/operations/form.js +2 -1
  132. package/docs/agent-invoice.md +1 -1
  133. package/docs/e10-auth.md +14 -1
  134. package/docs/hrm.md +5 -1
  135. package/docs/invoice.md +1 -1
  136. package/docs/ziguanjia.md +5 -1
  137. package/package.json +1 -1
  138. package/skill-template/business-info.json +6 -1
  139. package/skill-template/domains/hrm.md +1 -1
  140. package/skill-template/domains/yepiaotong.md +1 -1
  141. package/skill-template/domains/ziguanjia.md +7 -2
  142. package/skills/weaver-e10-cowork/SKILL.md +13 -1
  143. package/skills/weaver-e10-hrm/SKILL.md +16 -2
  144. package/skills/weaver-e10-hrm/references/org.md +1 -1
  145. package/skills/weaver-e10-meeting/SKILL.md +1 -1
  146. package/skills/weaver-e10-recruit-stage/SKILL.md +24 -15
  147. package/skills/weaver-e10-recruit-stage/agents/openai.yaml +14 -7
  148. package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +12 -1
  149. package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +18 -1
  150. package/skills/weaver-e10-recruit-stage/lib/resume-import-once.mjs +308 -0
  151. package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +9 -4
  152. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +54 -15
  153. package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +456 -93
  154. package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +2 -2
  155. package/skills/weaver-e10-shared/SKILL.md +1 -1
  156. package/skills/weaver-e10-shared/references/e10-auth-and-session.md +1 -1
  157. package/skills/weaver-e10-shared-report.html +874 -0
  158. package/skills/weaver-e10-workflow/SKILL.md +4 -4
  159. package/skills/weaver-e10-workflow/aiDeepRead/config.json +138 -142
  160. package/skills/weaver-e10-workflow/references/workflow-deep-read.md +7 -7
  161. package/skills/weaver-e10-yepiaotong/SKILL.md +2 -2
  162. package/skills/weaver-e10-yepiaotong/references/invoice-detail.md +1 -1
  163. package/skills/weaver-e10-yepiaotong/references/invoice-enterprise-list.md +1 -1
  164. package/skills/weaver-e10-yepiaotong/references/invoice-output-view.md +5 -3
  165. package/skills/weaver-e10-yepiaotong/references/invoice-personal-list.md +1 -1
  166. package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +1 -1
  167. package/skills/weaver-e10-yepiaotong/references/source-manifest.json +34 -32
  168. package/skills/weaver-e10-yepiaotong.zip +0 -0
  169. package/skills/weaver-e10-yimiaoban/SKILL.md +12 -9
  170. package/skills/weaver-e10-yimiaoban/references/constants.md +291 -0
  171. package/skills/weaver-e10-yimiaoban/references/ding-write.md +1 -0
  172. package/skills/weaver-e10-yimiaoban/references/group-read.md +1 -0
  173. package/skills/weaver-e10-yimiaoban/references/group-write.md +1 -0
  174. package/skills/weaver-e10-yimiaoban/references/msg-read.md +10 -1
  175. package/skills/weaver-e10-yimiaoban/references/msg-write.md +3 -1
  176. package/skills/weaver-e10-yimiaoban/references/session-sysmsg.md +1 -0
  177. package/skills/weaver-e10-yimiaoban/references/source-manifest.json +175 -36
  178. package/skills/weaver-e10-ziguanjia/SKILL.md +26 -6
  179. package/skills/weaver-e10-ziguanjia/references/source-manifest.json +1373 -96
  180. package/skills/weaver-e10-ziguanjia/references/ziguanjia-audit.md +63 -0
  181. package/skills/weaver-e10-ziguanjia/references/ziguanjia-disabled-capabilities.md +5 -1
  182. package/skills/weaver-e10-ziguanjia/references/ziguanjia-idle.md +52 -0
  183. package/skills/weaver-e10-ziguanjia/references/ziguanjia-report.md +59 -0
  184. package/scripts/pysite/__pycache__/sitecustomize.cpython-312.pyc +0 -0
  185. package/scripts/pysite/__pycache__/sitecustomize.cpython-313.pyc +0 -0
  186. package/scripts/pysite/__pycache__/sitecustomize.cpython-314.pyc +0 -0
@@ -11,13 +11,13 @@ import {
11
11
  createE10RequestRuntime,
12
12
  isE10SessionExpiredResponse,
13
13
  requireE10Session
14
- } from "./chunk-FPWCCRKT.js";
14
+ } from "./chunk-UASZW22U.js";
15
15
  import {
16
16
  E10_SESSION_EXPIRED_MESSAGE
17
17
  } from "./chunk-IZCQU5D5.js";
18
18
  import {
19
19
  getActiveProfile
20
- } from "./chunk-QVKRNL7L.js";
20
+ } from "./chunk-WQ4ZHAEZ.js";
21
21
 
22
22
  // src/shortcuts/im/host.ts
23
23
  import { createHash } from "node:crypto";
@@ -460,7 +460,7 @@ function createImHost(ctx, dependencies = {}) {
460
460
  }
461
461
  async function buildDownloadUrl(options) {
462
462
  await ensureSession();
463
- const kind = options.kind === "video" ? "video" : "img";
463
+ const kind = options.kind ?? "img";
464
464
  const payload = { tag: kind === "video" ? "1" : "0", msgid: String(options.msgid) };
465
465
  if (options.groupId !== void 0 && options.groupId !== null && String(options.groupId) !== "") {
466
466
  payload.flag = 1;
@@ -471,8 +471,11 @@ function createImHost(ctx, dependencies = {}) {
471
471
  }
472
472
  const weappAuthStr = Buffer.from(JSON.stringify(payload), "utf-8").toString("base64");
473
473
  const params = new URLSearchParams();
474
- params.set("type", kind === "video" ? "video" : "imgs");
475
- if (kind !== "video") params.set("imgFormat", options.imgFormat || "small");
474
+ if (kind === "file") {
475
+ } else {
476
+ params.set("type", kind === "video" ? "video" : "imgs");
477
+ if (kind !== "video") params.set("imgFormat", options.imgFormat || "small");
478
+ }
476
479
  params.set("authModule", "im");
477
480
  params.set("weappAuthStr", weappAuthStr);
478
481
  return `${(sessionContext?.baseUrl || "").replace(/\/+$/, "")}/api/file/remotedownload/${String(options.fileId)}/im/true?${params.toString()}`;
@@ -3,11 +3,11 @@ const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  listMeetingAttachments,
5
5
  meetingAttachmentContentOperations
6
- } from "./chunk-3IX6L74V.js";
6
+ } from "./chunk-FIPTUAOW.js";
7
7
  import {
8
8
  buildBodyParagraphsXml,
9
9
  buildMinuteDocx
10
- } from "./chunk-4MAQALTM.js";
10
+ } from "./chunk-GQEIHXY5.js";
11
11
  import {
12
12
  PENDING_MARK,
13
13
  readDocxEntries,
@@ -16,13 +16,13 @@ import {
16
16
  } from "./chunk-WMRNO6IU.js";
17
17
  import {
18
18
  meetingEbGroupChatOperations
19
- } from "./chunk-JFZM3ZRU.js";
19
+ } from "./chunk-X7OZKI6F.js";
20
20
  import {
21
21
  meetingEntryOperations
22
- } from "./chunk-44ZWNC7A.js";
22
+ } from "./chunk-7BP3HU74.js";
23
23
  import {
24
24
  meetingEbScheduleOperations
25
- } from "./chunk-TM2G7DNT.js";
25
+ } from "./chunk-56F2GGE4.js";
26
26
  import {
27
27
  attachMeetingUrls,
28
28
  ensureFlowFieldIds,
@@ -33,27 +33,27 @@ import {
33
33
  resolvePersonTokens,
34
34
  resolveSelfPerson,
35
35
  resolveWorkflowId
36
- } from "./chunk-WXV5FIKA.js";
36
+ } from "./chunk-MWFKLXVU.js";
37
37
  import {
38
38
  ebMeetingWritePreflight,
39
39
  meetingEbConflictOperations
40
- } from "./chunk-KVCDZ2FX.js";
40
+ } from "./chunk-5RIK6OLF.js";
41
41
  import {
42
42
  ebRoomRecommendOperation,
43
43
  inferRoomFloor,
44
44
  recommendRooms,
45
45
  rememberFrequentRoom
46
- } from "./chunk-AVDEZLEB.js";
46
+ } from "./chunk-E3XUYWYA.js";
47
47
  import {
48
48
  cacheScopeSuffix,
49
49
  readCache,
50
50
  writeCache
51
- } from "./chunk-EGHRA2E3.js";
51
+ } from "./chunk-WM5ZE67G.js";
52
52
  import {
53
53
  meetingEnvOperations,
54
54
  meetingStateDir,
55
55
  resolveMeetingEnvMode
56
- } from "./chunk-JQPKSQAK.js";
56
+ } from "./chunk-W4BGNYKR.js";
57
57
  import {
58
58
  EB_BASE,
59
59
  EB_ENDPOINTS,
@@ -85,13 +85,13 @@ import {
85
85
  toIdString,
86
86
  verifyLease,
87
87
  writeBody
88
- } from "./chunk-HYNOKFYJ.js";
88
+ } from "./chunk-KZ3JR3GE.js";
89
89
  import {
90
90
  CONTINUATION_TTL_SECONDS
91
91
  } from "./chunk-7BDPM5ST.js";
92
92
  import {
93
93
  hasXiaoEEnv
94
- } from "./chunk-QVKRNL7L.js";
94
+ } from "./chunk-WQ4ZHAEZ.js";
95
95
  import {
96
96
  packagePath
97
97
  } from "./chunk-2BZ7TY4M.js";
@@ -249,6 +249,13 @@ var meetingRoomUsage = {
249
249
  }
250
250
  },
251
251
  handler: async (args, { host }) => {
252
+ if (args.bywhat === void 0 || args.bywhat === null) {
253
+ throw meetingValidationError(
254
+ "bywhat_required",
255
+ "bywhat \u5FC5\u586B\uFF1A2=\u6309\u6708\u30013=\u6309\u5468\u30014=\u6309\u65E5",
256
+ { allowed: [2, 3, 4] }
257
+ );
258
+ }
252
259
  const query = {};
253
260
  if (args.roomid !== void 0) query.roomid = toIdString(args.roomid, "roomid");
254
261
  if (args.roomname !== void 0) query.roomname = args.roomname;
@@ -2300,7 +2307,7 @@ var meetingAttachmentAttach = {
2300
2307
  ]
2301
2308
  });
2302
2309
  }
2303
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
2310
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
2304
2311
  const list = getMeetingOperation2("meeting.eb.meeting.list");
2305
2312
  let fileId = incomingFileId;
2306
2313
  let name = String(args.name ?? "").trim();
@@ -2388,7 +2395,7 @@ function textOf(value) {
2388
2395
  return value === void 0 || value === null ? "" : String(value);
2389
2396
  }
2390
2397
  async function readMinute(env, id) {
2391
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
2398
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
2392
2399
  const detail = getMeetingOperation2("meeting.eb.minute.detail");
2393
2400
  const result = await detail.handler({ id }, env);
2394
2401
  const row = result?.data?.data;
@@ -2501,7 +2508,7 @@ var meetingMinuteWriteContent = {
2501
2508
  } else {
2502
2509
  statusReason = "\u4EC5\u6E05\u7A7A\u5185\u5BB9\uFF0C\u672A\u6539\u72B6\u6001";
2503
2510
  }
2504
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
2511
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
2505
2512
  const prepare = getMeetingOperation2("meeting.eb.minute.update.prepare");
2506
2513
  const apply = getMeetingOperation2("meeting.eb.minute.update.apply");
2507
2514
  const prepared = await prepare.handler({ id, mt_id: mtId, ...patch }, env);
@@ -2517,7 +2524,7 @@ var meetingMinuteWriteContent = {
2517
2524
  let minuteDoc = null;
2518
2525
  if (args.with_doc !== false) {
2519
2526
  try {
2520
- const { generateMinuteDocViaEsb } = await import("./minute-doc-NHIEZEHU.js");
2527
+ const { generateMinuteDocViaEsb } = await import("./minute-doc-JMIDZK5D.js");
2521
2528
  const esbBody = textOf(after.parse_content) || textOf(after.minutes_content);
2522
2529
  const esb = await generateMinuteDocViaEsb(env, { id, content: esbBody });
2523
2530
  if (esb.docId) {
@@ -2534,8 +2541,8 @@ var meetingMinuteWriteContent = {
2534
2541
  }
2535
2542
  if (args.with_doc !== false && !minuteDoc) {
2536
2543
  try {
2537
- const { buildMinuteDocx: buildMinuteDocx2 } = await import("./minute-doc-NHIEZEHU.js");
2538
- const { meetingStateDir: meetingStateDir2 } = await import("./env-MCVDVISU.js");
2544
+ const { buildMinuteDocx: buildMinuteDocx2 } = await import("./minute-doc-JMIDZK5D.js");
2545
+ const { meetingStateDir: meetingStateDir2 } = await import("./env-EWG4ZAWP.js");
2539
2546
  const { mkdir: mkdir5, writeFile: writeFile5 } = await import("node:fs/promises");
2540
2547
  const { join: join4 } = await import("node:path");
2541
2548
  const subject = textOf(after.mt_minutes_subject).trim() || `\u4F1A\u8BAE\u7EAA\u8981-${mtId}`;
@@ -2572,7 +2579,7 @@ var meetingMinuteWriteContent = {
2572
2579
  }
2573
2580
  if (args.with_doc !== false && !minuteDoc) {
2574
2581
  try {
2575
- const { ensureMinuteDoc } = await import("./minute-doc-NHIEZEHU.js");
2582
+ const { ensureMinuteDoc } = await import("./minute-doc-JMIDZK5D.js");
2576
2583
  const better = await ensureMinuteDoc(env, {
2577
2584
  id,
2578
2585
  mtId,
@@ -2943,7 +2950,7 @@ var meetingMinuteFromGroupChat = {
2943
2950
  const mtId = textOf2(args.mt_id).trim();
2944
2951
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
2945
2952
  const pipeline = ["text", "minutes", "document"].includes(args.pipeline) ? args.pipeline : "text";
2946
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
2953
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
2947
2954
  const ctx = env.ctx;
2948
2955
  let stepStart = Date.now();
2949
2956
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
@@ -2967,9 +2974,9 @@ var meetingMinuteFromGroupChat = {
2967
2974
  }
2968
2975
  mark("readMeeting", stepStart);
2969
2976
  const pullStart = Date.now();
2970
- const { createImHost } = await import("./host-XXGDQM7D.js");
2977
+ const { createImHost } = await import("./host-J72VEDW5.js");
2971
2978
  const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
2972
- const { getImOperation } = await import("./registry-AC33ZZVH.js");
2979
+ const { getImOperation } = await import("./registry-YY62OFKQ.js");
2973
2980
  const imEnv = { ctx, host: createImHost(ctx), continuation: createImContinuationSigner(ctx) };
2974
2981
  const syncOp = getImOperation("im.msg.sync.group");
2975
2982
  const chatWindow = computeChatWindow(meeting);
@@ -3037,7 +3044,7 @@ var meetingMinuteFromGroupChat = {
3037
3044
  try {
3038
3045
  const { readFile: readFile5 } = await import("node:fs/promises");
3039
3046
  const buffer = await readFile5(file);
3040
- const { extractText } = await import("./attachment-content-SHXZUE3N.js");
3047
+ const { extractText } = await import("./attachment-content-7W4XQTA7.js");
3041
3048
  const extracted = extractText(buffer, file, "");
3042
3049
  if (extracted.text.trim()) {
3043
3050
  extraSections.push(`\u3010\u6750\u6599\uFF1A${file.split(/[\\/]/).pop() ?? file}\u3011
@@ -3166,9 +3173,9 @@ ${groupTranscript}` : ""
3166
3173
  if (!employeeId) {
3167
3174
  warnings.push("\u672A\u53D6\u5230 ESB \u89E6\u53D1\u4EBA id\uFF08employeeId\uFF09\uFF0C\u5DF2\u8DF3\u8FC7\u540E\u7EED ESB \u8C03\u7528");
3168
3175
  } else {
3169
- const { createEsbHost } = await import("./host-EJSJSLVK.js");
3176
+ const { createEsbHost } = await import("./host-QKCRQS2C.js");
3170
3177
  const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
3171
- const { getEsbOperation } = await import("./registry-3VTB3KLV.js");
3178
+ const { getEsbOperation } = await import("./registry-BMTQ55G5.js");
3172
3179
  const esbEnv = { ctx, host: createEsbHost(ctx), continuation: createEsbContinuationSigner(ctx) };
3173
3180
  const prepareOp = getEsbOperation("esb.trigger.prepare");
3174
3181
  const applyOp = getEsbOperation("esb.trigger.apply");
@@ -3212,8 +3219,8 @@ ${groupTranscript}` : ""
3212
3219
  if (args.with_doc !== false) {
3213
3220
  const docStarted = Date.now();
3214
3221
  try {
3215
- const { buildMinuteDocx: buildMinuteDocx2 } = await import("./minute-doc-NHIEZEHU.js");
3216
- const { meetingStateDir: meetingStateDir2 } = await import("./env-MCVDVISU.js");
3222
+ const { buildMinuteDocx: buildMinuteDocx2 } = await import("./minute-doc-JMIDZK5D.js");
3223
+ const { meetingStateDir: meetingStateDir2 } = await import("./env-EWG4ZAWP.js");
3217
3224
  const { mkdir: mkdir5, writeFile: writeFile5 } = await import("node:fs/promises");
3218
3225
  const { join: join4 } = await import("node:path");
3219
3226
  const body = textOf2(row.parse_content) || textOf2(row.minutes_content) || transcript;
@@ -3400,7 +3407,7 @@ var meetingDecisionNotifyGroup = {
3400
3407
  const warnings = [];
3401
3408
  const mtId = textOf3(args.mt_id).trim();
3402
3409
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
3403
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
3410
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
3404
3411
  const ctx = env.ctx;
3405
3412
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
3406
3413
  { mt_id: mtId, pageNo: 1, pageSize: 1 },
@@ -3464,7 +3471,7 @@ var meetingDecisionNotifyGroup = {
3464
3471
  charCount: formatted.text.length,
3465
3472
  text: formatted.text
3466
3473
  };
3467
- const { createImHost } = await import("./host-XXGDQM7D.js");
3474
+ const { createImHost } = await import("./host-J72VEDW5.js");
3468
3475
  const imHost = createImHost(ctx);
3469
3476
  let displayText = formatted.text;
3470
3477
  let wireText = formatted.text;
@@ -3472,7 +3479,7 @@ var meetingDecisionNotifyGroup = {
3472
3479
  const mentioned = [];
3473
3480
  if (args.mention !== false) {
3474
3481
  try {
3475
- const { getImOperation } = await import("./registry-AC33ZZVH.js");
3482
+ const { getImOperation } = await import("./registry-YY62OFKQ.js");
3476
3483
  const membersResult = await getImOperation("im.group.users").handler(
3477
3484
  { groupId },
3478
3485
  { ctx, host: imHost }
@@ -3702,7 +3709,7 @@ var meetingPipelineRun = {
3702
3709
  const needsConfirm = level === "tasks" || level === "notify";
3703
3710
  const confirmed = args.confirm === true;
3704
3711
  const executedLevel = needsConfirm && !confirmed ? "document" : level;
3705
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
3712
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
3706
3713
  const ctx = env.ctx;
3707
3714
  let stepStart = Date.now();
3708
3715
  const reuseMinuteId = textOf4(args.minuteId).trim();
@@ -3771,8 +3778,8 @@ var meetingPipelineRun = {
3771
3778
  ]);
3772
3779
  }
3773
3780
  stepStart = Date.now();
3774
- const { createHrmHost } = await import("./host-UY4LQPN4.js");
3775
- const { getHrmOperation } = await import("./registry-4S3RXXWS.js");
3781
+ const { createHrmHost } = await import("./host-42MLO4KX.js");
3782
+ const { getHrmOperation } = await import("./registry-45VEUYTC.js");
3776
3783
  const hrmEnv = { ctx, host: createHrmHost(ctx) };
3777
3784
  const queryOp = getHrmOperation("hrm.employee.query");
3778
3785
  const resolved = [];
@@ -4074,7 +4081,7 @@ function formatTimeRange(start, end) {
4074
4081
  }
4075
4082
  async function loadAgendaFromTopics(env, mtId) {
4076
4083
  try {
4077
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
4084
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
4078
4085
  const operation = getMeetingOperation2("meeting.eb.topic.list");
4079
4086
  const result = await operation.handler({ mt_id: mtId, pageNo: 1, pageSize: 200 }, env);
4080
4087
  const rows = result.data?.rows ?? [];
@@ -4167,7 +4174,7 @@ function flattenFieldValue(raw) {
4167
4174
  }
4168
4175
  async function resolveIssuerOrganization(env, creatorId) {
4169
4176
  try {
4170
- const { hrmEmployeeOperations } = await import("./employee-QX57HEWS.js");
4177
+ const { hrmEmployeeOperations } = await import("./employee-O2EPUYIH.js");
4171
4178
  const batch = hrmEmployeeOperations.find((operation) => operation.name === "hrm.employee.batch");
4172
4179
  if (!batch) return null;
4173
4180
  const result = await batch.handler({ ids: [creatorId] }, env);
@@ -4189,7 +4196,7 @@ async function resolveSessionUserName(env) {
4189
4196
  const session = await env.host.getSession();
4190
4197
  const userId = String(session?.userId ?? "").trim();
4191
4198
  if (!userId) return "";
4192
- const { hrmEmployeeOperations } = await import("./employee-QX57HEWS.js");
4199
+ const { hrmEmployeeOperations } = await import("./employee-O2EPUYIH.js");
4193
4200
  const batch = hrmEmployeeOperations.find((operation) => operation.name === "hrm.employee.batch");
4194
4201
  if (!batch) return "";
4195
4202
  const result = await batch.handler({ ids: [userId] }, env);
@@ -4225,7 +4232,7 @@ async function supplementRowFromDetail(row, mtId, env) {
4225
4232
  const missing = DETAIL_FALLBACK_KEYS.filter((key) => isBlank(row[key]));
4226
4233
  if (missing.length === 0) return { row, filled: [] };
4227
4234
  try {
4228
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
4235
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
4229
4236
  const detailOperation = getMeetingOperation2("meeting.eb.meeting.detail");
4230
4237
  const result = await detailOperation.handler({ id: mtId }, env);
4231
4238
  const flat = result?.data?.data ?? result?.data ?? {};
@@ -4400,7 +4407,7 @@ var meetingInvitationRender = {
4400
4407
  };
4401
4408
  dataSource = "payload";
4402
4409
  } else {
4403
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
4410
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
4404
4411
  const listOperation = getMeetingOperation2("meeting.eb.meeting.list");
4405
4412
  try {
4406
4413
  const listed = await listOperation.handler({ mt_id: mtId, pageNo: 1, pageSize: 1 }, env);
@@ -4527,8 +4534,8 @@ var TTL_MEMBERS_MS = TTL_ORG_MS;
4527
4534
  var MAX_DEPARTMENTS = 30;
4528
4535
  var MAX_MEMBERS_RETURN = 300;
4529
4536
  async function runHrm(name, input, env) {
4530
- const { hrmOrgOperations } = await import("./org-MWWIFNAO.js");
4531
- const { hrmEmployeeOperations } = await import("./employee-QX57HEWS.js");
4537
+ const { hrmOrgOperations } = await import("./org-L5XDM2RQ.js");
4538
+ const { hrmEmployeeOperations } = await import("./employee-O2EPUYIH.js");
4532
4539
  const all = [...hrmOrgOperations, ...hrmEmployeeOperations];
4533
4540
  const operation = all.find((item) => item.name === name);
4534
4541
  if (!operation) throw meetingValidationError("hrm_operation_missing", `\u5F53\u524D CLI \u7F3A\u5C11 ${name}\uFF08\u8BF7\u5347\u7EA7 weaver-work-cli\uFF09`);
@@ -4748,7 +4755,7 @@ var meetingInvitationPublish = {
4748
4755
  "\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"
4749
4756
  );
4750
4757
  }
4751
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
4758
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
4752
4759
  const render = getMeetingOperation2("meeting.invitation.render");
4753
4760
  const rendered = await render.handler(
4754
4761
  {
@@ -4780,8 +4787,8 @@ var meetingInvitationPublish = {
4780
4787
  folder_type: String(args.folder_type ?? DEFAULT_FOLDER_TYPE),
4781
4788
  author_id: authorId
4782
4789
  };
4783
- const { executeCaizhilianOperation } = await import("./operations-4P2UYVLH.js");
4784
- const { createCaizhilianHost } = await import("./host-OT4KNR3G.js");
4790
+ const { executeCaizhilianOperation } = await import("./operations-YLKRNAPI.js");
4791
+ const { createCaizhilianHost } = await import("./host-YJINI5GG.js");
4785
4792
  const { createCaizhilianContinuationSigner } = await import("./continuation-GW6PRWK3.js");
4786
4793
  const caizhilianEnv = {
4787
4794
  ctx: env.ctx,
@@ -4916,8 +4923,8 @@ var minuteExportOperations = [
4916
4923
  let recorder = String(args.recorder ?? "").trim() || loginName;
4917
4924
  if (!recorder) {
4918
4925
  try {
4919
- const { executeCaizhilianOperation } = await import("./operations-4P2UYVLH.js");
4920
- const { createCaizhilianHost } = await import("./host-OT4KNR3G.js");
4926
+ const { executeCaizhilianOperation } = await import("./operations-YLKRNAPI.js");
4927
+ const { createCaizhilianHost } = await import("./host-YJINI5GG.js");
4921
4928
  const { createCaizhilianContinuationSigner } = await import("./continuation-GW6PRWK3.js");
4922
4929
  const probeEnv = {
4923
4930
  ...env,
@@ -4993,8 +5000,8 @@ var minuteExportOperations = [
4993
5000
  let targetFolderType = "company";
4994
5001
  let caizhilianEnvRef = null;
4995
5002
  try {
4996
- const { executeCaizhilianOperation } = await import("./operations-4P2UYVLH.js");
4997
- const { createCaizhilianHost } = await import("./host-OT4KNR3G.js");
5003
+ const { executeCaizhilianOperation } = await import("./operations-YLKRNAPI.js");
5004
+ const { createCaizhilianHost } = await import("./host-YJINI5GG.js");
4998
5005
  const { createCaizhilianContinuationSigner } = await import("./continuation-GW6PRWK3.js");
4999
5006
  const caizhilianEnv = {
5000
5007
  ...env,
@@ -5040,7 +5047,7 @@ var minuteExportOperations = [
5040
5047
  let contentType = "";
5041
5048
  if (docId && caizhilianEnvRef) {
5042
5049
  try {
5043
- const { executeCaizhilianOperation } = await import("./operations-4P2UYVLH.js");
5050
+ const { executeCaizhilianOperation } = await import("./operations-YLKRNAPI.js");
5044
5051
  const got = await executeCaizhilianOperation(
5045
5052
  "caizhilian.document.get",
5046
5053
  { doc_id: docId },
@@ -5088,7 +5095,7 @@ function splitList(raw) {
5088
5095
  return String(raw ?? "").split(/[,,、;;\s]+/).map((item) => item.trim()).filter((item) => item !== "");
5089
5096
  }
5090
5097
  async function runImWrite(imEnv, prepareName, applyName, input) {
5091
- const { getImOperation } = await import("./registry-AC33ZZVH.js");
5098
+ const { getImOperation } = await import("./registry-YY62OFKQ.js");
5092
5099
  const prepared = await getImOperation(prepareName).handler(input, imEnv);
5093
5100
  const continuation = String(prepared?.continuation ?? prepared?.data?.continuation ?? "");
5094
5101
  if (!continuation) {
@@ -5187,7 +5194,7 @@ var groupShareOperations = [
5187
5194
  const dd = String(now.getDate()).padStart(2, "0");
5188
5195
  groupName = `\u4F1A\u8BAE\u7FA4-${mm}${dd}`;
5189
5196
  }
5190
- const { resolvePersonTokens: resolvePersonTokens2 } = await import("./create-flow-YIFMKM2C.js");
5197
+ const { resolvePersonTokens: resolvePersonTokens2 } = await import("./create-flow-OFZC36MV.js");
5191
5198
  const allTokens = [.../* @__PURE__ */ new Set([...memberTokens, ...taskOwners])];
5192
5199
  const peopleMap = allTokens.length > 0 ? await resolvePersonTokens2(env, allTokens) : /* @__PURE__ */ new Map();
5193
5200
  const resolved = memberTokens.map((token) => peopleMap.get(token)).filter(Boolean);
@@ -5224,7 +5231,7 @@ var groupShareOperations = [
5224
5231
  const addSelf = selfId !== "" && !memberIds.includes(selfId);
5225
5232
  const createUsers = addSelf ? [selfId, ...memberIds] : memberIds;
5226
5233
  const createNames = addSelf ? [selfName, ...memberNames] : memberNames;
5227
- const { buildImEnv } = await import("./group-chat-GGPL2EBF.js");
5234
+ const { buildImEnv } = await import("./group-chat-5R6L3LCG.js");
5228
5235
  const imEnv = await buildImEnv(env);
5229
5236
  const steps = [];
5230
5237
  if (args.dry_run === true) {
@@ -5937,7 +5944,7 @@ var meetingSummaryGet = {
5937
5944
  const mtId = textOf5(args.mt_id).trim();
5938
5945
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
5939
5946
  const ctx = env.ctx;
5940
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
5947
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
5941
5948
  const warnings = [];
5942
5949
  const timings = {};
5943
5950
  const include = Array.isArray(args.include) && args.include.length > 0 ? args.include.filter((item) => ALL_SECTIONS.includes(item)) : ALL_SECTIONS;
@@ -6073,9 +6080,9 @@ var meetingSummaryGet = {
6073
6080
  warnings.push("\u8BE5\u4F1A\u8BAE\u6CA1\u6709\u5173\u8054\u7FA4\u804A\uFF08imchat_groupid \u4E3A\u7A7A\uFF09\uFF0Cchat \u6BB5\u4E3A null");
6074
6081
  } else {
6075
6082
  try {
6076
- const { createImHost } = await import("./host-XXGDQM7D.js");
6083
+ const { createImHost } = await import("./host-J72VEDW5.js");
6077
6084
  const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
6078
- const { getImOperation } = await import("./registry-AC33ZZVH.js");
6085
+ const { getImOperation } = await import("./registry-YY62OFKQ.js");
6079
6086
  const imEnv = {
6080
6087
  ctx,
6081
6088
  // 测试环境靠 env.imHost 注入假实现,否则会真的打到线上群聊
@@ -6199,7 +6206,7 @@ var meetingFormFields = {
6199
6206
  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"
6200
6207
  }, { warnings: resolved.warnings });
6201
6208
  }
6202
- const { createEbuilderFormHost } = await import("./host-EYNLB6S4.js");
6209
+ const { createEbuilderFormHost } = await import("./host-W3BVEATN.js");
6203
6210
  const { createEbuilderFormContinuationSigner } = await import("./continuation-3XLYYTKV.js");
6204
6211
  const { executeEbuilderFormOperation } = await import("./operations-2WHIF5WV.js");
6205
6212
  const formEnv = {
@@ -6258,7 +6265,7 @@ var MT_STATUS_OVER = "8";
6258
6265
  var CANCELLED_MARK_DELAY_MS = 800;
6259
6266
  async function isCancelledMeeting(env, mtId) {
6260
6267
  try {
6261
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
6268
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
6262
6269
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
6263
6270
  // withCount:false —— 这里只要一行状态,不必额外请求 count(少一次往返,也便于测试替身)
6264
6271
  { mt_id: mtId, pageNo: 1, pageSize: 1, withCount: false },
@@ -6303,7 +6310,7 @@ async function resolveDecisionPeople(env, input, ownerId) {
6303
6310
  }
6304
6311
  let nameToId = /* @__PURE__ */ new Map();
6305
6312
  if (nameTokens.size > 0) {
6306
- const { resolveMemberIdsByName } = await import("./schedule-T7W357TN.js");
6313
+ const { resolveMemberIdsByName } = await import("./schedule-LNBOCBP5.js");
6307
6314
  nameToId = await resolveMemberIdsByName(env, [...nameTokens]).catch(() => /* @__PURE__ */ new Map());
6308
6315
  }
6309
6316
  const unresolved = [];
@@ -7178,9 +7185,9 @@ async function runCrmSearchFlow(env, input) {
7178
7185
  if (!employeeId) {
7179
7186
  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");
7180
7187
  }
7181
- const { createEsbHost } = await import("./host-EJSJSLVK.js");
7188
+ const { createEsbHost } = await import("./host-QKCRQS2C.js");
7182
7189
  const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
7183
- const { getEsbOperation } = await import("./registry-3VTB3KLV.js");
7190
+ const { getEsbOperation } = await import("./registry-BMTQ55G5.js");
7184
7191
  const esbEnv = {
7185
7192
  ctx: env.ctx,
7186
7193
  host: createEsbHost(env.ctx),
@@ -7347,7 +7354,7 @@ var deleteMany = {
7347
7354
  if (args.confirm !== true) {
7348
7355
  throw meetingValidationError("confirmation_required", "\u6279\u91CF\u5220\u9664\u4E0D\u53EF\u6062\u590D\uFF0C\u5FC5\u987B\u4F20 confirm=true");
7349
7356
  }
7350
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
7357
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
7351
7358
  const listOp = getMeetingOperation2("meeting.eb.decisionTask.list");
7352
7359
  const prepareOp = getMeetingOperation2("meeting.eb.decisionTask.delete.prepare");
7353
7360
  const applyOp = getMeetingOperation2("meeting.eb.decisionTask.delete.apply");
@@ -7445,7 +7452,7 @@ function fieldId(value) {
7445
7452
  async function resolveEmployeeId(env, token) {
7446
7453
  const value = String(token ?? "").trim();
7447
7454
  if (/^\d{8,}$/.test(value)) return { id: value, name: value };
7448
- const { hrmEmployeeOperations } = await import("./employee-QX57HEWS.js");
7455
+ const { hrmEmployeeOperations } = await import("./employee-O2EPUYIH.js");
7449
7456
  const query = hrmEmployeeOperations.find((operation) => operation.name === "hrm.employee.query");
7450
7457
  if (!query) throw meetingValidationError("employee_query_unavailable", "\u65E0\u6CD5\u89E3\u6790\u59D3\u540D\uFF1A\u5458\u5DE5\u67E5\u8BE2\u64CD\u4F5C\u4E0D\u53EF\u7528");
7451
7458
  const found = await query.handler({ keyword: value, pageSize: 20 }, env);
@@ -7482,7 +7489,7 @@ var reassign = {
7482
7489
  },
7483
7490
  handler: async (args, env) => {
7484
7491
  if (args.confirm === false) throw meetingValidationError("confirmation_required", "confirm=false\uFF0C\u672A\u6267\u884C");
7485
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
7492
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
7486
7493
  const mtId = String(args.mt_id ?? "").trim();
7487
7494
  const target = await resolveEmployeeId(env, String(args.to_executor ?? ""));
7488
7495
  const from = String(args.from_executor ?? "").trim();
@@ -7781,7 +7788,7 @@ var formLink = {
7781
7788
  pushValue("crm_members", "##" + first.id);
7782
7789
  } else {
7783
7790
  try {
7784
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
7791
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
7785
7792
  const search = getMeetingOperation2("meeting.eb.crm.search");
7786
7793
  const found = await search.handler({ keyword: first.name, pageSize: 10 }, env);
7787
7794
  const rows = found?.data?.items ?? [];
@@ -7936,7 +7943,7 @@ var ebAutoInvitationAfterWrite = async (context) => {
7936
7943
  const mtId = String(context.dataIds?.[0] ?? "").trim();
7937
7944
  if (!isCreate || !enabled || !mtId) return association;
7938
7945
  try {
7939
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
7946
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
7940
7947
  const render = getMeetingOperation2("meeting.invitation.render");
7941
7948
  const result = await render.handler({ mtId }, context.env);
7942
7949
  return { ...association ?? {}, invitation: result?.data ?? null };
@@ -7972,7 +7979,7 @@ var ebOperationsWithLinks = ebBaseOperations.map((operation) => {
7972
7979
  const raw = String(args.member).trim();
7973
7980
  let uid = /^\d+$/.test(raw) ? raw : "";
7974
7981
  if (!uid) {
7975
- const { resolveMemberIdsByName } = await import("./schedule-T7W357TN.js");
7982
+ const { resolveMemberIdsByName } = await import("./schedule-LNBOCBP5.js");
7976
7983
  const map = await resolveMemberIdsByName(env, [raw]).catch(() => /* @__PURE__ */ new Map());
7977
7984
  uid = String(map.get(raw) ?? "");
7978
7985
  }
@@ -8011,7 +8018,7 @@ var ebOperationsWithMinuteDoc = ebOperationsWithLinks.map((operation) => {
8011
8018
  if (!String(nextArgs.mt_minutes_subject ?? "").trim() && nextArgs.mt_id) {
8012
8019
  let meetingName = "";
8013
8020
  try {
8014
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
8021
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
8015
8022
  const detailOp = getMeetingOperation2("meeting.eb.meeting.detail");
8016
8023
  const detail = await detailOp.handler({ id: String(nextArgs.mt_id) }, env);
8017
8024
  const row = detail?.data?.data ?? {};
@@ -8031,8 +8038,8 @@ var ebOperationsWithMinuteDoc = ebOperationsWithLinks.map((operation) => {
8031
8038
  handler: async (args, env) => {
8032
8039
  const result = await operation.handler(args, env);
8033
8040
  try {
8034
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
8035
- const { ensureMinuteDoc } = await import("./minute-doc-NHIEZEHU.js");
8041
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
8042
+ const { ensureMinuteDoc } = await import("./minute-doc-JMIDZK5D.js");
8036
8043
  const minuteId = String((result?.data?.dataIds ?? [])[0] ?? "").trim();
8037
8044
  if (minuteId) {
8038
8045
  const detail = await getMeetingOperation2("meeting.eb.minute.detail").handler({ id: minuteId }, env);
@@ -8159,7 +8166,7 @@ var composeOutcome = {
8159
8166
  if (args.confirm === false) {
8160
8167
  throw meetingValidationError("confirmation_required", "\u4F20\u4E86 confirm=false\uFF0C\u5DF2\u963B\u6B62\u5199\u5165");
8161
8168
  }
8162
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-HWUNNXDU.js");
8169
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SAMJ4VH2.js");
8163
8170
  let mtId = String(args.mt_id ?? "").trim();
8164
8171
  if (!mtId) {
8165
8172
  const listOp2 = getMeetingOperation2("meeting.eb.meeting.list");
@@ -2,7 +2,7 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
2
  const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  isXiaoEHostEnvironment
5
- } from "./chunk-7DE3VMZD.js";
5
+ } from "./chunk-LYFPWZBD.js";
6
6
 
7
7
  // src/internal/update/service.ts
8
8
  import { randomUUID as randomUUID2 } from "node:crypto";