weaver-work-cli 0.1.63 → 0.1.64

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 (148) hide show
  1. package/dist/chunks/{archive-BLDYBZDX.js → archive-WUZKAEZ6.js} +2 -2
  2. package/dist/chunks/{archive-oa-3GJ3TWXR.js → archive-oa-PN46RTI2.js} +2 -2
  3. package/dist/chunks/{asset-AFXJN4CK.js → asset-ZPC5VWZM.js} +2 -2
  4. package/dist/chunks/{asset-idle-VUJXWGWJ.js → asset-idle-DHGP3NYY.js} +2 -2
  5. package/dist/chunks/{attachment-content-VMJA7NSQ.js → attachment-content-JQDW3BIB.js} +3 -3
  6. package/dist/chunks/{blog-EREB35VU.js → blog-JC47AIXK.js} +2 -2
  7. package/dist/chunks/{caizhilian-ATM2JO5S.js → caizhilian-IKIHM77A.js} +4 -4
  8. package/dist/chunks/{calendar-E26ZIH7S.js → calendar-GZTSJ57Y.js} +2 -2
  9. package/dist/chunks/{chunk-OMAGCLUE.js → chunk-26FCCU5O.js} +2 -2
  10. package/dist/chunks/{chunk-BY3WDJO5.js → chunk-3PCXBG4H.js} +1 -1
  11. package/dist/chunks/{chunk-EOZHSNND.js → chunk-3W5NMGDS.js} +2 -2
  12. package/dist/chunks/{chunk-TNFIUZ4H.js → chunk-4AFWOGOV.js} +1 -1
  13. package/dist/chunks/{chunk-QAMIIFP6.js → chunk-5QQKLR6H.js} +11 -11
  14. package/dist/chunks/{chunk-C5PIGPGX.js → chunk-6T5X6YWX.js} +2 -2
  15. package/dist/chunks/{chunk-WPBZQVLS.js → chunk-AFZTMYGC.js} +1 -1
  16. package/dist/chunks/{chunk-IGICM3WJ.js → chunk-AGSO3PIK.js} +2 -2
  17. package/dist/chunks/{chunk-6VCQLZXE.js → chunk-FDBAFANU.js} +1 -0
  18. package/dist/chunks/{chunk-RV2JAA5I.js → chunk-FJUOUSV3.js} +1 -1
  19. package/dist/chunks/{chunk-6G2JARDK.js → chunk-HLT6B26P.js} +1 -1
  20. package/dist/chunks/{chunk-THMBDCRA.js → chunk-HWA2A25Y.js} +2 -2
  21. package/dist/chunks/{chunk-SHBDXEUE.js → chunk-I3MOFD6Q.js} +4 -4
  22. package/dist/chunks/{chunk-5CY37VLS.js → chunk-INVYKG4I.js} +45 -43
  23. package/dist/chunks/{chunk-QZYKZ7MQ.js → chunk-K7QKQRSL.js} +155 -57
  24. package/dist/chunks/{chunk-HEJPVXD3.js → chunk-KDFEHDIB.js} +4 -4
  25. package/dist/chunks/{chunk-I4C2KR2G.js → chunk-KYDXWYFB.js} +1 -1
  26. package/dist/chunks/{chunk-RR45ELVE.js → chunk-Q6D6PSMH.js} +2 -2
  27. package/dist/chunks/{chunk-G3ZM57PD.js → chunk-RMOH2GMF.js} +2 -2
  28. package/dist/chunks/{chunk-LOVAIGM2.js → chunk-SCMHG23G.js} +50 -50
  29. package/dist/chunks/{chunk-GQK6WLOS.js → chunk-VLY5RTVO.js} +2 -2
  30. package/dist/chunks/{chunk-SDPC7BG2.js → chunk-WSHIOSGM.js} +2 -2
  31. package/dist/chunks/{chunk-4OB22YKE.js → chunk-XHSEK2VM.js} +6 -6
  32. package/dist/chunks/{chunk-GOBNIGWS.js → chunk-YTFNMQO4.js} +1 -1
  33. package/dist/chunks/{conflict-AMNTM3FV.js → conflict-UUC7AFUI.js} +2 -2
  34. package/dist/chunks/{contract-PLO2V2NO.js → contract-INMS7SYQ.js} +846 -199
  35. package/dist/chunks/{cowork-FZAXE6FO.js → cowork-34CBYVQP.js} +2 -2
  36. package/dist/chunks/{create-flow-2DAUN7HU.js → create-flow-YOR4QTAJ.js} +8 -6
  37. package/dist/chunks/{data-7NXMWET4.js → data-QKWI5325.js} +13 -2
  38. package/dist/chunks/{ebuilder-form-DEYHX6M7.js → ebuilder-form-ZONRROK4.js} +3 -3
  39. package/dist/chunks/{ehr-QQH2DYYA.js → ehr-2CONM7R6.js} +2 -2
  40. package/dist/chunks/{entry-mode-2JTVEKMP.js → entry-mode-S2ENJ6GZ.js} +3 -3
  41. package/dist/chunks/{env-2JZMXC6I.js → env-ZSAXU5PJ.js} +2 -2
  42. package/dist/chunks/{esb-I5ZFHJUK.js → esb-FQASCY2H.js} +4 -4
  43. package/dist/chunks/{factory-XIATYHU6.js → factory-N76QQA53.js} +1 -1
  44. package/dist/chunks/{fna-3V2TL6B2.js → fna-FCLVIWAS.js} +2 -2
  45. package/dist/chunks/{group-chat-CVYUZCOQ.js → group-chat-UM665WDZ.js} +3 -3
  46. package/dist/chunks/{host-CBONEAZS.js → host-2ED2KC4X.js} +3 -3
  47. package/dist/chunks/{host-4DP7C7YQ.js → host-2UYZEY2V.js} +3 -3
  48. package/dist/chunks/{host-4KQCAEWA.js → host-46NYKDQP.js} +3 -3
  49. package/dist/chunks/{host-BD7NAM33.js → host-7IPZKIM4.js} +3 -3
  50. package/dist/chunks/{host-L37QVNIV.js → host-P7G22WNM.js} +3 -3
  51. package/dist/chunks/{host-4X2F3JPQ.js → host-XLCBLNJD.js} +3 -3
  52. package/dist/chunks/{hrm-OL3IKN7C.js → hrm-XKL27NX2.js} +3 -3
  53. package/dist/chunks/{im-YXQWUF3R.js → im-NDYIMASG.js} +3 -3
  54. package/dist/chunks/{invoice-4WY32PR2.js → invoice-MOGNB6HN.js} +3 -3
  55. package/dist/chunks/{jiuchuanhui-L6SHLONH.js → jiuchuanhui-3T5X7SB7.js} +2 -2
  56. package/dist/chunks/{lazy-dispatch-OYE6QV24.js → lazy-dispatch-4WOIL3ZQ.js} +4 -4
  57. package/dist/chunks/{mail-PZV2KNRU.js → mail-P7VMUKQW.js} +2 -2
  58. package/dist/chunks/{meeting-6SOBCC6N.js → meeting-MMTYDHXA.js} +13 -13
  59. package/dist/chunks/{minute-doc-KSJSJNOH.js → minute-doc-LCSBWGJ3.js} +4 -4
  60. package/dist/chunks/{okr-B76FW5M2.js → okr-VZXRQGS4.js} +2 -2
  61. package/dist/chunks/{operations-YOMEGFLV.js → operations-MI2BSKZX.js} +4 -4
  62. package/dist/chunks/{performance-4VBKUPFO.js → performance-OPEQNW7Y.js} +870 -15
  63. package/dist/chunks/{plan-HBNZRQTI.js → plan-TJAS4N5X.js} +2 -2
  64. package/dist/chunks/{project-IV6FWK74.js → project-CYBGU6K6.js} +2 -2
  65. package/dist/chunks/{reception-BR5YURT6.js → reception-3FT2F66K.js} +2 -2
  66. package/dist/chunks/{recruit-stage-4HQ6OGXT.js → recruit-stage-WPGB5BDJ.js} +2 -2
  67. package/dist/chunks/{registry-JFQEFC7E.js → registry-BAWCWV4D.js} +2 -2
  68. package/dist/chunks/{registry-7LICMV5J.js → registry-FNI5E76J.js} +12 -12
  69. package/dist/chunks/{registry-MZJQX65Q.js → registry-QRMXRSCT.js} +4 -4
  70. package/dist/chunks/{room-recommend-43GLLE7Y.js → room-recommend-I7QQRHEL.js} +4 -4
  71. package/dist/chunks/{schedule-ZQ42BEW6.js → schedule-3P7EWGNZ.js} +4 -4
  72. package/dist/chunks/{smart-extract-QKAEAZGM.js → smart-extract-FOBSVNYW.js} +2 -2
  73. package/dist/chunks/{workflow-6HV7H5PC.js → workflow-U2KKTVQY.js} +4 -4
  74. package/dist/index.js +33 -33
  75. package/dist/internal/e10/auth/commands.js +182 -43
  76. package/dist/shortcuts/contract/error-actions.js +112 -0
  77. package/dist/shortcuts/contract/errors.js +9 -1
  78. package/dist/shortcuts/contract/manifest.js +18 -7
  79. package/dist/shortcuts/contract/operations/docx-slots.js +112 -5
  80. package/dist/shortcuts/contract/operations/docx-verify.js +2 -70
  81. package/dist/shortcuts/contract/operations/elements-build.js +82 -56
  82. package/dist/shortcuts/contract/operations/elements-spec.js +140 -3
  83. package/dist/shortcuts/contract/operations/ledger-card.js +25 -2
  84. package/dist/shortcuts/contract/operations/ledger.js +33 -5
  85. package/dist/shortcuts/contract/operations/money.js +90 -0
  86. package/dist/shortcuts/contract/operations/placeholder-scan.js +104 -0
  87. package/dist/shortcuts/contract/operations/quote-recognize.js +54 -17
  88. package/dist/shortcuts/contract/operations/quote-ref.js +179 -0
  89. package/dist/shortcuts/contract/operations/quote-submit.js +20 -3
  90. package/dist/shortcuts/contract/operations/quote.js +66 -12
  91. package/dist/shortcuts/contract/operations/solutions-spec.js +79 -0
  92. package/dist/shortcuts/contract/operations/triage.js +55 -9
  93. package/dist/shortcuts/data/operations/shared.js +14 -1
  94. package/dist/shortcuts/meeting/operations/eb/create-flow.js +25 -11
  95. package/dist/shortcuts/performance/flow-utils.js +363 -0
  96. package/dist/shortcuts/performance/manifest.js +2 -2
  97. package/dist/shortcuts/performance/operations/flow-detail.js +85 -0
  98. package/dist/shortcuts/performance/operations/flow-list.js +213 -0
  99. package/dist/shortcuts/performance/operations/flow-score.js +241 -0
  100. package/dist/shortcuts/performance/operations/registry.js +6 -0
  101. package/docs/e10-auth.md +27 -2
  102. package/package.json +1 -1
  103. package/skills/weaver-e10-jinchengda/SKILL.md +87 -39
  104. package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +29 -29
  105. package/skills/weaver-e10-jinchengda/references/contract-clause-insert.md +2 -2
  106. package/skills/weaver-e10-jinchengda/references/contract-clause-library-crud.md +1 -1
  107. package/skills/weaver-e10-jinchengda/references/contract-command-index.md +29 -7
  108. package/skills/weaver-e10-jinchengda/references/contract-compare-report.md +3 -3
  109. package/skills/weaver-e10-jinchengda/references/contract-credit-page.md +5 -5
  110. package/skills/weaver-e10-jinchengda/references/contract-disabled-capabilities.md +1 -1
  111. package/skills/weaver-e10-jinchengda/references/contract-doc-compare.md +22 -25
  112. package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +53 -314
  113. package/skills/weaver-e10-jinchengda/references/contract-element-extract.md +6 -5
  114. package/skills/weaver-e10-jinchengda/references/contract-element-save-record.md +19 -11
  115. package/skills/weaver-e10-jinchengda/references/contract-execution-rules.md +3 -3
  116. package/skills/weaver-e10-jinchengda/references/contract-field-extract-new-customer.md +43 -25
  117. package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +103 -212
  118. package/skills/weaver-e10-jinchengda/references/contract-flow-launch.md +7 -7
  119. package/skills/weaver-e10-jinchengda/references/contract-ledger-catalog.md +7 -6
  120. package/skills/weaver-e10-jinchengda/references/contract-ledger-query-playbook.md +34 -21
  121. package/skills/weaver-e10-jinchengda/references/contract-ledger-rules.md +6 -6
  122. package/skills/weaver-e10-jinchengda/references/contract-modeltext-library.md +3 -3
  123. package/skills/weaver-e10-jinchengda/references/contract-multi-file.md +6 -6
  124. package/skills/weaver-e10-jinchengda/references/contract-object-detect.md +22 -22
  125. package/skills/weaver-e10-jinchengda/references/contract-open-web-pages.md +21 -19
  126. package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +6 -5
  127. package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +132 -95
  128. package/skills/weaver-e10-jinchengda/references/contract-request-status.md +1 -1
  129. package/skills/weaver-e10-jinchengda/references/contract-request-write.md +1 -1
  130. package/skills/weaver-e10-jinchengda/references/contract-template-recommend.md +1 -1
  131. package/skills/weaver-e10-jinchengda/references/contract-type-fingerprints.md +12 -12
  132. package/skills/weaver-e10-jinchengda/references/contract-workflow-discovery.md +1 -1
  133. package/skills/weaver-e10-jinchengda/references/orchestration.md +5 -5
  134. package/skills/weaver-e10-meeting/SKILL.md +8 -7
  135. package/skills/weaver-e10-meeting/references/create-commands.md +2 -2
  136. package/skills/weaver-e10-meeting/references/create-flow.md +6 -6
  137. package/skills/weaver-e10-meeting/references/create-guardrails.md +10 -10
  138. package/skills/weaver-e10-meeting/references/invitation.md +1 -1
  139. package/skills/weaver-e10-meeting/references/meeting-eb.md +26 -26
  140. package/skills/weaver-e10-meeting/references/meeting-invitation.md +2 -2
  141. package/skills/weaver-e10-meeting/references/meeting-minute-file.md +2 -2
  142. package/skills/weaver-e10-meeting/references/meeting-verification.md +1 -1
  143. package/skills/weaver-e10-performance/SKILL.md +45 -5
  144. package/skills/weaver-e10-performance/agents/openai.yaml +26 -2
  145. package/skills/weaver-e10-performance/references/flow-api.md +128 -0
  146. package/skills/weaver-e10-performance/references/flow-assess.md +149 -0
  147. package/skills/weaver-e10-yimiaoban/SKILL.md +8 -5
  148. package/skills/weaver-e10-yimiaoban/references/source-manifest.json +3 -3
@@ -10,44 +10,44 @@ import {
10
10
  resolvePersonTokens,
11
11
  resolveSelfPerson,
12
12
  resolveWorkflowId
13
- } from "./chunk-5CY37VLS.js";
13
+ } from "./chunk-INVYKG4I.js";
14
14
  import {
15
15
  ebMeetingWritePreflight,
16
16
  meetingEbConflictOperations
17
- } from "./chunk-4OB22YKE.js";
17
+ } from "./chunk-XHSEK2VM.js";
18
18
  import {
19
19
  listMeetingAttachments,
20
20
  meetingAttachmentContentOperations
21
- } from "./chunk-G3ZM57PD.js";
21
+ } from "./chunk-RMOH2GMF.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-QAMIIFP6.js";
28
+ } from "./chunk-5QQKLR6H.js";
29
29
  import {
30
30
  meetingEntryOperations
31
- } from "./chunk-IGICM3WJ.js";
31
+ } from "./chunk-AGSO3PIK.js";
32
32
  import {
33
33
  meetingEbScheduleOperations
34
- } from "./chunk-HEJPVXD3.js";
34
+ } from "./chunk-KDFEHDIB.js";
35
35
  import {
36
36
  ebRoomRecommendOperation,
37
37
  inferRoomFloor,
38
38
  recommendRooms,
39
39
  rememberFrequentRoom
40
- } from "./chunk-SHBDXEUE.js";
40
+ } from "./chunk-I3MOFD6Q.js";
41
41
  import {
42
42
  cacheScopeSuffix,
43
43
  readCache,
44
44
  writeCache
45
- } from "./chunk-I4C2KR2G.js";
45
+ } from "./chunk-KYDXWYFB.js";
46
46
  import {
47
47
  meetingEnvOperations,
48
48
  meetingStateDir,
49
49
  resolveMeetingEnvMode
50
- } from "./chunk-BY3WDJO5.js";
50
+ } from "./chunk-3PCXBG4H.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-TNFIUZ4H.js";
82
+ } from "./chunk-4AFWOGOV.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-6VCQLZXE.js";
89
+ } from "./chunk-FDBAFANU.js";
90
90
 
91
91
  // src/shortcuts/meeting/operations/meetings.ts
92
92
  function overlapsDate(beginDatetime, endDatetime, date) {
@@ -2247,7 +2247,7 @@ var meetingAttachmentAttach = {
2247
2247
  if (mode === "append" && existingIds.length === 0) {
2248
2248
  existingIds.push(...beforeIds);
2249
2249
  }
2250
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
2250
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
2251
2251
  const list = getMeetingOperation2("meeting.eb.meeting.list");
2252
2252
  let fileId = incomingFileId;
2253
2253
  let name = String(args.name ?? "").trim();
@@ -2335,7 +2335,7 @@ function textOf(value) {
2335
2335
  return value === void 0 || value === null ? "" : String(value);
2336
2336
  }
2337
2337
  async function readMinute(env, id) {
2338
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
2338
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
2339
2339
  const detail = getMeetingOperation2("meeting.eb.minute.detail");
2340
2340
  const result = await detail.handler({ id }, env);
2341
2341
  const row = result?.data?.data;
@@ -2418,7 +2418,7 @@ var meetingMinuteWriteContent = {
2418
2418
  } else {
2419
2419
  statusReason = "\u4EC5\u6E05\u7A7A\u5185\u5BB9\uFF0C\u672A\u6539\u72B6\u6001";
2420
2420
  }
2421
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
2421
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
2422
2422
  const prepare = getMeetingOperation2("meeting.eb.minute.update.prepare");
2423
2423
  const apply = getMeetingOperation2("meeting.eb.minute.update.apply");
2424
2424
  const prepared = await prepare.handler({ id, mt_id: mtId, ...patch }, env);
@@ -2434,8 +2434,8 @@ var meetingMinuteWriteContent = {
2434
2434
  let minuteDoc = null;
2435
2435
  if (args.with_doc !== false) {
2436
2436
  try {
2437
- const { buildMinuteDocx } = await import("./minute-doc-KSJSJNOH.js");
2438
- const { meetingStateDir: meetingStateDir2 } = await import("./env-2JZMXC6I.js");
2437
+ const { buildMinuteDocx } = await import("./minute-doc-LCSBWGJ3.js");
2438
+ const { meetingStateDir: meetingStateDir2 } = await import("./env-ZSAXU5PJ.js");
2439
2439
  const { mkdir: mkdir4, writeFile: writeFile4 } = await import("node:fs/promises");
2440
2440
  const { join: join3 } = await import("node:path");
2441
2441
  const subject = textOf(after.mt_minutes_subject).trim() || `\u4F1A\u8BAE\u7EAA\u8981-${mtId}`;
@@ -2472,7 +2472,7 @@ var meetingMinuteWriteContent = {
2472
2472
  }
2473
2473
  if (args.with_doc !== false) {
2474
2474
  try {
2475
- const { ensureMinuteDoc } = await import("./minute-doc-KSJSJNOH.js");
2475
+ const { ensureMinuteDoc } = await import("./minute-doc-LCSBWGJ3.js");
2476
2476
  const better = await ensureMinuteDoc(env, {
2477
2477
  id,
2478
2478
  mtId,
@@ -2843,7 +2843,7 @@ var meetingMinuteFromGroupChat = {
2843
2843
  const mtId = textOf2(args.mt_id).trim();
2844
2844
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
2845
2845
  const pipeline = ["text", "minutes", "document"].includes(args.pipeline) ? args.pipeline : "text";
2846
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
2846
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
2847
2847
  const ctx = env.ctx;
2848
2848
  let stepStart = Date.now();
2849
2849
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
@@ -2867,7 +2867,7 @@ var meetingMinuteFromGroupChat = {
2867
2867
  }
2868
2868
  mark("readMeeting", stepStart);
2869
2869
  const pullStart = Date.now();
2870
- const { createImHost } = await import("./host-4X2F3JPQ.js");
2870
+ const { createImHost } = await import("./host-XLCBLNJD.js");
2871
2871
  const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
2872
2872
  const { getImOperation } = await import("./registry-E5RQJVWN.js");
2873
2873
  const imEnv = { ctx, host: createImHost(ctx), continuation: createImContinuationSigner(ctx) };
@@ -2937,7 +2937,7 @@ var meetingMinuteFromGroupChat = {
2937
2937
  try {
2938
2938
  const { readFile: readFile4 } = await import("node:fs/promises");
2939
2939
  const buffer = await readFile4(file);
2940
- const { extractText } = await import("./attachment-content-VMJA7NSQ.js");
2940
+ const { extractText } = await import("./attachment-content-JQDW3BIB.js");
2941
2941
  const extracted = extractText(buffer, file, "");
2942
2942
  if (extracted.text.trim()) {
2943
2943
  extraSections.push(`\u3010\u6750\u6599\uFF1A${file.split(/[\\/]/).pop() ?? file}\u3011
@@ -3066,9 +3066,9 @@ ${groupTranscript}` : ""
3066
3066
  if (!employeeId) {
3067
3067
  warnings.push("\u672A\u53D6\u5230 ESB \u89E6\u53D1\u4EBA id\uFF08employeeId\uFF09\uFF0C\u5DF2\u8DF3\u8FC7\u540E\u7EED ESB \u8C03\u7528");
3068
3068
  } else {
3069
- const { createEsbHost } = await import("./host-L37QVNIV.js");
3069
+ const { createEsbHost } = await import("./host-P7G22WNM.js");
3070
3070
  const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
3071
- const { getEsbOperation } = await import("./registry-MZJQX65Q.js");
3071
+ const { getEsbOperation } = await import("./registry-QRMXRSCT.js");
3072
3072
  const esbEnv = { ctx, host: createEsbHost(ctx), continuation: createEsbContinuationSigner(ctx) };
3073
3073
  const prepareOp = getEsbOperation("esb.trigger.prepare");
3074
3074
  const applyOp = getEsbOperation("esb.trigger.apply");
@@ -3112,8 +3112,8 @@ ${groupTranscript}` : ""
3112
3112
  if (args.with_doc !== false) {
3113
3113
  const docStarted = Date.now();
3114
3114
  try {
3115
- const { buildMinuteDocx } = await import("./minute-doc-KSJSJNOH.js");
3116
- const { meetingStateDir: meetingStateDir2 } = await import("./env-2JZMXC6I.js");
3115
+ const { buildMinuteDocx } = await import("./minute-doc-LCSBWGJ3.js");
3116
+ const { meetingStateDir: meetingStateDir2 } = await import("./env-ZSAXU5PJ.js");
3117
3117
  const { mkdir: mkdir4, writeFile: writeFile4 } = await import("node:fs/promises");
3118
3118
  const { join: join3 } = await import("node:path");
3119
3119
  const body = textOf2(row.parse_content) || textOf2(row.minutes_content) || transcript;
@@ -3300,7 +3300,7 @@ var meetingDecisionNotifyGroup = {
3300
3300
  const warnings = [];
3301
3301
  const mtId = textOf3(args.mt_id).trim();
3302
3302
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
3303
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
3303
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
3304
3304
  const ctx = env.ctx;
3305
3305
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
3306
3306
  { mt_id: mtId, pageNo: 1, pageSize: 1 },
@@ -3364,7 +3364,7 @@ var meetingDecisionNotifyGroup = {
3364
3364
  charCount: formatted.text.length,
3365
3365
  text: formatted.text
3366
3366
  };
3367
- const { createImHost } = await import("./host-4X2F3JPQ.js");
3367
+ const { createImHost } = await import("./host-XLCBLNJD.js");
3368
3368
  const imHost = createImHost(ctx);
3369
3369
  let displayText = formatted.text;
3370
3370
  let wireText = formatted.text;
@@ -3602,7 +3602,7 @@ var meetingPipelineRun = {
3602
3602
  const needsConfirm = level === "tasks" || level === "notify";
3603
3603
  const confirmed = args.confirm === true;
3604
3604
  const executedLevel = needsConfirm && !confirmed ? "document" : level;
3605
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
3605
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
3606
3606
  const ctx = env.ctx;
3607
3607
  let stepStart = Date.now();
3608
3608
  const reuseMinuteId = textOf4(args.minuteId).trim();
@@ -3671,7 +3671,7 @@ var meetingPipelineRun = {
3671
3671
  ]);
3672
3672
  }
3673
3673
  stepStart = Date.now();
3674
- const { createHrmHost } = await import("./host-4DP7C7YQ.js");
3674
+ const { createHrmHost } = await import("./host-2UYZEY2V.js");
3675
3675
  const { getHrmOperation } = await import("./registry-JMNOXRST.js");
3676
3676
  const hrmEnv = { ctx, host: createHrmHost(ctx) };
3677
3677
  const queryOp = getHrmOperation("hrm.employee.query");
@@ -3974,7 +3974,7 @@ function formatTimeRange(start, end) {
3974
3974
  }
3975
3975
  async function loadAgendaFromTopics(env, mtId) {
3976
3976
  try {
3977
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
3977
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
3978
3978
  const operation = getMeetingOperation2("meeting.eb.topic.list");
3979
3979
  const result = await operation.handler({ mt_id: mtId, pageNo: 1, pageSize: 200 }, env);
3980
3980
  const rows = result.data?.rows ?? [];
@@ -4125,7 +4125,7 @@ async function supplementRowFromDetail(row, mtId, env) {
4125
4125
  const missing = DETAIL_FALLBACK_KEYS.filter((key) => isBlank(row[key]));
4126
4126
  if (missing.length === 0) return { row, filled: [] };
4127
4127
  try {
4128
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
4128
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
4129
4129
  const detailOperation = getMeetingOperation2("meeting.eb.meeting.detail");
4130
4130
  const result = await detailOperation.handler({ id: mtId }, env);
4131
4131
  const flat = result?.data?.data ?? result?.data ?? {};
@@ -4299,7 +4299,7 @@ var meetingInvitationRender = {
4299
4299
  };
4300
4300
  dataSource = "payload";
4301
4301
  } else {
4302
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
4302
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
4303
4303
  const listOperation = getMeetingOperation2("meeting.eb.meeting.list");
4304
4304
  try {
4305
4305
  const listed = await listOperation.handler({ mt_id: mtId, pageNo: 1, pageSize: 1 }, env);
@@ -4643,7 +4643,7 @@ var meetingInvitationPublish = {
4643
4643
  "\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"
4644
4644
  );
4645
4645
  }
4646
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
4646
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
4647
4647
  const render = getMeetingOperation2("meeting.invitation.render");
4648
4648
  const rendered = await render.handler(
4649
4649
  {
@@ -4675,8 +4675,8 @@ var meetingInvitationPublish = {
4675
4675
  folder_type: String(args.folder_type ?? DEFAULT_FOLDER_TYPE),
4676
4676
  author_id: authorId
4677
4677
  };
4678
- const { executeCaizhilianOperation } = await import("./operations-YOMEGFLV.js");
4679
- const { createCaizhilianHost } = await import("./host-4KQCAEWA.js");
4678
+ const { executeCaizhilianOperation } = await import("./operations-MI2BSKZX.js");
4679
+ const { createCaizhilianHost } = await import("./host-46NYKDQP.js");
4680
4680
  const { createCaizhilianContinuationSigner } = await import("./continuation-GW6PRWK3.js");
4681
4681
  const caizhilianEnv = {
4682
4682
  ctx: env.ctx,
@@ -5358,7 +5358,7 @@ var meetingSummaryGet = {
5358
5358
  const mtId = textOf5(args.mt_id).trim();
5359
5359
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
5360
5360
  const ctx = env.ctx;
5361
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
5361
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
5362
5362
  const warnings = [];
5363
5363
  const timings = {};
5364
5364
  const include = Array.isArray(args.include) && args.include.length > 0 ? args.include.filter((item) => ALL_SECTIONS.includes(item)) : ALL_SECTIONS;
@@ -5494,7 +5494,7 @@ var meetingSummaryGet = {
5494
5494
  warnings.push("\u8BE5\u4F1A\u8BAE\u6CA1\u6709\u5173\u8054\u7FA4\u804A\uFF08imchat_groupid \u4E3A\u7A7A\uFF09\uFF0Cchat \u6BB5\u4E3A null");
5495
5495
  } else {
5496
5496
  try {
5497
- const { createImHost } = await import("./host-4X2F3JPQ.js");
5497
+ const { createImHost } = await import("./host-XLCBLNJD.js");
5498
5498
  const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
5499
5499
  const { getImOperation } = await import("./registry-E5RQJVWN.js");
5500
5500
  const imEnv = {
@@ -5620,7 +5620,7 @@ var meetingFormFields = {
5620
5620
  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"
5621
5621
  }, { warnings: resolved.warnings });
5622
5622
  }
5623
- const { createEbuilderFormHost } = await import("./host-BD7NAM33.js");
5623
+ const { createEbuilderFormHost } = await import("./host-7IPZKIM4.js");
5624
5624
  const { createEbuilderFormContinuationSigner } = await import("./continuation-3XLYYTKV.js");
5625
5625
  const { executeEbuilderFormOperation } = await import("./operations-62N6EP3C.js");
5626
5626
  const formEnv = {
@@ -5679,7 +5679,7 @@ var MT_STATUS_OVER = "8";
5679
5679
  var CANCELLED_MARK_DELAY_MS = 800;
5680
5680
  async function isCancelledMeeting(env, mtId) {
5681
5681
  try {
5682
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
5682
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
5683
5683
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
5684
5684
  // withCount:false —— 这里只要一行状态,不必额外请求 count(少一次往返,也便于测试替身)
5685
5685
  { mt_id: mtId, pageNo: 1, pageSize: 1, withCount: false },
@@ -5724,7 +5724,7 @@ async function resolveDecisionPeople(env, input, ownerId) {
5724
5724
  }
5725
5725
  let nameToId = /* @__PURE__ */ new Map();
5726
5726
  if (nameTokens.size > 0) {
5727
- const { resolveMemberIdsByName } = await import("./schedule-ZQ42BEW6.js");
5727
+ const { resolveMemberIdsByName } = await import("./schedule-3P7EWGNZ.js");
5728
5728
  nameToId = await resolveMemberIdsByName(env, [...nameTokens]).catch(() => /* @__PURE__ */ new Map());
5729
5729
  }
5730
5730
  const unresolved = [];
@@ -6599,9 +6599,9 @@ async function runCrmSearchFlow(env, input) {
6599
6599
  if (!employeeId) {
6600
6600
  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");
6601
6601
  }
6602
- const { createEsbHost } = await import("./host-L37QVNIV.js");
6602
+ const { createEsbHost } = await import("./host-P7G22WNM.js");
6603
6603
  const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
6604
- const { getEsbOperation } = await import("./registry-MZJQX65Q.js");
6604
+ const { getEsbOperation } = await import("./registry-QRMXRSCT.js");
6605
6605
  const esbEnv = {
6606
6606
  ctx: env.ctx,
6607
6607
  host: createEsbHost(env.ctx),
@@ -6768,7 +6768,7 @@ var deleteMany = {
6768
6768
  if (args.confirm !== true) {
6769
6769
  throw meetingValidationError("confirmation_required", "\u6279\u91CF\u5220\u9664\u4E0D\u53EF\u6062\u590D\uFF0C\u5FC5\u987B\u4F20 confirm=true");
6770
6770
  }
6771
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
6771
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
6772
6772
  const listOp = getMeetingOperation2("meeting.eb.decisionTask.list");
6773
6773
  const prepareOp = getMeetingOperation2("meeting.eb.decisionTask.delete.prepare");
6774
6774
  const applyOp = getMeetingOperation2("meeting.eb.decisionTask.delete.apply");
@@ -6903,7 +6903,7 @@ var reassign = {
6903
6903
  },
6904
6904
  handler: async (args, env) => {
6905
6905
  if (args.confirm === false) throw meetingValidationError("confirmation_required", "confirm=false\uFF0C\u672A\u6267\u884C");
6906
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
6906
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
6907
6907
  const mtId = String(args.mt_id ?? "").trim();
6908
6908
  const target = await resolveEmployeeId(env, String(args.to_executor ?? ""));
6909
6909
  const from = String(args.from_executor ?? "").trim();
@@ -7202,7 +7202,7 @@ var formLink = {
7202
7202
  pushValue("crm_members", "##" + first.id);
7203
7203
  } else {
7204
7204
  try {
7205
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
7205
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
7206
7206
  const search = getMeetingOperation2("meeting.eb.crm.search");
7207
7207
  const found = await search.handler({ keyword: first.name, pageSize: 10 }, env);
7208
7208
  const rows = found?.data?.items ?? [];
@@ -7357,7 +7357,7 @@ var ebAutoInvitationAfterWrite = async (context) => {
7357
7357
  const mtId = String(context.dataIds?.[0] ?? "").trim();
7358
7358
  if (!isCreate || !enabled || !mtId) return association;
7359
7359
  try {
7360
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
7360
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
7361
7361
  const render = getMeetingOperation2("meeting.invitation.render");
7362
7362
  const result = await render.handler({ mtId }, context.env);
7363
7363
  return { ...association ?? {}, invitation: result?.data ?? null };
@@ -7393,7 +7393,7 @@ var ebOperationsWithLinks = ebBaseOperations.map((operation) => {
7393
7393
  const raw = String(args.member).trim();
7394
7394
  let uid = /^\d+$/.test(raw) ? raw : "";
7395
7395
  if (!uid) {
7396
- const { resolveMemberIdsByName } = await import("./schedule-ZQ42BEW6.js");
7396
+ const { resolveMemberIdsByName } = await import("./schedule-3P7EWGNZ.js");
7397
7397
  const map = await resolveMemberIdsByName(env, [raw]).catch(() => /* @__PURE__ */ new Map());
7398
7398
  uid = String(map.get(raw) ?? "");
7399
7399
  }
@@ -7432,7 +7432,7 @@ var ebOperationsWithMinuteDoc = ebOperationsWithLinks.map((operation) => {
7432
7432
  if (!String(nextArgs.mt_minutes_subject ?? "").trim() && nextArgs.mt_id) {
7433
7433
  let meetingName = "";
7434
7434
  try {
7435
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
7435
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
7436
7436
  const detailOp = getMeetingOperation2("meeting.eb.meeting.detail");
7437
7437
  const detail = await detailOp.handler({ id: String(nextArgs.mt_id) }, env);
7438
7438
  const row = detail?.data?.data ?? {};
@@ -7452,8 +7452,8 @@ var ebOperationsWithMinuteDoc = ebOperationsWithLinks.map((operation) => {
7452
7452
  handler: async (args, env) => {
7453
7453
  const result = await operation.handler(args, env);
7454
7454
  try {
7455
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
7456
- const { ensureMinuteDoc } = await import("./minute-doc-KSJSJNOH.js");
7455
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
7456
+ const { ensureMinuteDoc } = await import("./minute-doc-LCSBWGJ3.js");
7457
7457
  const minuteId = String((result?.data?.dataIds ?? [])[0] ?? "").trim();
7458
7458
  if (minuteId) {
7459
7459
  const detail = await getMeetingOperation2("meeting.eb.minute.detail").handler({ id: minuteId }, env);
@@ -7577,7 +7577,7 @@ var composeOutcome = {
7577
7577
  if (args.confirm === false) {
7578
7578
  throw meetingValidationError("confirmation_required", "\u4F20\u4E86 confirm=false\uFF0C\u5DF2\u963B\u6B62\u5199\u5165");
7579
7579
  }
7580
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7LICMV5J.js");
7580
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-FNI5E76J.js");
7581
7581
  let mtId = String(args.mt_id ?? "").trim();
7582
7582
  if (!mtId) {
7583
7583
  const listOp2 = getMeetingOperation2("meeting.eb.meeting.list");
@@ -14,13 +14,13 @@ import {
14
14
  createE10RequestRuntime,
15
15
  isE10SessionExpiredResponse,
16
16
  requireE10Session
17
- } from "./chunk-RV2JAA5I.js";
17
+ } from "./chunk-FJUOUSV3.js";
18
18
  import {
19
19
  E10_SESSION_EXPIRED_MESSAGE
20
20
  } from "./chunk-TJN4PIYO.js";
21
21
  import {
22
22
  getActiveProfile
23
- } from "./chunk-6VCQLZXE.js";
23
+ } from "./chunk-FDBAFANU.js";
24
24
 
25
25
  // src/shortcuts/esb/host.ts
26
26
  var ESB_PATHS = {
@@ -4,14 +4,14 @@ import {
4
4
  createE10RequestRuntime,
5
5
  isE10SessionExpiredResponse,
6
6
  requireE10Session
7
- } from "./chunk-RV2JAA5I.js";
7
+ } from "./chunk-FJUOUSV3.js";
8
8
  import {
9
9
  E10_REAUTH_GUIDANCE,
10
10
  E10_SESSION_EXPIRED_MESSAGE
11
11
  } from "./chunk-TJN4PIYO.js";
12
12
  import {
13
13
  getActiveProfile
14
- } from "./chunk-6VCQLZXE.js";
14
+ } from "./chunk-FDBAFANU.js";
15
15
  import {
16
16
  CliError
17
17
  } from "./chunk-UG5G54VL.js";
@@ -12,7 +12,7 @@ import {
12
12
  meetingValidationError,
13
13
  queryBody,
14
14
  toIdCsv
15
- } from "./chunk-TNFIUZ4H.js";
15
+ } from "./chunk-4AFWOGOV.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-2DAUN7HU.js");
149
+ const { resolveEmployeeNames } = await import("./create-flow-YOR4QTAJ.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-ZQ42BEW6.js");
318
+ const { resolveMemberIdsByName } = await import("./schedule-3P7EWGNZ.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-2DAUN7HU.js");
451
+ const { resolveAddressRoom } = await import("./create-flow-YOR4QTAJ.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-2DAUN7HU.js");
640
+ const { resolveEmployeeNames } = await import("./create-flow-YOR4QTAJ.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-ZQ42BEW6.js");
678
+ const { runScheduleConflictFlow, parseScheduleConflictMessage, resolveMemberIdsByName } = await import("./schedule-3P7EWGNZ.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, {
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-TJN4PIYO.js";
31
31
  import {
32
32
  hasXiaoEEnv
33
- } from "./chunk-6VCQLZXE.js";
33
+ } from "./chunk-FDBAFANU.js";
34
34
 
35
35
  // src/shortcuts/workflow/operations/form.ts
36
36
  import { randomUUID } from "node:crypto";
@@ -7,8 +7,8 @@ import {
7
7
  findCommonFreeSlots,
8
8
  meetingEbConflictOperations,
9
9
  runEbConflictCheck
10
- } from "./chunk-4OB22YKE.js";
11
- import "./chunk-TNFIUZ4H.js";
10
+ } from "./chunk-XHSEK2VM.js";
11
+ import "./chunk-4AFWOGOV.js";
12
12
  import "./chunk-7BDPM5ST.js";
13
13
  import "./chunk-UG5G54VL.js";
14
14
  import "./chunk-BUSC6UAE.js";