weaver-work-cli 0.1.52 → 0.1.53
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/{attachment-content-MBYYSQIX.js → attachment-content-W3TSJC3Y.js} +3 -3
- package/dist/chunks/{chunk-D3TDNRFE.js → chunk-2J3XY4ED.js} +7 -7
- package/dist/chunks/{chunk-IRMA3GVP.js → chunk-6GCXWKG6.js} +1 -1
- package/dist/chunks/{chunk-KLZ3ULQQ.js → chunk-76PRVYH4.js} +1 -1
- package/dist/chunks/{chunk-7UOXOGFL.js → chunk-DEHJ7PMA.js} +4 -4
- package/dist/chunks/{chunk-DZOC77ZD.js → chunk-IF33CG4V.js} +1 -1
- package/dist/chunks/{chunk-LTRLF6MM.js → chunk-PE334WL3.js} +4 -4
- package/dist/chunks/{chunk-RWFRZSIP.js → chunk-QQXMHM3J.js} +2 -2
- package/dist/chunks/{chunk-RPRFIG6I.js → chunk-U7ROML5E.js} +23 -23
- package/dist/chunks/{chunk-ZRHKGQRQ.js → chunk-WTLQGS6D.js} +2 -2
- package/dist/chunks/{chunk-LALWNK6M.js → chunk-XPQN4E5O.js} +41 -19
- package/dist/chunks/{chunk-LM2H7SZI.js → chunk-Z4G7LLDD.js} +25 -25
- package/dist/chunks/{conflict-D2HYKBMH.js → conflict-57WDJWL7.js} +2 -2
- package/dist/chunks/{contract-MFOFMM2J.js → contract-LJRAXVZU.js} +5448 -1857
- package/dist/chunks/{create-flow-7ZATJVTM.js → create-flow-3FMMZBCA.js} +6 -6
- package/dist/chunks/{env-5DO4YENS.js → env-JYZE3BZB.js} +2 -2
- package/dist/chunks/{factory-3M7D7WJC.js → factory-66SCIKW3.js} +1 -1
- package/dist/chunks/{group-chat-B2HT5NEO.js → group-chat-MNRYMLNG.js} +3 -3
- package/dist/chunks/{meeting-HZOX3CBB.js → meeting-IIY4UAJL.js} +10 -10
- package/dist/chunks/{registry-KYPFFQIH.js → registry-CJOVECZD.js} +1 -1
- package/dist/chunks/{registry-SJHSBO5G.js → registry-METZ2LWE.js} +10 -10
- package/dist/chunks/{room-recommend-5AHR4YQV.js → room-recommend-YFY7HTOF.js} +4 -4
- package/dist/chunks/{schedule-KZPJUPC2.js → schedule-6I63TERA.js} +4 -4
- package/dist/chunks/{smart-extract-IXHCZE4R.js → smart-extract-FOUYNIG3.js} +44 -8
- package/dist/chunks/{workflow-UHKCZJMY.js → workflow-YHXFIU63.js} +1 -1
- package/dist/index.js +4 -4
- package/dist/shortcuts/contract/manifest.js +105 -5
- package/dist/shortcuts/contract/ooxml/docx-table.js +233 -0
- package/dist/shortcuts/contract/operations/card-action.js +597 -17
- package/dist/shortcuts/contract/operations/card-ebdf-list.js +258 -2
- package/dist/shortcuts/contract/operations/card.js +6 -5
- package/dist/shortcuts/contract/operations/docx-fillfromquote.js +532 -0
- package/dist/shortcuts/contract/operations/docx-verify.js +258 -0
- package/dist/shortcuts/contract/operations/elements-build.js +47 -0
- package/dist/shortcuts/contract/operations/first-screen.js +28 -3
- package/dist/shortcuts/contract/operations/ledger.js +438 -0
- package/dist/shortcuts/contract/operations/performance.js +104 -3
- package/dist/shortcuts/contract/operations/quotescreen.js +529 -0
- package/dist/shortcuts/contract/operations/registry.js +10 -0
- package/dist/shortcuts/contract/operations/triage.js +1100 -0
- package/dist/shortcuts/smart-extract/operations/fill.js +10 -7
- package/dist/shortcuts/smart-extract/operations/validate.js +49 -3
- package/dist/shortcuts/workflow/operations/form.js +68 -33
- package/docs/smart-extract.md +5 -5
- package/package.json +1 -1
- package/skills/weaver-e10-jinchengda/SKILL.md +139 -99
- package/skills/weaver-e10-jinchengda/references/contract-action-card.md +43 -482
- package/skills/weaver-e10-jinchengda/references/contract-action-engine.md +7 -8
- package/skills/weaver-e10-jinchengda/references/contract-agent-entry.md +3 -3
- package/skills/weaver-e10-jinchengda/references/contract-ai-assistant.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +32 -16
- package/skills/weaver-e10-jinchengda/references/contract-card-render-internals.md +478 -0
- package/skills/weaver-e10-jinchengda/references/contract-command-index.md +4 -4
- package/skills/weaver-e10-jinchengda/references/contract-disabled-capabilities.md +2 -2
- package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +39 -61
- package/skills/weaver-e10-jinchengda/references/contract-element-save-record.md +13 -9
- package/skills/weaver-e10-jinchengda/references/contract-execution-rules.md +2 -2
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-new-customer.md +2 -2
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +3 -3
- package/skills/weaver-e10-jinchengda/references/contract-flow-launch.md +3 -3
- package/skills/weaver-e10-jinchengda/references/contract-ledger-catalog.md +263 -0
- package/skills/weaver-e10-jinchengda/references/contract-ledger-query-playbook.md +525 -0
- package/skills/weaver-e10-jinchengda/references/contract-ledger-rules.md +36 -0
- package/skills/weaver-e10-jinchengda/references/contract-modeltext-library.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-multi-file.md +3 -6
- package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +80 -54
- package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +53 -76
- package/skills/weaver-e10-jinchengda/references/contract-template-selector.md +19 -21
- package/skills/weaver-e10-jinchengda/references/orchestration.md +12 -12
- package/skills/weaver-e10-jinchengda/references/source-manifest.json +1 -6
- package/skills/weaver-e10-jinchengda/scripts/fill_plan.py +2 -1
- package/skills/weaver-e10-smart-extract/SKILL.md +15 -4
- package/skills/weaver-e10-smart-extract/references/result-format.md +2 -2
- package/skills/weaver-e10-smart-extract/references/troubleshooting.md +2 -1
- package/skills/weaver-e10-workflow/references/workflow-create.md +6 -5
- package/skills/weaver-e10-workflow/references/workflow-edit.md +1 -1
- package/skills/weaver-e10-jinchengda/scripts/contract_first_screen.py +0 -200
- package/skills/weaver-e10-jinchengda/scripts/fill_contract_from_quote.py +0 -572
- package/skills/weaver-e10-jinchengda/scripts/quote_screen.py +0 -560
- package/skills/weaver-e10-jinchengda/scripts/triage_contract.py +0 -894
- package/skills/weaver-e10-jinchengda/scripts/validate_action_card.py +0 -598
- package/skills/weaver-e10-jinchengda/scripts/verify_docx_placeholders.py +0 -118
|
@@ -3,7 +3,7 @@ const require = __esbuildCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
fetchEbAppSettings,
|
|
5
5
|
findCommonFreeSlots
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DEHJ7PMA.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-
|
|
15
|
+
} from "./chunk-PE334WL3.js";
|
|
16
16
|
import {
|
|
17
17
|
cacheScopeSuffix,
|
|
18
18
|
readCache,
|
|
19
19
|
writeCache
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-76PRVYH4.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-
|
|
29
|
+
} from "./chunk-6GCXWKG6.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-
|
|
276
|
+
const { getWorkflowOperation } = await import("./registry-CJOVECZD.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-
|
|
381
|
+
const { loadRooms: loadRooms2 } = await import("./room-recommend-YFY7HTOF.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-
|
|
412
|
+
const { getMeetingOperation } = await import("./registry-METZ2LWE.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-
|
|
524
|
+
const { getMeetingOperation } = await import("./registry-METZ2LWE.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-
|
|
718
|
+
const { getMeetingOperation } = await import("./registry-METZ2LWE.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-
|
|
977
|
+
const { buildImEnv } = await import("./group-chat-MNRYMLNG.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-
|
|
1226
|
+
const nameToId = nameLike.length > 0 ? await import("./schedule-6I63TERA.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-
|
|
1255
|
+
const { getMeetingOperation } = await import("./registry-METZ2LWE.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-
|
|
1425
|
+
const { getMeetingOperation } = await import("./registry-METZ2LWE.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-
|
|
1433
|
+
const { getMeetingOperation } = await import("./registry-METZ2LWE.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-
|
|
1817
|
+
const { getMeetingOperation } = await import("./registry-METZ2LWE.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-
|
|
2138
|
+
const { getMeetingOperation } = await import("./registry-METZ2LWE.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-
|
|
2165
|
+
const { getMeetingOperation } = await import("./registry-METZ2LWE.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-
|
|
2243
|
+
const { getWorkflowOperation } = await import("./registry-CJOVECZD.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-
|
|
2293
|
+
const { ensureMeetingGroupChat } = await import("./group-chat-MNRYMLNG.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-
|
|
2309
|
+
const { savePendingForm } = await import("./group-chat-MNRYMLNG.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-
|
|
2376
|
+
const { getMeetingOperation } = await import("./registry-METZ2LWE.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-
|
|
2426
|
+
const { ensureMeetingGroupChat } = await import("./group-chat-MNRYMLNG.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-
|
|
2458
|
+
const { getMeetingOperation } = await import("./registry-METZ2LWE.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-
|
|
2630
|
+
const { getMeetingOperation } = await import("./registry-METZ2LWE.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-
|
|
2728
|
+
const nameToId = nameLike.length > 0 ? await import("./schedule-6I63TERA.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(() => "");
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
findCommonFreeSlots,
|
|
8
8
|
meetingEbConflictOperations,
|
|
9
9
|
runEbConflictCheck
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-DEHJ7PMA.js";
|
|
11
|
+
import "./chunk-6GCXWKG6.js";
|
|
12
12
|
import "./chunk-7BDPM5ST.js";
|
|
13
13
|
import "./chunk-UG5G54VL.js";
|
|
14
14
|
import "./chunk-BUSC6UAE.js";
|