weaver-work-cli 0.1.71 → 0.1.73
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-5P33NAUN.js → archive-THZV4ND4.js} +2 -2
- package/dist/chunks/{archive-oa-YTY5D7DG.js → archive-oa-PQ23OLEV.js} +2 -2
- package/dist/chunks/{asset-3Q5MFQBX.js → asset-RGPROZYH.js} +2 -2
- package/dist/chunks/{asset-idle-PQPNYIS7.js → asset-idle-Z2PDX7NA.js} +2 -2
- package/dist/chunks/{attachment-content-7CN7JB6B.js → attachment-content-R3RPVOYE.js} +3 -3
- package/dist/chunks/{blog-MFHHK6ZR.js → blog-7U3QZPIF.js} +2 -2
- package/dist/chunks/{caizhilian-OZ435AYW.js → caizhilian-3AB42GCV.js} +4 -4
- package/dist/chunks/{calendar-TNJXS5UC.js → calendar-KINM64E4.js} +2 -2
- package/dist/chunks/{chunk-VMVMEIL3.js → chunk-2CHGUYMG.js} +4 -4
- package/dist/chunks/{chunk-G7ZM2VOX.js → chunk-2XED2FKY.js} +34 -34
- package/dist/chunks/{chunk-SKWKCLJX.js → chunk-4BXR6CNB.js} +2 -2
- package/dist/chunks/{chunk-EJLP63UO.js → chunk-4I26YMBY.js} +1 -1
- package/dist/chunks/{chunk-OFCF23FY.js → chunk-4YXAK6OA.js} +15 -4
- package/dist/chunks/{chunk-6MMSLE6K.js → chunk-54ST55IJ.js} +5 -1
- package/dist/chunks/{chunk-SSS75WXW.js → chunk-6HT73VOI.js} +2 -2
- package/dist/chunks/{chunk-XLSJC6JZ.js → chunk-7QFVXP2X.js} +6 -6
- package/dist/chunks/{chunk-SUWR5QEG.js → chunk-AMAPQVBT.js} +1 -0
- package/dist/chunks/{chunk-ICNUOWLL.js → chunk-BWYVS62Z.js} +4 -4
- package/dist/chunks/{chunk-UPVAQJKS.js → chunk-DRUND2PJ.js} +130 -79
- package/dist/chunks/{chunk-Q3EXRNB4.js → chunk-F4HM25K4.js} +1 -1
- package/dist/chunks/{chunk-P3AFNAJ6.js → chunk-GAMGDNTF.js} +1 -1
- package/dist/chunks/{chunk-2DNCKZRX.js → chunk-GWJLAF6B.js} +2 -2
- package/dist/chunks/{chunk-VJWVB55R.js → chunk-IBSJJGXL.js} +2 -2
- package/dist/chunks/{chunk-MZVQKQP5.js → chunk-ICP53R52.js} +4 -4
- package/dist/chunks/{chunk-DRJYPXKC.js → chunk-IU6UB2TD.js} +1 -1
- package/dist/chunks/{chunk-OZ7CJC7W.js → chunk-JMJBPP4B.js} +2 -2
- package/dist/chunks/{chunk-B4NINGP2.js → chunk-L7TYG5SN.js} +2 -2
- package/dist/chunks/{chunk-FRMDHZSN.js → chunk-LLCMOZ5L.js} +11 -11
- package/dist/chunks/{chunk-YN5SD4TX.js → chunk-NUP4RYZK.js} +2 -2
- package/dist/chunks/{chunk-OPTJ6IF7.js → chunk-PAFOLIYQ.js} +1 -1
- package/dist/chunks/{chunk-GB2MCJPG.js → chunk-R3MK2RBN.js} +1 -1
- package/dist/chunks/{chunk-X2C5CGGM.js → chunk-TV46Q4NY.js} +50 -50
- package/dist/chunks/{chunk-LU2SPJYY.js → chunk-XZBYRYWX.js} +2 -2
- package/dist/chunks/{chunk-MD5RXRI3.js → chunk-ZWLWXHJC.js} +2 -2
- package/dist/chunks/{conflict-Y4PXZ2YQ.js → conflict-VPAR7E6F.js} +2 -2
- package/dist/chunks/{contract-C3BGUMBM.js → contract-DDXAO2DZ.js} +2 -2
- package/dist/chunks/{cowork-2AWG4QLA.js → cowork-34QCHMDD.js} +2 -2
- package/dist/chunks/{create-flow-LOUOK46Z.js → create-flow-52PU2OBI.js} +6 -6
- package/dist/chunks/{data-BSFYMXVO.js → data-CLQ62QGD.js} +2 -2
- package/dist/chunks/{ebuilder-form-LAAMTD2Y.js → ebuilder-form-W5R7Q22S.js} +3 -3
- package/dist/chunks/{ehr-36KEX5SH.js → ehr-LCNAVMK5.js} +7 -6
- package/dist/chunks/{entry-mode-6N2IGCS4.js → entry-mode-6Z3ZV3DE.js} +3 -3
- package/dist/chunks/{env-QYLS3EB3.js → env-RDKWAARB.js} +2 -2
- package/dist/chunks/{esb-PTYS3E67.js → esb-ANKPUU65.js} +4 -4
- package/dist/chunks/{factory-LPFPKZ4T.js → factory-434B7RAT.js} +1 -1
- package/dist/chunks/{fna-JNHCLRDE.js → fna-AKBSG5HI.js} +2 -2
- package/dist/chunks/{group-chat-QP2WX4QJ.js → group-chat-PROTW22R.js} +3 -3
- package/dist/chunks/{host-7BVR7CQ3.js → host-5R2SNFWD.js} +3 -3
- package/dist/chunks/{host-57LSRSE7.js → host-7FJW4E7R.js} +3 -3
- package/dist/chunks/{host-K2ZKNXME.js → host-CGXUFQO4.js} +3 -3
- package/dist/chunks/{host-NS36QFLR.js → host-PDJAKCT7.js} +3 -3
- package/dist/chunks/{host-C2BLBIID.js → host-WO4L5G5I.js} +3 -3
- package/dist/chunks/{host-QXFKQXNX.js → host-XIYG4F4B.js} +3 -3
- package/dist/chunks/{hrm-FSGO4NSH.js → hrm-WGODDTEH.js} +3 -3
- package/dist/chunks/{im-2BFGS2XO.js → im-YKTKAJU3.js} +3 -3
- package/dist/chunks/{invoice-JKLTTHSZ.js → invoice-PVYCCCVM.js} +3 -3
- package/dist/chunks/{jiuchuanhui-PTABJE7V.js → jiuchuanhui-RKOQW7BY.js} +3 -3
- package/dist/chunks/{lazy-dispatch-YN2ZP3CS.js → lazy-dispatch-DW45AFQ5.js} +5 -5
- package/dist/chunks/{mail-YNO7ZZUK.js → mail-BNB5S4NW.js} +2 -2
- package/dist/chunks/{meeting-NIDHDBCB.js → meeting-O2KDJH66.js} +13 -13
- package/dist/chunks/{minute-doc-G3QAT7DE.js → minute-doc-JUCG56GY.js} +4 -4
- package/dist/chunks/{okr-QC52G6AJ.js → okr-LWFGWOE7.js} +2 -2
- package/dist/chunks/{operations-MQV32ITT.js → operations-532PN5OB.js} +4 -4
- package/dist/chunks/{performance-3MQ3AHDQ.js → performance-7W5COCFU.js} +2 -2
- package/dist/chunks/{plan-ISINIEPY.js → plan-ZVY3IYTL.js} +2 -2
- package/dist/chunks/{project-IJ6DVKT7.js → project-SA62B7MH.js} +2 -2
- package/dist/chunks/{reception-3H5LUG2I.js → reception-NGIONPQ3.js} +113 -44
- package/dist/chunks/{recruit-stage-MIOJXP6W.js → recruit-stage-WOSN6MGP.js} +868 -128
- package/dist/chunks/{registry-NHHKOEU3.js → registry-N7P3W2RD.js} +4 -4
- package/dist/chunks/{registry-3S7AVMXR.js → registry-R72GWXOG.js} +3 -3
- package/dist/chunks/{registry-3GQRYP2R.js → registry-RIQ67ZT7.js} +12 -12
- package/dist/chunks/{room-recommend-IOKBJVYP.js → room-recommend-KCGIVUFR.js} +4 -4
- package/dist/chunks/{schedule-IB6EUARH.js → schedule-6UP27HQ4.js} +4 -4
- package/dist/chunks/{smart-extract-N2TK3CEF.js → smart-extract-DDOQSPRB.js} +3 -3
- package/dist/chunks/{workflow-RINBAL2M.js → workflow-V5ALD6QZ.js} +5 -5
- package/dist/core/output.js +4 -0
- package/dist/index.js +34 -34
- package/dist/shortcuts/ehr/operations/recruit-position.js +4 -3
- package/dist/shortcuts/ehr/operations/recruit-short-cache.js +6 -2
- package/dist/shortcuts/ehr/operations/recruit-write.js +3 -3
- package/dist/shortcuts/ehr/operations/recruit.js +206 -82
- package/dist/shortcuts/ehr/operations/shared.js +31 -0
- package/dist/shortcuts/reception/constants.js +22 -0
- package/dist/shortcuts/reception/index.js +4 -0
- package/dist/shortcuts/reception/manifest.js +15 -1
- package/dist/shortcuts/reception/operations/doc.js +24 -11
- package/dist/shortcuts/reception/operations/docrender.js +18 -1
- package/dist/shortcuts/reception/operations/render-assets.js +93 -22
- package/dist/shortcuts/recruit-stage/context.js +12 -6
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +19 -10
- package/dist/shortcuts/recruit-stage/operations/jd-create.js +454 -22
- package/dist/shortcuts/recruit-stage/operations/list.js +72 -1
- package/dist/shortcuts/recruit-stage/operations/profile.js +13 -5
- package/dist/shortcuts/recruit-stage/operations/registry.js +18 -2
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +192 -26
- package/dist/shortcuts/recruit-stage/operations/search.js +78 -14
- package/dist/shortcuts/recruit-stage/operations/shortlist.js +122 -0
- package/dist/shortcuts/recruit-stage/shared.js +147 -3
- package/dist/shortcuts/workflow/operations/form.js +36 -2
- package/package.json +1 -1
- package/skills/weaver-e10-jucailin/SKILL.md +7 -3
- package/skills/weaver-e10-jucailin/references/recruit-output-links.md +33 -0
- package/skills/weaver-e10-jucailin/references/recruit-write.md +2 -0
- package/skills/weaver-e10-reception-flow/SKILL.md +97 -41
- package/skills/weaver-e10-reception-flow/references/guide.md +3 -1
- package/skills/weaver-e10-recruit-stage/SKILL.md +499 -122
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +67 -44
- package/skills/weaver-e10-recruit-stage/lib/interview-conflict.mjs +279 -0
- package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +198 -0
- package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +697 -0
- package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +159 -11
- package/skills/weaver-e10-recruit-stage/references/env-fixed-values.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/position-templates.md +19 -18
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +19 -18
- package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-detail-process.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +15 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-failure-fallback.md +37 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +4 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +62 -33
- package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +43 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-maint.md +41 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +4 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-my-positions.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +25 -7
- package/skills/weaver-e10-recruit-stage/references/recruit-platform-compat.md +51 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +63 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +4 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +58 -33
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +4 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +5 -5
- package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +10 -10
- package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +2 -2
- package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +106 -0
- package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +325 -0
- package/skills/weaver-e10-recruit-stage/templates/match-report.html +161 -73
- package/skills/weaver-e10-jucailin/references/source-manifest.json +0 -152
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
createE10RequestRuntime,
|
|
20
20
|
isE10SessionExpiredResponse,
|
|
21
21
|
requireE10Session
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IU6UB2TD.js";
|
|
23
23
|
import {
|
|
24
24
|
E10_SESSION_EXPIRED_MESSAGE
|
|
25
25
|
} from "./chunk-IZCQU5D5.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
getActiveProfile,
|
|
28
28
|
hasXiaoEEnv,
|
|
29
29
|
writeWithRetry
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-AMAPQVBT.js";
|
|
31
31
|
import {
|
|
32
32
|
CliError,
|
|
33
33
|
isCliError,
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
createE10RequestRuntime,
|
|
17
17
|
isE10SessionExpiredResponse,
|
|
18
18
|
requireE10Session
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IU6UB2TD.js";
|
|
20
20
|
import {
|
|
21
21
|
E10_SESSION_EXPIRED_MESSAGE
|
|
22
22
|
} from "./chunk-IZCQU5D5.js";
|
|
23
23
|
import {
|
|
24
24
|
getActiveProfile
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AMAPQVBT.js";
|
|
26
26
|
import {
|
|
27
27
|
CliError,
|
|
28
28
|
isCliError,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
createE10RequestRuntime,
|
|
16
16
|
isE10SessionExpiredResponse,
|
|
17
17
|
requireE10Session
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IU6UB2TD.js";
|
|
19
19
|
import {
|
|
20
20
|
E10_SESSION_EXPIRED_MESSAGE
|
|
21
21
|
} from "./chunk-IZCQU5D5.js";
|
|
22
22
|
import {
|
|
23
23
|
getActiveProfile
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AMAPQVBT.js";
|
|
25
25
|
import {
|
|
26
26
|
CliError,
|
|
27
27
|
isCliError,
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
createE10RequestRuntime,
|
|
14
14
|
isE10SessionExpiredResponse,
|
|
15
15
|
requireE10Session
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IU6UB2TD.js";
|
|
17
17
|
import {
|
|
18
18
|
E10_SESSION_EXPIRED_MESSAGE
|
|
19
19
|
} from "./chunk-IZCQU5D5.js";
|
|
20
20
|
import {
|
|
21
21
|
getActiveProfile
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AMAPQVBT.js";
|
|
23
23
|
import {
|
|
24
24
|
CliError,
|
|
25
25
|
isCliError,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
looksLikeFileId,
|
|
9
9
|
meetingAttachmentContentOperations,
|
|
10
10
|
parseFileIdList
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IBSJJGXL.js";
|
|
12
12
|
import "./chunk-WMRNO6IU.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-F4HM25K4.js";
|
|
14
|
+
import "./chunk-4I26YMBY.js";
|
|
15
15
|
import "./chunk-7BDPM5ST.js";
|
|
16
16
|
import "./chunk-UG5G54VL.js";
|
|
17
17
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
createE10RequestRuntime,
|
|
16
16
|
isE10SessionExpiredResponse,
|
|
17
17
|
requireE10Session
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IU6UB2TD.js";
|
|
19
19
|
import {
|
|
20
20
|
E10_SESSION_EXPIRED_MESSAGE
|
|
21
21
|
} from "./chunk-IZCQU5D5.js";
|
|
22
22
|
import {
|
|
23
23
|
getActiveProfile
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AMAPQVBT.js";
|
|
25
25
|
import {
|
|
26
26
|
CliError,
|
|
27
27
|
isCliError,
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
caizhilianManifest,
|
|
5
5
|
caizhilianOperationDefinitions,
|
|
6
6
|
executeCaizhilianOperation
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GAMGDNTF.js";
|
|
8
8
|
import {
|
|
9
9
|
createCaizhilianHost
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NUP4RYZK.js";
|
|
11
11
|
import {
|
|
12
12
|
createCaizhilianContinuationSigner
|
|
13
13
|
} from "./chunk-VRPH24IC.js";
|
|
@@ -23,9 +23,9 @@ import {
|
|
|
23
23
|
reportPlatformError
|
|
24
24
|
} from "./chunk-MD5CW4B6.js";
|
|
25
25
|
import "./chunk-7BDPM5ST.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-IU6UB2TD.js";
|
|
27
27
|
import "./chunk-IZCQU5D5.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-AMAPQVBT.js";
|
|
29
29
|
import {
|
|
30
30
|
isCliError,
|
|
31
31
|
toErrorEnvelope
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
createE10RequestRuntime,
|
|
18
18
|
isE10SessionExpiredResponse,
|
|
19
19
|
requireE10Session
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IU6UB2TD.js";
|
|
21
21
|
import {
|
|
22
22
|
E10_SESSION_EXPIRED_MESSAGE
|
|
23
23
|
} from "./chunk-IZCQU5D5.js";
|
|
24
24
|
import {
|
|
25
25
|
getActiveProfile
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AMAPQVBT.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError,
|
|
29
29
|
isCliError,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
cacheScopeSuffix,
|
|
5
5
|
readCache,
|
|
6
6
|
writeCache
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PAFOLIYQ.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-4I26YMBY.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-RDKWAARB.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-RIQ67ZT7.js");
|
|
225
225
|
const listOp = getMeetingOperation("meeting.eb.meeting.list");
|
|
226
226
|
let seen = 0;
|
|
227
227
|
let total = 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-7QFVXP2X.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-2CHGUYMG.js";
|
|
16
16
|
import {
|
|
17
17
|
cacheScopeSuffix,
|
|
18
18
|
readCache,
|
|
19
19
|
writeCache
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PAFOLIYQ.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-4I26YMBY.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-RIQ67ZT7.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-5R2SNFWD.js");
|
|
340
340
|
const { createWorkflowContinuationSigner } = await import("./continuation-HFW2YT5S.js");
|
|
341
|
-
const { getWorkflowOperation } = await import("./registry-
|
|
341
|
+
const { getWorkflowOperation } = await import("./registry-R72GWXOG.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-KCGIVUFR.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-RIQ67ZT7.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 || "";
|
|
@@ -586,7 +586,7 @@ async function shapeBrowserValues(env, values, options = {}) {
|
|
|
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-RIQ67ZT7.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);
|
|
@@ -787,7 +787,7 @@ async function resolveAutoCrmDetailRows(env, raw) {
|
|
|
787
787
|
const missing = [];
|
|
788
788
|
if (entries.length > 0) {
|
|
789
789
|
try {
|
|
790
|
-
const { getMeetingOperation } = await import("./registry-
|
|
790
|
+
const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
|
|
791
791
|
const search = getMeetingOperation("meeting.eb.crm.search");
|
|
792
792
|
for (const entry of entries) {
|
|
793
793
|
if (entry.contacts.length > 0) continue;
|
|
@@ -1046,7 +1046,7 @@ function shouldAutoPickFlow(args) {
|
|
|
1046
1046
|
async function sendInvitationToGroup(env, groupId, filePath, warnings) {
|
|
1047
1047
|
const started = Date.now();
|
|
1048
1048
|
try {
|
|
1049
|
-
const { buildImEnv } = await import("./group-chat-
|
|
1049
|
+
const { buildImEnv } = await import("./group-chat-PROTW22R.js");
|
|
1050
1050
|
const { getImOperation } = await import("./registry-AC33ZZVH.js");
|
|
1051
1051
|
const imEnv = await buildImEnv(env);
|
|
1052
1052
|
const prepared = await getImOperation("im.msg.send.group.prepare").handler(
|
|
@@ -1171,7 +1171,7 @@ function needsCrmSelection(name, items) {
|
|
|
1171
1171
|
async function buildCrmSelection(args, env) {
|
|
1172
1172
|
const name = crmPendingNames(args.crm_members)[0];
|
|
1173
1173
|
if (!name) return null;
|
|
1174
|
-
const { getMeetingOperation } = await import("./registry-
|
|
1174
|
+
const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
|
|
1175
1175
|
const search = getMeetingOperation("meeting.eb.crm.search");
|
|
1176
1176
|
const found = await search.handler({ keyword: name, limit: 10 }, env).catch(() => null);
|
|
1177
1177
|
const items = found?.data?.items ?? [];
|
|
@@ -1298,14 +1298,14 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1298
1298
|
let entryResolved = "";
|
|
1299
1299
|
const rawEntry = String(args.entryMode ?? "").trim();
|
|
1300
1300
|
if (rawEntry === "assist" || rawEntry === "direct_form") {
|
|
1301
|
-
const { verifyEntryToken } = await import("./entry-mode-
|
|
1301
|
+
const { verifyEntryToken } = await import("./entry-mode-6Z3ZV3DE.js");
|
|
1302
1302
|
const tokenOk = await verifyEntryToken(env, String(args.entryToken ?? ""), rawEntry).catch(() => false);
|
|
1303
1303
|
const decision = decideEntryMode({ declared: rawEntry, tokenOk });
|
|
1304
1304
|
if (decision.mode) entryResolved = decision.mode;
|
|
1305
1305
|
else env.__entryTokenMissing = 1;
|
|
1306
1306
|
}
|
|
1307
1307
|
if (!entryResolved && rawEntry === "") {
|
|
1308
|
-
const { readEntryChoice } = await import("./entry-mode-
|
|
1308
|
+
const { readEntryChoice } = await import("./entry-mode-6Z3ZV3DE.js");
|
|
1309
1309
|
const mark2 = await readEntryChoice(env).catch(() => null);
|
|
1310
1310
|
if (mark2?.choice) entryResolved = mark2.choice;
|
|
1311
1311
|
}
|
|
@@ -1317,7 +1317,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1317
1317
|
}
|
|
1318
1318
|
if (entryResolved === "direct_form") {
|
|
1319
1319
|
env.__meetingTimings = { ...env.__meetingTimings, directDelegated: 1 };
|
|
1320
|
-
const { getMeetingOperation } = await import("./registry-
|
|
1320
|
+
const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
|
|
1321
1321
|
return getMeetingOperation("meeting.eb.meeting.create.formLink").handler(args, env);
|
|
1322
1322
|
}
|
|
1323
1323
|
const beginRaw = String(args.begin_datetime ?? "").trim();
|
|
@@ -1330,7 +1330,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1330
1330
|
skipPreflight = true;
|
|
1331
1331
|
}
|
|
1332
1332
|
if (!entryResolved && args.skipPreflight !== true) {
|
|
1333
|
-
const { createEntryToken } = await import("./entry-mode-
|
|
1333
|
+
const { createEntryToken } = await import("./entry-mode-6Z3ZV3DE.js");
|
|
1334
1334
|
const tokenDirect = await createEntryToken(env, "direct_form");
|
|
1335
1335
|
const tokenAssist = await createEntryToken(env, "assist");
|
|
1336
1336
|
return meetingSuccess("meeting.eb.meeting.create.flow.prepare", {
|
|
@@ -1432,7 +1432,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1432
1432
|
}
|
|
1433
1433
|
}
|
|
1434
1434
|
const nameLike = rawMembers.filter((item) => !/^\d+$/.test(item));
|
|
1435
|
-
const nameToId = nameLike.length > 0 ? await import("./schedule-
|
|
1435
|
+
const nameToId = nameLike.length > 0 ? await import("./schedule-6UP27HQ4.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
|
|
1436
1436
|
const memberIds = rawMembers.map((item) => nameToId.get(item) ?? item);
|
|
1437
1437
|
if (memberIds.length > 0) {
|
|
1438
1438
|
const callerToken2 = String(args.caller ?? "").trim();
|
|
@@ -1477,7 +1477,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1477
1477
|
if (!skipPreflight && (!beginHasTime || !timeConfirmed)) {
|
|
1478
1478
|
const day2 = /^\d{4}-\d{2}-\d{2}/.test(beginText) ? beginText.slice(0, 10) : String(args.dateFrom ?? "").trim().slice(0, 10) || tomorrowIso();
|
|
1479
1479
|
const duration = Number(args.durationMinutes) > 0 ? Math.round(Number(args.durationMinutes)) : 60;
|
|
1480
|
-
const { getMeetingOperation } = await import("./registry-
|
|
1480
|
+
const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
|
|
1481
1481
|
const suggested = await getMeetingOperation("meeting.eb.meeting.create.suggest").handler(
|
|
1482
1482
|
{
|
|
1483
1483
|
dateFrom: day2,
|
|
@@ -1647,7 +1647,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1647
1647
|
usageFromCache: usageData.fromCache
|
|
1648
1648
|
};
|
|
1649
1649
|
}
|
|
1650
|
-
const { getMeetingOperation } = await import("./registry-
|
|
1650
|
+
const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
|
|
1651
1651
|
const result = await getMeetingOperation("meeting.eb.conflict.room").handler(
|
|
1652
1652
|
{ beginDatetime: beginText, endDatetime: endText, address: room.id },
|
|
1653
1653
|
env
|
|
@@ -1655,7 +1655,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
1655
1655
|
return { room, ...result?.data ?? {} };
|
|
1656
1656
|
})().catch(noteFailure("\u4F1A\u8BAE\u5BA4**\u5360\u7528**\u68C0\u6D4B")) : Promise.resolve(null);
|
|
1657
1657
|
const conflictTask = cachedChecks ? Promise.resolve({ data: { conflicts: cachedChecks.memberConflicts } }) : enrich && beginText && endText && memberIds.length > 0 ? (async () => {
|
|
1658
|
-
const { getMeetingOperation } = await import("./registry-
|
|
1658
|
+
const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
|
|
1659
1659
|
return getMeetingOperation("meeting.eb.conflict.member").handler(
|
|
1660
1660
|
{ beginDatetime: beginText, endDatetime: endText, hrmMembers: memberIds.join(",") },
|
|
1661
1661
|
env
|
|
@@ -2066,7 +2066,7 @@ var ebMeetingCreateFlowPrepare = {
|
|
|
2066
2066
|
invitationDocInfo = { docId: cachedDoc.docId, name: cachedDoc.name };
|
|
2067
2067
|
} else {
|
|
2068
2068
|
try {
|
|
2069
|
-
const { getMeetingOperation } = await import("./registry-
|
|
2069
|
+
const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
|
|
2070
2070
|
const publish = getMeetingOperation("meeting.invitation.publish");
|
|
2071
2071
|
const renderExtra = {};
|
|
2072
2072
|
if (String(args.guest_org ?? "").trim()) renderExtra.guest_org = String(args.guest_org).trim();
|
|
@@ -2388,7 +2388,7 @@ async function patchMeetingCrmMembers(env, meetingId, ids, count, settleMsList =
|
|
|
2388
2388
|
});
|
|
2389
2389
|
};
|
|
2390
2390
|
const readBack = async () => {
|
|
2391
|
-
const { getMeetingOperation } = await import("./registry-
|
|
2391
|
+
const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
|
|
2392
2392
|
const detail = getMeetingOperation("meeting.eb.meeting.detail");
|
|
2393
2393
|
const read = await detail.handler({ id: String(meetingId).trim() }, env);
|
|
2394
2394
|
return String(read?.data?.data?.crm_members ?? "").trim();
|
|
@@ -2415,7 +2415,7 @@ async function renderPreInvitation(payload, env) {
|
|
|
2415
2415
|
const fields = payload?.invitationFields ?? {};
|
|
2416
2416
|
const started = Date.now();
|
|
2417
2417
|
try {
|
|
2418
|
-
const { getMeetingOperation } = await import("./registry-
|
|
2418
|
+
const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
|
|
2419
2419
|
const render = getMeetingOperation("meeting.invitation.render");
|
|
2420
2420
|
const rendered = await render.handler(
|
|
2421
2421
|
{
|
|
@@ -2491,9 +2491,9 @@ var ebMeetingCreateFlowApply = {
|
|
|
2491
2491
|
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");
|
|
2492
2492
|
}
|
|
2493
2493
|
const payload = lease?.payload ?? {};
|
|
2494
|
-
const { createWorkflowHost } = await import("./host-
|
|
2494
|
+
const { createWorkflowHost } = await import("./host-5R2SNFWD.js");
|
|
2495
2495
|
const { createWorkflowContinuationSigner } = await import("./continuation-HFW2YT5S.js");
|
|
2496
|
-
const { getWorkflowOperation } = await import("./registry-
|
|
2496
|
+
const { getWorkflowOperation } = await import("./registry-R72GWXOG.js");
|
|
2497
2497
|
const wfEnv = {
|
|
2498
2498
|
...workflowEnv(env),
|
|
2499
2499
|
host: createWorkflowHost(env.ctx),
|
|
@@ -2543,7 +2543,7 @@ var ebMeetingCreateFlowApply = {
|
|
|
2543
2543
|
const groupPayload2 = payload?.groupChat;
|
|
2544
2544
|
if (groupPayload2) {
|
|
2545
2545
|
try {
|
|
2546
|
-
const { ensureMeetingGroupChat } = await import("./group-chat-
|
|
2546
|
+
const { ensureMeetingGroupChat } = await import("./group-chat-PROTW22R.js");
|
|
2547
2547
|
groupChat2 = {
|
|
2548
2548
|
...await ensureMeetingGroupChat(env, {
|
|
2549
2549
|
meetingName: String(payload.mtName ?? ""),
|
|
@@ -2559,7 +2559,7 @@ var ebMeetingCreateFlowApply = {
|
|
|
2559
2559
|
}
|
|
2560
2560
|
if (groupChat2 && groupChat2.ok) {
|
|
2561
2561
|
try {
|
|
2562
|
-
const { savePendingForm } = await import("./group-chat-
|
|
2562
|
+
const { savePendingForm } = await import("./group-chat-PROTW22R.js");
|
|
2563
2563
|
await savePendingForm(env, {
|
|
2564
2564
|
workflowId: String(payload.workflowId ?? ""),
|
|
2565
2565
|
workflowName: String(payload.workflowName ?? ""),
|
|
@@ -2629,7 +2629,7 @@ var ebMeetingCreateFlowApply = {
|
|
|
2629
2629
|
let meetingId = "";
|
|
2630
2630
|
const timings = { submitMs: Date.now() - submitStartedAt };
|
|
2631
2631
|
if (waitSeconds > 0) {
|
|
2632
|
-
const { getMeetingOperation } = await import("./registry-
|
|
2632
|
+
const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
|
|
2633
2633
|
const list = getMeetingOperation("meeting.eb.meeting.list");
|
|
2634
2634
|
const deadline = Date.now() + Math.min(waitSeconds, 30) * 1e3;
|
|
2635
2635
|
const pollStart = Date.now();
|
|
@@ -2679,7 +2679,7 @@ var ebMeetingCreateFlowApply = {
|
|
|
2679
2679
|
if (groupPayload) {
|
|
2680
2680
|
const groupStart = Date.now();
|
|
2681
2681
|
try {
|
|
2682
|
-
const { ensureMeetingGroupChat } = await import("./group-chat-
|
|
2682
|
+
const { ensureMeetingGroupChat } = await import("./group-chat-PROTW22R.js");
|
|
2683
2683
|
const group = await ensureMeetingGroupChat(env, {
|
|
2684
2684
|
meetingName: String(payload.mtName ?? ""),
|
|
2685
2685
|
beginDatetime: String(groupPayload.beginDatetime ?? ""),
|
|
@@ -2711,7 +2711,7 @@ var ebMeetingCreateFlowApply = {
|
|
|
2711
2711
|
if (meetingId) {
|
|
2712
2712
|
const invitationStart = Date.now();
|
|
2713
2713
|
try {
|
|
2714
|
-
const { getMeetingOperation } = await import("./registry-
|
|
2714
|
+
const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
|
|
2715
2715
|
const render = getMeetingOperation("meeting.invitation.render");
|
|
2716
2716
|
const rendered = await render.handler(
|
|
2717
2717
|
{
|
|
@@ -2872,7 +2872,7 @@ var ebMeetingCreateFlowQuick = {
|
|
|
2872
2872
|
),
|
|
2873
2873
|
handler: async (args, env) => {
|
|
2874
2874
|
if (String(args.entryMode ?? "") === "direct_form" || args.skipPreflight === true && args.confirm !== true) {
|
|
2875
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2875
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
|
|
2876
2876
|
return getMeetingOperation2("meeting.eb.meeting.create.formLink").handler(args, env);
|
|
2877
2877
|
}
|
|
2878
2878
|
if (args.confirm !== true) {
|
|
@@ -2889,7 +2889,7 @@ var ebMeetingCreateFlowQuick = {
|
|
|
2889
2889
|
`\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`
|
|
2890
2890
|
);
|
|
2891
2891
|
}
|
|
2892
|
-
const { getMeetingOperation } = await import("./registry-
|
|
2892
|
+
const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
|
|
2893
2893
|
const prepareStartedAt = Date.now();
|
|
2894
2894
|
const { submit_mode: _submitMode, confirm: _confirm, ...prepareArgs } = args;
|
|
2895
2895
|
const prepared = await getMeetingOperation("meeting.eb.meeting.create.flow.prepare").handler(
|
|
@@ -2988,7 +2988,7 @@ var ebMeetingCreateSuggest = {
|
|
|
2988
2988
|
const topN = Math.max(1, Math.min(5, Number(args.topN) || 3));
|
|
2989
2989
|
const rawMembers = String(args.hrm_members ?? "").split(/[,;,;\s]+/).map((item) => item.trim()).filter((item) => item !== "");
|
|
2990
2990
|
const nameLike = rawMembers.filter((item) => !/^\d+$/.test(item));
|
|
2991
|
-
const nameToId = nameLike.length > 0 ? await import("./schedule-
|
|
2991
|
+
const nameToId = nameLike.length > 0 ? await import("./schedule-6UP27HQ4.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
|
|
2992
2992
|
const memberIds = rawMembers.map((item) => nameToId.get(item) ?? item);
|
|
2993
2993
|
const unresolved = rawMembers.filter((item) => nameToId.get(item) === void 0 && !/^\d+$/.test(item));
|
|
2994
2994
|
const selfId = await env.host.getSession().then((s) => String(s?.userId ?? "")).catch(() => "");
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
createE10RequestRuntime,
|
|
12
12
|
isE10SessionExpiredResponse,
|
|
13
13
|
requireE10Session
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IU6UB2TD.js";
|
|
15
15
|
import {
|
|
16
16
|
E10_SESSION_EXPIRED_MESSAGE
|
|
17
17
|
} from "./chunk-IZCQU5D5.js";
|
|
18
18
|
import {
|
|
19
19
|
getActiveProfile
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AMAPQVBT.js";
|
|
21
21
|
|
|
22
22
|
// src/shortcuts/im/host.ts
|
|
23
23
|
import { createHash } from "node:crypto";
|
|
@@ -2335,7 +2335,7 @@ function buildWriteOperations(endpoint, preflight, afterWrite) {
|
|
|
2335
2335
|
);
|
|
2336
2336
|
}
|
|
2337
2337
|
if (endpoint.interfacePk === "create_meeting") {
|
|
2338
|
-
const { fetchEbAppSettings, assertEbCreatePathAllowed } = await import("./conflict-
|
|
2338
|
+
const { fetchEbAppSettings, assertEbCreatePathAllowed } = await import("./conflict-VPAR7E6F.js");
|
|
2339
2339
|
assertEbCreatePathAllowed(await fetchEbAppSettings(env, applyName));
|
|
2340
2340
|
}
|
|
2341
2341
|
const pkQuery = writePkQuery(endpoint, payload);
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-WRXSAVKO.js";
|
|
16
16
|
import {
|
|
17
17
|
stringifyForStdout
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-54ST55IJ.js";
|
|
19
19
|
import {
|
|
20
20
|
stateRoot
|
|
21
21
|
} from "./chunk-AJ62BGAW.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-IZCQU5D5.js";
|
|
31
31
|
import {
|
|
32
32
|
hasXiaoEEnv
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-AMAPQVBT.js";
|
|
34
34
|
|
|
35
35
|
// src/shortcuts/workflow/operations/form.ts
|
|
36
36
|
import { randomUUID } from "node:crypto";
|
|
@@ -6623,9 +6623,11 @@ async function buildCreateFormData(workflowId, env, options = {}) {
|
|
|
6623
6623
|
for (const d of merged) defaults.push(d);
|
|
6624
6624
|
}
|
|
6625
6625
|
}
|
|
6626
|
-
const [
|
|
6626
|
+
const [hiddenSubformsRaw, rowHiddenRaw, rowExtraRequired, rowDisabled] = computeLinkageVisibility(layoutData.viewLinkages, [], defaults, onLoadLinkage, systemFieldValues, fields);
|
|
6627
|
+
const hiddenSubforms = EXCLUDE_LINKAGE_HIDDEN_FIELDS ? hiddenSubformsRaw : /* @__PURE__ */ new Set();
|
|
6628
|
+
const rowHidden = EXCLUDE_LINKAGE_HIDDEN_FIELDS ? rowHiddenRaw : withoutMainHidden(rowHiddenRaw);
|
|
6627
6629
|
const mainHidden = new Set(rowHidden.main || []);
|
|
6628
|
-
const initialHidden = new Set(fields.filter((f) => f.display === false).map((f) => String(f.id ?? "")));
|
|
6630
|
+
const initialHidden = EXCLUDE_LINKAGE_HIDDEN_FIELDS ? new Set(fields.filter((f) => f.display === false).map((f) => String(f.id ?? ""))) : /* @__PURE__ */ new Set();
|
|
6629
6631
|
if (initialHidden.size) {
|
|
6630
6632
|
for (const id of initialHidden) mainHidden.add(id);
|
|
6631
6633
|
rowHidden.main = mainHidden;
|
|
@@ -7983,6 +7985,15 @@ function mergeLinkageDetails(merged, linkageDetails) {
|
|
|
7983
7985
|
function emptyLinkageVisibility() {
|
|
7984
7986
|
return [/* @__PURE__ */ new Set(), {}, {}, {}];
|
|
7985
7987
|
}
|
|
7988
|
+
var EXCLUDE_LINKAGE_HIDDEN_FIELDS = false;
|
|
7989
|
+
function withoutMainHidden(rowHidden) {
|
|
7990
|
+
const copy = {};
|
|
7991
|
+
for (const key of Object.keys(rowHidden || {})) {
|
|
7992
|
+
if (key === "main") continue;
|
|
7993
|
+
copy[key] = rowHidden[key];
|
|
7994
|
+
}
|
|
7995
|
+
return copy;
|
|
7996
|
+
}
|
|
7986
7997
|
function computeLinkageVisibility(linkages, entries, defaults, linkageDetails, systemFieldValues, fields) {
|
|
7987
7998
|
const hiddenSubforms = /* @__PURE__ */ new Set();
|
|
7988
7999
|
const rowHidden = {};
|
|
@@ -510,7 +510,11 @@ function isIntegrityField(key) {
|
|
|
510
510
|
"pagesize",
|
|
511
511
|
"pageno",
|
|
512
512
|
"nextoffset",
|
|
513
|
-
"nextpagetoken"
|
|
513
|
+
"nextpagetoken",
|
|
514
|
+
// continuation(2026-11-27 实证):prepare 两段式写通道的签名令牌,被 stdout 预览截断后
|
|
515
|
+
// helper/Agent 存下坏 token,apply 必报 continuation_invalid(HMAC 校验失败)。
|
|
516
|
+
// 它与 id/code 同级——一个字符都不能错,永不参与字符串截断;信封超预算走骨架+ref 兜底。
|
|
517
|
+
"continuation"
|
|
514
518
|
].some((suffix) => normalized === suffix || normalized.endsWith(suffix));
|
|
515
519
|
}
|
|
516
520
|
function childPath(path, key) {
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
createE10RequestRuntime,
|
|
12
12
|
isE10SessionExpiredResponse,
|
|
13
13
|
requireE10Session
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IU6UB2TD.js";
|
|
15
15
|
import {
|
|
16
16
|
E10_SESSION_EXPIRED_MESSAGE
|
|
17
17
|
} from "./chunk-IZCQU5D5.js";
|
|
18
18
|
import {
|
|
19
19
|
getActiveProfile
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AMAPQVBT.js";
|
|
21
21
|
|
|
22
22
|
// src/shortcuts/hrm/host.ts
|
|
23
23
|
function inferProfile(ctx) {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
meetingValidationError,
|
|
13
13
|
queryBody,
|
|
14
14
|
toIdCsv
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4I26YMBY.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-52PU2OBI.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-6UP27HQ4.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-52PU2OBI.js");
|
|
452
452
|
const resolved = await resolveAddressRoom(env, String(args.room_name));
|
|
453
453
|
if (!resolved?.id) {
|
|
454
454
|
throw meetingValidationError(
|
|
@@ -637,7 +637,7 @@ async function findCommonFreeSlots(env, input) {
|
|
|
637
637
|
let meetings = allMeetings;
|
|
638
638
|
let prefilterSkipped = 0;
|
|
639
639
|
try {
|
|
640
|
-
const { resolveEmployeeNames } = await import("./create-flow-
|
|
640
|
+
const { resolveEmployeeNames } = await import("./create-flow-52PU2OBI.js");
|
|
641
641
|
const names2 = await resolveEmployeeNames(env, members);
|
|
642
642
|
const tokens = [...members, ...names2.values()].map((token) => String(token ?? "").trim()).filter((token) => token !== "");
|
|
643
643
|
if (tokens.length > 0 && process.env.WEAVER_MEETING_NO_PREFILTER !== "1") {
|
|
@@ -675,7 +675,7 @@ async function findCommonFreeSlots(env, input) {
|
|
|
675
675
|
const scheduleItems = [];
|
|
676
676
|
if (includeSchedule) {
|
|
677
677
|
try {
|
|
678
|
-
const { runScheduleConflictFlow, parseScheduleConflictMessage, resolveMemberIdsByName } = await import("./schedule-
|
|
678
|
+
const { runScheduleConflictFlow, parseScheduleConflictMessage, resolveMemberIdsByName } = await import("./schedule-6UP27HQ4.js");
|
|
679
679
|
const dayBegin = new Date(rangeStart.getFullYear(), rangeStart.getMonth(), rangeStart.getDate(), 0, 0, 0, 0);
|
|
680
680
|
const dayEnd = new Date(rangeStart.getFullYear(), rangeStart.getMonth(), rangeStart.getDate(), 23, 59, 0, 0);
|
|
681
681
|
const flow = await runScheduleConflictFlow(env, {
|