weaver-work-cli 0.1.50 → 0.1.52

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 (167) hide show
  1. package/README.md +1 -1
  2. package/dist/chunks/{attachment-content-EJYIOJPH.js → attachment-content-MBYYSQIX.js} +3 -3
  3. package/dist/chunks/{chunk-RYFRGTUV.js → chunk-7UOXOGFL.js} +4 -4
  4. package/dist/chunks/{chunk-BFKLQLBK.js → chunk-D3TDNRFE.js} +7 -7
  5. package/dist/chunks/{chunk-3NCFFHB2.js → chunk-DZOC77ZD.js} +1 -1
  6. package/dist/chunks/{chunk-K67FODVC.js → chunk-IRMA3GVP.js} +1 -1
  7. package/dist/chunks/{chunk-WNJUGI2F.js → chunk-KLZ3ULQQ.js} +1 -1
  8. package/dist/chunks/{chunk-6T53BSWZ.js → chunk-LALWNK6M.js} +9 -0
  9. package/dist/chunks/{chunk-HARQF5IP.js → chunk-LM2H7SZI.js} +25 -25
  10. package/dist/chunks/{chunk-YB3AJYPY.js → chunk-LTRLF6MM.js} +4 -4
  11. package/dist/chunks/{chunk-7ECB22G3.js → chunk-RPRFIG6I.js} +23 -23
  12. package/dist/chunks/{chunk-MCZG6HPM.js → chunk-RWFRZSIP.js} +2 -2
  13. package/dist/chunks/{chunk-7AYQJSFY.js → chunk-ZRHKGQRQ.js} +2 -2
  14. package/dist/chunks/{conflict-C4UDHCWV.js → conflict-D2HYKBMH.js} +2 -2
  15. package/dist/chunks/{contract-VUC6JOPG.js → contract-MFOFMM2J.js} +3837 -262
  16. package/dist/chunks/{create-flow-6OG2LYBD.js → create-flow-7ZATJVTM.js} +6 -6
  17. package/dist/chunks/{data-QO7QWOIV.js → data-WK5CQXNF.js} +17 -32
  18. package/dist/chunks/{env-WP57TF2S.js → env-5DO4YENS.js} +2 -2
  19. package/dist/chunks/{factory-VUXI7N5C.js → factory-3M7D7WJC.js} +1 -1
  20. package/dist/chunks/{group-chat-UQRGXILK.js → group-chat-B2HT5NEO.js} +3 -3
  21. package/dist/chunks/{invoice-E7GOITEU.js → invoice-V7ZTITUO.js} +725 -205
  22. package/dist/chunks/{meeting-4BBLVAWM.js → meeting-HZOX3CBB.js} +10 -10
  23. package/dist/chunks/{recruit-stage-FKWS5UQF.js → recruit-stage-XCMVEQA2.js} +718 -131
  24. package/dist/chunks/{registry-V4CHRQDI.js → registry-KYPFFQIH.js} +1 -1
  25. package/dist/chunks/{registry-5CRCN2TV.js → registry-SJHSBO5G.js} +10 -10
  26. package/dist/chunks/{room-recommend-AYR3UG7R.js → room-recommend-5AHR4YQV.js} +4 -4
  27. package/dist/chunks/{schedule-JZEFIXUS.js → schedule-KZPJUPC2.js} +4 -4
  28. package/dist/chunks/smart-extract-IXHCZE4R.js +2846 -0
  29. package/dist/chunks/{workflow-3ZAF2J5E.js → workflow-UHKCZJMY.js} +1 -1
  30. package/dist/index.js +11 -6
  31. package/dist/shortcuts/contract/manifest.js +151 -0
  32. package/dist/shortcuts/contract/operations/card-action.js +585 -0
  33. package/dist/shortcuts/contract/operations/card-ebdf-list.js +315 -0
  34. package/dist/shortcuts/contract/operations/card-plan.js +327 -0
  35. package/dist/shortcuts/contract/operations/card-risk-report.js +565 -0
  36. package/dist/shortcuts/contract/operations/elements-build.js +714 -0
  37. package/dist/shortcuts/contract/operations/elements-spec.js +216 -0
  38. package/dist/shortcuts/contract/operations/first-screen.js +563 -0
  39. package/dist/shortcuts/contract/operations/flow.js +81 -25
  40. package/dist/shortcuts/contract/operations/modeltext.js +132 -0
  41. package/dist/shortcuts/contract/operations/op-resolver.js +22 -0
  42. package/dist/shortcuts/contract/operations/quote.js +131 -25
  43. package/dist/shortcuts/contract/operations/registry.js +20 -0
  44. package/dist/shortcuts/contract/operations/review.js +73 -58
  45. package/dist/shortcuts/contract/operations/summary-validate.js +293 -0
  46. package/dist/shortcuts/contract/operations/summary.js +4 -2
  47. package/dist/shortcuts/contract/operations/upload.js +48 -7
  48. package/dist/shortcuts/contract/prewarm-cache.js +90 -0
  49. package/dist/shortcuts/contract/prewarm.js +88 -0
  50. package/dist/shortcuts/contract/upload-cache.js +49 -4
  51. package/dist/shortcuts/data/index.js +1 -6
  52. package/dist/shortcuts/data/manifest.js +2 -2
  53. package/dist/shortcuts/data/operations/index.js +1 -1
  54. package/dist/shortcuts/data/operations/query.js +23 -46
  55. package/dist/shortcuts/index.js +5 -0
  56. package/dist/shortcuts/invoice/index.js +0 -12
  57. package/dist/shortcuts/invoice/manifest.js +200 -49
  58. package/dist/shortcuts/invoice/operations/registry.js +4 -2
  59. package/dist/shortcuts/invoice/operations/reim-relation.js +438 -0
  60. package/dist/shortcuts/invoice/operations/shared.js +3 -19
  61. package/dist/shortcuts/invoice/operations/upload-and-validate.js +109 -73
  62. package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +4 -2
  63. package/dist/shortcuts/recruit-stage/operations/jd-create.js +6 -2
  64. package/dist/shortcuts/recruit-stage/operations/list.js +217 -1
  65. package/dist/shortcuts/recruit-stage/operations/resume-import.js +144 -158
  66. package/dist/shortcuts/recruit-stage/operations/search.js +348 -0
  67. package/dist/shortcuts/recruit-stage/shared.js +5 -0
  68. package/dist/shortcuts/recruit-stage/tag-lookup.js +136 -0
  69. package/dist/shortcuts/smart-extract/constants.js +79 -0
  70. package/dist/shortcuts/smart-extract/continuation.js +71 -0
  71. package/dist/shortcuts/smart-extract/errors.js +68 -0
  72. package/dist/shortcuts/smart-extract/host.js +191 -0
  73. package/dist/shortcuts/smart-extract/index.js +105 -0
  74. package/dist/shortcuts/smart-extract/ledger.js +70 -0
  75. package/dist/shortcuts/smart-extract/manifest.js +35 -0
  76. package/dist/shortcuts/smart-extract/operations/attachment.js +212 -0
  77. package/dist/shortcuts/smart-extract/operations/batch.js +67 -0
  78. package/dist/shortcuts/smart-extract/operations/config.js +118 -0
  79. package/dist/shortcuts/smart-extract/operations/fill.js +489 -0
  80. package/dist/shortcuts/smart-extract/operations/preview.js +174 -0
  81. package/dist/shortcuts/smart-extract/operations/registry.js +34 -0
  82. package/dist/shortcuts/smart-extract/operations/save.js +355 -0
  83. package/dist/shortcuts/smart-extract/operations/shared.js +191 -0
  84. package/dist/shortcuts/smart-extract/operations/structure.js +401 -0
  85. package/dist/shortcuts/smart-extract/operations/target.js +167 -0
  86. package/dist/shortcuts/smart-extract/operations/types.js +22 -0
  87. package/dist/shortcuts/smart-extract/operations/validate.js +408 -0
  88. package/dist/shortcuts/workflow/operations/read.js +19 -1
  89. package/docs/SKILL.md +1 -1
  90. package/docs/_catalog.md +3 -0
  91. package/docs/agent-invoice.md +5 -7
  92. package/docs/data.md +5 -1
  93. package/docs/fna.md +14 -1
  94. package/docs/invoice.md +7 -5
  95. package/docs/smart-extract.md +156 -0
  96. package/package.json +1 -1
  97. package/skill-template/business-info.json +16 -1
  98. package/skill-template/domains/qiyecheng.md +2 -0
  99. package/skill-template/domains/smart-extract.md +16 -0
  100. package/skill-template/domains/yepiaotong.md +2 -2
  101. package/skills/weaver-e10-data/references/scene-and-misc.md +4 -3
  102. package/skills/weaver-e10-jinchengda/SKILL.md +159 -11
  103. package/skills/weaver-e10-jinchengda/references/contract-action-card.md +8 -3
  104. package/skills/weaver-e10-jinchengda/references/contract-action-engine.md +4 -3
  105. package/skills/weaver-e10-jinchengda/references/contract-element-save-record.md +8 -7
  106. package/skills/weaver-e10-jinchengda/references/contract-field-extract-new-customer.md +21 -6
  107. package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +3 -1
  108. package/skills/weaver-e10-jinchengda/references/contract-flow-launch.md +1 -1
  109. package/skills/weaver-e10-jinchengda/references/contract-modeltext-library.md +128 -0
  110. package/skills/weaver-e10-jinchengda/references/contract-multi-file.md +90 -0
  111. package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +124 -5
  112. package/skills/weaver-e10-jinchengda/scripts/contract_first_screen.py +200 -0
  113. package/skills/weaver-e10-jinchengda/scripts/fill_contract_from_quote.py +572 -0
  114. package/skills/weaver-e10-jinchengda/scripts/quote_screen.py +560 -0
  115. package/skills/weaver-e10-jinchengda/scripts/triage_contract.py +894 -0
  116. package/skills/weaver-e10-jinchengda/scripts/validate_action_card.py +10 -0
  117. package/skills/weaver-e10-qiyecheng/SKILL.md +37 -0
  118. package/skills/weaver-e10-qiyecheng/references/ai-check-audit.md +14 -0
  119. package/skills/weaver-e10-qiyecheng/references/budget.md +14 -0
  120. package/skills/weaver-e10-qiyecheng/references/catalog.md +25 -0
  121. package/skills/weaver-e10-qiyecheng/references/expense-center.md +8 -0
  122. package/skills/weaver-e10-qiyecheng/references/expense-chart.md +9 -0
  123. package/skills/weaver-e10-qiyecheng/references/invoice-writeoff.md +13 -0
  124. package/skills/weaver-e10-qiyecheng/references/loan-management.md +14 -0
  125. package/skills/weaver-e10-qiyecheng/references/self-hosted-mode.md +239 -0
  126. package/skills/weaver-e10-qiyecheng/references/source-manifest.json +34 -27
  127. package/skills/weaver-e10-recruit-stage/SKILL.md +62 -4
  128. package/skills/weaver-e10-recruit-stage/agents/openai.yaml +42 -8
  129. package/skills/weaver-e10-recruit-stage/references/env-ziyong.md +79 -0
  130. package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +11 -3
  131. package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +3 -2
  132. package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +153 -0
  133. package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +7 -4
  134. package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +1 -1
  135. package/skills/weaver-e10-recruit-stage/references/recruit-my-positions.md +66 -0
  136. package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +156 -42
  137. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +122 -0
  138. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +36 -8
  139. package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +157 -0
  140. package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +35 -0
  141. package/skills/weaver-e10-smart-extract/SKILL.md +169 -0
  142. package/skills/weaver-e10-smart-extract/references/api-contract.md +71 -0
  143. package/skills/weaver-e10-smart-extract/references/result-format.md +102 -0
  144. package/skills/weaver-e10-smart-extract/references/troubleshooting.md +105 -0
  145. package/skills/weaver-e10-workflow/references/workflow-query.md +1 -1
  146. package/skills/weaver-e10-workflow/references/workflow-view.md +1 -1
  147. package/skills/weaver-e10-yepiaotong/SKILL.md +46 -33
  148. package/skills/weaver-e10-yepiaotong/references/invoice-add.md +2 -0
  149. package/skills/weaver-e10-yepiaotong/references/invoice-file-upload.md +1 -1
  150. package/skills/weaver-e10-yepiaotong/references/invoice-import.md +19 -2
  151. package/skills/weaver-e10-yepiaotong/references/invoice-ocr-preview.md +8 -2
  152. package/skills/weaver-e10-yepiaotong/references/invoice-reim-relation.md +407 -0
  153. package/skills/weaver-e10-yepiaotong/references/invoice-reim.md +12 -8
  154. package/skills/weaver-e10-yepiaotong/references/invoice-upload-and-validate.md +97 -39
  155. package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +91 -2
  156. package/skills/weaver-e10-yepiaotong/references/reim-examples.md +1 -1
  157. package/skills/weaver-e10-yepiaotong/references/reim-form-fill-rules.md +12 -12
  158. package/skills/weaver-e10-yepiaotong/references/reim-matching-rules.md +8 -4
  159. package/skills/weaver-e10-yepiaotong/references/reim-phone-subsidy-rules.md +136 -91
  160. package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +109 -23
  161. package/skills/weaver-e10-yepiaotong/references/source-manifest.json +110 -43
  162. package/dist/shortcuts/invoice/operations/validate-preview.js +0 -40
  163. package/skills/weaver-e10-jinchengda/scripts/plan_actions.py +0 -279
  164. package/skills/weaver-e10-jinchengda/scripts/render_action_card.py +0 -450
  165. package/skills/weaver-e10-jinchengda/scripts/render_ebdf_list_card.py +0 -265
  166. package/skills/weaver-e10-jinchengda/scripts/render_risk_report.py +0 -358
  167. package/skills/weaver-e10-yepiaotong/references/invoice-validation-preview.md +0 -40
package/README.md CHANGED
@@ -478,7 +478,7 @@ weaver-work-cli --json invoice enterprise list --input-json '{"page_size":10,"st
478
478
  weaver-work-cli --json invoice get --fid INVOICE_FID
479
479
  weaver-work-cli --json invoice upload --file ./invoice.pdf
480
480
  weaver-work-cli --json invoice ocr preview --file ./invoice.pdf
481
- weaver-work-cli --json invoice validate preview --fid INVOICE_FID --scope personal
481
+ weaver-work-cli --json invoice run invoice.upload-and-validate --input-json '{"file":"./invoice.pdf"}'
482
482
  weaver-work-cli --json invoice download --fid INVOICE_FID --file-id FILE_ID --output ./invoice.pdf
483
483
  ```
484
484
 
@@ -8,9 +8,9 @@ import {
8
8
  looksLikeFileId,
9
9
  meetingAttachmentContentOperations,
10
10
  parseFileIdList
11
- } from "./chunk-7AYQJSFY.js";
12
- import "./chunk-3NCFFHB2.js";
13
- import "./chunk-K67FODVC.js";
11
+ } from "./chunk-ZRHKGQRQ.js";
12
+ import "./chunk-DZOC77ZD.js";
13
+ import "./chunk-IRMA3GVP.js";
14
14
  import "./chunk-7BDPM5ST.js";
15
15
  import "./chunk-UG5G54VL.js";
16
16
  import "./chunk-BUSC6UAE.js";
@@ -12,7 +12,7 @@ import {
12
12
  meetingValidationError,
13
13
  queryBody,
14
14
  toIdCsv
15
- } from "./chunk-K67FODVC.js";
15
+ } from "./chunk-IRMA3GVP.js";
16
16
 
17
17
  // src/shortcuts/meeting/operations/eb/conflict.ts
18
18
  var ACTIVE_MT_STATUS = "1,2,8,9";
@@ -296,7 +296,7 @@ var ebMeetingWritePreflight = async ({ endpoint, payload, args, env, extras }) =
296
296
  const items = rawMembers.split(/[,;,;]+/u).map((item) => item.trim()).filter((item) => item !== "");
297
297
  const nameLike = items.filter((item) => !/^\d+$/u.test(item));
298
298
  if (nameLike.length > 0) {
299
- const { resolveMemberIdsByName } = await import("./schedule-JZEFIXUS.js");
299
+ const { resolveMemberIdsByName } = await import("./schedule-KZPJUPC2.js");
300
300
  const idsByName = await resolveMemberIdsByName(env, nameLike);
301
301
  const resolved = items.map((item) => idsByName.get(item) ?? item);
302
302
  payload.mainTable.hrm_members = [...new Set(resolved)].join(",");
@@ -429,7 +429,7 @@ var ebConflictRoom = {
429
429
  let addressId = String(args.address ?? "").trim();
430
430
  let resolvedRoom = null;
431
431
  if (!addressId && String(args.room_name ?? "").trim()) {
432
- const { resolveAddressRoom } = await import("./create-flow-6OG2LYBD.js");
432
+ const { resolveAddressRoom } = await import("./create-flow-7ZATJVTM.js");
433
433
  const resolved = await resolveAddressRoom(env, String(args.room_name));
434
434
  if (!resolved?.id) {
435
435
  throw meetingValidationError(
@@ -639,7 +639,7 @@ async function findCommonFreeSlots(env, input) {
639
639
  const scheduleItems = [];
640
640
  if (includeSchedule) {
641
641
  try {
642
- const { runScheduleConflictFlow, parseScheduleConflictMessage, resolveMemberIdsByName } = await import("./schedule-JZEFIXUS.js");
642
+ const { runScheduleConflictFlow, parseScheduleConflictMessage, resolveMemberIdsByName } = await import("./schedule-KZPJUPC2.js");
643
643
  const dayBegin = new Date(rangeStart.getFullYear(), rangeStart.getMonth(), rangeStart.getDate(), 0, 0, 0, 0);
644
644
  const dayEnd = new Date(rangeStart.getFullYear(), rangeStart.getMonth(), rangeStart.getDate(), 23, 59, 0, 0);
645
645
  const flow = await runScheduleConflictFlow(env, {
@@ -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-3NCFFHB2.js";
5
+ } from "./chunk-DZOC77ZD.js";
6
6
  import {
7
7
  meetingSuccess,
8
8
  meetingValidationError,
9
9
  schemaOf
10
- } from "./chunk-K67FODVC.js";
10
+ } from "./chunk-IRMA3GVP.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";
@@ -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-6OG2LYBD.js");
162
+ const { resolveAddressRoom } = await import("./create-flow-7ZATJVTM.js");
163
163
  const room = await resolveAddressRoom(env, addressText);
164
164
  if (room?.name) addressText = room.name;
165
165
  } catch {
@@ -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-VUXI7N5C.js");
204
+ const { EB_BASE, ebBusinessSuccess, writeBody } = await import("./factory-3M7D7WJC.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-5CRCN2TV.js");
222
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.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-V4CHRQDI.js");
238
+ const { getWorkflowOperation } = await import("./registry-KYPFFQIH.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-5CRCN2TV.js");
270
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.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);
@@ -5,7 +5,7 @@ import {
5
5
  ebBusinessSuccess,
6
6
  meetingSuccess,
7
7
  meetingValidationError
8
- } from "./chunk-K67FODVC.js";
8
+ } from "./chunk-IRMA3GVP.js";
9
9
 
10
10
  // src/shortcuts/meeting/operations/env.ts
11
11
  import { existsSync } from "node:fs";
@@ -2329,7 +2329,7 @@ function buildWriteOperations(endpoint, preflight, afterWrite) {
2329
2329
  );
2330
2330
  }
2331
2331
  if (endpoint.interfacePk === "create_meeting") {
2332
- const { fetchEbAppSettings, assertEbCreatePathAllowed } = await import("./conflict-C4UDHCWV.js");
2332
+ const { fetchEbAppSettings, assertEbCreatePathAllowed } = await import("./conflict-D2HYKBMH.js");
2333
2333
  assertEbCreatePathAllowed(await fetchEbAppSettings(env, applyName));
2334
2334
  }
2335
2335
  const pkQuery = writePkQuery(endpoint, payload);
@@ -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-3NCFFHB2.js";
5
+ } from "./chunk-DZOC77ZD.js";
6
6
 
7
7
  // src/shortcuts/meeting/operations/eb/cache.ts
8
8
  import { mkdir, readFile, writeFile } from "node:fs/promises";
@@ -1776,6 +1776,10 @@ function slimIndexItem(item) {
1776
1776
  for (const key of SLIM_INDEX_ITEM_KEYS) {
1777
1777
  if (key in item) slim[key] = item[key];
1778
1778
  }
1779
+ const currentNodeId = item.nodeid;
1780
+ if (currentNodeId !== void 0 && currentNodeId !== null && String(currentNodeId).trim() !== "") {
1781
+ slim.currentNodeId = String(currentNodeId).trim();
1782
+ }
1779
1783
  return slim;
1780
1784
  }
1781
1785
  function stripHeavyPayload(result) {
@@ -3249,6 +3253,10 @@ function normalizeDetailResponse(response) {
3249
3253
  const other = data.otherInfo && typeof data.otherInfo === "object" ? data.otherInfo : {};
3250
3254
  const currentNodes = toArray(base.currentNodeList ?? []);
3251
3255
  const currentNode = currentNodes.map((n) => pickText(n, "nodeName", "name")).filter(Boolean).join("\u3001");
3256
+ const currentNodeList = currentNodes.filter((n) => n && typeof n === "object").map((n) => ({
3257
+ id: pickText(n, "id", "nodeId", "nodeid"),
3258
+ name: pickText(n, "nodeName", "name")
3259
+ })).filter((n) => n.id || n.name);
3252
3260
  const basicInfo = {
3253
3261
  requestTitle: pickText(base, "requestName", "requestNameTitle") || pickText(other, "multiReqName"),
3254
3262
  flowName: pickText(base, "requestName", "requestNameTitle") || pickText(other, "multiReqName"),
@@ -3257,6 +3265,7 @@ function normalizeDetailResponse(response) {
3257
3265
  creatorName: pickText(base, "creatorLastName", "createrName", "creatorName"),
3258
3266
  createdAt: pickText(base, "createDateTime", "createTime"),
3259
3267
  currentNode: currentNode || pickText(base, "currentNodeName", "nodeName"),
3268
+ currentNodeList,
3260
3269
  // 这两项的口径与列表侧(本文件 `:1396`/`:1432`)一致,也与 V11.3 `normalize_workflow_detail_response`
3261
3270
  // (`:3716`/`:3721`)逐字对齐:接口的 `flowStatus` 是 `{code,desc,...}` 对象、`requestLevel` 是
3262
3271
  // `0/1/2` 编码,**必须先过归一化函数**。旧写法直接 `asString(...)` ⇒ 详情面板里流程状态显示成
@@ -3,7 +3,7 @@ const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  fetchEbAppSettings,
5
5
  findCommonFreeSlots
6
- } from "./chunk-RYFRGTUV.js";
6
+ } from "./chunk-7UOXOGFL.js";
7
7
  import {
8
8
  dayOf,
9
9
  filterUsages,
@@ -12,12 +12,12 @@ import {
12
12
  loadDayUsages,
13
13
  loadRooms,
14
14
  recommendRooms
15
- } from "./chunk-YB3AJYPY.js";
15
+ } from "./chunk-LTRLF6MM.js";
16
16
  import {
17
17
  cacheScopeSuffix,
18
18
  readCache,
19
19
  writeCache
20
- } from "./chunk-WNJUGI2F.js";
20
+ } from "./chunk-KLZ3ULQQ.js";
21
21
  import {
22
22
  EB_BASE,
23
23
  SCHEMA_DATETIME_MINUTE,
@@ -26,7 +26,7 @@ import {
26
26
  meetingValidationError,
27
27
  schemaOf,
28
28
  writeBody
29
- } from "./chunk-K67FODVC.js";
29
+ } from "./chunk-IRMA3GVP.js";
30
30
  import {
31
31
  CONTINUATION_TTL_MS,
32
32
  CONTINUATION_TTL_SECONDS
@@ -273,7 +273,7 @@ function workflowEnv(env) {
273
273
  async function loadCreateForm(env, workflowId) {
274
274
  const { createWorkflowHost } = await import("./host-TUOIOEMC.js");
275
275
  const { createWorkflowContinuationSigner } = await import("./continuation-HFW2YT5S.js");
276
- const { getWorkflowOperation } = await import("./registry-V4CHRQDI.js");
276
+ const { getWorkflowOperation } = await import("./registry-KYPFFQIH.js");
277
277
  const wfEnv = {
278
278
  ...workflowEnv(env),
279
279
  host: createWorkflowHost(env.ctx),
@@ -378,7 +378,7 @@ async function resolveAddressRoom(env, input) {
378
378
  const text = String(input ?? "").trim();
379
379
  if (!text) return null;
380
380
  const ref = parseRoomRef(text);
381
- const { loadRooms: loadRooms2 } = await import("./room-recommend-AYR3UG7R.js");
381
+ const { loadRooms: loadRooms2 } = await import("./room-recommend-5AHR4YQV.js");
382
382
  let rooms = [];
383
383
  try {
384
384
  rooms = (await loadRooms2(env, {})).rooms;
@@ -409,7 +409,7 @@ async function resolveRoomValue(env, input) {
409
409
  const ref = parseRoomRef(text);
410
410
  if (ref.id) {
411
411
  try {
412
- const { getMeetingOperation } = await import("./registry-5CRCN2TV.js");
412
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
413
413
  const detail = await getMeetingOperation("meeting.eb.room.detail").handler({ id: ref.id }, env);
414
414
  const main = detail?.data?.mainTable ?? detail?.data?.data?.mainTable ?? {};
415
415
  const name = String(main.room_name ?? "").trim() || ref.name || "";
@@ -521,7 +521,7 @@ async function shapeBrowserValues(env, values) {
521
521
  const nameOnly = rows.filter((row) => row.id === "" && row.name !== "");
522
522
  if (nameOnly.length > 0) {
523
523
  try {
524
- const { getMeetingOperation } = await import("./registry-5CRCN2TV.js");
524
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
525
525
  const search = getMeetingOperation("meeting.eb.crm.search");
526
526
  for (const row of nameOnly) {
527
527
  const found = await search.handler({ keyword: row.name, limit: 5 }, env).catch(() => null);
@@ -715,7 +715,7 @@ async function resolveAutoCrmDetailRows(env, raw) {
715
715
  const missing = [];
716
716
  if (entries.length > 0) {
717
717
  try {
718
- const { getMeetingOperation } = await import("./registry-5CRCN2TV.js");
718
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
719
719
  const search = getMeetingOperation("meeting.eb.crm.search");
720
720
  for (const entry of entries) {
721
721
  if (entry.contacts.length > 0) continue;
@@ -974,7 +974,7 @@ function shouldAutoPickFlow(args) {
974
974
  async function sendInvitationToGroup(env, groupId, filePath, warnings) {
975
975
  const started = Date.now();
976
976
  try {
977
- const { buildImEnv } = await import("./group-chat-UQRGXILK.js");
977
+ const { buildImEnv } = await import("./group-chat-B2HT5NEO.js");
978
978
  const { getImOperation } = await import("./registry-E5RQJVWN.js");
979
979
  const imEnv = await buildImEnv(env);
980
980
  const prepared = await getImOperation("im.msg.send.group.prepare").handler(
@@ -1223,7 +1223,7 @@ var ebMeetingCreateFlowPrepare = {
1223
1223
  }
1224
1224
  }
1225
1225
  const nameLike = rawMembers.filter((item) => !/^\d+$/.test(item));
1226
- const nameToId = nameLike.length > 0 ? await import("./schedule-JZEFIXUS.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
1226
+ const nameToId = nameLike.length > 0 ? await import("./schedule-KZPJUPC2.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
1227
1227
  const memberIds = rawMembers.map((item) => nameToId.get(item) ?? item);
1228
1228
  let timeConfirmed = args.timeConfirmed === true || slotConfirmed;
1229
1229
  const draft = await loadMeetingDraft(env, String(args.mt_name ?? "")).catch(() => null);
@@ -1252,7 +1252,7 @@ var ebMeetingCreateFlowPrepare = {
1252
1252
  if (!beginHasTime || !timeConfirmed) {
1253
1253
  const day2 = /^\d{4}-\d{2}-\d{2}/.test(beginText) ? beginText.slice(0, 10) : String(args.dateFrom ?? "").trim().slice(0, 10) || tomorrowIso();
1254
1254
  const duration = Number(args.durationMinutes) > 0 ? Math.round(Number(args.durationMinutes)) : 60;
1255
- const { getMeetingOperation } = await import("./registry-5CRCN2TV.js");
1255
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
1256
1256
  const suggested = await getMeetingOperation("meeting.eb.meeting.create.suggest").handler(
1257
1257
  {
1258
1258
  dateFrom: day2,
@@ -1422,7 +1422,7 @@ var ebMeetingCreateFlowPrepare = {
1422
1422
  usageFromCache: usageData.fromCache
1423
1423
  };
1424
1424
  }
1425
- const { getMeetingOperation } = await import("./registry-5CRCN2TV.js");
1425
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
1426
1426
  const result = await getMeetingOperation("meeting.eb.conflict.room").handler(
1427
1427
  { beginDatetime: beginText, endDatetime: endText, address: room.id },
1428
1428
  env
@@ -1430,7 +1430,7 @@ var ebMeetingCreateFlowPrepare = {
1430
1430
  return { room, ...result?.data ?? {} };
1431
1431
  })().catch(noteFailure("\u4F1A\u8BAE\u5BA4**\u5360\u7528**\u68C0\u6D4B")) : Promise.resolve(null);
1432
1432
  const conflictTask = cachedChecks ? Promise.resolve({ data: { conflicts: cachedChecks.memberConflicts } }) : enrich && beginText && endText && memberIds.length > 0 ? (async () => {
1433
- const { getMeetingOperation } = await import("./registry-5CRCN2TV.js");
1433
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
1434
1434
  return getMeetingOperation("meeting.eb.conflict.member").handler(
1435
1435
  { beginDatetime: beginText, endDatetime: endText, hrmMembers: memberIds.join(",") },
1436
1436
  env
@@ -1814,7 +1814,7 @@ var ebMeetingCreateFlowPrepare = {
1814
1814
  invitationDocInfo = { docId: cachedDoc.docId, name: cachedDoc.name };
1815
1815
  } else {
1816
1816
  try {
1817
- const { getMeetingOperation } = await import("./registry-5CRCN2TV.js");
1817
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
1818
1818
  const publish = getMeetingOperation("meeting.invitation.publish");
1819
1819
  const renderExtra = {};
1820
1820
  if (String(args.guest_org ?? "").trim()) renderExtra.guest_org = String(args.guest_org).trim();
@@ -2135,7 +2135,7 @@ async function patchMeetingCrmMembers(env, meetingId, ids, count, settleMsList =
2135
2135
  });
2136
2136
  };
2137
2137
  const readBack = async () => {
2138
- const { getMeetingOperation } = await import("./registry-5CRCN2TV.js");
2138
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
2139
2139
  const detail = getMeetingOperation("meeting.eb.meeting.detail");
2140
2140
  const read = await detail.handler({ id: String(meetingId).trim() }, env);
2141
2141
  return String(read?.data?.data?.crm_members ?? "").trim();
@@ -2162,7 +2162,7 @@ async function renderPreInvitation(payload, env) {
2162
2162
  const fields = payload?.invitationFields ?? {};
2163
2163
  const started = Date.now();
2164
2164
  try {
2165
- const { getMeetingOperation } = await import("./registry-5CRCN2TV.js");
2165
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
2166
2166
  const render = getMeetingOperation("meeting.invitation.render");
2167
2167
  const rendered = await render.handler(
2168
2168
  {
@@ -2240,7 +2240,7 @@ var ebMeetingCreateFlowApply = {
2240
2240
  const payload = lease?.payload ?? {};
2241
2241
  const { createWorkflowHost } = await import("./host-TUOIOEMC.js");
2242
2242
  const { createWorkflowContinuationSigner } = await import("./continuation-HFW2YT5S.js");
2243
- const { getWorkflowOperation } = await import("./registry-V4CHRQDI.js");
2243
+ const { getWorkflowOperation } = await import("./registry-KYPFFQIH.js");
2244
2244
  const wfEnv = {
2245
2245
  ...workflowEnv(env),
2246
2246
  host: createWorkflowHost(env.ctx),
@@ -2290,7 +2290,7 @@ var ebMeetingCreateFlowApply = {
2290
2290
  const groupPayload2 = payload?.groupChat;
2291
2291
  if (groupPayload2) {
2292
2292
  try {
2293
- const { ensureMeetingGroupChat } = await import("./group-chat-UQRGXILK.js");
2293
+ const { ensureMeetingGroupChat } = await import("./group-chat-B2HT5NEO.js");
2294
2294
  groupChat2 = {
2295
2295
  ...await ensureMeetingGroupChat(env, {
2296
2296
  meetingName: String(payload.mtName ?? ""),
@@ -2306,7 +2306,7 @@ var ebMeetingCreateFlowApply = {
2306
2306
  }
2307
2307
  if (groupChat2 && groupChat2.ok) {
2308
2308
  try {
2309
- const { savePendingForm } = await import("./group-chat-UQRGXILK.js");
2309
+ const { savePendingForm } = await import("./group-chat-B2HT5NEO.js");
2310
2310
  await savePendingForm(env, {
2311
2311
  workflowId: String(payload.workflowId ?? ""),
2312
2312
  workflowName: String(payload.workflowName ?? ""),
@@ -2373,7 +2373,7 @@ var ebMeetingCreateFlowApply = {
2373
2373
  let meetingId = "";
2374
2374
  const timings = { submitMs: Date.now() - submitStartedAt };
2375
2375
  if (waitSeconds > 0) {
2376
- const { getMeetingOperation } = await import("./registry-5CRCN2TV.js");
2376
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
2377
2377
  const list = getMeetingOperation("meeting.eb.meeting.list");
2378
2378
  const deadline = Date.now() + Math.min(waitSeconds, 30) * 1e3;
2379
2379
  const pollStart = Date.now();
@@ -2423,7 +2423,7 @@ var ebMeetingCreateFlowApply = {
2423
2423
  if (groupPayload) {
2424
2424
  const groupStart = Date.now();
2425
2425
  try {
2426
- const { ensureMeetingGroupChat } = await import("./group-chat-UQRGXILK.js");
2426
+ const { ensureMeetingGroupChat } = await import("./group-chat-B2HT5NEO.js");
2427
2427
  const group = await ensureMeetingGroupChat(env, {
2428
2428
  meetingName: String(payload.mtName ?? ""),
2429
2429
  beginDatetime: String(groupPayload.beginDatetime ?? ""),
@@ -2455,7 +2455,7 @@ var ebMeetingCreateFlowApply = {
2455
2455
  if (meetingId) {
2456
2456
  const invitationStart = Date.now();
2457
2457
  try {
2458
- const { getMeetingOperation } = await import("./registry-5CRCN2TV.js");
2458
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
2459
2459
  const render = getMeetingOperation("meeting.invitation.render");
2460
2460
  const rendered = await render.handler(
2461
2461
  {
@@ -2627,7 +2627,7 @@ var ebMeetingCreateFlowQuick = {
2627
2627
  `\u4F1A\u8BAE\u540D\u79F0/\u5185\u5BB9\u91CC\u63D0\u5230\u5BA2\u6237\u300C${crmMentioned}\u300D\uFF0C\u4F46\u6CA1\u4F20 crm_members \u2014\u2014 \u63D0\u4EA4\u540E\u300C\u53C2\u4F1A\u5BA2\u6237\u300D\u4F1A\u662F\u7A7A\u7684\u3002\u5148 meeting.eb.crm.search {"keyword":"${crmMentioned}"} \u62FF items[].customerId\uFF0C\u518D\u628A crm_members:[{"id":"<customerId>","name":"<\u5B8C\u6574\u5BA2\u6237\u540D>"}] \u4E00\u8D77\u4F20\uFF08\u5FC5\u987B\u5E26\u540D\u79F0\uFF0C\u53EA\u7ED9 id \u4F1A\u88AB\u9759\u9ED8\u5B58\u7A7A\uFF09\uFF1B\u786E\u5B9E\u4E0D\u9700\u8981\u586B\u53C2\u4F1A\u5BA2\u6237\u5C31\u4F20 crm_skip:true\u3002`
2628
2628
  );
2629
2629
  }
2630
- const { getMeetingOperation } = await import("./registry-5CRCN2TV.js");
2630
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
2631
2631
  const prepareStartedAt = Date.now();
2632
2632
  const { submit_mode: _submitMode, confirm: _confirm, ...prepareArgs } = args;
2633
2633
  const prepared = await getMeetingOperation("meeting.eb.meeting.create.flow.prepare").handler(
@@ -2725,7 +2725,7 @@ var ebMeetingCreateSuggest = {
2725
2725
  const topN = Math.max(1, Math.min(5, Number(args.topN) || 3));
2726
2726
  const rawMembers = String(args.hrm_members ?? "").split(/[,;,;\s]+/).map((item) => item.trim()).filter((item) => item !== "");
2727
2727
  const nameLike = rawMembers.filter((item) => !/^\d+$/.test(item));
2728
- const nameToId = nameLike.length > 0 ? await import("./schedule-JZEFIXUS.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
2728
+ const nameToId = nameLike.length > 0 ? await import("./schedule-KZPJUPC2.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
2729
2729
  const memberIds = rawMembers.map((item) => nameToId.get(item) ?? item);
2730
2730
  const unresolved = rawMembers.filter((item) => nameToId.get(item) === void 0 && !/^\d+$/.test(item));
2731
2731
  const selfId = await env.host.getSession().then((s) => String(s?.userId ?? "")).catch(() => "");
@@ -4,7 +4,7 @@ import {
4
4
  cacheScopeSuffix,
5
5
  readCache,
6
6
  writeCache
7
- } from "./chunk-WNJUGI2F.js";
7
+ } from "./chunk-KLZ3ULQQ.js";
8
8
  import {
9
9
  EB_BASE,
10
10
  SCHEMA_DATETIME_MINUTE,
@@ -13,7 +13,7 @@ import {
13
13
  meetingSuccess,
14
14
  queryBody,
15
15
  schemaOf
16
- } from "./chunk-K67FODVC.js";
16
+ } from "./chunk-IRMA3GVP.js";
17
17
 
18
18
  // src/shortcuts/meeting/operations/eb/usage-cache.ts
19
19
  var USAGE_TTL_MS = 5 * 60 * 1e3;
@@ -88,7 +88,7 @@ async function clearCache(env, key) {
88
88
  try {
89
89
  const { rm } = await import("node:fs/promises");
90
90
  const { join } = await import("node:path");
91
- const { meetingStateDir } = await import("./env-WP57TF2S.js");
91
+ const { meetingStateDir } = await import("./env-5DO4YENS.js");
92
92
  await rm(join(meetingStateDir(env.ctx), "cache", `${key}.json`), { force: true });
93
93
  } catch {
94
94
  }
@@ -221,7 +221,7 @@ async function loadFrequentRooms(env, options = {}) {
221
221
  const counts = /* @__PURE__ */ new Map();
222
222
  let requests = 0;
223
223
  try {
224
- const { getMeetingOperation } = await import("./registry-5CRCN2TV.js");
224
+ const { getMeetingOperation } = await import("./registry-SJHSBO5G.js");
225
225
  const listOp = getMeetingOperation("meeting.eb.meeting.list");
226
226
  let seen = 0;
227
227
  let total = 0;
@@ -5,35 +5,35 @@ import {
5
5
  listMeetingAttachments,
6
6
  meetingAttachmentContentOperations,
7
7
  renderDocx
8
- } from "./chunk-7AYQJSFY.js";
8
+ } from "./chunk-ZRHKGQRQ.js";
9
9
  import {
10
10
  meetingEbGroupChatOperations
11
- } from "./chunk-BFKLQLBK.js";
11
+ } from "./chunk-D3TDNRFE.js";
12
12
  import {
13
13
  meetingEbCreateFlowOperations
14
- } from "./chunk-HARQF5IP.js";
14
+ } from "./chunk-LM2H7SZI.js";
15
15
  import {
16
16
  ebMeetingWritePreflight,
17
17
  meetingEbConflictOperations
18
- } from "./chunk-RYFRGTUV.js";
18
+ } from "./chunk-7UOXOGFL.js";
19
19
  import {
20
20
  meetingEbScheduleOperations
21
- } from "./chunk-MCZG6HPM.js";
21
+ } from "./chunk-RWFRZSIP.js";
22
22
  import {
23
23
  ebRoomRecommendOperation,
24
24
  recommendRooms,
25
25
  rememberFrequentRoom
26
- } from "./chunk-YB3AJYPY.js";
26
+ } from "./chunk-LTRLF6MM.js";
27
27
  import {
28
28
  cacheScopeSuffix,
29
29
  readCache,
30
30
  writeCache
31
- } from "./chunk-WNJUGI2F.js";
31
+ } from "./chunk-KLZ3ULQQ.js";
32
32
  import {
33
33
  meetingEnvOperations,
34
34
  meetingStateDir,
35
35
  resolveMeetingEnvMode
36
- } from "./chunk-3NCFFHB2.js";
36
+ } from "./chunk-DZOC77ZD.js";
37
37
  import {
38
38
  EB_BASE,
39
39
  EB_ENDPOINTS,
@@ -65,7 +65,7 @@ import {
65
65
  toIdString,
66
66
  verifyLease,
67
67
  writeBody
68
- } from "./chunk-K67FODVC.js";
68
+ } from "./chunk-IRMA3GVP.js";
69
69
  import {
70
70
  CONTINUATION_TTL_SECONDS
71
71
  } from "./chunk-7BDPM5ST.js";
@@ -2229,7 +2229,7 @@ var meetingAttachmentAttach = {
2229
2229
  if (mode === "append" && existingIds.length === 0) {
2230
2230
  existingIds.push(...beforeIds);
2231
2231
  }
2232
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-5CRCN2TV.js");
2232
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
2233
2233
  const list = getMeetingOperation2("meeting.eb.meeting.list");
2234
2234
  let fileId = incomingFileId;
2235
2235
  let name = String(args.name ?? "").trim();
@@ -2317,7 +2317,7 @@ function textOf(value) {
2317
2317
  return value === void 0 || value === null ? "" : String(value);
2318
2318
  }
2319
2319
  async function readMinute(env, id) {
2320
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-5CRCN2TV.js");
2320
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
2321
2321
  const detail = getMeetingOperation2("meeting.eb.minute.detail");
2322
2322
  const result = await detail.handler({ id }, env);
2323
2323
  const row = result?.data?.data;
@@ -2396,7 +2396,7 @@ var meetingMinuteWriteContent = {
2396
2396
  } else {
2397
2397
  statusReason = "\u4EC5\u6E05\u7A7A\u5185\u5BB9\uFF0C\u672A\u6539\u72B6\u6001";
2398
2398
  }
2399
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-5CRCN2TV.js");
2399
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
2400
2400
  const prepare = getMeetingOperation2("meeting.eb.minute.update.prepare");
2401
2401
  const apply = getMeetingOperation2("meeting.eb.minute.update.apply");
2402
2402
  const prepared = await prepare.handler({ id, mt_id: mtId, ...patch }, env);
@@ -2762,7 +2762,7 @@ var meetingMinuteFromGroupChat = {
2762
2762
  const mtId = textOf2(args.mt_id).trim();
2763
2763
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
2764
2764
  const pipeline = ["text", "minutes", "document"].includes(args.pipeline) ? args.pipeline : "text";
2765
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-5CRCN2TV.js");
2765
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
2766
2766
  const ctx = env.ctx;
2767
2767
  let stepStart = Date.now();
2768
2768
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
@@ -2856,7 +2856,7 @@ var meetingMinuteFromGroupChat = {
2856
2856
  try {
2857
2857
  const { readFile: readFile4 } = await import("node:fs/promises");
2858
2858
  const buffer = await readFile4(file);
2859
- const { extractText } = await import("./attachment-content-EJYIOJPH.js");
2859
+ const { extractText } = await import("./attachment-content-MBYYSQIX.js");
2860
2860
  const extracted = extractText(buffer, file, "");
2861
2861
  if (extracted.text.trim()) {
2862
2862
  extraSections.push(`\u3010\u6750\u6599\uFF1A${file.split(/[\\/]/).pop() ?? file}\u3011
@@ -3175,7 +3175,7 @@ var meetingDecisionNotifyGroup = {
3175
3175
  const warnings = [];
3176
3176
  const mtId = textOf3(args.mt_id).trim();
3177
3177
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
3178
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-5CRCN2TV.js");
3178
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
3179
3179
  const ctx = env.ctx;
3180
3180
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
3181
3181
  { mt_id: mtId, pageNo: 1, pageSize: 1 },
@@ -3477,7 +3477,7 @@ var meetingPipelineRun = {
3477
3477
  const needsConfirm = level === "tasks" || level === "notify";
3478
3478
  const confirmed = args.confirm === true;
3479
3479
  const executedLevel = needsConfirm && !confirmed ? "document" : level;
3480
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-5CRCN2TV.js");
3480
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
3481
3481
  const ctx = env.ctx;
3482
3482
  let stepStart = Date.now();
3483
3483
  const reuseMinuteId = textOf4(args.minuteId).trim();
@@ -3849,7 +3849,7 @@ function formatTimeRange(start, end) {
3849
3849
  }
3850
3850
  async function loadAgendaFromTopics(env, mtId) {
3851
3851
  try {
3852
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-5CRCN2TV.js");
3852
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
3853
3853
  const operation = getMeetingOperation2("meeting.eb.topic.list");
3854
3854
  const result = await operation.handler({ mt_id: mtId, pageNo: 1, pageSize: 200 }, env);
3855
3855
  const rows = result.data?.rows ?? [];
@@ -4000,7 +4000,7 @@ async function supplementRowFromDetail(row, mtId, env) {
4000
4000
  const missing = DETAIL_FALLBACK_KEYS.filter((key) => isBlank(row[key]));
4001
4001
  if (missing.length === 0) return { row, filled: [] };
4002
4002
  try {
4003
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-5CRCN2TV.js");
4003
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
4004
4004
  const detailOperation = getMeetingOperation2("meeting.eb.meeting.detail");
4005
4005
  const result = await detailOperation.handler({ id: mtId }, env);
4006
4006
  const flat = result?.data?.data ?? result?.data ?? {};
@@ -4174,7 +4174,7 @@ var meetingInvitationRender = {
4174
4174
  };
4175
4175
  dataSource = "payload";
4176
4176
  } else {
4177
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-5CRCN2TV.js");
4177
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
4178
4178
  const listOperation = getMeetingOperation2("meeting.eb.meeting.list");
4179
4179
  try {
4180
4180
  const listed = await listOperation.handler({ mt_id: mtId, pageNo: 1, pageSize: 1 }, env);
@@ -4518,7 +4518,7 @@ var meetingInvitationPublish = {
4518
4518
  "\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"
4519
4519
  );
4520
4520
  }
4521
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-5CRCN2TV.js");
4521
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
4522
4522
  const render = getMeetingOperation2("meeting.invitation.render");
4523
4523
  const rendered = await render.handler(
4524
4524
  {
@@ -5233,7 +5233,7 @@ var meetingSummaryGet = {
5233
5233
  const mtId = textOf5(args.mt_id).trim();
5234
5234
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
5235
5235
  const ctx = env.ctx;
5236
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-5CRCN2TV.js");
5236
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
5237
5237
  const warnings = [];
5238
5238
  const timings = {};
5239
5239
  const include = Array.isArray(args.include) && args.include.length > 0 ? args.include.filter((item) => ALL_SECTIONS.includes(item)) : ALL_SECTIONS;
@@ -5554,7 +5554,7 @@ var MT_STATUS_OVER = "8";
5554
5554
  var CANCELLED_MARK_DELAY_MS = 800;
5555
5555
  async function isCancelledMeeting(env, mtId) {
5556
5556
  try {
5557
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-5CRCN2TV.js");
5557
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
5558
5558
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
5559
5559
  // withCount:false —— 这里只要一行状态,不必额外请求 count(少一次往返,也便于测试替身)
5560
5560
  { mt_id: mtId, pageNo: 1, pageSize: 1, withCount: false },
@@ -6579,7 +6579,7 @@ var ebAutoInvitationAfterWrite = async (context) => {
6579
6579
  const mtId = String(context.dataIds?.[0] ?? "").trim();
6580
6580
  if (!isCreate || !enabled || !mtId) return association;
6581
6581
  try {
6582
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-5CRCN2TV.js");
6582
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
6583
6583
  const render = getMeetingOperation2("meeting.invitation.render");
6584
6584
  const result = await render.handler({ mtId }, context.env);
6585
6585
  return { ...association ?? {}, invitation: result?.data ?? null };
@@ -3,13 +3,13 @@ const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  readCache,
5
5
  writeCache
6
- } from "./chunk-WNJUGI2F.js";
6
+ } from "./chunk-KLZ3ULQQ.js";
7
7
  import {
8
8
  SCHEMA_DATETIME_MINUTE,
9
9
  meetingSuccess,
10
10
  meetingValidationError,
11
11
  schemaOf
12
- } from "./chunk-K67FODVC.js";
12
+ } from "./chunk-IRMA3GVP.js";
13
13
 
14
14
  // src/shortcuts/meeting/operations/eb/schedule.ts
15
15
  var SCHEDULE_TYPE_PATH = "/api/ebuilder/form/formdata/v2/getFormDataList/queryAgendaType";
@@ -2,13 +2,13 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
2
  const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  meetingStateDir
5
- } from "./chunk-3NCFFHB2.js";
5
+ } from "./chunk-DZOC77ZD.js";
6
6
  import {
7
7
  SCHEMA_ID,
8
8
  meetingSuccess,
9
9
  meetingValidationError,
10
10
  schemaOf
11
- } from "./chunk-K67FODVC.js";
11
+ } from "./chunk-IRMA3GVP.js";
12
12
 
13
13
  // src/shortcuts/meeting/operations/attachment-content.ts
14
14
  import { mkdir, writeFile } from "node:fs/promises";