weaver-work-cli 0.1.60 → 0.1.61
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-4SQAVTIB.js → archive-S2VKZWQ3.js} +2 -2
- package/dist/chunks/{archive-oa-W2UEJ67L.js → archive-oa-HEDSIUUY.js} +2 -2
- package/dist/chunks/{asset-EGZEABBI.js → asset-HYH4W357.js} +2 -2
- package/dist/chunks/{asset-idle-EBUZBB6M.js → asset-idle-N7REBNGL.js} +2 -2
- package/dist/chunks/{attachment-content-I6WHKGR2.js → attachment-content-VYYA75FR.js} +3 -3
- package/dist/chunks/{blog-2YKMWOWI.js → blog-SLMZZICV.js} +2 -2
- package/dist/chunks/{caizhilian-5NM4X5HG.js → caizhilian-RV43KKBT.js} +4 -4
- package/dist/chunks/{calendar-H4QTJCUY.js → calendar-DMVZ4OLY.js} +2 -2
- package/dist/chunks/{chunk-VLL6JOB4.js → chunk-6XSSAUNW.js} +4 -4
- package/dist/chunks/{chunk-VQWPQTEY.js → chunk-BIA2NKUG.js} +4 -4
- package/dist/chunks/{chunk-VMCCRWFO.js → chunk-BQYX2UX5.js} +2 -2
- package/dist/chunks/{chunk-XF7S6FQW.js → chunk-DTCQFTHW.js} +1 -1
- package/dist/chunks/{chunk-CPG6NLN4.js → chunk-E5YD5JWR.js} +1 -1
- package/dist/chunks/{chunk-PH7N4UFT.js → chunk-EGANE35F.js} +1 -1
- package/dist/chunks/{chunk-Z4IPY5GV.js → chunk-H6YOMI3U.js} +2 -2
- package/dist/chunks/{chunk-HHH4K3YY.js → chunk-ILALC2N6.js} +1 -1
- package/dist/chunks/{chunk-WINR2Q6K.js → chunk-KXJA42EA.js} +86 -19
- package/dist/chunks/{chunk-CQ4OVCKG.js → chunk-KY3R42RS.js} +2 -2
- package/dist/chunks/{chunk-WVH5ESDA.js → chunk-NRYDJN4J.js} +1 -1
- package/dist/chunks/{chunk-TGM7BWEH.js → chunk-P6TXQK75.js} +2 -2
- package/dist/chunks/{chunk-6YWHRXEQ.js → chunk-QBDXJS2W.js} +119 -9
- package/dist/chunks/{chunk-2IGZUMNG.js → chunk-SHX7XBYR.js} +180 -18
- package/dist/chunks/{chunk-P7RXQDCA.js → chunk-T2KVJFWJ.js} +4 -4
- package/dist/chunks/{chunk-FMNCSYIG.js → chunk-TEZHIB6T.js} +2 -2
- package/dist/chunks/{chunk-HMIIVM2L.js → chunk-UBGWIXU3.js} +97 -45
- package/dist/chunks/{chunk-5N222HK6.js → chunk-UBRWONP4.js} +2 -2
- package/dist/chunks/{chunk-7U5YHCW7.js → chunk-UQFPF4EX.js} +2 -2
- package/dist/chunks/{chunk-4GG72JAT.js → chunk-V2LASYKO.js} +2 -2
- package/dist/chunks/{chunk-BDBTZVYA.js → chunk-VBFBMM7G.js} +55 -55
- package/dist/chunks/{chunk-YHSOCGKO.js → chunk-VNYOUAWV.js} +11 -11
- package/dist/chunks/{chunk-SFM3M2L3.js → chunk-WIWDVETN.js} +19 -3
- package/dist/chunks/{chunk-44KJ7WFA.js → chunk-XT77MP54.js} +2 -2
- package/dist/chunks/{chunk-JFKMPRZB.js → chunk-YI2YMW5N.js} +50 -3
- package/dist/chunks/{conflict-QMDLS2EW.js → conflict-GFJRS6I7.js} +2 -2
- package/dist/chunks/{contract-LLRKMLQQ.js → contract-U3ZGNRWB.js} +2 -2
- package/dist/chunks/{cowork-2RDFBZWB.js → cowork-EX7PKIDK.js} +2 -2
- package/dist/chunks/{create-flow-5ODJ7WJO.js → create-flow-EJZD434E.js} +6 -6
- package/dist/chunks/{data-LVDFIRNG.js → data-FOODGAMF.js} +278 -121
- package/dist/chunks/{ebuilder-form-7WA6X6ZI.js → ebuilder-form-I2EOKODG.js} +3 -3
- package/dist/chunks/{ehr-52GBKNJR.js → ehr-TE4RFNID.js} +2 -2
- package/dist/chunks/{entry-mode-73BJML22.js → entry-mode-ZOLSXEGX.js} +9 -5
- package/dist/chunks/{env-OHFS76HV.js → env-TID5NFR6.js} +2 -2
- package/dist/chunks/{esb-HJSXCEOM.js → esb-7L6MHYLB.js} +4 -4
- package/dist/chunks/{factory-FRTA2LP4.js → factory-OG7BPMH5.js} +1 -1
- package/dist/chunks/{fna-OBACRT3J.js → fna-6V2ENR3Y.js} +2 -2
- package/dist/chunks/{group-chat-KBFRPCR2.js → group-chat-5DKPWIHL.js} +3 -3
- package/dist/chunks/{host-TTSGY5NZ.js → host-3DLYA54R.js} +3 -3
- package/dist/chunks/{host-KJT3G5D2.js → host-GOJHHTPY.js} +3 -3
- package/dist/chunks/{host-KOWUMNAY.js → host-OGBHL75G.js} +3 -3
- package/dist/chunks/{host-MFXRA2MY.js → host-ONZC6AE7.js} +3 -3
- package/dist/chunks/{host-W4JCNRFS.js → host-TJ5VVHM7.js} +3 -3
- package/dist/chunks/{host-2BKMPWDH.js → host-VTPAWDZV.js} +3 -3
- package/dist/chunks/{hrm-AK3WGBMN.js → hrm-2N7NFQDZ.js} +3 -3
- package/dist/chunks/{im-JZSBPO4Z.js → im-XCH47ZBN.js} +3 -3
- package/dist/chunks/{invoice-6XDMPCWB.js → invoice-XQRKMGNY.js} +3 -3
- package/dist/chunks/{jiuchuanhui-K4EQU6GK.js → jiuchuanhui-PL6DRPBM.js} +2 -2
- package/dist/chunks/{lazy-dispatch-GCA6HDOB.js → lazy-dispatch-UATEN7H7.js} +5 -5
- package/dist/chunks/{mail-IKVCQCVZ.js → mail-Q7Z4CQ4D.js} +2 -2
- package/dist/chunks/{meeting-ARHVWK7G.js → meeting-5E3BNARL.js} +13 -13
- package/dist/chunks/{minute-doc-547KSYKR.js → minute-doc-NXRE5C77.js} +4 -4
- package/dist/chunks/{okr-KV43FPPX.js → okr-3O3XNYOK.js} +2 -2
- package/dist/chunks/{operations-6NXJ7RTE.js → operations-EZWG72FH.js} +4 -4
- package/dist/chunks/performance-Y7CPNSOR.js +1295 -0
- package/dist/chunks/{plan-WOYR4WEG.js → plan-BLGPZF5M.js} +2 -2
- package/dist/chunks/{project-CQJKBUIL.js → project-6MZMLJMP.js} +2 -2
- package/dist/chunks/{reception-MPBU3JXC.js → reception-F2VT2X52.js} +2 -2
- package/dist/chunks/{recruit-stage-USTTRHOX.js → recruit-stage-4ETIBMIW.js} +2 -2
- package/dist/chunks/{registry-GURQG4ZV.js → registry-3FYSWV3U.js} +3 -3
- package/dist/chunks/{registry-SS5J2FZQ.js → registry-7RS74TCK.js} +4 -4
- package/dist/chunks/{registry-H5HQ5QNH.js → registry-I4DVPDMU.js} +11 -11
- package/dist/chunks/{room-recommend-3UBROMZE.js → room-recommend-GWCVKCXW.js} +4 -4
- package/dist/chunks/{schedule-FTUQML6O.js → schedule-6AN63MJQ.js} +4 -4
- package/dist/chunks/{smart-extract-APX2PNIN.js → smart-extract-SR4SJJKN.js} +3 -3
- package/dist/chunks/{workflow-WMPW3WSB.js → workflow-KF7FA2UQ.js} +7 -7
- package/dist/cmd/refs/index.js +124 -4
- package/dist/core/output.js +199 -26
- package/dist/core/refs.js +36 -0
- package/dist/index.js +38 -33
- package/dist/internal/e10/auth/xiaoe.js +25 -3
- package/dist/shortcuts/caizhilian/operations/files.js +86 -15
- package/dist/shortcuts/data/index.js +12 -2
- package/dist/shortcuts/data/manifest.js +4 -2
- package/dist/shortcuts/data/operations/attribution.js +229 -0
- package/dist/shortcuts/data/operations/ds.js +87 -90
- package/dist/shortcuts/data/operations/index.js +3 -1
- package/dist/shortcuts/index.js +5 -0
- package/dist/shortcuts/meeting/operations/eb/create-flow.js +84 -16
- package/dist/shortcuts/meeting/operations/eb/entry-mode.js +61 -7
- package/dist/shortcuts/performance/continuation.js +74 -0
- package/dist/shortcuts/performance/errors.js +65 -0
- package/dist/shortcuts/performance/host.js +105 -0
- package/dist/shortcuts/performance/index.js +109 -0
- package/dist/shortcuts/performance/manifest.js +30 -0
- package/dist/shortcuts/performance/operations/hrm-resolve.js +114 -0
- package/dist/shortcuts/performance/operations/registry.js +44 -0
- package/dist/shortcuts/performance/operations/scheme-detail.js +70 -0
- package/dist/shortcuts/performance/operations/scheme-draft.js +116 -0
- package/dist/shortcuts/performance/operations/scheme-publish.js +158 -0
- package/dist/shortcuts/performance/operations/types.js +32 -0
- package/dist/shortcuts/performance/scheme-validate.js +307 -0
- package/dist/shortcuts/performance/shared.js +158 -0
- package/docs/agent-io-channel-design.md +67 -3
- package/docs/data.md +2 -1
- package/package.json +1 -1
- package/scripts/xiaoe_env.py +6 -1
- package/skill-template/business-info.json +19 -0
- package/skill-template/domains/performance.md +18 -0
- package/skills/weaver-e10-caizhilian/SKILL.md +1 -1
- package/skills/weaver-e10-data/references/datasource.md +2 -1
- package/skills/weaver-e10-meeting/SKILL.md +5 -3
- package/skills/weaver-e10-performance/SKILL.md +202 -0
- package/skills/weaver-e10-performance/agents/openai.yaml +74 -0
- package/skills/weaver-e10-performance/references/default-assembly.md +108 -0
- package/skills/weaver-e10-performance/references/entity-resolution.md +69 -0
- package/skills/weaver-e10-performance/references/enums-and-normalization.md +80 -0
- package/skills/weaver-e10-performance/references/examples.md +146 -0
- package/skills/weaver-e10-performance/references/extraction-guide.md +144 -0
- package/skills/weaver-e10-performance/references/scheme-edit-req-fields.md +185 -0
- package/skills/weaver-e10-performance/references/scheme-setting-page.md +62 -0
- package/skills/weaver-e10-performance/scripts/parse_appraisal_doc.py +483 -0
- package/skills/weaver-e10-shared/references/json-output-contract.md +5 -0
|
@@ -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-6XSSAUNW.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-T2KVJFWJ.js";
|
|
16
16
|
import {
|
|
17
17
|
cacheScopeSuffix,
|
|
18
18
|
readCache,
|
|
19
19
|
writeCache
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ILALC2N6.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-DTCQFTHW.js";
|
|
30
30
|
import {
|
|
31
31
|
CONTINUATION_TTL_MS,
|
|
32
32
|
CONTINUATION_TTL_SECONDS
|
|
@@ -194,7 +194,7 @@ async function meetingUrlMap(env, ids) {
|
|
|
194
194
|
const unique = [...new Set(ids.map((id) => String(id).trim()).filter((id) => id !== ""))];
|
|
195
195
|
if (unique.length === 0) return out;
|
|
196
196
|
try {
|
|
197
|
-
const { getMeetingOperation } = await import("./registry-
|
|
197
|
+
const { getMeetingOperation } = await import("./registry-I4DVPDMU.js");
|
|
198
198
|
const link = getMeetingOperation("meeting.link");
|
|
199
199
|
const result = await link.handler({ type: "meeting", dataIds: unique }, env);
|
|
200
200
|
const rows = result?.data?.items ?? result?.data?.links ?? [];
|
|
@@ -336,9 +336,9 @@ function workflowEnv(env) {
|
|
|
336
336
|
return env;
|
|
337
337
|
}
|
|
338
338
|
async function loadCreateForm(env, workflowId) {
|
|
339
|
-
const { createWorkflowHost } = await import("./host-
|
|
339
|
+
const { createWorkflowHost } = await import("./host-VTPAWDZV.js");
|
|
340
340
|
const { createWorkflowContinuationSigner } = await import("./continuation-HFW2YT5S.js");
|
|
341
|
-
const { getWorkflowOperation } = await import("./registry-
|
|
341
|
+
const { getWorkflowOperation } = await import("./registry-3FYSWV3U.js");
|
|
342
342
|
const wfEnv = {
|
|
343
343
|
...workflowEnv(env),
|
|
344
344
|
host: createWorkflowHost(env.ctx),
|
|
@@ -443,7 +443,7 @@ async function resolveAddressRoom(env, input) {
|
|
|
443
443
|
const text = String(input ?? "").trim();
|
|
444
444
|
if (!text) return null;
|
|
445
445
|
const ref = parseRoomRef(text);
|
|
446
|
-
const { loadRooms: loadRooms2 } = await import("./room-recommend-
|
|
446
|
+
const { loadRooms: loadRooms2 } = await import("./room-recommend-GWCVKCXW.js");
|
|
447
447
|
let rooms = [];
|
|
448
448
|
try {
|
|
449
449
|
rooms = (await loadRooms2(env, {})).rooms;
|
|
@@ -474,7 +474,7 @@ async function resolveRoomValue(env, input) {
|
|
|
474
474
|
const ref = parseRoomRef(text);
|
|
475
475
|
if (ref.id) {
|
|
476
476
|
try {
|
|
477
|
-
const { getMeetingOperation } = await import("./registry-
|
|
477
|
+
const { getMeetingOperation } = await import("./registry-I4DVPDMU.js");
|
|
478
478
|
const detail = await getMeetingOperation("meeting.eb.room.detail").handler({ id: ref.id }, env);
|
|
479
479
|
const main = detail?.data?.mainTable ?? detail?.data?.data?.mainTable ?? {};
|
|
480
480
|
const name = String(main.room_name ?? "").trim() || ref.name || "";
|
|
@@ -485,7 +485,7 @@ async function resolveRoomValue(env, input) {
|
|
|
485
485
|
}
|
|
486
486
|
return null;
|
|
487
487
|
}
|
|
488
|
-
async function shapeBrowserValues(env, values) {
|
|
488
|
+
async function shapeBrowserValues(env, values, options = {}) {
|
|
489
489
|
const notes = [];
|
|
490
490
|
const shaped = { ...values };
|
|
491
491
|
const readable = {};
|
|
@@ -586,7 +586,7 @@ async function shapeBrowserValues(env, values) {
|
|
|
586
586
|
const nameOnly = rows.filter((row) => row.id === "" && row.name !== "");
|
|
587
587
|
if (nameOnly.length > 0) {
|
|
588
588
|
try {
|
|
589
|
-
const { getMeetingOperation } = await import("./registry-
|
|
589
|
+
const { getMeetingOperation } = await import("./registry-I4DVPDMU.js");
|
|
590
590
|
const search = getMeetingOperation("meeting.eb.crm.search");
|
|
591
591
|
for (const row of nameOnly) {
|
|
592
592
|
const found = await search.handler({ keyword: row.name, limit: 5 }, env).catch(() => null);
|
|
@@ -602,17 +602,24 @@ async function shapeBrowserValues(env, values) {
|
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
604
|
const unresolved = rows.filter((row) => row.id === "");
|
|
605
|
-
if (unresolved.length > 0) {
|
|
605
|
+
if (unresolved.length > 0 && options.crmAutoPick === true) {
|
|
606
|
+
notes.push(`\u5BA2\u6237\u672A\u5EFA\u6863\uFF0C\u5DF2\u8DF3\u8FC7\uFF1A${unresolved.map((row) => row.name).join("\u3001")}`);
|
|
607
|
+
for (let i = rows.length - 1; i >= 0; i -= 1) if (rows[i].id === "") rows.splice(i, 1);
|
|
608
|
+
} else if (unresolved.length > 0) {
|
|
606
609
|
throw meetingValidationError(
|
|
607
610
|
"crm_not_found",
|
|
608
611
|
`\u53C2\u4F1A\u5BA2\u6237\u6709 ${unresolved.length} \u4E2A\u5728 CRM \u91CC\u67E5\u4E0D\u5230\uFF1A${unresolved.map((row) => row.name).join("\u3001")}\u3002\u8BF7\u786E\u8BA4\u5BA2\u6237\u540D\u79F0\uFF0C\u6216\u5148\u5230\u5BA2\u6237\u8868\u5EFA\u6863\uFF1B\u4E5F\u53EF\u4EE5\u6539\u7528\u300C\u5BA2\u6237\u540D(\u5BA2\u6237id)\u300D\u6216 \`[{id,name}]\` \u4F20 crm_members\u3002`
|
|
609
612
|
);
|
|
610
613
|
}
|
|
611
|
-
shaped.crm_members = rows;
|
|
614
|
+
if (rows.length > 0) shaped.crm_members = rows;
|
|
615
|
+
else delete shaped.crm_members;
|
|
612
616
|
readable.crm_members = rows.map((row) => row.name || row.id).join("\u3001");
|
|
613
617
|
notes.push(`\u53C2\u4F1A\u5BA2\u6237\u6309\u5BA2\u6237\u6D4F\u89C8\u6309\u94AE\u683C\u5F0F\u63D0\u4EA4\uFF1A${rows.length} \u4E2A\u5BA2\u6237`);
|
|
614
618
|
const missingNames = rows.filter((row) => row.name === "");
|
|
615
|
-
if (missingNames.length > 0) {
|
|
619
|
+
if (missingNames.length > 0 && options.crmAutoPick === true) {
|
|
620
|
+
notes.push("\u6709\u5BA2\u6237\u53EA\u7ED9\u4E86 id \u6CA1\u6709\u540D\u79F0\uFF0C\u5DF2\u8DF3\u8FC7\uFF0C\u907F\u514D\u5199\u6210\u7A7A\u503C");
|
|
621
|
+
for (let i = rows.length - 1; i >= 0; i -= 1) if (rows[i].name === "") rows.splice(i, 1);
|
|
622
|
+
} else if (missingNames.length > 0) {
|
|
616
623
|
throw meetingValidationError(
|
|
617
624
|
"crm_name_required",
|
|
618
625
|
`\u53C2\u4F1A\u5BA2\u6237\u6709 ${missingNames.length} \u4E2A\u53EA\u7ED9\u4E86 id\u3001\u6CA1\u6709\u5BA2\u6237\u540D\u79F0\uFF1A${missingNames.map((row) => row.id).join("\u3001")}\u3002\u5BA2\u6237\u6D4F\u89C8\u6309\u94AE\u5FC5\u987B\u5E26\u540D\u79F0\u624D\u80FD\u5199\u5165\uFF08\u53EA\u7ED9 id \u4F1A\u88AB\u670D\u52A1\u7AEF\u9759\u9ED8\u5B58\u6210\u7A7A\u503C\uFF09\u3002\u8BF7\u5148\u7528 \`meeting.eb.crm.search\` \u6309\u5BA2\u6237\u540D\u67E5\u5230 \`{ customerId, name }\`\uFF0C\u518D\u4EE5 \`[{id,name}]\` \u6216\u300C\u5BA2\u6237\u540D(\u5BA2\u6237id)\u300D\u7684\u5F62\u5F0F\u4F20 \`crm_members\`\u3002`
|
|
@@ -780,7 +787,7 @@ async function resolveAutoCrmDetailRows(env, raw) {
|
|
|
780
787
|
const missing = [];
|
|
781
788
|
if (entries.length > 0) {
|
|
782
789
|
try {
|
|
783
|
-
const { getMeetingOperation } = await import("./registry-
|
|
790
|
+
const { getMeetingOperation } = await import("./registry-I4DVPDMU.js");
|
|
784
791
|
const search = getMeetingOperation("meeting.eb.crm.search");
|
|
785
792
|
for (const entry of entries) {
|
|
786
793
|
if (entry.contacts.length > 0) continue;
|
|
@@ -1039,7 +1046,7 @@ function shouldAutoPickFlow(args) {
|
|
|
1039
1046
|
async function sendInvitationToGroup(env, groupId, filePath, warnings) {
|
|
1040
1047
|
const started = Date.now();
|
|
1041
1048
|
try {
|
|
1042
|
-
const { buildImEnv } = await import("./group-chat-
|
|
1049
|
+
const { buildImEnv } = await import("./group-chat-5DKPWIHL.js");
|
|
1043
1050
|
const { getImOperation } = await import("./registry-E5RQJVWN.js");
|
|
1044
1051
|
const imEnv = await buildImEnv(env);
|
|
1045
1052
|
const prepared = await getImOperation("im.msg.send.group.prepare").handler(
|
|
@@ -1240,26 +1247,62 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1240
1247
|
{ required: ["mt_name"] }
|
|
1241
1248
|
),
|
|
1242
1249
|
handler: async (args, env) => {
|
|
1243
|
-
|
|
1250
|
+
let skipPreflight = args.skipPreflight === true;
|
|
1244
1251
|
if (args.entryMode === "direct_form") {
|
|
1245
1252
|
args = { ...args, skipPreflight: true };
|
|
1253
|
+
skipPreflight = true;
|
|
1254
|
+
}
|
|
1255
|
+
let entryResolved = "";
|
|
1256
|
+
const rawEntry = String(args.entryMode ?? "").trim();
|
|
1257
|
+
if (rawEntry === "assist" || rawEntry === "direct_form") {
|
|
1258
|
+
const { verifyEntryToken } = await import("./entry-mode-ZOLSXEGX.js");
|
|
1259
|
+
if (await verifyEntryToken(env, String(args.entryToken ?? ""), rawEntry).catch(() => false)) {
|
|
1260
|
+
entryResolved = rawEntry;
|
|
1261
|
+
}
|
|
1246
1262
|
}
|
|
1247
|
-
let entryResolved = String(args.entryMode ?? "").trim();
|
|
1248
1263
|
if (!entryResolved) {
|
|
1249
|
-
const { readEntryChoice } = await import("./entry-mode-
|
|
1264
|
+
const { readEntryChoice } = await import("./entry-mode-ZOLSXEGX.js");
|
|
1250
1265
|
const mark2 = await readEntryChoice(env).catch(() => null);
|
|
1251
1266
|
if (mark2?.choice) entryResolved = mark2.choice;
|
|
1252
1267
|
}
|
|
1253
1268
|
if (entryResolved) args = { ...args, entryMode: entryResolved };
|
|
1254
1269
|
env.__entryResolved = entryResolved || void 0;
|
|
1255
|
-
if (entryResolved === "direct_form")
|
|
1270
|
+
if (entryResolved === "direct_form") {
|
|
1271
|
+
args = { ...args, skipPreflight: true };
|
|
1272
|
+
skipPreflight = true;
|
|
1273
|
+
}
|
|
1274
|
+
const beginRaw = String(args.begin_datetime ?? "").trim();
|
|
1275
|
+
const timeReady = /^\d{4}-\d{2}-\d{2}[ T]\d{2}:\d{2}/.test(beginRaw) || String(args.time_slot ?? "").trim() !== "" && (String(args.dateFrom ?? "").trim() !== "" || /^\d{4}-\d{2}-\d{2}/.test(beginRaw));
|
|
1276
|
+
const placeReady = String(args.address ?? args.customize_address ?? "").trim() !== "";
|
|
1277
|
+
const peopleReady = String(args.hrm_members ?? "").trim() !== "";
|
|
1278
|
+
const autoDirect = timeReady && placeReady && peopleReady;
|
|
1279
|
+
if (autoDirect) {
|
|
1280
|
+
args = { ...args, skipPreflight: true };
|
|
1281
|
+
skipPreflight = true;
|
|
1282
|
+
}
|
|
1283
|
+
if (!entryResolved && args.skipPreflight !== true) {
|
|
1284
|
+
const { createEntryToken } = await import("./entry-mode-ZOLSXEGX.js");
|
|
1285
|
+
const tokenDirect = await createEntryToken(env, "direct_form");
|
|
1286
|
+
const tokenAssist = await createEntryToken(env, "assist");
|
|
1287
|
+
return meetingSuccess("meeting.eb.meeting.create.flow.prepare", {
|
|
1288
|
+
status: "NEEDS_SELECTION",
|
|
1289
|
+
selectionType: "entry",
|
|
1290
|
+
ui: { component: "choice", multiple: false, recommendedKey: "A" },
|
|
1291
|
+
message: "\u9884\u5B9A\u4F1A\u8BAE\u6709\u4E24\u79CD\u65B9\u5F0F\uFF1A\u76F4\u63A5\u53D1\u8D77\u6D41\u7A0B\u8868\u5355\uFF0C\u6216\u7531\u6211\u5148\u63A8\u8350\u4F1A\u8BAE\u5BA4\u3001\u68C0\u6D4B\u51B2\u7A81\u3002\u8BF7\u8BA9\u7528\u6237\u9009\u4E00\u4E2A\u3002",
|
|
1292
|
+
options: [
|
|
1293
|
+
{ key: "A", label: "\u76F4\u63A5\u53D1\u8D77\u6D41\u7A0B", reason: "\u6253\u5F00\u4F1A\u8BAE\u7533\u8BF7\u8868\u5355\uFF0C\u53EA\u56DE\u586B\u5DF2\u77E5\u4FE1\u606F", value: { entryMode: "direct_form", entryToken: tokenDirect } },
|
|
1294
|
+
{ key: "B", label: "\u63A8\u8350\u4F1A\u8BAE\u5BA4/\u68C0\u6D4B\u51B2\u7A81", reason: "\u5148\u786E\u8BA4\u65F6\u95F4\u5730\u70B9\uFF0C\u518D\u63D0\u4EA4", value: { entryMode: "assist", entryToken: tokenAssist } }
|
|
1295
|
+
],
|
|
1296
|
+
hint: "\u7528\u6237\u70B9\u9009\u540E\u628A value \u539F\u6837\u5E26\u56DE\uFF08\u542B entryMode\uFF09\uFF0C\u4E0D\u8981\u81EA\u5DF1\u66FF\u7528\u6237\u9009\u3002"
|
|
1297
|
+
}, { meta: { notes: ["\u5165\u53E3\u786E\u8BA4\uFF1A\u7528\u6237\u672A\u8868\u6001\u65F6\u5FC5\u987B\u5148\u95EE\u4E00\u6B21"] } });
|
|
1298
|
+
}
|
|
1256
1299
|
if (args.skipPreflight === true) {
|
|
1257
1300
|
const hasAddress = String(args.address ?? args.customize_address ?? "").trim() !== "";
|
|
1258
1301
|
args = {
|
|
1259
1302
|
...args,
|
|
1260
1303
|
timeConfirmed: true,
|
|
1261
|
-
autoRoom: true,
|
|
1262
|
-
enrich: true,
|
|
1304
|
+
autoRoom: autoDirect !== true,
|
|
1305
|
+
enrich: autoDirect !== true,
|
|
1263
1306
|
...hasAddress ? { roomConfirmed: true } : {}
|
|
1264
1307
|
};
|
|
1265
1308
|
}
|
|
@@ -1271,6 +1314,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1271
1314
|
let flowPickNote = null;
|
|
1272
1315
|
const decisions = {};
|
|
1273
1316
|
const enrich = args.enrich !== false;
|
|
1317
|
+
const roomCheckOnly = args.skipPreflight === true && String(args.address ?? "").trim() !== "";
|
|
1274
1318
|
let beginText = String(args.begin_datetime ?? "").trim();
|
|
1275
1319
|
let endText = String(args.end_datetime ?? "").trim();
|
|
1276
1320
|
const TIME_SLOT_RANGES = {
|
|
@@ -1326,7 +1370,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1326
1370
|
}
|
|
1327
1371
|
}
|
|
1328
1372
|
const nameLike = rawMembers.filter((item) => !/^\d+$/.test(item));
|
|
1329
|
-
const nameToId = nameLike.length > 0 ? await import("./schedule-
|
|
1373
|
+
const nameToId = nameLike.length > 0 ? await import("./schedule-6AN63MJQ.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
|
|
1330
1374
|
const memberIds = rawMembers.map((item) => nameToId.get(item) ?? item);
|
|
1331
1375
|
if (memberIds.length > 0) {
|
|
1332
1376
|
const callerToken2 = String(args.caller ?? "").trim();
|
|
@@ -1371,7 +1415,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1371
1415
|
if (!skipPreflight && (!beginHasTime || !timeConfirmed)) {
|
|
1372
1416
|
const day2 = /^\d{4}-\d{2}-\d{2}/.test(beginText) ? beginText.slice(0, 10) : String(args.dateFrom ?? "").trim().slice(0, 10) || tomorrowIso();
|
|
1373
1417
|
const duration = Number(args.durationMinutes) > 0 ? Math.round(Number(args.durationMinutes)) : 60;
|
|
1374
|
-
const { getMeetingOperation } = await import("./registry-
|
|
1418
|
+
const { getMeetingOperation } = await import("./registry-I4DVPDMU.js");
|
|
1375
1419
|
const suggested = await getMeetingOperation("meeting.eb.meeting.create.suggest").handler(
|
|
1376
1420
|
{
|
|
1377
1421
|
dateFrom: day2,
|
|
@@ -1473,7 +1517,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1473
1517
|
const dayUsagesTask = enrich && beginText && endText ? loadDayUsages(env, day) : Promise.resolve(null);
|
|
1474
1518
|
const floorArg = Number.isFinite(Number(args.floor)) ? Number(args.floor) : null;
|
|
1475
1519
|
const floorHint = floorArg ?? (/楼|层|\d+\s*F/iu.test(String(args.address ?? "")) ? inferRoomFloor(String(args.address ?? "")) : null);
|
|
1476
|
-
const roomTask = enrich && beginText && endText ? (async () => {
|
|
1520
|
+
const roomTask = (enrich || roomCheckOnly) && beginText && endText ? (async () => {
|
|
1477
1521
|
const usageData = await dayUsagesTask;
|
|
1478
1522
|
return recommendRooms(env, {
|
|
1479
1523
|
beginDatetime: beginText,
|
|
@@ -1521,11 +1565,11 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1521
1565
|
`\u7A7A\u95F2\u6821\u9A8C\u6CBF\u7528 ${Math.round((Date.now() - cachedChecks.checkedAt) / 1e3)} \u79D2\u524D\u7684\u7ED3\u8BBA\uFF08\u65F6\u95F4/\u53C2\u4F1A\u4EBA/\u4F1A\u8BAE\u5BA4\u90FD\u6CA1\u53D8\uFF0C\u672A\u91CD\u590D\u67E5\u8BE2\uFF09\u3002`
|
|
1522
1566
|
);
|
|
1523
1567
|
}
|
|
1524
|
-
const roomConflictTask = cachedChecks ? Promise.resolve({
|
|
1568
|
+
const roomConflictTask = cachedChecks && !roomCheckOnly && !roomConfirmed ? Promise.resolve({
|
|
1525
1569
|
room: cachedChecks.roomRecord,
|
|
1526
1570
|
hasConflict: cachedChecks.roomHasConflict === true,
|
|
1527
1571
|
conflicts: cachedChecks.roomConflicts ?? []
|
|
1528
|
-
}) : enrich && beginText && endText && addressId !== "" ? (async () => {
|
|
1572
|
+
}) : (enrich || roomCheckOnly) && beginText && endText && addressId !== "" ? (async () => {
|
|
1529
1573
|
const room = await resolveAddressRoom(env, addressId);
|
|
1530
1574
|
if (!room) return { unresolved: true, input: addressId };
|
|
1531
1575
|
if (!room.id || room.lookupFailed || room.status !== "0") return { room };
|
|
@@ -1541,7 +1585,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1541
1585
|
usageFromCache: usageData.fromCache
|
|
1542
1586
|
};
|
|
1543
1587
|
}
|
|
1544
|
-
const { getMeetingOperation } = await import("./registry-
|
|
1588
|
+
const { getMeetingOperation } = await import("./registry-I4DVPDMU.js");
|
|
1545
1589
|
const result = await getMeetingOperation("meeting.eb.conflict.room").handler(
|
|
1546
1590
|
{ beginDatetime: beginText, endDatetime: endText, address: room.id },
|
|
1547
1591
|
env
|
|
@@ -1549,7 +1593,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1549
1593
|
return { room, ...result?.data ?? {} };
|
|
1550
1594
|
})().catch(noteFailure("\u4F1A\u8BAE\u5BA4**\u5360\u7528**\u68C0\u6D4B")) : Promise.resolve(null);
|
|
1551
1595
|
const conflictTask = cachedChecks ? Promise.resolve({ data: { conflicts: cachedChecks.memberConflicts } }) : enrich && beginText && endText && memberIds.length > 0 ? (async () => {
|
|
1552
|
-
const { getMeetingOperation } = await import("./registry-
|
|
1596
|
+
const { getMeetingOperation } = await import("./registry-I4DVPDMU.js");
|
|
1553
1597
|
return getMeetingOperation("meeting.eb.conflict.member").handler(
|
|
1554
1598
|
{ beginDatetime: beginText, endDatetime: endText, hrmMembers: memberIds.join(",") },
|
|
1555
1599
|
env
|
|
@@ -1611,8 +1655,8 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1611
1655
|
}));
|
|
1612
1656
|
const roomConflictData = roomConflict;
|
|
1613
1657
|
const resolvedAddress = roomConflictData?.room ?? null;
|
|
1614
|
-
|
|
1615
|
-
|
|
1658
|
+
let resolvedAddressId = resolvedAddress?.id || addressId;
|
|
1659
|
+
let addressDisplay = resolvedAddress?.name || addressId;
|
|
1616
1660
|
if (roomConflictData?.unresolved === true) {
|
|
1617
1661
|
decisions.roomNotFound = { input: addressId, candidates: roomOptions.length };
|
|
1618
1662
|
if (roomOptions.length > 0) decisions.roomOptions = roomOptions;
|
|
@@ -1649,7 +1693,15 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1649
1693
|
warnings: [`\u4F1A\u8BAE\u5BA4\u300C${resolvedAddress.name}\u300D\uFF08${resolvedAddress.id}\uFF09\u5DF2\u5C01\u5B58\uFF0C\u4E0D\u53EF\u9884\u7EA6\uFF0C\u5DF2\u62E6\u4E0B\u672A\u63D0\u4EA4\u3002`]
|
|
1650
1694
|
});
|
|
1651
1695
|
}
|
|
1652
|
-
if (addressInput && roomConfirmed && roomConflictData?.hasConflict === true) {
|
|
1696
|
+
if (skipPreflight && addressInput && roomConfirmed && roomConflictData?.hasConflict === true && roomOptions.length > 0) {
|
|
1697
|
+
const fallback = roomOptions[0].value ?? {};
|
|
1698
|
+
const from = { id: resolvedAddressId, name: addressDisplay };
|
|
1699
|
+
resolvedAddressId = String(fallback.id ?? "");
|
|
1700
|
+
addressDisplay = String(fallback.name ?? addressDisplay);
|
|
1701
|
+
addressInput = resolvedAddressId;
|
|
1702
|
+
decisions.roomAutoSwitched = { reason: "\u6307\u5B9A\u623F\u88AB\u5360\uFF0C\u81EA\u52A8\u6539\u7528\u9996\u9009\u7A7A\u95F2\u623F", from, to: { id: resolvedAddressId, name: addressDisplay } };
|
|
1703
|
+
}
|
|
1704
|
+
if (addressInput && roomConfirmed && roomConflictData?.hasConflict === true && !(skipPreflight && roomOptions.length > 0)) {
|
|
1653
1705
|
const busy = Array.isArray(roomConflictData.conflicts) ? roomConflictData.conflicts : [];
|
|
1654
1706
|
decisions.roomConflict = {
|
|
1655
1707
|
address: resolvedAddressId,
|
|
@@ -1918,7 +1970,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1918
1970
|
other_remark: args.other_remark,
|
|
1919
1971
|
mt_type: args.mt_type,
|
|
1920
1972
|
...args.extraFields && typeof args.extraFields === "object" && !Array.isArray(args.extraFields) ? args.extraFields : {}
|
|
1921
|
-
});
|
|
1973
|
+
}, { crmAutoPick: skipPreflight });
|
|
1922
1974
|
const preferredFields = await readFlowFieldMap(env, workflowId);
|
|
1923
1975
|
const { main, mapped, unmapped, resolved: resolvedFields } = mapFields(form.fields, shaped.values, preferredFields);
|
|
1924
1976
|
for (const field of form.fields) {
|
|
@@ -1952,7 +2004,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1952
2004
|
invitationDocInfo = { docId: cachedDoc.docId, name: cachedDoc.name };
|
|
1953
2005
|
} else {
|
|
1954
2006
|
try {
|
|
1955
|
-
const { getMeetingOperation } = await import("./registry-
|
|
2007
|
+
const { getMeetingOperation } = await import("./registry-I4DVPDMU.js");
|
|
1956
2008
|
const publish = getMeetingOperation("meeting.invitation.publish");
|
|
1957
2009
|
const renderExtra = {};
|
|
1958
2010
|
if (String(args.guest_org ?? "").trim()) renderExtra.guest_org = String(args.guest_org).trim();
|
|
@@ -2274,7 +2326,7 @@ async function patchMeetingCrmMembers(env, meetingId, ids, count, settleMsList =
|
|
|
2274
2326
|
});
|
|
2275
2327
|
};
|
|
2276
2328
|
const readBack = async () => {
|
|
2277
|
-
const { getMeetingOperation } = await import("./registry-
|
|
2329
|
+
const { getMeetingOperation } = await import("./registry-I4DVPDMU.js");
|
|
2278
2330
|
const detail = getMeetingOperation("meeting.eb.meeting.detail");
|
|
2279
2331
|
const read = await detail.handler({ id: String(meetingId).trim() }, env);
|
|
2280
2332
|
return String(read?.data?.data?.crm_members ?? "").trim();
|
|
@@ -2301,7 +2353,7 @@ async function renderPreInvitation(payload, env) {
|
|
|
2301
2353
|
const fields = payload?.invitationFields ?? {};
|
|
2302
2354
|
const started = Date.now();
|
|
2303
2355
|
try {
|
|
2304
|
-
const { getMeetingOperation } = await import("./registry-
|
|
2356
|
+
const { getMeetingOperation } = await import("./registry-I4DVPDMU.js");
|
|
2305
2357
|
const render = getMeetingOperation("meeting.invitation.render");
|
|
2306
2358
|
const rendered = await render.handler(
|
|
2307
2359
|
{
|
|
@@ -2377,9 +2429,9 @@ var ebMeetingCreateFlowApply = {
|
|
|
2377
2429
|
throw meetingValidationError("context_mismatch", "\u786E\u8BA4\u4E0A\u4E0B\u6587\u5DF2\u53D8\u5316\uFF08\u79DF\u6237\u6216\u767B\u5F55\u8D26\u53F7\u4E0D\u540C\uFF09\uFF0C\u8BF7\u91CD\u65B0\u6267\u884C prepare");
|
|
2378
2430
|
}
|
|
2379
2431
|
const payload = lease?.payload ?? {};
|
|
2380
|
-
const { createWorkflowHost } = await import("./host-
|
|
2432
|
+
const { createWorkflowHost } = await import("./host-VTPAWDZV.js");
|
|
2381
2433
|
const { createWorkflowContinuationSigner } = await import("./continuation-HFW2YT5S.js");
|
|
2382
|
-
const { getWorkflowOperation } = await import("./registry-
|
|
2434
|
+
const { getWorkflowOperation } = await import("./registry-3FYSWV3U.js");
|
|
2383
2435
|
const wfEnv = {
|
|
2384
2436
|
...workflowEnv(env),
|
|
2385
2437
|
host: createWorkflowHost(env.ctx),
|
|
@@ -2429,7 +2481,7 @@ var ebMeetingCreateFlowApply = {
|
|
|
2429
2481
|
const groupPayload2 = payload?.groupChat;
|
|
2430
2482
|
if (groupPayload2) {
|
|
2431
2483
|
try {
|
|
2432
|
-
const { ensureMeetingGroupChat } = await import("./group-chat-
|
|
2484
|
+
const { ensureMeetingGroupChat } = await import("./group-chat-5DKPWIHL.js");
|
|
2433
2485
|
groupChat2 = {
|
|
2434
2486
|
...await ensureMeetingGroupChat(env, {
|
|
2435
2487
|
meetingName: String(payload.mtName ?? ""),
|
|
@@ -2445,7 +2497,7 @@ var ebMeetingCreateFlowApply = {
|
|
|
2445
2497
|
}
|
|
2446
2498
|
if (groupChat2 && groupChat2.ok) {
|
|
2447
2499
|
try {
|
|
2448
|
-
const { savePendingForm } = await import("./group-chat-
|
|
2500
|
+
const { savePendingForm } = await import("./group-chat-5DKPWIHL.js");
|
|
2449
2501
|
await savePendingForm(env, {
|
|
2450
2502
|
workflowId: String(payload.workflowId ?? ""),
|
|
2451
2503
|
workflowName: String(payload.workflowName ?? ""),
|
|
@@ -2512,7 +2564,7 @@ var ebMeetingCreateFlowApply = {
|
|
|
2512
2564
|
let meetingId = "";
|
|
2513
2565
|
const timings = { submitMs: Date.now() - submitStartedAt };
|
|
2514
2566
|
if (waitSeconds > 0) {
|
|
2515
|
-
const { getMeetingOperation } = await import("./registry-
|
|
2567
|
+
const { getMeetingOperation } = await import("./registry-I4DVPDMU.js");
|
|
2516
2568
|
const list = getMeetingOperation("meeting.eb.meeting.list");
|
|
2517
2569
|
const deadline = Date.now() + Math.min(waitSeconds, 30) * 1e3;
|
|
2518
2570
|
const pollStart = Date.now();
|
|
@@ -2562,7 +2614,7 @@ var ebMeetingCreateFlowApply = {
|
|
|
2562
2614
|
if (groupPayload) {
|
|
2563
2615
|
const groupStart = Date.now();
|
|
2564
2616
|
try {
|
|
2565
|
-
const { ensureMeetingGroupChat } = await import("./group-chat-
|
|
2617
|
+
const { ensureMeetingGroupChat } = await import("./group-chat-5DKPWIHL.js");
|
|
2566
2618
|
const group = await ensureMeetingGroupChat(env, {
|
|
2567
2619
|
meetingName: String(payload.mtName ?? ""),
|
|
2568
2620
|
beginDatetime: String(groupPayload.beginDatetime ?? ""),
|
|
@@ -2594,7 +2646,7 @@ var ebMeetingCreateFlowApply = {
|
|
|
2594
2646
|
if (meetingId) {
|
|
2595
2647
|
const invitationStart = Date.now();
|
|
2596
2648
|
try {
|
|
2597
|
-
const { getMeetingOperation } = await import("./registry-
|
|
2649
|
+
const { getMeetingOperation } = await import("./registry-I4DVPDMU.js");
|
|
2598
2650
|
const render = getMeetingOperation("meeting.invitation.render");
|
|
2599
2651
|
const rendered = await render.handler(
|
|
2600
2652
|
{
|
|
@@ -2768,7 +2820,7 @@ var ebMeetingCreateFlowQuick = {
|
|
|
2768
2820
|
`\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`
|
|
2769
2821
|
);
|
|
2770
2822
|
}
|
|
2771
|
-
const { getMeetingOperation } = await import("./registry-
|
|
2823
|
+
const { getMeetingOperation } = await import("./registry-I4DVPDMU.js");
|
|
2772
2824
|
const prepareStartedAt = Date.now();
|
|
2773
2825
|
const { submit_mode: _submitMode, confirm: _confirm, ...prepareArgs } = args;
|
|
2774
2826
|
const prepared = await getMeetingOperation("meeting.eb.meeting.create.flow.prepare").handler(
|
|
@@ -2867,7 +2919,7 @@ var ebMeetingCreateSuggest = {
|
|
|
2867
2919
|
const topN = Math.max(1, Math.min(5, Number(args.topN) || 3));
|
|
2868
2920
|
const rawMembers = String(args.hrm_members ?? "").split(/[,;,;\s]+/).map((item) => item.trim()).filter((item) => item !== "");
|
|
2869
2921
|
const nameLike = rawMembers.filter((item) => !/^\d+$/.test(item));
|
|
2870
|
-
const nameToId = nameLike.length > 0 ? await import("./schedule-
|
|
2922
|
+
const nameToId = nameLike.length > 0 ? await import("./schedule-6AN63MJQ.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
|
|
2871
2923
|
const memberIds = rawMembers.map((item) => nameToId.get(item) ?? item);
|
|
2872
2924
|
const unresolved = rawMembers.filter((item) => nameToId.get(item) === void 0 && !/^\d+$/.test(item));
|
|
2873
2925
|
const selfId = await env.host.getSession().then((s) => String(s?.userId ?? "")).catch(() => "");
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
createE10RequestRuntime,
|
|
11
11
|
isE10SessionExpiredResponse,
|
|
12
12
|
requireE10Session
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NRYDJN4J.js";
|
|
14
14
|
import {
|
|
15
15
|
getActiveProfile
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WIWDVETN.js";
|
|
17
17
|
|
|
18
18
|
// src/shortcuts/ebuilder-form/host.ts
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-WMRNO6IU.js";
|
|
6
6
|
import {
|
|
7
7
|
meetingStateDir
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-E5YD5JWR.js";
|
|
9
9
|
import {
|
|
10
10
|
SCHEMA_ID,
|
|
11
11
|
meetingSuccess,
|
|
12
12
|
meetingValidationError,
|
|
13
13
|
schemaOf
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DTCQFTHW.js";
|
|
15
15
|
|
|
16
16
|
// src/shortcuts/meeting/operations/attachment-content.ts
|
|
17
17
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
createE10RequestRuntime,
|
|
12
12
|
isE10SessionExpiredResponse,
|
|
13
13
|
requireE10Session
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NRYDJN4J.js";
|
|
15
15
|
import {
|
|
16
16
|
E10_SESSION_EXPIRED_MESSAGE,
|
|
17
17
|
getActiveProfile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WIWDVETN.js";
|
|
19
19
|
|
|
20
20
|
// src/shortcuts/im/host.ts
|
|
21
21
|
import { createHash } from "node:crypto";
|