weaver-work-cli 0.1.75 → 0.1.76
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.
- package/dist/chunks/{archive-OZJ6PYUR.js → archive-ENBSUMHV.js} +1 -1
- package/dist/chunks/{archive-oa-BHL5RK2F.js → archive-oa-7BFPQ6M5.js} +1 -1
- package/dist/chunks/{asset-HKRFRQR2.js → asset-V5SUD3PW.js} +1 -1
- package/dist/chunks/{asset-idle-GGIR4KE7.js → asset-idle-3CEL7WFX.js} +1 -1
- package/dist/chunks/{attachment-content-4OV65NK5.js → attachment-content-24RL44SE.js} +3 -3
- package/dist/chunks/{blog-HYDP4DV3.js → blog-FLI4SS3P.js} +1 -1
- package/dist/chunks/{caizhilian-JS4RQZ6Z.js → caizhilian-7WCTKCCP.js} +3 -3
- package/dist/chunks/{calendar-SWRY4DIT.js → calendar-G726HUUH.js} +1 -1
- package/dist/chunks/{chunk-5ZJGPEIB.js → chunk-2KW7AI6P.js} +1 -1
- package/dist/chunks/{chunk-JOY3HZXL.js → chunk-2UV4IZIT.js} +21 -15
- package/dist/chunks/{chunk-VOMDD2C5.js → chunk-5E2FDXBU.js} +1 -1
- package/dist/chunks/{chunk-NWYHCZTY.js → chunk-AZC53XSQ.js} +1 -1
- package/dist/chunks/{chunk-U6Y32KEV.js → chunk-BWFCTE43.js} +1 -1
- package/dist/chunks/{chunk-MXCRKXOP.js → chunk-FPWCCRKT.js} +1 -1
- package/dist/chunks/{chunk-2AUFKU2D.js → chunk-H6N6U2D6.js} +10 -10
- package/dist/chunks/{chunk-I6NOHKEK.js → chunk-KJA7CRES.js} +1 -1
- package/dist/chunks/{chunk-PG5YSNYY.js → chunk-L5SCNJKX.js} +2 -2
- package/dist/chunks/{chunk-4FCBEWNB.js → chunk-MS7MKBGJ.js} +49 -49
- package/dist/chunks/{chunk-QJWVYOOV.js → chunk-NZQRW4KL.js} +2 -2
- package/dist/chunks/{chunk-BNKUHN4N.js → chunk-OVTCWLNQ.js} +2 -2
- package/dist/chunks/{chunk-5D2V7ZAN.js → chunk-PMRNIGKZ.js} +1 -1
- package/dist/chunks/{chunk-BSR5TM7U.js → chunk-Q7RXCK2Y.js} +4 -4
- package/dist/chunks/{chunk-ZWIMLT6P.js → chunk-R4PN3OFK.js} +6 -6
- package/dist/chunks/{chunk-OQCK5SAU.js → chunk-RVEKGVZU.js} +1 -1
- package/dist/chunks/{chunk-ZUB4M4N3.js → chunk-SQFKBWTR.js} +32 -32
- package/dist/chunks/{chunk-KWJEICD4.js → chunk-T7HVQ2WP.js} +2 -2
- package/dist/chunks/{chunk-TA2RBUTH.js → chunk-TBCKK6LH.js} +1 -1
- package/dist/chunks/{chunk-J7FAAHWH.js → chunk-UDBQJLQF.js} +1 -1
- package/dist/chunks/{chunk-ERZY6GYL.js → chunk-WHI6YAUE.js} +1 -1
- package/dist/chunks/{chunk-KEA4XQPO.js → chunk-WJQJ7YEX.js} +4 -4
- package/dist/chunks/{chunk-LJI4N6FV.js → chunk-XNN5PZTI.js} +1 -1
- package/dist/chunks/{cli-FULPXIKJ.js → cli-DFLV57LO.js} +33 -33
- package/dist/chunks/{commands-BNWFNTD3.js → commands-J52MJ6NF.js} +3 -3
- package/dist/chunks/{conflict-5BKCDV2F.js → conflict-72Q6DM4I.js} +2 -2
- package/dist/chunks/{contract-WI23OXVC.js → contract-IRNRQ5FY.js} +1 -1
- package/dist/chunks/{cowork-DZBBVNMQ.js → cowork-GZDODGKF.js} +1 -1
- package/dist/chunks/{create-flow-7ZRBRKX7.js → create-flow-UGTDI7SP.js} +6 -6
- package/dist/chunks/{data-PAZVE6QE.js → data-HTQZRPPI.js} +1 -1
- package/dist/chunks/{ebuilder-form-5SQXIGXN.js → ebuilder-form-GHNIZ7ET.js} +2 -2
- package/dist/chunks/{ehr-CX5F4ZAU.js → ehr-PHIBBUIG.js} +1 -1
- package/dist/chunks/{entry-mode-I2BYNONZ.js → entry-mode-5WOXFE67.js} +3 -3
- package/dist/chunks/{env-ZAQZ7EHN.js → env-H4ALHESA.js} +2 -2
- package/dist/chunks/{esb-DQTXDIBF.js → esb-ATRKVHCD.js} +3 -3
- package/dist/chunks/{factory-XRI6KZ7H.js → factory-COX6AVK7.js} +1 -1
- package/dist/chunks/{fna-FK6HQVJL.js → fna-IKYI3SST.js} +1 -1
- package/dist/chunks/{group-chat-MLWNYM2P.js → group-chat-ZIWQQO4G.js} +3 -3
- package/dist/chunks/{host-MEC4VQZA.js → host-6UOXYOOY.js} +2 -2
- package/dist/chunks/{host-KUMU3DDK.js → host-EJSJSLVK.js} +2 -2
- package/dist/chunks/{host-3EPREGXS.js → host-EYNLB6S4.js} +2 -2
- package/dist/chunks/{host-T6NNQGVZ.js → host-OT4KNR3G.js} +2 -2
- package/dist/chunks/{host-VI7Q45PM.js → host-UY4LQPN4.js} +2 -2
- package/dist/chunks/{host-J74JGYAW.js → host-XXGDQM7D.js} +2 -2
- package/dist/chunks/{hrm-KKVAW4P5.js → hrm-5JQ7QZ6A.js} +2 -2
- package/dist/chunks/{im-47CIWQNL.js → im-2YJW3EI5.js} +2 -2
- package/dist/chunks/{invoice-CDYRBNIG.js → invoice-37HR6L3W.js} +937 -552
- package/dist/chunks/{jiuchuanhui-M7QTRHZK.js → jiuchuanhui-KBWUZ7WT.js} +1 -1
- package/dist/chunks/{lazy-dispatch-FKQJZFI5.js → lazy-dispatch-MZ3EZYDL.js} +4 -4
- package/dist/chunks/{mail-NRBS5N6Y.js → mail-YBKUM6HM.js} +1 -1
- package/dist/chunks/{meeting-WC5LD3IO.js → meeting-XE6CTXYA.js} +12 -12
- package/dist/chunks/{minute-doc-OQUMDTKG.js → minute-doc-4BA2R5EA.js} +4 -4
- package/dist/chunks/{okr-EHKSKMPL.js → okr-HW7IULIR.js} +1 -1
- package/dist/chunks/{operations-V5VM5MS2.js → operations-4P2UYVLH.js} +3 -3
- package/dist/chunks/{performance-ZJADXJPN.js → performance-PM2G6L3E.js} +1 -1
- package/dist/chunks/{plan-OTDNBDJ7.js → plan-3YYGZ7ZM.js} +1 -1
- package/dist/chunks/{project-4XVBQ3HX.js → project-XREEXFU2.js} +1 -1
- package/dist/chunks/{reception-3FAHOOH7.js → reception-7G3J2MA6.js} +1 -1
- package/dist/chunks/{recruit-stage-3WTVWW2K.js → recruit-stage-TSQWOGQD.js} +1 -1
- package/dist/chunks/{registry-TJGCVRCW.js → registry-3VTB3KLV.js} +3 -3
- package/dist/chunks/{registry-NBTBXR4L.js → registry-7UDUWYB5.js} +11 -11
- package/dist/chunks/{room-recommend-KL62XB2Y.js → room-recommend-FO3HLPNB.js} +4 -4
- package/dist/chunks/{schedule-XOISYUPB.js → schedule-DHNNOHVS.js} +4 -4
- package/dist/chunks/{smart-extract-UYGNV3BM.js → smart-extract-T5Z4AULN.js} +1 -1
- package/dist/chunks/{workflow-V54LJPXL.js → workflow-MAGCHWYZ.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/shortcuts/invoice/business-response.js +13 -0
- package/dist/shortcuts/invoice/calendar.js +24 -0
- package/dist/shortcuts/invoice/host.js +26 -15
- package/dist/shortcuts/invoice/index.js +2 -2
- package/dist/shortcuts/invoice/invoice-record.js +7 -2
- package/dist/shortcuts/invoice/manifest.js +179 -155
- package/dist/shortcuts/invoice/operations/get.js +9 -3
- package/dist/shortcuts/invoice/operations/issuing-red-requests.js +138 -0
- package/dist/shortcuts/invoice/operations/registry.js +4 -5
- package/dist/shortcuts/invoice/operations/reim-auto.js +40 -2
- package/dist/shortcuts/invoice/operations/reim-customer-projects.js +79 -0
- package/dist/shortcuts/invoice/operations/reim-customer.js +79 -30
- package/dist/shortcuts/invoice/operations/reim-relation.js +0 -146
- package/dist/shortcuts/invoice/operations/reim.js +2 -126
- package/dist/shortcuts/invoice/operations/shared.js +15 -17
- package/dist/shortcuts/invoice/preapproval-enrichment.js +180 -0
- package/dist/shortcuts/invoice/projection.js +14 -0
- package/dist/shortcuts/invoice/read-enrichment.js +123 -0
- package/docs/agent-invoice.md +28 -2
- package/docs/invoice.md +60 -9
- package/package.json +1 -1
- package/skill-template/domains/yepiaotong.md +36 -7
- package/skills/weaver-e10-recruit-stage/SKILL.md +104 -95
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +43 -33
- package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +36 -4
- package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +168 -27
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +10 -13
- package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +13 -14
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +20 -25
- package/skills/weaver-e10-recruit-stage/references/recruit-platform-compat.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +19 -7
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +21 -30
- package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +1 -1
- package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +1 -1
- package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +1 -1
- package/skills/weaver-e10-recruit-stage/templates/match-report.html +15 -9
- package/skills/weaver-e10-yepiaotong/SKILL.md +133 -61
- package/skills/weaver-e10-yepiaotong/references/invoice-add.md +3 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-detail.md +18 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-disabled-capabilities.md +3 -3
- package/skills/weaver-e10-yepiaotong/references/invoice-download.md +1 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-enterprise-list.md +13 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-file-upload.md +3 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-import.md +6 -4
- package/skills/weaver-e10-yepiaotong/references/invoice-issuing-workflow.md +42 -45
- package/skills/weaver-e10-yepiaotong/references/invoice-ocr-preview.md +1 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-output-view.md +18 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-personal-list.md +14 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-red-workflow.md +96 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-reim-relation.md +56 -369
- package/skills/weaver-e10-yepiaotong/references/invoice-upload-and-validate.md +16 -6
- package/skills/weaver-e10-yepiaotong/references/name-fuzzy-search.md +38 -0
- package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +163 -646
- package/skills/weaver-e10-yepiaotong/references/reim-customer-search.md +90 -44
- package/skills/weaver-e10-yepiaotong/references/reim-eligibility-rules.md +85 -0
- package/skills/weaver-e10-yepiaotong/references/reim-fill-validation.md +61 -0
- package/skills/weaver-e10-yepiaotong/references/reim-phone-subsidy-rules.md +91 -280
- package/skills/weaver-e10-yepiaotong/references/reim-preapproval-rules.md +98 -0
- package/skills/weaver-e10-yepiaotong/references/reim-travel-invoice-matching.md +48 -0
- package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +234 -695
- package/skills/weaver-e10-yepiaotong/references/source-manifest.json +395 -204
- package/skills/weaver-e10-yepiaotong/references/travel-application-fill.md +84 -0
- package/skills/weaver-e10-yepiaotong/references/workflow-direct-fill.md +165 -0
- package/skills/weaver-e10-yepiaotong.zip +0 -0
- package/scripts/pysite/__pycache__/sitecustomize.cpython-312.pyc +0 -0
- package/scripts/pysite/__pycache__/sitecustomize.cpython-313.pyc +0 -0
- package/scripts/pysite/__pycache__/sitecustomize.cpython-314.pyc +0 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-reim.md +0 -93
- package/skills/weaver-e10-yepiaotong/references/reim-examples.md +0 -774
- package/skills/weaver-e10-yepiaotong/references/reim-expense-subject-rules.md +0 -111
- package/skills/weaver-e10-yepiaotong/references/reim-form-fill-rules.md +0 -360
- package/skills/weaver-e10-yepiaotong/references/reim-matching-rules.md +0 -167
|
@@ -3,20 +3,20 @@ const require = __esbuildCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
listMeetingAttachments,
|
|
5
5
|
meetingAttachmentContentOperations
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-T7HVQ2WP.js";
|
|
7
7
|
import {
|
|
8
8
|
PENDING_MARK,
|
|
9
9
|
renderDocx
|
|
10
10
|
} from "./chunk-WMRNO6IU.js";
|
|
11
11
|
import {
|
|
12
12
|
meetingEbGroupChatOperations
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-H6N6U2D6.js";
|
|
14
14
|
import {
|
|
15
15
|
meetingEntryOperations
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NZQRW4KL.js";
|
|
17
17
|
import {
|
|
18
18
|
meetingEbScheduleOperations
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WJQJ7YEX.js";
|
|
20
20
|
import {
|
|
21
21
|
attachMeetingUrls,
|
|
22
22
|
ensureFlowFieldIds,
|
|
@@ -27,27 +27,27 @@ import {
|
|
|
27
27
|
resolvePersonTokens,
|
|
28
28
|
resolveSelfPerson,
|
|
29
29
|
resolveWorkflowId
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-SQFKBWTR.js";
|
|
31
31
|
import {
|
|
32
32
|
ebMeetingWritePreflight,
|
|
33
33
|
meetingEbConflictOperations
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-R4PN3OFK.js";
|
|
35
35
|
import {
|
|
36
36
|
ebRoomRecommendOperation,
|
|
37
37
|
inferRoomFloor,
|
|
38
38
|
recommendRooms,
|
|
39
39
|
rememberFrequentRoom
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-Q7RXCK2Y.js";
|
|
41
41
|
import {
|
|
42
42
|
cacheScopeSuffix,
|
|
43
43
|
readCache,
|
|
44
44
|
writeCache
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-AZC53XSQ.js";
|
|
46
46
|
import {
|
|
47
47
|
meetingEnvOperations,
|
|
48
48
|
meetingStateDir,
|
|
49
49
|
resolveMeetingEnvMode
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-KJA7CRES.js";
|
|
51
51
|
import {
|
|
52
52
|
EB_BASE,
|
|
53
53
|
EB_ENDPOINTS,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
toIdString,
|
|
80
80
|
verifyLease,
|
|
81
81
|
writeBody
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-WHI6YAUE.js";
|
|
83
83
|
import {
|
|
84
84
|
CONTINUATION_TTL_SECONDS
|
|
85
85
|
} from "./chunk-7BDPM5ST.js";
|
|
@@ -2253,7 +2253,7 @@ var meetingAttachmentAttach = {
|
|
|
2253
2253
|
if (mode === "append" && existingIds.length === 0) {
|
|
2254
2254
|
existingIds.push(...beforeIds);
|
|
2255
2255
|
}
|
|
2256
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2256
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
2257
2257
|
const list = getMeetingOperation2("meeting.eb.meeting.list");
|
|
2258
2258
|
let fileId = incomingFileId;
|
|
2259
2259
|
let name = String(args.name ?? "").trim();
|
|
@@ -2341,7 +2341,7 @@ function textOf(value) {
|
|
|
2341
2341
|
return value === void 0 || value === null ? "" : String(value);
|
|
2342
2342
|
}
|
|
2343
2343
|
async function readMinute(env, id) {
|
|
2344
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2344
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
2345
2345
|
const detail = getMeetingOperation2("meeting.eb.minute.detail");
|
|
2346
2346
|
const result = await detail.handler({ id }, env);
|
|
2347
2347
|
const row = result?.data?.data;
|
|
@@ -2424,7 +2424,7 @@ var meetingMinuteWriteContent = {
|
|
|
2424
2424
|
} else {
|
|
2425
2425
|
statusReason = "\u4EC5\u6E05\u7A7A\u5185\u5BB9\uFF0C\u672A\u6539\u72B6\u6001";
|
|
2426
2426
|
}
|
|
2427
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2427
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
2428
2428
|
const prepare = getMeetingOperation2("meeting.eb.minute.update.prepare");
|
|
2429
2429
|
const apply = getMeetingOperation2("meeting.eb.minute.update.apply");
|
|
2430
2430
|
const prepared = await prepare.handler({ id, mt_id: mtId, ...patch }, env);
|
|
@@ -2440,8 +2440,8 @@ var meetingMinuteWriteContent = {
|
|
|
2440
2440
|
let minuteDoc = null;
|
|
2441
2441
|
if (args.with_doc !== false) {
|
|
2442
2442
|
try {
|
|
2443
|
-
const { buildMinuteDocx } = await import("./minute-doc-
|
|
2444
|
-
const { meetingStateDir: meetingStateDir2 } = await import("./env-
|
|
2443
|
+
const { buildMinuteDocx } = await import("./minute-doc-4BA2R5EA.js");
|
|
2444
|
+
const { meetingStateDir: meetingStateDir2 } = await import("./env-H4ALHESA.js");
|
|
2445
2445
|
const { mkdir: mkdir4, writeFile: writeFile4 } = await import("node:fs/promises");
|
|
2446
2446
|
const { join: join3 } = await import("node:path");
|
|
2447
2447
|
const subject = textOf(after.mt_minutes_subject).trim() || `\u4F1A\u8BAE\u7EAA\u8981-${mtId}`;
|
|
@@ -2478,7 +2478,7 @@ var meetingMinuteWriteContent = {
|
|
|
2478
2478
|
}
|
|
2479
2479
|
if (args.with_doc !== false) {
|
|
2480
2480
|
try {
|
|
2481
|
-
const { ensureMinuteDoc } = await import("./minute-doc-
|
|
2481
|
+
const { ensureMinuteDoc } = await import("./minute-doc-4BA2R5EA.js");
|
|
2482
2482
|
const better = await ensureMinuteDoc(env, {
|
|
2483
2483
|
id,
|
|
2484
2484
|
mtId,
|
|
@@ -2849,7 +2849,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2849
2849
|
const mtId = textOf2(args.mt_id).trim();
|
|
2850
2850
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
2851
2851
|
const pipeline = ["text", "minutes", "document"].includes(args.pipeline) ? args.pipeline : "text";
|
|
2852
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2852
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
2853
2853
|
const ctx = env.ctx;
|
|
2854
2854
|
let stepStart = Date.now();
|
|
2855
2855
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
@@ -2873,7 +2873,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2873
2873
|
}
|
|
2874
2874
|
mark("readMeeting", stepStart);
|
|
2875
2875
|
const pullStart = Date.now();
|
|
2876
|
-
const { createImHost } = await import("./host-
|
|
2876
|
+
const { createImHost } = await import("./host-XXGDQM7D.js");
|
|
2877
2877
|
const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
|
|
2878
2878
|
const { getImOperation } = await import("./registry-AC33ZZVH.js");
|
|
2879
2879
|
const imEnv = { ctx, host: createImHost(ctx), continuation: createImContinuationSigner(ctx) };
|
|
@@ -2943,7 +2943,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2943
2943
|
try {
|
|
2944
2944
|
const { readFile: readFile4 } = await import("node:fs/promises");
|
|
2945
2945
|
const buffer = await readFile4(file);
|
|
2946
|
-
const { extractText } = await import("./attachment-content-
|
|
2946
|
+
const { extractText } = await import("./attachment-content-24RL44SE.js");
|
|
2947
2947
|
const extracted = extractText(buffer, file, "");
|
|
2948
2948
|
if (extracted.text.trim()) {
|
|
2949
2949
|
extraSections.push(`\u3010\u6750\u6599\uFF1A${file.split(/[\\/]/).pop() ?? file}\u3011
|
|
@@ -3072,9 +3072,9 @@ ${groupTranscript}` : ""
|
|
|
3072
3072
|
if (!employeeId) {
|
|
3073
3073
|
warnings.push("\u672A\u53D6\u5230 ESB \u89E6\u53D1\u4EBA id\uFF08employeeId\uFF09\uFF0C\u5DF2\u8DF3\u8FC7\u540E\u7EED ESB \u8C03\u7528");
|
|
3074
3074
|
} else {
|
|
3075
|
-
const { createEsbHost } = await import("./host-
|
|
3075
|
+
const { createEsbHost } = await import("./host-EJSJSLVK.js");
|
|
3076
3076
|
const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
|
|
3077
|
-
const { getEsbOperation } = await import("./registry-
|
|
3077
|
+
const { getEsbOperation } = await import("./registry-3VTB3KLV.js");
|
|
3078
3078
|
const esbEnv = { ctx, host: createEsbHost(ctx), continuation: createEsbContinuationSigner(ctx) };
|
|
3079
3079
|
const prepareOp = getEsbOperation("esb.trigger.prepare");
|
|
3080
3080
|
const applyOp = getEsbOperation("esb.trigger.apply");
|
|
@@ -3118,8 +3118,8 @@ ${groupTranscript}` : ""
|
|
|
3118
3118
|
if (args.with_doc !== false) {
|
|
3119
3119
|
const docStarted = Date.now();
|
|
3120
3120
|
try {
|
|
3121
|
-
const { buildMinuteDocx } = await import("./minute-doc-
|
|
3122
|
-
const { meetingStateDir: meetingStateDir2 } = await import("./env-
|
|
3121
|
+
const { buildMinuteDocx } = await import("./minute-doc-4BA2R5EA.js");
|
|
3122
|
+
const { meetingStateDir: meetingStateDir2 } = await import("./env-H4ALHESA.js");
|
|
3123
3123
|
const { mkdir: mkdir4, writeFile: writeFile4 } = await import("node:fs/promises");
|
|
3124
3124
|
const { join: join3 } = await import("node:path");
|
|
3125
3125
|
const body = textOf2(row.parse_content) || textOf2(row.minutes_content) || transcript;
|
|
@@ -3306,7 +3306,7 @@ var meetingDecisionNotifyGroup = {
|
|
|
3306
3306
|
const warnings = [];
|
|
3307
3307
|
const mtId = textOf3(args.mt_id).trim();
|
|
3308
3308
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
3309
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3309
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
3310
3310
|
const ctx = env.ctx;
|
|
3311
3311
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
3312
3312
|
{ mt_id: mtId, pageNo: 1, pageSize: 1 },
|
|
@@ -3370,7 +3370,7 @@ var meetingDecisionNotifyGroup = {
|
|
|
3370
3370
|
charCount: formatted.text.length,
|
|
3371
3371
|
text: formatted.text
|
|
3372
3372
|
};
|
|
3373
|
-
const { createImHost } = await import("./host-
|
|
3373
|
+
const { createImHost } = await import("./host-XXGDQM7D.js");
|
|
3374
3374
|
const imHost = createImHost(ctx);
|
|
3375
3375
|
let displayText = formatted.text;
|
|
3376
3376
|
let wireText = formatted.text;
|
|
@@ -3608,7 +3608,7 @@ var meetingPipelineRun = {
|
|
|
3608
3608
|
const needsConfirm = level === "tasks" || level === "notify";
|
|
3609
3609
|
const confirmed = args.confirm === true;
|
|
3610
3610
|
const executedLevel = needsConfirm && !confirmed ? "document" : level;
|
|
3611
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3611
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
3612
3612
|
const ctx = env.ctx;
|
|
3613
3613
|
let stepStart = Date.now();
|
|
3614
3614
|
const reuseMinuteId = textOf4(args.minuteId).trim();
|
|
@@ -3677,7 +3677,7 @@ var meetingPipelineRun = {
|
|
|
3677
3677
|
]);
|
|
3678
3678
|
}
|
|
3679
3679
|
stepStart = Date.now();
|
|
3680
|
-
const { createHrmHost } = await import("./host-
|
|
3680
|
+
const { createHrmHost } = await import("./host-UY4LQPN4.js");
|
|
3681
3681
|
const { getHrmOperation } = await import("./registry-4S3RXXWS.js");
|
|
3682
3682
|
const hrmEnv = { ctx, host: createHrmHost(ctx) };
|
|
3683
3683
|
const queryOp = getHrmOperation("hrm.employee.query");
|
|
@@ -3980,7 +3980,7 @@ function formatTimeRange(start, end) {
|
|
|
3980
3980
|
}
|
|
3981
3981
|
async function loadAgendaFromTopics(env, mtId) {
|
|
3982
3982
|
try {
|
|
3983
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3983
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
3984
3984
|
const operation = getMeetingOperation2("meeting.eb.topic.list");
|
|
3985
3985
|
const result = await operation.handler({ mt_id: mtId, pageNo: 1, pageSize: 200 }, env);
|
|
3986
3986
|
const rows = result.data?.rows ?? [];
|
|
@@ -4131,7 +4131,7 @@ async function supplementRowFromDetail(row, mtId, env) {
|
|
|
4131
4131
|
const missing = DETAIL_FALLBACK_KEYS.filter((key) => isBlank(row[key]));
|
|
4132
4132
|
if (missing.length === 0) return { row, filled: [] };
|
|
4133
4133
|
try {
|
|
4134
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4134
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
4135
4135
|
const detailOperation = getMeetingOperation2("meeting.eb.meeting.detail");
|
|
4136
4136
|
const result = await detailOperation.handler({ id: mtId }, env);
|
|
4137
4137
|
const flat = result?.data?.data ?? result?.data ?? {};
|
|
@@ -4306,7 +4306,7 @@ var meetingInvitationRender = {
|
|
|
4306
4306
|
};
|
|
4307
4307
|
dataSource = "payload";
|
|
4308
4308
|
} else {
|
|
4309
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4309
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
4310
4310
|
const listOperation = getMeetingOperation2("meeting.eb.meeting.list");
|
|
4311
4311
|
try {
|
|
4312
4312
|
const listed = await listOperation.handler({ mt_id: mtId, pageNo: 1, pageSize: 1 }, env);
|
|
@@ -4654,7 +4654,7 @@ var meetingInvitationPublish = {
|
|
|
4654
4654
|
"\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"
|
|
4655
4655
|
);
|
|
4656
4656
|
}
|
|
4657
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4657
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
4658
4658
|
const render = getMeetingOperation2("meeting.invitation.render");
|
|
4659
4659
|
const rendered = await render.handler(
|
|
4660
4660
|
{
|
|
@@ -4686,8 +4686,8 @@ var meetingInvitationPublish = {
|
|
|
4686
4686
|
folder_type: String(args.folder_type ?? DEFAULT_FOLDER_TYPE),
|
|
4687
4687
|
author_id: authorId
|
|
4688
4688
|
};
|
|
4689
|
-
const { executeCaizhilianOperation } = await import("./operations-
|
|
4690
|
-
const { createCaizhilianHost } = await import("./host-
|
|
4689
|
+
const { executeCaizhilianOperation } = await import("./operations-4P2UYVLH.js");
|
|
4690
|
+
const { createCaizhilianHost } = await import("./host-OT4KNR3G.js");
|
|
4691
4691
|
const { createCaizhilianContinuationSigner } = await import("./continuation-GW6PRWK3.js");
|
|
4692
4692
|
const caizhilianEnv = {
|
|
4693
4693
|
ctx: env.ctx,
|
|
@@ -5369,7 +5369,7 @@ var meetingSummaryGet = {
|
|
|
5369
5369
|
const mtId = textOf5(args.mt_id).trim();
|
|
5370
5370
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
5371
5371
|
const ctx = env.ctx;
|
|
5372
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
5372
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
5373
5373
|
const warnings = [];
|
|
5374
5374
|
const timings = {};
|
|
5375
5375
|
const include = Array.isArray(args.include) && args.include.length > 0 ? args.include.filter((item) => ALL_SECTIONS.includes(item)) : ALL_SECTIONS;
|
|
@@ -5505,7 +5505,7 @@ var meetingSummaryGet = {
|
|
|
5505
5505
|
warnings.push("\u8BE5\u4F1A\u8BAE\u6CA1\u6709\u5173\u8054\u7FA4\u804A\uFF08imchat_groupid \u4E3A\u7A7A\uFF09\uFF0Cchat \u6BB5\u4E3A null");
|
|
5506
5506
|
} else {
|
|
5507
5507
|
try {
|
|
5508
|
-
const { createImHost } = await import("./host-
|
|
5508
|
+
const { createImHost } = await import("./host-XXGDQM7D.js");
|
|
5509
5509
|
const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
|
|
5510
5510
|
const { getImOperation } = await import("./registry-AC33ZZVH.js");
|
|
5511
5511
|
const imEnv = {
|
|
@@ -5631,7 +5631,7 @@ var meetingFormFields = {
|
|
|
5631
5631
|
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"
|
|
5632
5632
|
}, { warnings: resolved.warnings });
|
|
5633
5633
|
}
|
|
5634
|
-
const { createEbuilderFormHost } = await import("./host-
|
|
5634
|
+
const { createEbuilderFormHost } = await import("./host-EYNLB6S4.js");
|
|
5635
5635
|
const { createEbuilderFormContinuationSigner } = await import("./continuation-3XLYYTKV.js");
|
|
5636
5636
|
const { executeEbuilderFormOperation } = await import("./operations-2WHIF5WV.js");
|
|
5637
5637
|
const formEnv = {
|
|
@@ -5690,7 +5690,7 @@ var MT_STATUS_OVER = "8";
|
|
|
5690
5690
|
var CANCELLED_MARK_DELAY_MS = 800;
|
|
5691
5691
|
async function isCancelledMeeting(env, mtId) {
|
|
5692
5692
|
try {
|
|
5693
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
5693
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
5694
5694
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
5695
5695
|
// withCount:false —— 这里只要一行状态,不必额外请求 count(少一次往返,也便于测试替身)
|
|
5696
5696
|
{ mt_id: mtId, pageNo: 1, pageSize: 1, withCount: false },
|
|
@@ -5735,7 +5735,7 @@ async function resolveDecisionPeople(env, input, ownerId) {
|
|
|
5735
5735
|
}
|
|
5736
5736
|
let nameToId = /* @__PURE__ */ new Map();
|
|
5737
5737
|
if (nameTokens.size > 0) {
|
|
5738
|
-
const { resolveMemberIdsByName } = await import("./schedule-
|
|
5738
|
+
const { resolveMemberIdsByName } = await import("./schedule-DHNNOHVS.js");
|
|
5739
5739
|
nameToId = await resolveMemberIdsByName(env, [...nameTokens]).catch(() => /* @__PURE__ */ new Map());
|
|
5740
5740
|
}
|
|
5741
5741
|
const unresolved = [];
|
|
@@ -6610,9 +6610,9 @@ async function runCrmSearchFlow(env, input) {
|
|
|
6610
6610
|
if (!employeeId) {
|
|
6611
6611
|
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");
|
|
6612
6612
|
}
|
|
6613
|
-
const { createEsbHost } = await import("./host-
|
|
6613
|
+
const { createEsbHost } = await import("./host-EJSJSLVK.js");
|
|
6614
6614
|
const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
|
|
6615
|
-
const { getEsbOperation } = await import("./registry-
|
|
6615
|
+
const { getEsbOperation } = await import("./registry-3VTB3KLV.js");
|
|
6616
6616
|
const esbEnv = {
|
|
6617
6617
|
ctx: env.ctx,
|
|
6618
6618
|
host: createEsbHost(env.ctx),
|
|
@@ -6779,7 +6779,7 @@ var deleteMany = {
|
|
|
6779
6779
|
if (args.confirm !== true) {
|
|
6780
6780
|
throw meetingValidationError("confirmation_required", "\u6279\u91CF\u5220\u9664\u4E0D\u53EF\u6062\u590D\uFF0C\u5FC5\u987B\u4F20 confirm=true");
|
|
6781
6781
|
}
|
|
6782
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
6782
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
6783
6783
|
const listOp = getMeetingOperation2("meeting.eb.decisionTask.list");
|
|
6784
6784
|
const prepareOp = getMeetingOperation2("meeting.eb.decisionTask.delete.prepare");
|
|
6785
6785
|
const applyOp = getMeetingOperation2("meeting.eb.decisionTask.delete.apply");
|
|
@@ -6914,7 +6914,7 @@ var reassign = {
|
|
|
6914
6914
|
},
|
|
6915
6915
|
handler: async (args, env) => {
|
|
6916
6916
|
if (args.confirm === false) throw meetingValidationError("confirmation_required", "confirm=false\uFF0C\u672A\u6267\u884C");
|
|
6917
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
6917
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
6918
6918
|
const mtId = String(args.mt_id ?? "").trim();
|
|
6919
6919
|
const target = await resolveEmployeeId(env, String(args.to_executor ?? ""));
|
|
6920
6920
|
const from = String(args.from_executor ?? "").trim();
|
|
@@ -7213,7 +7213,7 @@ var formLink = {
|
|
|
7213
7213
|
pushValue("crm_members", "##" + first.id);
|
|
7214
7214
|
} else {
|
|
7215
7215
|
try {
|
|
7216
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7216
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
7217
7217
|
const search = getMeetingOperation2("meeting.eb.crm.search");
|
|
7218
7218
|
const found = await search.handler({ keyword: first.name, pageSize: 10 }, env);
|
|
7219
7219
|
const rows = found?.data?.items ?? [];
|
|
@@ -7368,7 +7368,7 @@ var ebAutoInvitationAfterWrite = async (context) => {
|
|
|
7368
7368
|
const mtId = String(context.dataIds?.[0] ?? "").trim();
|
|
7369
7369
|
if (!isCreate || !enabled || !mtId) return association;
|
|
7370
7370
|
try {
|
|
7371
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7371
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
7372
7372
|
const render = getMeetingOperation2("meeting.invitation.render");
|
|
7373
7373
|
const result = await render.handler({ mtId }, context.env);
|
|
7374
7374
|
return { ...association ?? {}, invitation: result?.data ?? null };
|
|
@@ -7404,7 +7404,7 @@ var ebOperationsWithLinks = ebBaseOperations.map((operation) => {
|
|
|
7404
7404
|
const raw = String(args.member).trim();
|
|
7405
7405
|
let uid = /^\d+$/.test(raw) ? raw : "";
|
|
7406
7406
|
if (!uid) {
|
|
7407
|
-
const { resolveMemberIdsByName } = await import("./schedule-
|
|
7407
|
+
const { resolveMemberIdsByName } = await import("./schedule-DHNNOHVS.js");
|
|
7408
7408
|
const map = await resolveMemberIdsByName(env, [raw]).catch(() => /* @__PURE__ */ new Map());
|
|
7409
7409
|
uid = String(map.get(raw) ?? "");
|
|
7410
7410
|
}
|
|
@@ -7443,7 +7443,7 @@ var ebOperationsWithMinuteDoc = ebOperationsWithLinks.map((operation) => {
|
|
|
7443
7443
|
if (!String(nextArgs.mt_minutes_subject ?? "").trim() && nextArgs.mt_id) {
|
|
7444
7444
|
let meetingName = "";
|
|
7445
7445
|
try {
|
|
7446
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7446
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
7447
7447
|
const detailOp = getMeetingOperation2("meeting.eb.meeting.detail");
|
|
7448
7448
|
const detail = await detailOp.handler({ id: String(nextArgs.mt_id) }, env);
|
|
7449
7449
|
const row = detail?.data?.data ?? {};
|
|
@@ -7463,8 +7463,8 @@ var ebOperationsWithMinuteDoc = ebOperationsWithLinks.map((operation) => {
|
|
|
7463
7463
|
handler: async (args, env) => {
|
|
7464
7464
|
const result = await operation.handler(args, env);
|
|
7465
7465
|
try {
|
|
7466
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7467
|
-
const { ensureMinuteDoc } = await import("./minute-doc-
|
|
7466
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
7467
|
+
const { ensureMinuteDoc } = await import("./minute-doc-4BA2R5EA.js");
|
|
7468
7468
|
const minuteId = String((result?.data?.dataIds ?? [])[0] ?? "").trim();
|
|
7469
7469
|
if (minuteId) {
|
|
7470
7470
|
const detail = await getMeetingOperation2("meeting.eb.minute.detail").handler({ id: minuteId }, env);
|
|
@@ -7588,7 +7588,7 @@ var composeOutcome = {
|
|
|
7588
7588
|
if (args.confirm === false) {
|
|
7589
7589
|
throw meetingValidationError("confirmation_required", "\u4F20\u4E86 confirm=false\uFF0C\u5DF2\u963B\u6B62\u5199\u5165");
|
|
7590
7590
|
}
|
|
7591
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7591
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-7UDUWYB5.js");
|
|
7592
7592
|
let mtId = String(args.mt_id ?? "").trim();
|
|
7593
7593
|
if (!mtId) {
|
|
7594
7594
|
const listOp2 = getMeetingOperation2("meeting.eb.meeting.list");
|
|
@@ -2,11 +2,11 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
meetingStateDir
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KJA7CRES.js";
|
|
6
6
|
import {
|
|
7
7
|
meetingSuccess,
|
|
8
8
|
meetingValidationError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WHI6YAUE.js";
|
|
10
10
|
|
|
11
11
|
// src/shortcuts/meeting/operations/eb/entry-mode.ts
|
|
12
12
|
import { join, dirname } from "node:path";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
clearInvoiceTokenForSession
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2UV4IZIT.js";
|
|
6
6
|
import {
|
|
7
7
|
appendXiaoEAuthErrorLog,
|
|
8
8
|
clearXiaoEAuthErrorLog,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
normalizeXiaoEAuthErrorLogLimit,
|
|
11
11
|
readXiaoEAuthErrorLog,
|
|
12
12
|
xiaoEAuthLogSecrets
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FPWCCRKT.js";
|
|
14
14
|
import {
|
|
15
15
|
E10AuthSession,
|
|
16
16
|
XIAOE_AGENT_TYPE,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
cacheScopeSuffix,
|
|
5
5
|
readCache,
|
|
6
6
|
writeCache
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AZC53XSQ.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-
|
|
16
|
+
} from "./chunk-WHI6YAUE.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-
|
|
91
|
+
const { meetingStateDir } = await import("./env-H4ALHESA.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-
|
|
224
|
+
const { getMeetingOperation } = await import("./registry-7UDUWYB5.js");
|
|
225
225
|
const listOp = getMeetingOperation("meeting.eb.meeting.list");
|
|
226
226
|
let seen = 0;
|
|
227
227
|
let total = 0;
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
meetingValidationError,
|
|
13
13
|
queryBody,
|
|
14
14
|
toIdCsv
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WHI6YAUE.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-
|
|
149
|
+
const { resolveEmployeeNames } = await import("./create-flow-UGTDI7SP.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-
|
|
318
|
+
const { resolveMemberIdsByName } = await import("./schedule-DHNNOHVS.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-
|
|
451
|
+
const { resolveAddressRoom } = await import("./create-flow-UGTDI7SP.js");
|
|
452
452
|
const resolved = await resolveAddressRoom(env, String(args.room_name));
|
|
453
453
|
if (!resolved?.id) {
|
|
454
454
|
throw meetingValidationError(
|
|
@@ -638,7 +638,7 @@ async function findCommonFreeSlots(env, input) {
|
|
|
638
638
|
let meetings = allMeetings;
|
|
639
639
|
let prefilterSkipped = 0;
|
|
640
640
|
try {
|
|
641
|
-
const { resolveEmployeeNames } = await import("./create-flow-
|
|
641
|
+
const { resolveEmployeeNames } = await import("./create-flow-UGTDI7SP.js");
|
|
642
642
|
const names2 = await resolveEmployeeNames(env, members);
|
|
643
643
|
const tokens = [...members, ...names2.values()].map((token) => String(token ?? "").trim()).filter((token) => token !== "");
|
|
644
644
|
if (tokens.length > 0 && process.env.WEAVER_MEETING_NO_PREFILTER !== "1") {
|
|
@@ -676,7 +676,7 @@ async function findCommonFreeSlots(env, input) {
|
|
|
676
676
|
const scheduleItems = [];
|
|
677
677
|
if (includeSchedule) {
|
|
678
678
|
try {
|
|
679
|
-
const { runScheduleConflictFlow, parseScheduleConflictMessage, resolveMemberIdsByName } = await import("./schedule-
|
|
679
|
+
const { runScheduleConflictFlow, parseScheduleConflictMessage, resolveMemberIdsByName } = await import("./schedule-DHNNOHVS.js");
|
|
680
680
|
const dayBegin = new Date(rangeStart.getFullYear(), rangeStart.getMonth(), rangeStart.getDate(), 0, 0, 0, 0);
|
|
681
681
|
const dayEnd = new Date(rangeStart.getFullYear(), rangeStart.getMonth(), rangeStart.getDate(), 23, 59, 0, 0);
|
|
682
682
|
const flow = await runScheduleConflictFlow(env, {
|