weaver-work-cli 0.1.69 → 0.1.71
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-VUTREF3P.js → archive-5P33NAUN.js} +22 -5
- package/dist/chunks/{archive-oa-VXXO4RTB.js → archive-oa-YTY5D7DG.js} +17 -5
- package/dist/chunks/{asset-45U6TY7I.js → asset-3Q5MFQBX.js} +22 -5
- package/dist/chunks/{asset-idle-YCRBMTIT.js → asset-idle-PQPNYIS7.js} +15 -5
- package/dist/chunks/{attachment-content-7BEDNQ3O.js → attachment-content-7CN7JB6B.js} +3 -3
- package/dist/chunks/{blog-5AML4WMG.js → blog-MFHHK6ZR.js} +25 -5
- package/dist/chunks/{caizhilian-3P7BUNHT.js → caizhilian-OZ435AYW.js} +22 -8
- package/dist/chunks/{calendar-2HUXM3CZ.js → calendar-TNJXS5UC.js} +15 -5
- package/dist/chunks/{chunk-H2NRTGZR.js → chunk-2DNCKZRX.js} +3 -3
- package/dist/chunks/{chunk-DVFA3ODS.js → chunk-35A56FJ7.js} +12 -0
- package/dist/chunks/{chunk-HG6INLH6.js → chunk-6MMSLE6K.js} +23 -6
- package/dist/chunks/{chunk-UVWW5ABZ.js → chunk-B4NINGP2.js} +3 -3
- package/dist/chunks/{chunk-LRKKKO5A.js → chunk-DRJYPXKC.js} +3 -4
- package/dist/chunks/{chunk-3TZURS7M.js → chunk-EJLP63UO.js} +1 -1
- package/dist/chunks/{chunk-FMAZ42HS.js → chunk-FRMDHZSN.js} +11 -11
- package/dist/chunks/{chunk-MLJK4KLE.js → chunk-G7ZM2VOX.js} +34 -34
- package/dist/chunks/{chunk-LSVA7QA6.js → chunk-GB2MCJPG.js} +3 -1
- package/dist/chunks/{chunk-3CBURKSY.js → chunk-ICNUOWLL.js} +4 -4
- package/dist/chunks/{chunk-GTAFCAVP.js → chunk-IZCQU5D5.js} +1 -1
- package/dist/chunks/{chunk-BEYEXCWU.js → chunk-LU2SPJYY.js} +2 -2
- package/dist/chunks/{chunk-E7VWE2XI.js → chunk-MD5RXRI3.js} +3 -3
- package/dist/chunks/{chunk-VZUH3LKI.js → chunk-MZVQKQP5.js} +167 -157
- package/dist/chunks/{chunk-67AN5YJT.js → chunk-OFCF23FY.js} +9 -9
- package/dist/chunks/{chunk-ERAE4GHX.js → chunk-OPTJ6IF7.js} +1 -1
- package/dist/chunks/{chunk-727VKJQK.js → chunk-OZ7CJC7W.js} +2 -2
- package/dist/chunks/{chunk-T24EBWAZ.js → chunk-P3AFNAJ6.js} +48 -21
- package/dist/chunks/{chunk-4XYRTXRR.js → chunk-Q3EXRNB4.js} +1 -1
- package/dist/chunks/{chunk-QYDSTYGG.js → chunk-SKWKCLJX.js} +3 -3
- package/dist/chunks/{chunk-DSBV4GRK.js → chunk-SSS75WXW.js} +3 -3
- package/dist/chunks/{chunk-I5XB4MZT.js → chunk-SUWR5QEG.js} +94 -65
- package/dist/chunks/{chunk-YR3K53BU.js → chunk-VJWVB55R.js} +2 -2
- package/dist/chunks/{chunk-JAIZY37Z.js → chunk-VMVMEIL3.js} +4 -4
- package/dist/chunks/chunk-WM33BSIL.js +136 -0
- package/dist/chunks/{chunk-6DH73Q5H.js → chunk-X2C5CGGM.js} +52 -51
- package/dist/chunks/{chunk-ELF5TPSG.js → chunk-XLSJC6JZ.js} +6 -6
- package/dist/chunks/{chunk-U3OO3IZF.js → chunk-YN5SD4TX.js} +20 -7
- package/dist/chunks/{conflict-VKCRXHUV.js → conflict-Y4PXZ2YQ.js} +2 -2
- package/dist/chunks/{contract-3PMHUASH.js → contract-C3BGUMBM.js} +48 -5
- package/dist/chunks/{cowork-FZBTTBYX.js → cowork-2AWG4QLA.js} +37 -8
- package/dist/chunks/{create-flow-WYPLBLRK.js → create-flow-LOUOK46Z.js} +6 -6
- package/dist/chunks/{data-2YZ6A6TL.js → data-BSFYMXVO.js} +99 -184
- package/dist/chunks/{ebuilder-form-AWPTMZBZ.js → ebuilder-form-LAAMTD2Y.js} +17 -7
- package/dist/chunks/{ehr-MNPR4TE5.js → ehr-36KEX5SH.js} +62 -13
- package/dist/chunks/{entry-mode-BCJ7RPFC.js → entry-mode-6N2IGCS4.js} +3 -3
- package/dist/chunks/{env-SCVCHBN2.js → env-QYLS3EB3.js} +2 -2
- package/dist/chunks/{esb-GSB5QCEX.js → esb-PTYS3E67.js} +17 -7
- package/dist/chunks/{factory-CBXYOEBF.js → factory-LPFPKZ4T.js} +1 -1
- package/dist/chunks/{fna-XBSNUS2V.js → fna-JNHCLRDE.js} +15 -5
- package/dist/chunks/{group-chat-RFL4U7RF.js → group-chat-QP2WX4QJ.js} +3 -3
- package/dist/chunks/{host-2UMNXX5H.js → host-57LSRSE7.js} +4 -4
- package/dist/chunks/{host-NVDG3NC6.js → host-7BVR7CQ3.js} +4 -4
- package/dist/chunks/{host-SYPCA63D.js → host-C2BLBIID.js} +4 -4
- package/dist/chunks/{host-XVWBOSEN.js → host-K2ZKNXME.js} +4 -4
- package/dist/chunks/{host-R7BP3CTI.js → host-NS36QFLR.js} +6 -4
- package/dist/chunks/{host-BD44ASOD.js → host-QXFKQXNX.js} +4 -4
- package/dist/chunks/{hrm-FZUDJAND.js → hrm-FSGO4NSH.js} +15 -6
- package/dist/chunks/{im-F5NENPD7.js → im-2BFGS2XO.js} +16 -6
- package/dist/chunks/{invoice-DS6FLU55.js → invoice-JKLTTHSZ.js} +27 -6
- package/dist/chunks/{jiuchuanhui-PY2WEBUH.js → jiuchuanhui-PTABJE7V.js} +1294 -1134
- package/dist/chunks/{lazy-dispatch-F6O2EPGR.js → lazy-dispatch-YN2ZP3CS.js} +6 -6
- package/dist/chunks/{mail-ZEOSANEJ.js → mail-YNO7ZZUK.js} +116 -97
- package/dist/chunks/{meeting-N2AGGLVI.js → meeting-NIDHDBCB.js} +29 -16
- package/dist/chunks/{minute-doc-C62EZOJH.js → minute-doc-G3QAT7DE.js} +4 -4
- package/dist/chunks/{okr-OZUMTMCL.js → okr-QC52G6AJ.js} +15 -5
- package/dist/chunks/{operations-LQY3FTPH.js → operations-2WHIF5WV.js} +1 -1
- package/dist/chunks/{operations-UTUWFJTX.js → operations-MQV32ITT.js} +5 -5
- package/dist/chunks/{performance-GBKM5G2Y.js → performance-3MQ3AHDQ.js} +97 -11
- package/dist/chunks/{plan-C2NENH42.js → plan-ISINIEPY.js} +15 -5
- package/dist/chunks/{project-FAJ2P3UR.js → project-IJ6DVKT7.js} +18 -5
- package/dist/chunks/{reception-NH6MJFPR.js → reception-3H5LUG2I.js} +17 -7
- package/dist/chunks/{recruit-stage-DPEFHLSE.js → recruit-stage-MIOJXP6W.js} +412 -85
- package/dist/chunks/{registry-7US3QQXV.js → registry-3GQRYP2R.js} +12 -12
- package/dist/chunks/{registry-Y2HWS6JS.js → registry-3S7AVMXR.js} +4 -4
- package/dist/chunks/{registry-FTPUUHWC.js → registry-NHHKOEU3.js} +5 -5
- package/dist/chunks/{room-recommend-LMNF76YS.js → room-recommend-IOKBJVYP.js} +4 -4
- package/dist/chunks/{schedule-4QE2THAP.js → schedule-IB6EUARH.js} +4 -4
- package/dist/chunks/{smart-extract-GTYKF5TJ.js → smart-extract-N2TK3CEF.js} +19 -6
- package/dist/chunks/{workflow-KXYTQZ2H.js → workflow-RINBAL2M.js} +22 -8
- package/dist/cmd/auth/index.js +23 -0
- package/dist/cmd/e10/index.js +2 -1
- package/dist/cmd/index.js +2 -0
- package/dist/core/manifest-view.js +207 -0
- package/dist/core/output.js +38 -8
- package/dist/index.js +35 -35
- package/dist/internal/e10/auth/crypto.js +18 -8
- package/dist/internal/e10/auth/error-log.js +1 -2
- package/dist/internal/e10/auth/messages.js +2 -3
- package/dist/internal/e10/auth/xiaoe.js +1 -1
- package/dist/internal/e10/tls-policy.js +61 -13
- package/dist/shortcuts/archive/index.js +11 -2
- package/dist/shortcuts/archive/operations/download.js +1 -0
- package/dist/shortcuts/archive/operations/flow-url.js +3 -0
- package/dist/shortcuts/archive/operations/prelib.js +2 -0
- package/dist/shortcuts/archive/operations/upload.js +1 -0
- package/dist/shortcuts/archive-oa/index.js +11 -2
- package/dist/shortcuts/archive-oa/operations/borrow-car.js +2 -0
- package/dist/shortcuts/asset/index.js +11 -2
- package/dist/shortcuts/asset/manifest.js +7 -0
- package/dist/shortcuts/asset-idle/index.js +11 -2
- package/dist/shortcuts/blog/index.js +11 -2
- package/dist/shortcuts/blog/manifest.js +10 -0
- package/dist/shortcuts/caizhilian/host.js +20 -4
- package/dist/shortcuts/caizhilian/index.js +12 -2
- package/dist/shortcuts/caizhilian/manifest.js +4 -25
- package/dist/shortcuts/caizhilian/operations/handlers/search.js +34 -0
- package/dist/shortcuts/caizhilian/operations/registry.js +25 -1
- package/dist/shortcuts/calendar/index.js +11 -2
- package/dist/shortcuts/contract/index.js +11 -2
- package/dist/shortcuts/contract/manifest.js +32 -0
- package/dist/shortcuts/contract/operations/write.js +3 -0
- package/dist/shortcuts/cowork/index.js +21 -5
- package/dist/shortcuts/cowork/manifest.js +3 -0
- package/dist/shortcuts/cowork/operations/discuss-write.js +2 -0
- package/dist/shortcuts/cowork/operations/item-write.js +3 -0
- package/dist/shortcuts/cowork/operations/member-write.js +2 -0
- package/dist/shortcuts/cowork/operations/permission-write.js +2 -0
- package/dist/shortcuts/cowork/operations/review-write.js +1 -0
- package/dist/shortcuts/data/errors.js +16 -29
- package/dist/shortcuts/data/host.js +16 -7
- package/dist/shortcuts/data/index.js +12 -41
- package/dist/shortcuts/data/manifest.js +5 -44
- package/dist/shortcuts/data/operations/attend.js +2 -2
- package/dist/shortcuts/data/operations/conf.js +0 -88
- package/dist/shortcuts/data/operations/ds.js +4 -4
- package/dist/shortcuts/data/operations/index.js +1 -5
- package/dist/shortcuts/data/operations/module.js +40 -14
- package/dist/shortcuts/data/operations/query.js +2 -2
- package/dist/shortcuts/ebuilder-form/index.js +11 -2
- package/dist/shortcuts/ebuilder-form/manifest.js +12 -0
- package/dist/shortcuts/ehr/index.js +11 -2
- package/dist/shortcuts/ehr/operations/attend-write.js +51 -8
- package/dist/shortcuts/esb/index.js +11 -2
- package/dist/shortcuts/esb/manifest.js +2 -0
- package/dist/shortcuts/fna/index.js +11 -2
- package/dist/shortcuts/hrm/index.js +11 -1
- package/dist/shortcuts/im/index.js +11 -2
- package/dist/shortcuts/invoice/index.js +11 -2
- package/dist/shortcuts/invoice/manifest.js +8 -0
- package/dist/shortcuts/jiuchuanhui/cache.js +49 -35
- package/dist/shortcuts/jiuchuanhui/host.js +37 -5
- package/dist/shortcuts/jiuchuanhui/index.js +57 -7
- package/dist/shortcuts/jiuchuanhui/manifest.js +38 -1
- package/dist/shortcuts/jiuchuanhui/operations/customer-quick.js +110 -0
- package/dist/shortcuts/jiuchuanhui/operations/datajson.js +11 -56
- package/dist/shortcuts/jiuchuanhui/operations/esb.js +9 -16
- package/dist/shortcuts/jiuchuanhui/operations/generic.js +8 -30
- package/dist/shortcuts/jiuchuanhui/operations/registry.js +8 -2
- package/dist/shortcuts/jiuchuanhui/operations/shared.js +0 -10
- package/dist/shortcuts/mail/errors.js +14 -0
- package/dist/shortcuts/mail/index.js +23 -6
- package/dist/shortcuts/mail/manifest.js +11 -4
- package/dist/shortcuts/mail/operations/mail-blacklist.js +6 -6
- package/dist/shortcuts/mail/operations/mail-contacts.js +10 -10
- package/dist/shortcuts/mail/operations/mail-manage.js +15 -14
- package/dist/shortcuts/mail/operations/mail-read.js +7 -25
- package/dist/shortcuts/mail/operations/mail-send.js +12 -12
- package/dist/shortcuts/mail/operations/mail-sign.js +10 -10
- package/dist/shortcuts/mail/operations/mail-template.js +10 -10
- package/dist/shortcuts/meeting/index.js +11 -2
- package/dist/shortcuts/meeting/operations/invitation-publish.js +1 -0
- package/dist/shortcuts/okr/index.js +11 -2
- package/dist/shortcuts/performance/index.js +62 -3
- package/dist/shortcuts/performance/operations/flow-detail.js +5 -4
- package/dist/shortcuts/performance/scheme-validate.js +7 -0
- package/dist/shortcuts/performance/shared.js +40 -2
- package/dist/shortcuts/plan/index.js +11 -2
- package/dist/shortcuts/project/index.js +11 -2
- package/dist/shortcuts/project/operations/write.js +3 -0
- package/dist/shortcuts/reception/index.js +11 -2
- package/dist/shortcuts/reception/manifest.js +2 -2
- package/dist/shortcuts/reception/operations/ask.js +3 -0
- package/dist/shortcuts/recruit-stage/index.js +22 -3
- package/dist/shortcuts/recruit-stage/manifest.js +2 -0
- package/dist/shortcuts/recruit-stage/operations/jd-create.js +33 -16
- package/dist/shortcuts/recruit-stage/operations/profile.js +186 -0
- package/dist/shortcuts/recruit-stage/operations/registry.js +2 -0
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +76 -47
- package/dist/shortcuts/recruit-stage/operations/search.js +151 -16
- package/dist/shortcuts/recruit-stage/operations/tag.js +17 -3
- package/dist/shortcuts/recruit-stage/shared.js +11 -1
- package/dist/shortcuts/smart-extract/index.js +11 -2
- package/dist/shortcuts/smart-extract/manifest.js +1 -0
- package/dist/shortcuts/smart-extract/operations/save.js +2 -0
- package/dist/shortcuts/workflow/index.js +21 -1
- package/dist/shortcuts/workflow/operations/aiDeepRead/collect.js +5 -2
- package/dist/shortcuts/workflow/operations/read.js +2 -2
- package/dist/shortcuts/workflow/operations/write.js +1 -1
- package/docs/caizhilian.md +1 -1
- package/docs/contract.md +1 -0
- package/docs/data.md +22 -22
- package/docs/e10-auth.md +41 -33
- package/docs/ehr.md +2 -0
- package/docs/jiuchuanhui.md +17 -5
- package/docs/reception.md +4 -3
- package/package.json +1 -1
- package/scripts/pysite/__pycache__/sitecustomize.cpython-312.pyc +0 -0
- package/scripts/pysite/__pycache__/sitecustomize.cpython-313.pyc +0 -0
- package/scripts/pysite/sitecustomize.py +41 -0
- package/skill-template/domains/data.md +4 -4
- package/skills/weaver-e10-caizhilian/SKILL.md +1 -1
- package/skills/weaver-e10-caizhilian/references/org-browser.md +1 -0
- package/skills/weaver-e10-cowork/SKILL.md +3 -1
- package/skills/weaver-e10-data/SKILL.md +12 -16
- package/skills/weaver-e10-data/references/config-center.md +6 -7
- package/skills/weaver-e10-data/references/datasource.md +1 -1
- package/skills/weaver-e10-data/references/scene-and-misc.md +2 -2
- package/skills/weaver-e10-jiuchuanhui/SKILL.md +51 -90
- package/skills/weaver-e10-jiuchuanhui/references/cache.md +17 -13
- package/skills/weaver-e10-jiuchuanhui/references/clue.md +2 -2
- package/skills/weaver-e10-jiuchuanhui/references/customer.md +49 -11
- package/skills/weaver-e10-jiuchuanhui/references/discovery-config.md +3 -3
- package/skills/weaver-e10-jiuchuanhui/references/jiuchuanhui-entry.md +9 -7
- package/skills/weaver-e10-jiuchuanhui/references/sale.md +2 -2
- package/skills/weaver-e10-jucailin/references/attend-write.md +1 -1
- package/skills/weaver-e10-mail/SKILL.md +4 -1
- package/skills/weaver-e10-mail/references/mail-read.md +4 -2
- package/skills/weaver-e10-mail/references/safety-boundaries.md +1 -0
- package/skills/weaver-e10-okr/references/source-manifest.json +3 -3
- package/skills/weaver-e10-performance/SKILL.md +9 -7
- package/skills/weaver-e10-performance/agents/openai.yaml +4 -2
- package/skills/weaver-e10-performance/references/flow-assess.md +19 -6
- package/skills/weaver-e10-recruit-stage/SKILL.md +125 -20
- package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +359 -0
- package/skills/weaver-e10-recruit-stage/references/env-fixed-values.md +87 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +9 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +1 -0
- package/skills/weaver-e10-recruit-stage/templates/match-report.html +177 -0
- package/skills/weaver-e10-shared/SKILL.md +22 -1
- package/skills/weaver-e10-shared/references/e10-auth-and-session.md +2 -2
- package/skills/weaver-e10-workflow/SKILL.md +1 -1
- package/skills/weaver-e10-workflow/references/workflow-deep-read.md +8 -3
- package/skills/weaver-e10-yimiaoban/references/source-manifest.json +3 -3
|
@@ -10,44 +10,44 @@ import {
|
|
|
10
10
|
resolvePersonTokens,
|
|
11
11
|
resolveSelfPerson,
|
|
12
12
|
resolveWorkflowId
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-G7ZM2VOX.js";
|
|
14
14
|
import {
|
|
15
15
|
ebMeetingWritePreflight,
|
|
16
16
|
meetingEbConflictOperations
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XLSJC6JZ.js";
|
|
18
18
|
import {
|
|
19
19
|
listMeetingAttachments,
|
|
20
20
|
meetingAttachmentContentOperations
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VJWVB55R.js";
|
|
22
22
|
import {
|
|
23
23
|
PENDING_MARK,
|
|
24
24
|
renderDocx
|
|
25
25
|
} from "./chunk-WMRNO6IU.js";
|
|
26
26
|
import {
|
|
27
27
|
meetingEbGroupChatOperations
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-FRMDHZSN.js";
|
|
29
29
|
import {
|
|
30
30
|
meetingEntryOperations
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-LU2SPJYY.js";
|
|
32
32
|
import {
|
|
33
33
|
meetingEbScheduleOperations
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ICNUOWLL.js";
|
|
35
35
|
import {
|
|
36
36
|
ebRoomRecommendOperation,
|
|
37
37
|
inferRoomFloor,
|
|
38
38
|
recommendRooms,
|
|
39
39
|
rememberFrequentRoom
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-VMVMEIL3.js";
|
|
41
41
|
import {
|
|
42
42
|
cacheScopeSuffix,
|
|
43
43
|
readCache,
|
|
44
44
|
writeCache
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-OPTJ6IF7.js";
|
|
46
46
|
import {
|
|
47
47
|
meetingEnvOperations,
|
|
48
48
|
meetingStateDir,
|
|
49
49
|
resolveMeetingEnvMode
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-Q3EXRNB4.js";
|
|
51
51
|
import {
|
|
52
52
|
EB_BASE,
|
|
53
53
|
EB_ENDPOINTS,
|
|
@@ -79,14 +79,14 @@ import {
|
|
|
79
79
|
toIdString,
|
|
80
80
|
verifyLease,
|
|
81
81
|
writeBody
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-EJLP63UO.js";
|
|
83
83
|
import {
|
|
84
84
|
CONTINUATION_TTL_SECONDS
|
|
85
85
|
} from "./chunk-7BDPM5ST.js";
|
|
86
86
|
import {
|
|
87
87
|
hasXiaoEEnv,
|
|
88
88
|
packagePath
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-SUWR5QEG.js";
|
|
90
90
|
|
|
91
91
|
// src/shortcuts/meeting/operations/meetings.ts
|
|
92
92
|
function overlapsDate(beginDatetime, endDatetime, date) {
|
|
@@ -2250,7 +2250,7 @@ var meetingAttachmentAttach = {
|
|
|
2250
2250
|
if (mode === "append" && existingIds.length === 0) {
|
|
2251
2251
|
existingIds.push(...beforeIds);
|
|
2252
2252
|
}
|
|
2253
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2253
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
2254
2254
|
const list = getMeetingOperation2("meeting.eb.meeting.list");
|
|
2255
2255
|
let fileId = incomingFileId;
|
|
2256
2256
|
let name = String(args.name ?? "").trim();
|
|
@@ -2338,7 +2338,7 @@ function textOf(value) {
|
|
|
2338
2338
|
return value === void 0 || value === null ? "" : String(value);
|
|
2339
2339
|
}
|
|
2340
2340
|
async function readMinute(env, id) {
|
|
2341
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2341
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
2342
2342
|
const detail = getMeetingOperation2("meeting.eb.minute.detail");
|
|
2343
2343
|
const result = await detail.handler({ id }, env);
|
|
2344
2344
|
const row = result?.data?.data;
|
|
@@ -2421,7 +2421,7 @@ var meetingMinuteWriteContent = {
|
|
|
2421
2421
|
} else {
|
|
2422
2422
|
statusReason = "\u4EC5\u6E05\u7A7A\u5185\u5BB9\uFF0C\u672A\u6539\u72B6\u6001";
|
|
2423
2423
|
}
|
|
2424
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2424
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
2425
2425
|
const prepare = getMeetingOperation2("meeting.eb.minute.update.prepare");
|
|
2426
2426
|
const apply = getMeetingOperation2("meeting.eb.minute.update.apply");
|
|
2427
2427
|
const prepared = await prepare.handler({ id, mt_id: mtId, ...patch }, env);
|
|
@@ -2437,8 +2437,8 @@ var meetingMinuteWriteContent = {
|
|
|
2437
2437
|
let minuteDoc = null;
|
|
2438
2438
|
if (args.with_doc !== false) {
|
|
2439
2439
|
try {
|
|
2440
|
-
const { buildMinuteDocx } = await import("./minute-doc-
|
|
2441
|
-
const { meetingStateDir: meetingStateDir2 } = await import("./env-
|
|
2440
|
+
const { buildMinuteDocx } = await import("./minute-doc-G3QAT7DE.js");
|
|
2441
|
+
const { meetingStateDir: meetingStateDir2 } = await import("./env-QYLS3EB3.js");
|
|
2442
2442
|
const { mkdir: mkdir4, writeFile: writeFile4 } = await import("node:fs/promises");
|
|
2443
2443
|
const { join: join3 } = await import("node:path");
|
|
2444
2444
|
const subject = textOf(after.mt_minutes_subject).trim() || `\u4F1A\u8BAE\u7EAA\u8981-${mtId}`;
|
|
@@ -2475,7 +2475,7 @@ var meetingMinuteWriteContent = {
|
|
|
2475
2475
|
}
|
|
2476
2476
|
if (args.with_doc !== false) {
|
|
2477
2477
|
try {
|
|
2478
|
-
const { ensureMinuteDoc } = await import("./minute-doc-
|
|
2478
|
+
const { ensureMinuteDoc } = await import("./minute-doc-G3QAT7DE.js");
|
|
2479
2479
|
const better = await ensureMinuteDoc(env, {
|
|
2480
2480
|
id,
|
|
2481
2481
|
mtId,
|
|
@@ -2846,7 +2846,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2846
2846
|
const mtId = textOf2(args.mt_id).trim();
|
|
2847
2847
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
2848
2848
|
const pipeline = ["text", "minutes", "document"].includes(args.pipeline) ? args.pipeline : "text";
|
|
2849
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2849
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
2850
2850
|
const ctx = env.ctx;
|
|
2851
2851
|
let stepStart = Date.now();
|
|
2852
2852
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
@@ -2870,7 +2870,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2870
2870
|
}
|
|
2871
2871
|
mark("readMeeting", stepStart);
|
|
2872
2872
|
const pullStart = Date.now();
|
|
2873
|
-
const { createImHost } = await import("./host-
|
|
2873
|
+
const { createImHost } = await import("./host-QXFKQXNX.js");
|
|
2874
2874
|
const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
|
|
2875
2875
|
const { getImOperation } = await import("./registry-AC33ZZVH.js");
|
|
2876
2876
|
const imEnv = { ctx, host: createImHost(ctx), continuation: createImContinuationSigner(ctx) };
|
|
@@ -2940,7 +2940,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2940
2940
|
try {
|
|
2941
2941
|
const { readFile: readFile4 } = await import("node:fs/promises");
|
|
2942
2942
|
const buffer = await readFile4(file);
|
|
2943
|
-
const { extractText } = await import("./attachment-content-
|
|
2943
|
+
const { extractText } = await import("./attachment-content-7CN7JB6B.js");
|
|
2944
2944
|
const extracted = extractText(buffer, file, "");
|
|
2945
2945
|
if (extracted.text.trim()) {
|
|
2946
2946
|
extraSections.push(`\u3010\u6750\u6599\uFF1A${file.split(/[\\/]/).pop() ?? file}\u3011
|
|
@@ -3069,9 +3069,9 @@ ${groupTranscript}` : ""
|
|
|
3069
3069
|
if (!employeeId) {
|
|
3070
3070
|
warnings.push("\u672A\u53D6\u5230 ESB \u89E6\u53D1\u4EBA id\uFF08employeeId\uFF09\uFF0C\u5DF2\u8DF3\u8FC7\u540E\u7EED ESB \u8C03\u7528");
|
|
3071
3071
|
} else {
|
|
3072
|
-
const { createEsbHost } = await import("./host-
|
|
3072
|
+
const { createEsbHost } = await import("./host-57LSRSE7.js");
|
|
3073
3073
|
const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
|
|
3074
|
-
const { getEsbOperation } = await import("./registry-
|
|
3074
|
+
const { getEsbOperation } = await import("./registry-NHHKOEU3.js");
|
|
3075
3075
|
const esbEnv = { ctx, host: createEsbHost(ctx), continuation: createEsbContinuationSigner(ctx) };
|
|
3076
3076
|
const prepareOp = getEsbOperation("esb.trigger.prepare");
|
|
3077
3077
|
const applyOp = getEsbOperation("esb.trigger.apply");
|
|
@@ -3115,8 +3115,8 @@ ${groupTranscript}` : ""
|
|
|
3115
3115
|
if (args.with_doc !== false) {
|
|
3116
3116
|
const docStarted = Date.now();
|
|
3117
3117
|
try {
|
|
3118
|
-
const { buildMinuteDocx } = await import("./minute-doc-
|
|
3119
|
-
const { meetingStateDir: meetingStateDir2 } = await import("./env-
|
|
3118
|
+
const { buildMinuteDocx } = await import("./minute-doc-G3QAT7DE.js");
|
|
3119
|
+
const { meetingStateDir: meetingStateDir2 } = await import("./env-QYLS3EB3.js");
|
|
3120
3120
|
const { mkdir: mkdir4, writeFile: writeFile4 } = await import("node:fs/promises");
|
|
3121
3121
|
const { join: join3 } = await import("node:path");
|
|
3122
3122
|
const body = textOf2(row.parse_content) || textOf2(row.minutes_content) || transcript;
|
|
@@ -3303,7 +3303,7 @@ var meetingDecisionNotifyGroup = {
|
|
|
3303
3303
|
const warnings = [];
|
|
3304
3304
|
const mtId = textOf3(args.mt_id).trim();
|
|
3305
3305
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
3306
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3306
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
3307
3307
|
const ctx = env.ctx;
|
|
3308
3308
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
3309
3309
|
{ mt_id: mtId, pageNo: 1, pageSize: 1 },
|
|
@@ -3367,7 +3367,7 @@ var meetingDecisionNotifyGroup = {
|
|
|
3367
3367
|
charCount: formatted.text.length,
|
|
3368
3368
|
text: formatted.text
|
|
3369
3369
|
};
|
|
3370
|
-
const { createImHost } = await import("./host-
|
|
3370
|
+
const { createImHost } = await import("./host-QXFKQXNX.js");
|
|
3371
3371
|
const imHost = createImHost(ctx);
|
|
3372
3372
|
let displayText = formatted.text;
|
|
3373
3373
|
let wireText = formatted.text;
|
|
@@ -3605,7 +3605,7 @@ var meetingPipelineRun = {
|
|
|
3605
3605
|
const needsConfirm = level === "tasks" || level === "notify";
|
|
3606
3606
|
const confirmed = args.confirm === true;
|
|
3607
3607
|
const executedLevel = needsConfirm && !confirmed ? "document" : level;
|
|
3608
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3608
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
3609
3609
|
const ctx = env.ctx;
|
|
3610
3610
|
let stepStart = Date.now();
|
|
3611
3611
|
const reuseMinuteId = textOf4(args.minuteId).trim();
|
|
@@ -3674,7 +3674,7 @@ var meetingPipelineRun = {
|
|
|
3674
3674
|
]);
|
|
3675
3675
|
}
|
|
3676
3676
|
stepStart = Date.now();
|
|
3677
|
-
const { createHrmHost } = await import("./host-
|
|
3677
|
+
const { createHrmHost } = await import("./host-K2ZKNXME.js");
|
|
3678
3678
|
const { getHrmOperation } = await import("./registry-4S3RXXWS.js");
|
|
3679
3679
|
const hrmEnv = { ctx, host: createHrmHost(ctx) };
|
|
3680
3680
|
const queryOp = getHrmOperation("hrm.employee.query");
|
|
@@ -3977,7 +3977,7 @@ function formatTimeRange(start, end) {
|
|
|
3977
3977
|
}
|
|
3978
3978
|
async function loadAgendaFromTopics(env, mtId) {
|
|
3979
3979
|
try {
|
|
3980
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3980
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
3981
3981
|
const operation = getMeetingOperation2("meeting.eb.topic.list");
|
|
3982
3982
|
const result = await operation.handler({ mt_id: mtId, pageNo: 1, pageSize: 200 }, env);
|
|
3983
3983
|
const rows = result.data?.rows ?? [];
|
|
@@ -4128,7 +4128,7 @@ async function supplementRowFromDetail(row, mtId, env) {
|
|
|
4128
4128
|
const missing = DETAIL_FALLBACK_KEYS.filter((key) => isBlank(row[key]));
|
|
4129
4129
|
if (missing.length === 0) return { row, filled: [] };
|
|
4130
4130
|
try {
|
|
4131
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4131
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
4132
4132
|
const detailOperation = getMeetingOperation2("meeting.eb.meeting.detail");
|
|
4133
4133
|
const result = await detailOperation.handler({ id: mtId }, env);
|
|
4134
4134
|
const flat = result?.data?.data ?? result?.data ?? {};
|
|
@@ -4302,7 +4302,7 @@ var meetingInvitationRender = {
|
|
|
4302
4302
|
};
|
|
4303
4303
|
dataSource = "payload";
|
|
4304
4304
|
} else {
|
|
4305
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4305
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
4306
4306
|
const listOperation = getMeetingOperation2("meeting.eb.meeting.list");
|
|
4307
4307
|
try {
|
|
4308
4308
|
const listed = await listOperation.handler({ mt_id: mtId, pageNo: 1, pageSize: 1 }, env);
|
|
@@ -4613,6 +4613,7 @@ var meetingInvitationPublish = {
|
|
|
4613
4613
|
summary: '\u751F\u6210\u9080\u8BF7\u51FD\u5E76**\u53D1\u5E03\u6210 E10 \u6587\u6863**\uFF1A\u6A21\u677F\u586B\u5145 \u2192 \u4E0A\u4F20\u5230\u6587\u6863\u4E2D\u5FC3\uFF08\u9ED8\u8BA4\u76EE\u5F55 300\uFF09\u2192 \u8FD4\u56DE docId\u3002\u62FF\u5230\u540E\u628A `extraFields: {"\u9080\u8BF7\u51FD":[{"id":docId,"name":\u6587\u6863\u540D}]}` \u4F20\u7ED9\u5EFA\u4F1A\u63A5\u53E3\u5373\u53EF\u5199\u8FDB\u8868\u5355\u3002\u4F1A\u771F\u5B9E\u521B\u5EFA\u6587\u6863\uFF08\u9700 confirm: true\uFF09\u3002',
|
|
4614
4614
|
capability: "invitation",
|
|
4615
4615
|
risk: "high-risk-write",
|
|
4616
|
+
requiresConfirmation: true,
|
|
4616
4617
|
inputSchema: {
|
|
4617
4618
|
type: "object",
|
|
4618
4619
|
additionalProperties: false,
|
|
@@ -4647,7 +4648,7 @@ var meetingInvitationPublish = {
|
|
|
4647
4648
|
"\u4F1A\u771F\u5B9E\u521B\u5EFA\u6587\u6863\uFF0C\u5FC5\u987B\u663E\u5F0F\u4F20 confirm: true\uFF08\u53EF\u5148\u4E0D\u5E26 confirm \u8C03 meeting.invitation.render \u9884\u89C8\u6B63\u6587\uFF09"
|
|
4648
4649
|
);
|
|
4649
4650
|
}
|
|
4650
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4651
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
4651
4652
|
const render = getMeetingOperation2("meeting.invitation.render");
|
|
4652
4653
|
const rendered = await render.handler(
|
|
4653
4654
|
{
|
|
@@ -4679,8 +4680,8 @@ var meetingInvitationPublish = {
|
|
|
4679
4680
|
folder_type: String(args.folder_type ?? DEFAULT_FOLDER_TYPE),
|
|
4680
4681
|
author_id: authorId
|
|
4681
4682
|
};
|
|
4682
|
-
const { executeCaizhilianOperation } = await import("./operations-
|
|
4683
|
-
const { createCaizhilianHost } = await import("./host-
|
|
4683
|
+
const { executeCaizhilianOperation } = await import("./operations-MQV32ITT.js");
|
|
4684
|
+
const { createCaizhilianHost } = await import("./host-NS36QFLR.js");
|
|
4684
4685
|
const { createCaizhilianContinuationSigner } = await import("./continuation-GW6PRWK3.js");
|
|
4685
4686
|
const caizhilianEnv = {
|
|
4686
4687
|
ctx: env.ctx,
|
|
@@ -5362,7 +5363,7 @@ var meetingSummaryGet = {
|
|
|
5362
5363
|
const mtId = textOf5(args.mt_id).trim();
|
|
5363
5364
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
5364
5365
|
const ctx = env.ctx;
|
|
5365
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
5366
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
5366
5367
|
const warnings = [];
|
|
5367
5368
|
const timings = {};
|
|
5368
5369
|
const include = Array.isArray(args.include) && args.include.length > 0 ? args.include.filter((item) => ALL_SECTIONS.includes(item)) : ALL_SECTIONS;
|
|
@@ -5498,7 +5499,7 @@ var meetingSummaryGet = {
|
|
|
5498
5499
|
warnings.push("\u8BE5\u4F1A\u8BAE\u6CA1\u6709\u5173\u8054\u7FA4\u804A\uFF08imchat_groupid \u4E3A\u7A7A\uFF09\uFF0Cchat \u6BB5\u4E3A null");
|
|
5499
5500
|
} else {
|
|
5500
5501
|
try {
|
|
5501
|
-
const { createImHost } = await import("./host-
|
|
5502
|
+
const { createImHost } = await import("./host-QXFKQXNX.js");
|
|
5502
5503
|
const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
|
|
5503
5504
|
const { getImOperation } = await import("./registry-AC33ZZVH.js");
|
|
5504
5505
|
const imEnv = {
|
|
@@ -5624,9 +5625,9 @@ var meetingFormFields = {
|
|
|
5624
5625
|
hint: "\u6CA1\u89E3\u6790\u5230\u8BE5\u8868\u7684 objId\uFF08\u53EF\u80FD\u5F53\u524D\u73AF\u5883\u6CA1\u6709\u8FD9\u5F20\u8868\uFF0C\u6216\u8D26\u53F7\u65E0\u6743\u9650\uFF09"
|
|
5625
5626
|
}, { warnings: resolved.warnings });
|
|
5626
5627
|
}
|
|
5627
|
-
const { createEbuilderFormHost } = await import("./host-
|
|
5628
|
+
const { createEbuilderFormHost } = await import("./host-C2BLBIID.js");
|
|
5628
5629
|
const { createEbuilderFormContinuationSigner } = await import("./continuation-3XLYYTKV.js");
|
|
5629
|
-
const { executeEbuilderFormOperation } = await import("./operations-
|
|
5630
|
+
const { executeEbuilderFormOperation } = await import("./operations-2WHIF5WV.js");
|
|
5630
5631
|
const formEnv = {
|
|
5631
5632
|
ctx: env.ctx,
|
|
5632
5633
|
host: createEbuilderFormHost(env.ctx),
|
|
@@ -5683,7 +5684,7 @@ var MT_STATUS_OVER = "8";
|
|
|
5683
5684
|
var CANCELLED_MARK_DELAY_MS = 800;
|
|
5684
5685
|
async function isCancelledMeeting(env, mtId) {
|
|
5685
5686
|
try {
|
|
5686
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
5687
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
5687
5688
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
5688
5689
|
// withCount:false —— 这里只要一行状态,不必额外请求 count(少一次往返,也便于测试替身)
|
|
5689
5690
|
{ mt_id: mtId, pageNo: 1, pageSize: 1, withCount: false },
|
|
@@ -5728,7 +5729,7 @@ async function resolveDecisionPeople(env, input, ownerId) {
|
|
|
5728
5729
|
}
|
|
5729
5730
|
let nameToId = /* @__PURE__ */ new Map();
|
|
5730
5731
|
if (nameTokens.size > 0) {
|
|
5731
|
-
const { resolveMemberIdsByName } = await import("./schedule-
|
|
5732
|
+
const { resolveMemberIdsByName } = await import("./schedule-IB6EUARH.js");
|
|
5732
5733
|
nameToId = await resolveMemberIdsByName(env, [...nameTokens]).catch(() => /* @__PURE__ */ new Map());
|
|
5733
5734
|
}
|
|
5734
5735
|
const unresolved = [];
|
|
@@ -6603,9 +6604,9 @@ async function runCrmSearchFlow(env, input) {
|
|
|
6603
6604
|
if (!employeeId) {
|
|
6604
6605
|
throw meetingValidationError("crm_employee_required", "\u53D6\u4E0D\u5230\u5F53\u524D\u767B\u5F55\u7528\u6237 id\uFF0C\u65E0\u6CD5\u89E6\u53D1 ESB \u5BA2\u6237\u67E5\u8BE2");
|
|
6605
6606
|
}
|
|
6606
|
-
const { createEsbHost } = await import("./host-
|
|
6607
|
+
const { createEsbHost } = await import("./host-57LSRSE7.js");
|
|
6607
6608
|
const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
|
|
6608
|
-
const { getEsbOperation } = await import("./registry-
|
|
6609
|
+
const { getEsbOperation } = await import("./registry-NHHKOEU3.js");
|
|
6609
6610
|
const esbEnv = {
|
|
6610
6611
|
ctx: env.ctx,
|
|
6611
6612
|
host: createEsbHost(env.ctx),
|
|
@@ -6772,7 +6773,7 @@ var deleteMany = {
|
|
|
6772
6773
|
if (args.confirm !== true) {
|
|
6773
6774
|
throw meetingValidationError("confirmation_required", "\u6279\u91CF\u5220\u9664\u4E0D\u53EF\u6062\u590D\uFF0C\u5FC5\u987B\u4F20 confirm=true");
|
|
6774
6775
|
}
|
|
6775
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
6776
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
6776
6777
|
const listOp = getMeetingOperation2("meeting.eb.decisionTask.list");
|
|
6777
6778
|
const prepareOp = getMeetingOperation2("meeting.eb.decisionTask.delete.prepare");
|
|
6778
6779
|
const applyOp = getMeetingOperation2("meeting.eb.decisionTask.delete.apply");
|
|
@@ -6907,7 +6908,7 @@ var reassign = {
|
|
|
6907
6908
|
},
|
|
6908
6909
|
handler: async (args, env) => {
|
|
6909
6910
|
if (args.confirm === false) throw meetingValidationError("confirmation_required", "confirm=false\uFF0C\u672A\u6267\u884C");
|
|
6910
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
6911
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
6911
6912
|
const mtId = String(args.mt_id ?? "").trim();
|
|
6912
6913
|
const target = await resolveEmployeeId(env, String(args.to_executor ?? ""));
|
|
6913
6914
|
const from = String(args.from_executor ?? "").trim();
|
|
@@ -7206,7 +7207,7 @@ var formLink = {
|
|
|
7206
7207
|
pushValue("crm_members", "##" + first.id);
|
|
7207
7208
|
} else {
|
|
7208
7209
|
try {
|
|
7209
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7210
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
7210
7211
|
const search = getMeetingOperation2("meeting.eb.crm.search");
|
|
7211
7212
|
const found = await search.handler({ keyword: first.name, pageSize: 10 }, env);
|
|
7212
7213
|
const rows = found?.data?.items ?? [];
|
|
@@ -7361,7 +7362,7 @@ var ebAutoInvitationAfterWrite = async (context) => {
|
|
|
7361
7362
|
const mtId = String(context.dataIds?.[0] ?? "").trim();
|
|
7362
7363
|
if (!isCreate || !enabled || !mtId) return association;
|
|
7363
7364
|
try {
|
|
7364
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7365
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
7365
7366
|
const render = getMeetingOperation2("meeting.invitation.render");
|
|
7366
7367
|
const result = await render.handler({ mtId }, context.env);
|
|
7367
7368
|
return { ...association ?? {}, invitation: result?.data ?? null };
|
|
@@ -7397,7 +7398,7 @@ var ebOperationsWithLinks = ebBaseOperations.map((operation) => {
|
|
|
7397
7398
|
const raw = String(args.member).trim();
|
|
7398
7399
|
let uid = /^\d+$/.test(raw) ? raw : "";
|
|
7399
7400
|
if (!uid) {
|
|
7400
|
-
const { resolveMemberIdsByName } = await import("./schedule-
|
|
7401
|
+
const { resolveMemberIdsByName } = await import("./schedule-IB6EUARH.js");
|
|
7401
7402
|
const map = await resolveMemberIdsByName(env, [raw]).catch(() => /* @__PURE__ */ new Map());
|
|
7402
7403
|
uid = String(map.get(raw) ?? "");
|
|
7403
7404
|
}
|
|
@@ -7436,7 +7437,7 @@ var ebOperationsWithMinuteDoc = ebOperationsWithLinks.map((operation) => {
|
|
|
7436
7437
|
if (!String(nextArgs.mt_minutes_subject ?? "").trim() && nextArgs.mt_id) {
|
|
7437
7438
|
let meetingName = "";
|
|
7438
7439
|
try {
|
|
7439
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7440
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
7440
7441
|
const detailOp = getMeetingOperation2("meeting.eb.meeting.detail");
|
|
7441
7442
|
const detail = await detailOp.handler({ id: String(nextArgs.mt_id) }, env);
|
|
7442
7443
|
const row = detail?.data?.data ?? {};
|
|
@@ -7456,8 +7457,8 @@ var ebOperationsWithMinuteDoc = ebOperationsWithLinks.map((operation) => {
|
|
|
7456
7457
|
handler: async (args, env) => {
|
|
7457
7458
|
const result = await operation.handler(args, env);
|
|
7458
7459
|
try {
|
|
7459
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7460
|
-
const { ensureMinuteDoc } = await import("./minute-doc-
|
|
7460
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
7461
|
+
const { ensureMinuteDoc } = await import("./minute-doc-G3QAT7DE.js");
|
|
7461
7462
|
const minuteId = String((result?.data?.dataIds ?? [])[0] ?? "").trim();
|
|
7462
7463
|
if (minuteId) {
|
|
7463
7464
|
const detail = await getMeetingOperation2("meeting.eb.minute.detail").handler({ id: minuteId }, env);
|
|
@@ -7581,7 +7582,7 @@ var composeOutcome = {
|
|
|
7581
7582
|
if (args.confirm === false) {
|
|
7582
7583
|
throw meetingValidationError("confirmation_required", "\u4F20\u4E86 confirm=false\uFF0C\u5DF2\u963B\u6B62\u5199\u5165");
|
|
7583
7584
|
}
|
|
7584
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7585
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
|
|
7585
7586
|
let mtId = String(args.mt_id ?? "").trim();
|
|
7586
7587
|
if (!mtId) {
|
|
7587
7588
|
const listOp2 = getMeetingOperation2("meeting.eb.meeting.list");
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
meetingValidationError,
|
|
13
13
|
queryBody,
|
|
14
14
|
toIdCsv
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EJLP63UO.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-LOUOK46Z.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-IB6EUARH.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-LOUOK46Z.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-LOUOK46Z.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-IB6EUARH.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, {
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
createE10RequestRuntime,
|
|
12
12
|
isE10SessionExpiredResponse,
|
|
13
13
|
requireE10Session
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DRJYPXKC.js";
|
|
15
15
|
import {
|
|
16
16
|
E10_SESSION_EXPIRED_MESSAGE
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IZCQU5D5.js";
|
|
18
18
|
import {
|
|
19
19
|
getActiveProfile
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SUWR5QEG.js";
|
|
21
21
|
|
|
22
22
|
// src/shortcuts/caizhilian/host.ts
|
|
23
23
|
var CAIZHILAN_TIMEOUT_MS = 12e3;
|
|
@@ -34,13 +34,23 @@ function isCaizhilianBusinessSuccess(value) {
|
|
|
34
34
|
if (typeof value.status === "boolean") return value.status;
|
|
35
35
|
return false;
|
|
36
36
|
}
|
|
37
|
+
var CAIZHILIAN_BUSINESS_FALLBACK_MESSAGE = "\u91C7\u77E5\u8FDE\u63A5\u53E3\u8FD4\u56DE\u4E1A\u52A1\u5931\u8D25";
|
|
38
|
+
function rawErrorBody(value) {
|
|
39
|
+
if (value === void 0 || value === null) return void 0;
|
|
40
|
+
try {
|
|
41
|
+
const text = typeof value === "string" ? value : JSON.stringify(value);
|
|
42
|
+
return text.length > 2048 ? `${text.slice(0, 2048)}\u2026` : text;
|
|
43
|
+
} catch {
|
|
44
|
+
return void 0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
37
47
|
function caizhilianBusinessMessage(value) {
|
|
38
|
-
if (!value || typeof value !== "object") return
|
|
48
|
+
if (!value || typeof value !== "object") return CAIZHILIAN_BUSINESS_FALLBACK_MESSAGE;
|
|
39
49
|
const candidates = [value.msg, value.message, value.errMsg, value.data?.msg, value.data?.message];
|
|
40
50
|
for (const item of candidates) {
|
|
41
51
|
if (typeof item === "string" && item.trim()) return item;
|
|
42
52
|
}
|
|
43
|
-
return
|
|
53
|
+
return CAIZHILIAN_BUSINESS_FALLBACK_MESSAGE;
|
|
44
54
|
}
|
|
45
55
|
function caizhilianBusinessCode(value) {
|
|
46
56
|
if (!value || typeof value !== "object") return void 0;
|
|
@@ -174,16 +184,18 @@ function createCaizhilianHost(ctx, dependencies = {}) {
|
|
|
174
184
|
throw caizhilianNetworkError("protocol", `\u63A5\u53E3\u8FD4\u56DE\u4E0D\u662F\u5408\u6CD5 JSON\uFF08HTTP ${response.status}\uFF09`, { retryable: false });
|
|
175
185
|
}
|
|
176
186
|
if (response.status < 200 || response.status >= 300 || request2.requireHttp200 && response.status !== 200) {
|
|
187
|
+
const raw = rawErrorBody(response.value);
|
|
177
188
|
throw new CaizhilianCliError("api", "http_error", `\u91C7\u77E5\u8FDE\u63A5\u53E3 HTTP ${response.status}`, {
|
|
178
189
|
code: response.status,
|
|
179
|
-
details: { status: response.status, message: caizhilianBusinessMessage(response.value) },
|
|
190
|
+
details: { status: response.status, message: caizhilianBusinessMessage(response.value), ...raw === void 0 ? {} : { raw } },
|
|
180
191
|
exitCode: 1
|
|
181
192
|
});
|
|
182
193
|
}
|
|
183
194
|
if (!request2.tolerateBusinessError && !isCaizhilianBusinessSuccess(response.value)) {
|
|
195
|
+
const raw = rawErrorBody(response.value);
|
|
184
196
|
throw new CaizhilianCliError("api", "business_error", caizhilianBusinessMessage(response.value), {
|
|
185
197
|
code: caizhilianBusinessCode(response.value),
|
|
186
|
-
details: { code: caizhilianBusinessCode(response.value), message: caizhilianBusinessMessage(response.value) },
|
|
198
|
+
details: { code: caizhilianBusinessCode(response.value), message: caizhilianBusinessMessage(response.value), ...raw === void 0 ? {} : { raw } },
|
|
187
199
|
exitCode: 1
|
|
188
200
|
});
|
|
189
201
|
}
|
|
@@ -211,6 +223,7 @@ export {
|
|
|
211
223
|
CAIZHILAN_TRANSFER_TIMEOUT_MS,
|
|
212
224
|
CAIZHILAN_MAX_DOWNLOAD_BYTES,
|
|
213
225
|
isCaizhilianBusinessSuccess,
|
|
226
|
+
CAIZHILIAN_BUSINESS_FALLBACK_MESSAGE,
|
|
214
227
|
caizhilianBusinessMessage,
|
|
215
228
|
assertCaizhilianPath,
|
|
216
229
|
createCaizhilianHost
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
findCommonFreeSlots,
|
|
8
8
|
meetingEbConflictOperations,
|
|
9
9
|
runEbConflictCheck
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-XLSJC6JZ.js";
|
|
11
|
+
import "./chunk-EJLP63UO.js";
|
|
12
12
|
import "./chunk-7BDPM5ST.js";
|
|
13
13
|
import "./chunk-UG5G54VL.js";
|
|
14
14
|
import "./chunk-BUSC6UAE.js";
|