weaver-work-cli 0.1.63 → 0.1.65
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-BLDYBZDX.js → archive-WUZKAEZ6.js} +2 -2
- package/dist/chunks/{archive-oa-3GJ3TWXR.js → archive-oa-PN46RTI2.js} +2 -2
- package/dist/chunks/{asset-AFXJN4CK.js → asset-ZPC5VWZM.js} +2 -2
- package/dist/chunks/{asset-idle-VUJXWGWJ.js → asset-idle-DHGP3NYY.js} +2 -2
- package/dist/chunks/{attachment-content-VMJA7NSQ.js → attachment-content-QUM27QNB.js} +3 -3
- package/dist/chunks/{blog-EREB35VU.js → blog-JC47AIXK.js} +2 -2
- package/dist/chunks/{caizhilian-ATM2JO5S.js → caizhilian-IKIHM77A.js} +4 -4
- package/dist/chunks/{calendar-E26ZIH7S.js → calendar-GZTSJ57Y.js} +2 -2
- package/dist/chunks/{chunk-OMAGCLUE.js → chunk-26FCCU5O.js} +2 -2
- package/dist/chunks/{chunk-EOZHSNND.js → chunk-3W5NMGDS.js} +2 -2
- package/dist/chunks/{chunk-SHBDXEUE.js → chunk-6AW5LW4T.js} +4 -4
- package/dist/chunks/{chunk-C5PIGPGX.js → chunk-6T5X6YWX.js} +2 -2
- package/dist/chunks/{chunk-WPBZQVLS.js → chunk-AFZTMYGC.js} +1 -1
- package/dist/chunks/{chunk-LOVAIGM2.js → chunk-CUY64WP4.js} +50 -50
- package/dist/chunks/{chunk-IGICM3WJ.js → chunk-D6SWOUUP.js} +2 -2
- package/dist/chunks/{chunk-BY3WDJO5.js → chunk-E3OQSNF5.js} +1 -1
- package/dist/chunks/{chunk-G3ZM57PD.js → chunk-F4ME3CGS.js} +2 -2
- package/dist/chunks/{chunk-6VCQLZXE.js → chunk-FDBAFANU.js} +1 -0
- package/dist/chunks/{chunk-RV2JAA5I.js → chunk-FJUOUSV3.js} +1 -1
- package/dist/chunks/{chunk-6G2JARDK.js → chunk-HLT6B26P.js} +1 -1
- package/dist/chunks/{chunk-THMBDCRA.js → chunk-HWA2A25Y.js} +2 -2
- package/dist/chunks/{chunk-HEJPVXD3.js → chunk-IJDZ7VDC.js} +4 -4
- package/dist/chunks/{chunk-GOBNIGWS.js → chunk-IT3SB7RV.js} +89 -16
- package/dist/chunks/{chunk-TNFIUZ4H.js → chunk-JDZOYHAL.js} +1 -1
- package/dist/chunks/{chunk-QZYKZ7MQ.js → chunk-K7QKQRSL.js} +155 -57
- package/dist/chunks/{chunk-QAMIIFP6.js → chunk-LRK7YND4.js} +11 -11
- package/dist/chunks/{chunk-4OB22YKE.js → chunk-NZLFKBEM.js} +6 -6
- package/dist/chunks/{chunk-RR45ELVE.js → chunk-Q6D6PSMH.js} +2 -2
- package/dist/chunks/{chunk-5CY37VLS.js → chunk-QT7GGCSY.js} +45 -43
- package/dist/chunks/{chunk-GQK6WLOS.js → chunk-VLY5RTVO.js} +2 -2
- package/dist/chunks/{chunk-SDPC7BG2.js → chunk-WSHIOSGM.js} +2 -2
- package/dist/chunks/{chunk-I4C2KR2G.js → chunk-ZV3TYANI.js} +1 -1
- package/dist/chunks/{conflict-AMNTM3FV.js → conflict-76ZUL3E7.js} +2 -2
- package/dist/chunks/{contract-PLO2V2NO.js → contract-INMS7SYQ.js} +846 -199
- package/dist/chunks/{cowork-FZAXE6FO.js → cowork-34CBYVQP.js} +2 -2
- package/dist/chunks/{create-flow-2DAUN7HU.js → create-flow-7WGKLRHH.js} +8 -6
- package/dist/chunks/{data-7NXMWET4.js → data-QKWI5325.js} +13 -2
- package/dist/chunks/{ebuilder-form-DEYHX6M7.js → ebuilder-form-ZONRROK4.js} +3 -3
- package/dist/chunks/{ehr-QQH2DYYA.js → ehr-2CONM7R6.js} +2 -2
- package/dist/chunks/{entry-mode-2JTVEKMP.js → entry-mode-3UMMMK6Z.js} +3 -3
- package/dist/chunks/{env-2JZMXC6I.js → env-7EGXNZR2.js} +2 -2
- package/dist/chunks/{esb-I5ZFHJUK.js → esb-FQASCY2H.js} +4 -4
- package/dist/chunks/{factory-XIATYHU6.js → factory-BDERKTYX.js} +1 -1
- package/dist/chunks/{fna-3V2TL6B2.js → fna-FCLVIWAS.js} +2 -2
- package/dist/chunks/{group-chat-CVYUZCOQ.js → group-chat-4E7EZMTJ.js} +3 -3
- package/dist/chunks/{host-CBONEAZS.js → host-2ED2KC4X.js} +3 -3
- package/dist/chunks/{host-4DP7C7YQ.js → host-2UYZEY2V.js} +3 -3
- package/dist/chunks/{host-4KQCAEWA.js → host-46NYKDQP.js} +3 -3
- package/dist/chunks/{host-BD7NAM33.js → host-7IPZKIM4.js} +3 -3
- package/dist/chunks/{host-L37QVNIV.js → host-P7G22WNM.js} +3 -3
- package/dist/chunks/{host-4X2F3JPQ.js → host-XLCBLNJD.js} +3 -3
- package/dist/chunks/{hrm-OL3IKN7C.js → hrm-XKL27NX2.js} +3 -3
- package/dist/chunks/{im-YXQWUF3R.js → im-NDYIMASG.js} +3 -3
- package/dist/chunks/{invoice-4WY32PR2.js → invoice-MOGNB6HN.js} +3 -3
- package/dist/chunks/{jiuchuanhui-L6SHLONH.js → jiuchuanhui-3T5X7SB7.js} +2 -2
- package/dist/chunks/{lazy-dispatch-OYE6QV24.js → lazy-dispatch-4WOIL3ZQ.js} +4 -4
- package/dist/chunks/{mail-PZV2KNRU.js → mail-P7VMUKQW.js} +2 -2
- package/dist/chunks/{meeting-6SOBCC6N.js → meeting-2FMYZXG5.js} +13 -13
- package/dist/chunks/{minute-doc-KSJSJNOH.js → minute-doc-3DHMYMBE.js} +4 -4
- package/dist/chunks/{okr-B76FW5M2.js → okr-VZXRQGS4.js} +2 -2
- package/dist/chunks/{operations-YOMEGFLV.js → operations-MI2BSKZX.js} +4 -4
- package/dist/chunks/{performance-4VBKUPFO.js → performance-OPEQNW7Y.js} +870 -15
- package/dist/chunks/{plan-HBNZRQTI.js → plan-TJAS4N5X.js} +2 -2
- package/dist/chunks/{project-IV6FWK74.js → project-CYBGU6K6.js} +2 -2
- package/dist/chunks/{reception-BR5YURT6.js → reception-3FT2F66K.js} +2 -2
- package/dist/chunks/{recruit-stage-4HQ6OGXT.js → recruit-stage-WPGB5BDJ.js} +2 -2
- package/dist/chunks/{registry-JFQEFC7E.js → registry-6UGQO35C.js} +2 -2
- package/dist/chunks/{registry-MZJQX65Q.js → registry-QRMXRSCT.js} +4 -4
- package/dist/chunks/{registry-7LICMV5J.js → registry-XXFMYPBM.js} +12 -12
- package/dist/chunks/{room-recommend-43GLLE7Y.js → room-recommend-7LD2OHL5.js} +4 -4
- package/dist/chunks/{schedule-ZQ42BEW6.js → schedule-ZAYMZKTQ.js} +4 -4
- package/dist/chunks/{smart-extract-QKAEAZGM.js → smart-extract-FOBSVNYW.js} +2 -2
- package/dist/chunks/{workflow-6HV7H5PC.js → workflow-NYJJIT3D.js} +4 -4
- package/dist/index.js +33 -33
- package/dist/internal/e10/auth/commands.js +182 -43
- package/dist/shortcuts/contract/error-actions.js +112 -0
- package/dist/shortcuts/contract/errors.js +9 -1
- package/dist/shortcuts/contract/manifest.js +18 -7
- package/dist/shortcuts/contract/operations/docx-slots.js +112 -5
- package/dist/shortcuts/contract/operations/docx-verify.js +2 -70
- package/dist/shortcuts/contract/operations/elements-build.js +82 -56
- package/dist/shortcuts/contract/operations/elements-spec.js +140 -3
- package/dist/shortcuts/contract/operations/ledger-card.js +25 -2
- package/dist/shortcuts/contract/operations/ledger.js +33 -5
- package/dist/shortcuts/contract/operations/money.js +90 -0
- package/dist/shortcuts/contract/operations/placeholder-scan.js +104 -0
- package/dist/shortcuts/contract/operations/quote-recognize.js +54 -17
- package/dist/shortcuts/contract/operations/quote-ref.js +179 -0
- package/dist/shortcuts/contract/operations/quote-submit.js +20 -3
- package/dist/shortcuts/contract/operations/quote.js +66 -12
- package/dist/shortcuts/contract/operations/solutions-spec.js +79 -0
- package/dist/shortcuts/contract/operations/triage.js +55 -9
- package/dist/shortcuts/data/operations/shared.js +14 -1
- package/dist/shortcuts/meeting/operations/eb/create-flow.js +25 -11
- package/dist/shortcuts/performance/flow-utils.js +363 -0
- package/dist/shortcuts/performance/manifest.js +2 -2
- package/dist/shortcuts/performance/operations/flow-detail.js +85 -0
- package/dist/shortcuts/performance/operations/flow-list.js +213 -0
- package/dist/shortcuts/performance/operations/flow-score.js +241 -0
- package/dist/shortcuts/performance/operations/registry.js +6 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.categoryCounts.js +64 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.collect.js +15 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.core.js +4 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.js +4 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.prepareQuery.js +4 -0
- package/docs/e10-auth.md +27 -2
- package/package.json +1 -1
- package/skills/weaver-e10-jinchengda/SKILL.md +87 -39
- package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +29 -29
- package/skills/weaver-e10-jinchengda/references/contract-clause-insert.md +2 -2
- package/skills/weaver-e10-jinchengda/references/contract-clause-library-crud.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-command-index.md +29 -7
- package/skills/weaver-e10-jinchengda/references/contract-compare-report.md +3 -3
- package/skills/weaver-e10-jinchengda/references/contract-credit-page.md +5 -5
- package/skills/weaver-e10-jinchengda/references/contract-disabled-capabilities.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-doc-compare.md +22 -25
- package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +53 -314
- package/skills/weaver-e10-jinchengda/references/contract-element-extract.md +6 -5
- package/skills/weaver-e10-jinchengda/references/contract-element-save-record.md +19 -11
- package/skills/weaver-e10-jinchengda/references/contract-execution-rules.md +3 -3
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-new-customer.md +43 -25
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +103 -212
- package/skills/weaver-e10-jinchengda/references/contract-flow-launch.md +7 -7
- package/skills/weaver-e10-jinchengda/references/contract-ledger-catalog.md +7 -6
- package/skills/weaver-e10-jinchengda/references/contract-ledger-query-playbook.md +34 -21
- package/skills/weaver-e10-jinchengda/references/contract-ledger-rules.md +6 -6
- package/skills/weaver-e10-jinchengda/references/contract-modeltext-library.md +3 -3
- package/skills/weaver-e10-jinchengda/references/contract-multi-file.md +6 -6
- package/skills/weaver-e10-jinchengda/references/contract-object-detect.md +22 -22
- package/skills/weaver-e10-jinchengda/references/contract-open-web-pages.md +21 -19
- package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +6 -5
- package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +132 -95
- package/skills/weaver-e10-jinchengda/references/contract-request-status.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-request-write.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-template-recommend.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-type-fingerprints.md +12 -12
- package/skills/weaver-e10-jinchengda/references/contract-workflow-discovery.md +1 -1
- package/skills/weaver-e10-jinchengda/references/orchestration.md +5 -5
- package/skills/weaver-e10-meeting/SKILL.md +8 -7
- package/skills/weaver-e10-meeting/references/create-commands.md +2 -2
- package/skills/weaver-e10-meeting/references/create-flow.md +6 -6
- package/skills/weaver-e10-meeting/references/create-guardrails.md +10 -10
- package/skills/weaver-e10-meeting/references/invitation.md +1 -1
- package/skills/weaver-e10-meeting/references/meeting-eb.md +26 -26
- package/skills/weaver-e10-meeting/references/meeting-invitation.md +2 -2
- package/skills/weaver-e10-meeting/references/meeting-minute-file.md +2 -2
- package/skills/weaver-e10-meeting/references/meeting-verification.md +1 -1
- package/skills/weaver-e10-performance/SKILL.md +45 -5
- package/skills/weaver-e10-performance/agents/openai.yaml +26 -2
- package/skills/weaver-e10-performance/references/flow-api.md +128 -0
- package/skills/weaver-e10-performance/references/flow-assess.md +149 -0
- package/skills/weaver-e10-workflow/SKILL.md +40 -16
- package/skills/weaver-e10-workflow/aigroup/default.json +1 -1
- package/skills/weaver-e10-workflow/references/todo-dialogue.md +30 -27
- package/skills/weaver-e10-workflow/references/todo-smart-convert.md +90 -22
- package/skills/weaver-e10-workflow/references/workflow-view.md +18 -2
- package/skills/weaver-e10-workflow/tools/todo-summary.cjs +240 -43
- package/skills/weaver-e10-yimiaoban/SKILL.md +8 -5
- package/skills/weaver-e10-yimiaoban/references/source-manifest.json +3 -3
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
createE10RequestRuntime,
|
|
15
15
|
isE10SessionExpiredResponse,
|
|
16
16
|
requireE10Session
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FJUOUSV3.js";
|
|
18
18
|
import {
|
|
19
19
|
E10_SESSION_EXPIRED_MESSAGE
|
|
20
20
|
} from "./chunk-TJN4PIYO.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getActiveProfile,
|
|
23
23
|
hasXiaoEEnv,
|
|
24
24
|
writeWithRetry
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FDBAFANU.js";
|
|
26
26
|
import {
|
|
27
27
|
CliError,
|
|
28
28
|
isCliError,
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
createE10RequestRuntime,
|
|
12
12
|
isE10SessionExpiredResponse,
|
|
13
13
|
requireE10Session
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FJUOUSV3.js";
|
|
15
15
|
import {
|
|
16
16
|
E10_SESSION_EXPIRED_MESSAGE
|
|
17
17
|
} from "./chunk-TJN4PIYO.js";
|
|
18
18
|
import {
|
|
19
19
|
getActiveProfile
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FDBAFANU.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError,
|
|
23
23
|
isCliError,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
createE10RequestRuntime,
|
|
11
11
|
isE10SessionExpiredResponse,
|
|
12
12
|
requireE10Session
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FJUOUSV3.js";
|
|
14
14
|
import {
|
|
15
15
|
E10_SESSION_EXPIRED_MESSAGE
|
|
16
16
|
} from "./chunk-TJN4PIYO.js";
|
|
17
17
|
import {
|
|
18
18
|
getActiveProfile
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FDBAFANU.js";
|
|
20
20
|
import {
|
|
21
21
|
CliError,
|
|
22
22
|
isCliError,
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
createE10RequestRuntime,
|
|
9
9
|
isE10SessionExpiredResponse,
|
|
10
10
|
requireE10Session
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FJUOUSV3.js";
|
|
12
12
|
import {
|
|
13
13
|
E10_SESSION_EXPIRED_MESSAGE
|
|
14
14
|
} from "./chunk-TJN4PIYO.js";
|
|
15
15
|
import {
|
|
16
16
|
getActiveProfile
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FDBAFANU.js";
|
|
18
18
|
import {
|
|
19
19
|
CliError,
|
|
20
20
|
isCliError,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
looksLikeFileId,
|
|
9
9
|
meetingAttachmentContentOperations,
|
|
10
10
|
parseFileIdList
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-F4ME3CGS.js";
|
|
12
12
|
import "./chunk-WMRNO6IU.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-E3OQSNF5.js";
|
|
14
|
+
import "./chunk-JDZOYHAL.js";
|
|
15
15
|
import "./chunk-7BDPM5ST.js";
|
|
16
16
|
import "./chunk-UG5G54VL.js";
|
|
17
17
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
createE10RequestRuntime,
|
|
11
11
|
isE10SessionExpiredResponse,
|
|
12
12
|
requireE10Session
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FJUOUSV3.js";
|
|
14
14
|
import {
|
|
15
15
|
E10_SESSION_EXPIRED_MESSAGE
|
|
16
16
|
} from "./chunk-TJN4PIYO.js";
|
|
17
17
|
import {
|
|
18
18
|
getActiveProfile
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FDBAFANU.js";
|
|
20
20
|
import {
|
|
21
21
|
CliError,
|
|
22
22
|
isCliError,
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
caizhilianManifest,
|
|
5
5
|
caizhilianOperationDefinitions,
|
|
6
6
|
executeCaizhilianOperation
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AFZTMYGC.js";
|
|
8
8
|
import {
|
|
9
9
|
createCaizhilianHost
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6T5X6YWX.js";
|
|
11
11
|
import {
|
|
12
12
|
createCaizhilianContinuationSigner
|
|
13
13
|
} from "./chunk-VRPH24IC.js";
|
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
reportPlatformError
|
|
19
19
|
} from "./chunk-6N4JPNFL.js";
|
|
20
20
|
import "./chunk-7BDPM5ST.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-FJUOUSV3.js";
|
|
22
22
|
import "./chunk-TJN4PIYO.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-FDBAFANU.js";
|
|
24
24
|
import {
|
|
25
25
|
isCliError,
|
|
26
26
|
toErrorEnvelope
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
createE10RequestRuntime,
|
|
13
13
|
isE10SessionExpiredResponse,
|
|
14
14
|
requireE10Session
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FJUOUSV3.js";
|
|
16
16
|
import {
|
|
17
17
|
E10_SESSION_EXPIRED_MESSAGE
|
|
18
18
|
} from "./chunk-TJN4PIYO.js";
|
|
19
19
|
import {
|
|
20
20
|
getActiveProfile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FDBAFANU.js";
|
|
22
22
|
import {
|
|
23
23
|
CliError,
|
|
24
24
|
isCliError,
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
createE10RequestRuntime,
|
|
12
12
|
isE10SessionExpiredResponse,
|
|
13
13
|
requireE10Session
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FJUOUSV3.js";
|
|
15
15
|
import {
|
|
16
16
|
E10_SESSION_EXPIRED_MESSAGE
|
|
17
17
|
} from "./chunk-TJN4PIYO.js";
|
|
18
18
|
import {
|
|
19
19
|
getActiveProfile
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FDBAFANU.js";
|
|
21
21
|
|
|
22
22
|
// src/shortcuts/hrm/host.ts
|
|
23
23
|
function inferProfile(ctx) {
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
createE10RequestRuntime,
|
|
11
11
|
isE10SessionExpiredResponse,
|
|
12
12
|
requireE10Session
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FJUOUSV3.js";
|
|
14
14
|
import {
|
|
15
15
|
getActiveProfile
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FDBAFANU.js";
|
|
17
17
|
|
|
18
18
|
// src/shortcuts/ebuilder-form/host.ts
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
cacheScopeSuffix,
|
|
5
5
|
readCache,
|
|
6
6
|
writeCache
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZV3TYANI.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-JDZOYHAL.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-7EGXNZR2.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-XXFMYPBM.js");
|
|
225
225
|
const listOp = getMeetingOperation("meeting.eb.meeting.list");
|
|
226
226
|
let seen = 0;
|
|
227
227
|
let total = 0;
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
createE10RequestRuntime,
|
|
12
12
|
isE10SessionExpiredResponse,
|
|
13
13
|
requireE10Session
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FJUOUSV3.js";
|
|
15
15
|
import {
|
|
16
16
|
E10_SESSION_EXPIRED_MESSAGE
|
|
17
17
|
} from "./chunk-TJN4PIYO.js";
|
|
18
18
|
import {
|
|
19
19
|
getActiveProfile
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FDBAFANU.js";
|
|
21
21
|
|
|
22
22
|
// src/shortcuts/caizhilian/host.ts
|
|
23
23
|
var CAIZHILAN_TIMEOUT_MS = 12e3;
|
|
@@ -10,44 +10,44 @@ import {
|
|
|
10
10
|
resolvePersonTokens,
|
|
11
11
|
resolveSelfPerson,
|
|
12
12
|
resolveWorkflowId
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QT7GGCSY.js";
|
|
14
14
|
import {
|
|
15
15
|
ebMeetingWritePreflight,
|
|
16
16
|
meetingEbConflictOperations
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NZLFKBEM.js";
|
|
18
18
|
import {
|
|
19
19
|
listMeetingAttachments,
|
|
20
20
|
meetingAttachmentContentOperations
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-F4ME3CGS.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-LRK7YND4.js";
|
|
29
29
|
import {
|
|
30
30
|
meetingEntryOperations
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-D6SWOUUP.js";
|
|
32
32
|
import {
|
|
33
33
|
meetingEbScheduleOperations
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IJDZ7VDC.js";
|
|
35
35
|
import {
|
|
36
36
|
ebRoomRecommendOperation,
|
|
37
37
|
inferRoomFloor,
|
|
38
38
|
recommendRooms,
|
|
39
39
|
rememberFrequentRoom
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-6AW5LW4T.js";
|
|
41
41
|
import {
|
|
42
42
|
cacheScopeSuffix,
|
|
43
43
|
readCache,
|
|
44
44
|
writeCache
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ZV3TYANI.js";
|
|
46
46
|
import {
|
|
47
47
|
meetingEnvOperations,
|
|
48
48
|
meetingStateDir,
|
|
49
49
|
resolveMeetingEnvMode
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-E3OQSNF5.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-JDZOYHAL.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-FDBAFANU.js";
|
|
90
90
|
|
|
91
91
|
// src/shortcuts/meeting/operations/meetings.ts
|
|
92
92
|
function overlapsDate(beginDatetime, endDatetime, date) {
|
|
@@ -2247,7 +2247,7 @@ var meetingAttachmentAttach = {
|
|
|
2247
2247
|
if (mode === "append" && existingIds.length === 0) {
|
|
2248
2248
|
existingIds.push(...beforeIds);
|
|
2249
2249
|
}
|
|
2250
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2250
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
2251
2251
|
const list = getMeetingOperation2("meeting.eb.meeting.list");
|
|
2252
2252
|
let fileId = incomingFileId;
|
|
2253
2253
|
let name = String(args.name ?? "").trim();
|
|
@@ -2335,7 +2335,7 @@ function textOf(value) {
|
|
|
2335
2335
|
return value === void 0 || value === null ? "" : String(value);
|
|
2336
2336
|
}
|
|
2337
2337
|
async function readMinute(env, id) {
|
|
2338
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2338
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
2339
2339
|
const detail = getMeetingOperation2("meeting.eb.minute.detail");
|
|
2340
2340
|
const result = await detail.handler({ id }, env);
|
|
2341
2341
|
const row = result?.data?.data;
|
|
@@ -2418,7 +2418,7 @@ var meetingMinuteWriteContent = {
|
|
|
2418
2418
|
} else {
|
|
2419
2419
|
statusReason = "\u4EC5\u6E05\u7A7A\u5185\u5BB9\uFF0C\u672A\u6539\u72B6\u6001";
|
|
2420
2420
|
}
|
|
2421
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2421
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
2422
2422
|
const prepare = getMeetingOperation2("meeting.eb.minute.update.prepare");
|
|
2423
2423
|
const apply = getMeetingOperation2("meeting.eb.minute.update.apply");
|
|
2424
2424
|
const prepared = await prepare.handler({ id, mt_id: mtId, ...patch }, env);
|
|
@@ -2434,8 +2434,8 @@ var meetingMinuteWriteContent = {
|
|
|
2434
2434
|
let minuteDoc = null;
|
|
2435
2435
|
if (args.with_doc !== false) {
|
|
2436
2436
|
try {
|
|
2437
|
-
const { buildMinuteDocx } = await import("./minute-doc-
|
|
2438
|
-
const { meetingStateDir: meetingStateDir2 } = await import("./env-
|
|
2437
|
+
const { buildMinuteDocx } = await import("./minute-doc-3DHMYMBE.js");
|
|
2438
|
+
const { meetingStateDir: meetingStateDir2 } = await import("./env-7EGXNZR2.js");
|
|
2439
2439
|
const { mkdir: mkdir4, writeFile: writeFile4 } = await import("node:fs/promises");
|
|
2440
2440
|
const { join: join3 } = await import("node:path");
|
|
2441
2441
|
const subject = textOf(after.mt_minutes_subject).trim() || `\u4F1A\u8BAE\u7EAA\u8981-${mtId}`;
|
|
@@ -2472,7 +2472,7 @@ var meetingMinuteWriteContent = {
|
|
|
2472
2472
|
}
|
|
2473
2473
|
if (args.with_doc !== false) {
|
|
2474
2474
|
try {
|
|
2475
|
-
const { ensureMinuteDoc } = await import("./minute-doc-
|
|
2475
|
+
const { ensureMinuteDoc } = await import("./minute-doc-3DHMYMBE.js");
|
|
2476
2476
|
const better = await ensureMinuteDoc(env, {
|
|
2477
2477
|
id,
|
|
2478
2478
|
mtId,
|
|
@@ -2843,7 +2843,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2843
2843
|
const mtId = textOf2(args.mt_id).trim();
|
|
2844
2844
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
2845
2845
|
const pipeline = ["text", "minutes", "document"].includes(args.pipeline) ? args.pipeline : "text";
|
|
2846
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2846
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
2847
2847
|
const ctx = env.ctx;
|
|
2848
2848
|
let stepStart = Date.now();
|
|
2849
2849
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
@@ -2867,7 +2867,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2867
2867
|
}
|
|
2868
2868
|
mark("readMeeting", stepStart);
|
|
2869
2869
|
const pullStart = Date.now();
|
|
2870
|
-
const { createImHost } = await import("./host-
|
|
2870
|
+
const { createImHost } = await import("./host-XLCBLNJD.js");
|
|
2871
2871
|
const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
|
|
2872
2872
|
const { getImOperation } = await import("./registry-E5RQJVWN.js");
|
|
2873
2873
|
const imEnv = { ctx, host: createImHost(ctx), continuation: createImContinuationSigner(ctx) };
|
|
@@ -2937,7 +2937,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2937
2937
|
try {
|
|
2938
2938
|
const { readFile: readFile4 } = await import("node:fs/promises");
|
|
2939
2939
|
const buffer = await readFile4(file);
|
|
2940
|
-
const { extractText } = await import("./attachment-content-
|
|
2940
|
+
const { extractText } = await import("./attachment-content-QUM27QNB.js");
|
|
2941
2941
|
const extracted = extractText(buffer, file, "");
|
|
2942
2942
|
if (extracted.text.trim()) {
|
|
2943
2943
|
extraSections.push(`\u3010\u6750\u6599\uFF1A${file.split(/[\\/]/).pop() ?? file}\u3011
|
|
@@ -3066,9 +3066,9 @@ ${groupTranscript}` : ""
|
|
|
3066
3066
|
if (!employeeId) {
|
|
3067
3067
|
warnings.push("\u672A\u53D6\u5230 ESB \u89E6\u53D1\u4EBA id\uFF08employeeId\uFF09\uFF0C\u5DF2\u8DF3\u8FC7\u540E\u7EED ESB \u8C03\u7528");
|
|
3068
3068
|
} else {
|
|
3069
|
-
const { createEsbHost } = await import("./host-
|
|
3069
|
+
const { createEsbHost } = await import("./host-P7G22WNM.js");
|
|
3070
3070
|
const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
|
|
3071
|
-
const { getEsbOperation } = await import("./registry-
|
|
3071
|
+
const { getEsbOperation } = await import("./registry-QRMXRSCT.js");
|
|
3072
3072
|
const esbEnv = { ctx, host: createEsbHost(ctx), continuation: createEsbContinuationSigner(ctx) };
|
|
3073
3073
|
const prepareOp = getEsbOperation("esb.trigger.prepare");
|
|
3074
3074
|
const applyOp = getEsbOperation("esb.trigger.apply");
|
|
@@ -3112,8 +3112,8 @@ ${groupTranscript}` : ""
|
|
|
3112
3112
|
if (args.with_doc !== false) {
|
|
3113
3113
|
const docStarted = Date.now();
|
|
3114
3114
|
try {
|
|
3115
|
-
const { buildMinuteDocx } = await import("./minute-doc-
|
|
3116
|
-
const { meetingStateDir: meetingStateDir2 } = await import("./env-
|
|
3115
|
+
const { buildMinuteDocx } = await import("./minute-doc-3DHMYMBE.js");
|
|
3116
|
+
const { meetingStateDir: meetingStateDir2 } = await import("./env-7EGXNZR2.js");
|
|
3117
3117
|
const { mkdir: mkdir4, writeFile: writeFile4 } = await import("node:fs/promises");
|
|
3118
3118
|
const { join: join3 } = await import("node:path");
|
|
3119
3119
|
const body = textOf2(row.parse_content) || textOf2(row.minutes_content) || transcript;
|
|
@@ -3300,7 +3300,7 @@ var meetingDecisionNotifyGroup = {
|
|
|
3300
3300
|
const warnings = [];
|
|
3301
3301
|
const mtId = textOf3(args.mt_id).trim();
|
|
3302
3302
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
3303
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3303
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
3304
3304
|
const ctx = env.ctx;
|
|
3305
3305
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
3306
3306
|
{ mt_id: mtId, pageNo: 1, pageSize: 1 },
|
|
@@ -3364,7 +3364,7 @@ var meetingDecisionNotifyGroup = {
|
|
|
3364
3364
|
charCount: formatted.text.length,
|
|
3365
3365
|
text: formatted.text
|
|
3366
3366
|
};
|
|
3367
|
-
const { createImHost } = await import("./host-
|
|
3367
|
+
const { createImHost } = await import("./host-XLCBLNJD.js");
|
|
3368
3368
|
const imHost = createImHost(ctx);
|
|
3369
3369
|
let displayText = formatted.text;
|
|
3370
3370
|
let wireText = formatted.text;
|
|
@@ -3602,7 +3602,7 @@ var meetingPipelineRun = {
|
|
|
3602
3602
|
const needsConfirm = level === "tasks" || level === "notify";
|
|
3603
3603
|
const confirmed = args.confirm === true;
|
|
3604
3604
|
const executedLevel = needsConfirm && !confirmed ? "document" : level;
|
|
3605
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3605
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
3606
3606
|
const ctx = env.ctx;
|
|
3607
3607
|
let stepStart = Date.now();
|
|
3608
3608
|
const reuseMinuteId = textOf4(args.minuteId).trim();
|
|
@@ -3671,7 +3671,7 @@ var meetingPipelineRun = {
|
|
|
3671
3671
|
]);
|
|
3672
3672
|
}
|
|
3673
3673
|
stepStart = Date.now();
|
|
3674
|
-
const { createHrmHost } = await import("./host-
|
|
3674
|
+
const { createHrmHost } = await import("./host-2UYZEY2V.js");
|
|
3675
3675
|
const { getHrmOperation } = await import("./registry-JMNOXRST.js");
|
|
3676
3676
|
const hrmEnv = { ctx, host: createHrmHost(ctx) };
|
|
3677
3677
|
const queryOp = getHrmOperation("hrm.employee.query");
|
|
@@ -3974,7 +3974,7 @@ function formatTimeRange(start, end) {
|
|
|
3974
3974
|
}
|
|
3975
3975
|
async function loadAgendaFromTopics(env, mtId) {
|
|
3976
3976
|
try {
|
|
3977
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3977
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
3978
3978
|
const operation = getMeetingOperation2("meeting.eb.topic.list");
|
|
3979
3979
|
const result = await operation.handler({ mt_id: mtId, pageNo: 1, pageSize: 200 }, env);
|
|
3980
3980
|
const rows = result.data?.rows ?? [];
|
|
@@ -4125,7 +4125,7 @@ async function supplementRowFromDetail(row, mtId, env) {
|
|
|
4125
4125
|
const missing = DETAIL_FALLBACK_KEYS.filter((key) => isBlank(row[key]));
|
|
4126
4126
|
if (missing.length === 0) return { row, filled: [] };
|
|
4127
4127
|
try {
|
|
4128
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4128
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
4129
4129
|
const detailOperation = getMeetingOperation2("meeting.eb.meeting.detail");
|
|
4130
4130
|
const result = await detailOperation.handler({ id: mtId }, env);
|
|
4131
4131
|
const flat = result?.data?.data ?? result?.data ?? {};
|
|
@@ -4299,7 +4299,7 @@ var meetingInvitationRender = {
|
|
|
4299
4299
|
};
|
|
4300
4300
|
dataSource = "payload";
|
|
4301
4301
|
} else {
|
|
4302
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4302
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
4303
4303
|
const listOperation = getMeetingOperation2("meeting.eb.meeting.list");
|
|
4304
4304
|
try {
|
|
4305
4305
|
const listed = await listOperation.handler({ mt_id: mtId, pageNo: 1, pageSize: 1 }, env);
|
|
@@ -4643,7 +4643,7 @@ var meetingInvitationPublish = {
|
|
|
4643
4643
|
"\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"
|
|
4644
4644
|
);
|
|
4645
4645
|
}
|
|
4646
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4646
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
4647
4647
|
const render = getMeetingOperation2("meeting.invitation.render");
|
|
4648
4648
|
const rendered = await render.handler(
|
|
4649
4649
|
{
|
|
@@ -4675,8 +4675,8 @@ var meetingInvitationPublish = {
|
|
|
4675
4675
|
folder_type: String(args.folder_type ?? DEFAULT_FOLDER_TYPE),
|
|
4676
4676
|
author_id: authorId
|
|
4677
4677
|
};
|
|
4678
|
-
const { executeCaizhilianOperation } = await import("./operations-
|
|
4679
|
-
const { createCaizhilianHost } = await import("./host-
|
|
4678
|
+
const { executeCaizhilianOperation } = await import("./operations-MI2BSKZX.js");
|
|
4679
|
+
const { createCaizhilianHost } = await import("./host-46NYKDQP.js");
|
|
4680
4680
|
const { createCaizhilianContinuationSigner } = await import("./continuation-GW6PRWK3.js");
|
|
4681
4681
|
const caizhilianEnv = {
|
|
4682
4682
|
ctx: env.ctx,
|
|
@@ -5358,7 +5358,7 @@ var meetingSummaryGet = {
|
|
|
5358
5358
|
const mtId = textOf5(args.mt_id).trim();
|
|
5359
5359
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
5360
5360
|
const ctx = env.ctx;
|
|
5361
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
5361
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
5362
5362
|
const warnings = [];
|
|
5363
5363
|
const timings = {};
|
|
5364
5364
|
const include = Array.isArray(args.include) && args.include.length > 0 ? args.include.filter((item) => ALL_SECTIONS.includes(item)) : ALL_SECTIONS;
|
|
@@ -5494,7 +5494,7 @@ var meetingSummaryGet = {
|
|
|
5494
5494
|
warnings.push("\u8BE5\u4F1A\u8BAE\u6CA1\u6709\u5173\u8054\u7FA4\u804A\uFF08imchat_groupid \u4E3A\u7A7A\uFF09\uFF0Cchat \u6BB5\u4E3A null");
|
|
5495
5495
|
} else {
|
|
5496
5496
|
try {
|
|
5497
|
-
const { createImHost } = await import("./host-
|
|
5497
|
+
const { createImHost } = await import("./host-XLCBLNJD.js");
|
|
5498
5498
|
const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
|
|
5499
5499
|
const { getImOperation } = await import("./registry-E5RQJVWN.js");
|
|
5500
5500
|
const imEnv = {
|
|
@@ -5620,7 +5620,7 @@ var meetingFormFields = {
|
|
|
5620
5620
|
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"
|
|
5621
5621
|
}, { warnings: resolved.warnings });
|
|
5622
5622
|
}
|
|
5623
|
-
const { createEbuilderFormHost } = await import("./host-
|
|
5623
|
+
const { createEbuilderFormHost } = await import("./host-7IPZKIM4.js");
|
|
5624
5624
|
const { createEbuilderFormContinuationSigner } = await import("./continuation-3XLYYTKV.js");
|
|
5625
5625
|
const { executeEbuilderFormOperation } = await import("./operations-62N6EP3C.js");
|
|
5626
5626
|
const formEnv = {
|
|
@@ -5679,7 +5679,7 @@ var MT_STATUS_OVER = "8";
|
|
|
5679
5679
|
var CANCELLED_MARK_DELAY_MS = 800;
|
|
5680
5680
|
async function isCancelledMeeting(env, mtId) {
|
|
5681
5681
|
try {
|
|
5682
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
5682
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
5683
5683
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
5684
5684
|
// withCount:false —— 这里只要一行状态,不必额外请求 count(少一次往返,也便于测试替身)
|
|
5685
5685
|
{ mt_id: mtId, pageNo: 1, pageSize: 1, withCount: false },
|
|
@@ -5724,7 +5724,7 @@ async function resolveDecisionPeople(env, input, ownerId) {
|
|
|
5724
5724
|
}
|
|
5725
5725
|
let nameToId = /* @__PURE__ */ new Map();
|
|
5726
5726
|
if (nameTokens.size > 0) {
|
|
5727
|
-
const { resolveMemberIdsByName } = await import("./schedule-
|
|
5727
|
+
const { resolveMemberIdsByName } = await import("./schedule-ZAYMZKTQ.js");
|
|
5728
5728
|
nameToId = await resolveMemberIdsByName(env, [...nameTokens]).catch(() => /* @__PURE__ */ new Map());
|
|
5729
5729
|
}
|
|
5730
5730
|
const unresolved = [];
|
|
@@ -6599,9 +6599,9 @@ async function runCrmSearchFlow(env, input) {
|
|
|
6599
6599
|
if (!employeeId) {
|
|
6600
6600
|
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");
|
|
6601
6601
|
}
|
|
6602
|
-
const { createEsbHost } = await import("./host-
|
|
6602
|
+
const { createEsbHost } = await import("./host-P7G22WNM.js");
|
|
6603
6603
|
const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
|
|
6604
|
-
const { getEsbOperation } = await import("./registry-
|
|
6604
|
+
const { getEsbOperation } = await import("./registry-QRMXRSCT.js");
|
|
6605
6605
|
const esbEnv = {
|
|
6606
6606
|
ctx: env.ctx,
|
|
6607
6607
|
host: createEsbHost(env.ctx),
|
|
@@ -6768,7 +6768,7 @@ var deleteMany = {
|
|
|
6768
6768
|
if (args.confirm !== true) {
|
|
6769
6769
|
throw meetingValidationError("confirmation_required", "\u6279\u91CF\u5220\u9664\u4E0D\u53EF\u6062\u590D\uFF0C\u5FC5\u987B\u4F20 confirm=true");
|
|
6770
6770
|
}
|
|
6771
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
6771
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
6772
6772
|
const listOp = getMeetingOperation2("meeting.eb.decisionTask.list");
|
|
6773
6773
|
const prepareOp = getMeetingOperation2("meeting.eb.decisionTask.delete.prepare");
|
|
6774
6774
|
const applyOp = getMeetingOperation2("meeting.eb.decisionTask.delete.apply");
|
|
@@ -6903,7 +6903,7 @@ var reassign = {
|
|
|
6903
6903
|
},
|
|
6904
6904
|
handler: async (args, env) => {
|
|
6905
6905
|
if (args.confirm === false) throw meetingValidationError("confirmation_required", "confirm=false\uFF0C\u672A\u6267\u884C");
|
|
6906
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
6906
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
6907
6907
|
const mtId = String(args.mt_id ?? "").trim();
|
|
6908
6908
|
const target = await resolveEmployeeId(env, String(args.to_executor ?? ""));
|
|
6909
6909
|
const from = String(args.from_executor ?? "").trim();
|
|
@@ -7202,7 +7202,7 @@ var formLink = {
|
|
|
7202
7202
|
pushValue("crm_members", "##" + first.id);
|
|
7203
7203
|
} else {
|
|
7204
7204
|
try {
|
|
7205
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7205
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
7206
7206
|
const search = getMeetingOperation2("meeting.eb.crm.search");
|
|
7207
7207
|
const found = await search.handler({ keyword: first.name, pageSize: 10 }, env);
|
|
7208
7208
|
const rows = found?.data?.items ?? [];
|
|
@@ -7357,7 +7357,7 @@ var ebAutoInvitationAfterWrite = async (context) => {
|
|
|
7357
7357
|
const mtId = String(context.dataIds?.[0] ?? "").trim();
|
|
7358
7358
|
if (!isCreate || !enabled || !mtId) return association;
|
|
7359
7359
|
try {
|
|
7360
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7360
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
7361
7361
|
const render = getMeetingOperation2("meeting.invitation.render");
|
|
7362
7362
|
const result = await render.handler({ mtId }, context.env);
|
|
7363
7363
|
return { ...association ?? {}, invitation: result?.data ?? null };
|
|
@@ -7393,7 +7393,7 @@ var ebOperationsWithLinks = ebBaseOperations.map((operation) => {
|
|
|
7393
7393
|
const raw = String(args.member).trim();
|
|
7394
7394
|
let uid = /^\d+$/.test(raw) ? raw : "";
|
|
7395
7395
|
if (!uid) {
|
|
7396
|
-
const { resolveMemberIdsByName } = await import("./schedule-
|
|
7396
|
+
const { resolveMemberIdsByName } = await import("./schedule-ZAYMZKTQ.js");
|
|
7397
7397
|
const map = await resolveMemberIdsByName(env, [raw]).catch(() => /* @__PURE__ */ new Map());
|
|
7398
7398
|
uid = String(map.get(raw) ?? "");
|
|
7399
7399
|
}
|
|
@@ -7432,7 +7432,7 @@ var ebOperationsWithMinuteDoc = ebOperationsWithLinks.map((operation) => {
|
|
|
7432
7432
|
if (!String(nextArgs.mt_minutes_subject ?? "").trim() && nextArgs.mt_id) {
|
|
7433
7433
|
let meetingName = "";
|
|
7434
7434
|
try {
|
|
7435
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7435
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
7436
7436
|
const detailOp = getMeetingOperation2("meeting.eb.meeting.detail");
|
|
7437
7437
|
const detail = await detailOp.handler({ id: String(nextArgs.mt_id) }, env);
|
|
7438
7438
|
const row = detail?.data?.data ?? {};
|
|
@@ -7452,8 +7452,8 @@ var ebOperationsWithMinuteDoc = ebOperationsWithLinks.map((operation) => {
|
|
|
7452
7452
|
handler: async (args, env) => {
|
|
7453
7453
|
const result = await operation.handler(args, env);
|
|
7454
7454
|
try {
|
|
7455
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7456
|
-
const { ensureMinuteDoc } = await import("./minute-doc-
|
|
7455
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
7456
|
+
const { ensureMinuteDoc } = await import("./minute-doc-3DHMYMBE.js");
|
|
7457
7457
|
const minuteId = String((result?.data?.dataIds ?? [])[0] ?? "").trim();
|
|
7458
7458
|
if (minuteId) {
|
|
7459
7459
|
const detail = await getMeetingOperation2("meeting.eb.minute.detail").handler({ id: minuteId }, env);
|
|
@@ -7577,7 +7577,7 @@ var composeOutcome = {
|
|
|
7577
7577
|
if (args.confirm === false) {
|
|
7578
7578
|
throw meetingValidationError("confirmation_required", "\u4F20\u4E86 confirm=false\uFF0C\u5DF2\u963B\u6B62\u5199\u5165");
|
|
7579
7579
|
}
|
|
7580
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
7580
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XXFMYPBM.js");
|
|
7581
7581
|
let mtId = String(args.mt_id ?? "").trim();
|
|
7582
7582
|
if (!mtId) {
|
|
7583
7583
|
const listOp2 = getMeetingOperation2("meeting.eb.meeting.list");
|
|
@@ -2,11 +2,11 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
meetingStateDir
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E3OQSNF5.js";
|
|
6
6
|
import {
|
|
7
7
|
meetingSuccess,
|
|
8
8
|
meetingValidationError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JDZOYHAL.js";
|
|
10
10
|
|
|
11
11
|
// src/shortcuts/meeting/operations/eb/entry-mode.ts
|
|
12
12
|
import { join, dirname } from "node:path";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-WMRNO6IU.js";
|
|
6
6
|
import {
|
|
7
7
|
meetingStateDir
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-E3OQSNF5.js";
|
|
9
9
|
import {
|
|
10
10
|
SCHEMA_ID,
|
|
11
11
|
meetingSuccess,
|
|
12
12
|
meetingValidationError,
|
|
13
13
|
schemaOf
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JDZOYHAL.js";
|
|
15
15
|
|
|
16
16
|
// src/shortcuts/meeting/operations/attachment-content.ts
|
|
17
17
|
import { mkdir, writeFile } from "node:fs/promises";
|