weaver-work-cli 0.1.78 → 0.1.81
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/README.md +3 -1
- package/dist/chunks/{archive-ENBSUMHV.js → archive-KVV4SM7J.js} +3 -3
- package/dist/chunks/{archive-oa-7BFPQ6M5.js → archive-oa-VRSPNLY4.js} +3 -3
- package/dist/chunks/{asset-V5SUD3PW.js → asset-JZ5MN6OL.js} +306 -10
- package/dist/chunks/{asset-idle-3CEL7WFX.js → asset-idle-B4SAL43V.js} +3 -3
- package/dist/chunks/{attachment-content-TFOC3Y3X.js → attachment-content-7W4XQTA7.js} +3 -3
- package/dist/chunks/{blog-FLI4SS3P.js → blog-XCBM467O.js} +3 -3
- package/dist/chunks/{caizhilian-7WCTKCCP.js → caizhilian-NZVUKCZD.js} +5 -5
- package/dist/chunks/{calendar-G726HUUH.js → calendar-OVM2SGYJ.js} +3 -3
- package/dist/chunks/{chunk-XNN5PZTI.js → chunk-3WZMDOI3.js} +1 -1
- package/dist/chunks/{chunk-FAC4IFGQ.js → chunk-56F2GGE4.js} +5 -5
- package/dist/chunks/{chunk-LCM5SSGJ.js → chunk-5MM2IZ27.js} +423 -36
- package/dist/chunks/{chunk-BWFCTE43.js → chunk-5NQZO3CO.js} +48 -5
- package/dist/chunks/{chunk-ZOTXXGUM.js → chunk-5RIK6OLF.js} +7 -7
- package/dist/chunks/{chunk-5E2FDXBU.js → chunk-64RYQOXA.js} +1 -1
- package/dist/chunks/{chunk-Z44YFIN6.js → chunk-7BP3HU74.js} +2 -2
- package/dist/chunks/{chunk-3Q5F4C5B.js → chunk-AW3HQUOC.js} +5 -5
- package/dist/chunks/{chunk-7M5OYRK2.js → chunk-BD3M2YVN.js} +3 -3
- package/dist/chunks/{chunk-JEQHNNSS.js → chunk-BFVUBCYO.js} +14 -0
- package/dist/chunks/{chunk-PAWXVT6H.js → chunk-CLVEXDEJ.js} +4 -5
- package/dist/chunks/{chunk-TBCKK6LH.js → chunk-DWCMKEMO.js} +2 -2
- package/dist/chunks/{chunk-USYFVIUR.js → chunk-E3XUYWYA.js} +4 -4
- package/dist/chunks/{chunk-E2EY3DMS.js → chunk-FIPTUAOW.js} +2 -2
- package/dist/chunks/{chunk-IBTGXLOT.js → chunk-GQEIHXY5.js} +6 -6
- package/dist/chunks/{chunk-TD5IOEGN.js → chunk-JUPKXW4P.js} +1 -1
- package/dist/chunks/{chunk-UZ2E3VNI.js → chunk-KZ3JR3GE.js} +3 -3
- package/dist/chunks/{chunk-4PBN7NJY.js → chunk-L2PKMZIU.js} +1 -1
- package/dist/chunks/{chunk-DACQKJ6O.js → chunk-LXWWOHM6.js} +4 -4
- package/dist/chunks/{chunk-7DE3VMZD.js → chunk-LYFPWZBD.js} +6 -1
- package/dist/chunks/{chunk-2UV4IZIT.js → chunk-MTIV6JEN.js} +2 -2
- package/dist/chunks/{chunk-5VQ7JHV4.js → chunk-MWFKLXVU.js} +68 -46
- package/dist/chunks/{chunk-PMRNIGKZ.js → chunk-RVVRTW4P.js} +2 -2
- package/dist/chunks/{chunk-FPWCCRKT.js → chunk-UASZW22U.js} +3 -3
- package/dist/chunks/{chunk-RVEKGVZU.js → chunk-VMUVVTT4.js} +2 -2
- package/dist/chunks/{chunk-7SQN5IZR.js → chunk-W4BGNYKR.js} +12 -2
- package/dist/chunks/{chunk-OVTCWLNQ.js → chunk-W4R3SXJV.js} +15 -7
- package/dist/chunks/{chunk-UDBQJLQF.js → chunk-WF5G5SV3.js} +2 -2
- package/dist/chunks/{chunk-VNEU7OUN.js → chunk-WM5ZE67G.js} +1 -1
- package/dist/chunks/{chunk-QVKRNL7L.js → chunk-WQ4ZHAEZ.js} +10 -2
- package/dist/chunks/{chunk-SWFTWNWL.js → chunk-X7OZKI6F.js} +12 -12
- package/dist/chunks/{chunk-WNFDR5PC.js → chunk-Y6HRTEDD.js} +21 -11
- package/dist/chunks/{chunk-2KW7AI6P.js → chunk-YFDKTTYX.js} +8 -5
- package/dist/chunks/{chunk-BP7BONZO.js → chunk-YLPGCOAM.js} +76 -69
- package/dist/chunks/{chunk-LQLIXBJF.js → chunk-YXIPZFMX.js} +1 -1
- package/dist/chunks/{cli-WA7FOQKC.js → cli-VCQIDBDQ.js} +37 -37
- package/dist/chunks/{commands-J52MJ6NF.js → commands-THGXVOEL.js} +9 -5
- package/dist/chunks/{conflict-D4GVAURN.js → conflict-T7URCNS6.js} +2 -2
- package/dist/chunks/{contract-GW7US3UF.js → contract-ZLGLQ45G.js} +3 -3
- package/dist/chunks/{cowork-GZDODGKF.js → cowork-2MBNOUYS.js} +21 -8
- package/dist/chunks/{create-flow-ERDGW3FZ.js → create-flow-OFZC36MV.js} +6 -6
- package/dist/chunks/{data-HTQZRPPI.js → data-6O7ANJVT.js} +3 -3
- package/dist/chunks/{ebuilder-form-GHNIZ7ET.js → ebuilder-form-OJ3KJVQI.js} +4 -4
- package/dist/chunks/{ehr-P6T7OAAV.js → ehr-NWMI5Q7S.js} +8 -32
- package/dist/chunks/{employee-QX57HEWS.js → employee-O2EPUYIH.js} +2 -2
- package/dist/chunks/{entry-mode-SQU5WTX6.js → entry-mode-TVACGU7K.js} +3 -3
- package/dist/chunks/{env-DASBNSEM.js → env-EWG4ZAWP.js} +2 -2
- package/dist/chunks/{esb-ATRKVHCD.js → esb-56FV2PIA.js} +5 -5
- package/dist/chunks/{factory-A3NAKZAA.js → factory-GQSEJRDY.js} +1 -1
- package/dist/chunks/{fna-IKYI3SST.js → fna-YLA3RKRW.js} +3 -3
- package/dist/chunks/{group-chat-7SEAVAJR.js → group-chat-5R6L3LCG.js} +3 -3
- package/dist/chunks/{host-UY4LQPN4.js → host-42MLO4KX.js} +4 -4
- package/dist/chunks/{host-XXGDQM7D.js → host-J72VEDW5.js} +4 -4
- package/dist/chunks/{host-EJSJSLVK.js → host-QKCRQS2C.js} +4 -4
- package/dist/chunks/{host-EYNLB6S4.js → host-W3BVEATN.js} +4 -4
- package/dist/chunks/{host-OT4KNR3G.js → host-YJINI5GG.js} +4 -4
- package/dist/chunks/{host-6UOXYOOY.js → host-ZVGBZOHY.js} +4 -4
- package/dist/chunks/{hrm-5JQ7QZ6A.js → hrm-3JFZNB42.js} +66 -26
- package/dist/chunks/{im-2YJW3EI5.js → im-HKIRPCGD.js} +5 -5
- package/dist/chunks/{invoice-37HR6L3W.js → invoice-4PREIOTG.js} +185 -49
- package/dist/chunks/{jiuchuanhui-KBWUZ7WT.js → jiuchuanhui-K3PLNENZ.js} +3 -3
- package/dist/chunks/{lazy-dispatch-ZDKLS5MR.js → lazy-dispatch-MKGEWZNM.js} +8 -8
- package/dist/chunks/{mail-YBKUM6HM.js → mail-6QPVWKXM.js} +3 -3
- package/dist/chunks/{meeting-7AEQGBAT.js → meeting-QPPEPBSN.js} +20 -16
- package/dist/chunks/{minute-doc-REI6RUE4.js → minute-doc-JMIDZK5D.js} +1 -1
- package/dist/chunks/{okr-HW7IULIR.js → okr-67C5LQYD.js} +3 -3
- package/dist/chunks/{operations-4P2UYVLH.js → operations-YLKRNAPI.js} +5 -5
- package/dist/chunks/{org-MWWIFNAO.js → org-L5XDM2RQ.js} +2 -2
- package/dist/chunks/{performance-PM2G6L3E.js → performance-33QZZR4I.js} +3 -3
- package/dist/chunks/{plan-3YYGZ7ZM.js → plan-W4BPONRL.js} +3 -3
- package/dist/chunks/{project-6PRGBLO2.js → project-OKSEH6AF.js} +3 -3
- package/dist/chunks/{reception-7G3J2MA6.js → reception-H5M7SPHT.js} +3 -3
- package/dist/chunks/{recruit-stage-TLZJUFHD.js → recruit-stage-O2JGNVMO.js} +16 -86
- package/dist/chunks/{registry-4S3RXXWS.js → registry-45VEUYTC.js} +4 -4
- package/dist/chunks/{registry-3VTB3KLV.js → registry-BMTQ55G5.js} +5 -5
- package/dist/chunks/{registry-KQ4TNUWO.js → registry-PYONXFUF.js} +3 -3
- package/dist/chunks/{registry-UVTI323K.js → registry-SAMJ4VH2.js} +14 -14
- package/dist/chunks/{registry-AC33ZZVH.js → registry-YY62OFKQ.js} +1 -1
- package/dist/chunks/{room-recommend-ELEJUYBN.js → room-recommend-NRLAZJCI.js} +4 -4
- package/dist/chunks/{schedule-XBKY7VEA.js → schedule-LNBOCBP5.js} +4 -4
- package/dist/chunks/{smart-extract-T5Z4AULN.js → smart-extract-JOTX6UZC.js} +3 -3
- package/dist/chunks/{update-77ZUIYSG.js → update-BERR64TI.js} +3 -3
- package/dist/chunks/{workflow-SYCBS5XD.js → workflow-ZDQY3TI7.js} +5 -5
- package/dist/core/runtime-agent.js +19 -3
- package/dist/index.js +4 -4
- package/dist/internal/e10/auth/agent-host-key.js +10 -1
- package/dist/internal/e10/auth/commands.js +20 -4
- package/dist/internal/e10/auth/xiaoe.js +15 -3
- package/dist/shortcuts/asset/host.js +39 -1
- package/dist/shortcuts/asset/index.js +16 -2
- package/dist/shortcuts/asset/manifest.js +115 -1
- package/dist/shortcuts/asset/operations/audit-report.js +144 -0
- package/dist/shortcuts/asset/operations/registry.js +4 -0
- package/dist/shortcuts/asset/operations/write.js +7 -1
- package/dist/shortcuts/cowork/operations/read.js +13 -6
- package/dist/shortcuts/cowork/operations/shared.js +15 -0
- package/dist/shortcuts/ehr/operations/recruit-candidate-import.js +1 -14
- package/dist/shortcuts/ehr/operations/recruit-write.js +4 -24
- package/dist/shortcuts/ehr/operations/recruit.js +23 -13
- package/dist/shortcuts/hrm/host.js +51 -4
- package/dist/shortcuts/hrm/index.js +45 -26
- package/dist/shortcuts/hrm/manifest.js +17 -0
- package/dist/shortcuts/hrm/operations/employee.js +3 -7
- package/dist/shortcuts/hrm/operations/org.js +2 -4
- package/dist/shortcuts/hrm/operations/position.js +2 -4
- package/dist/shortcuts/hrm/operations/shared.js +21 -0
- package/dist/shortcuts/hrm/operations.js +34 -0
- package/dist/shortcuts/im/constants.js +163 -0
- package/dist/shortcuts/im/host.js +12 -5
- package/dist/shortcuts/im/operations/at-mention.js +4 -2
- package/dist/shortcuts/im/operations/file-user.js +3 -1
- package/dist/shortcuts/im/operations/msg-sync.js +219 -2
- package/dist/shortcuts/im/operations/msg-write.js +70 -30
- package/dist/shortcuts/invoice/invoice-record.js +20 -1
- package/dist/shortcuts/invoice/manifest.js +13 -7
- package/dist/shortcuts/invoice/operations/reim-auto.js +94 -36
- package/dist/shortcuts/invoice/projection.js +7 -3
- package/dist/shortcuts/invoice/read-enrichment.js +78 -8
- package/dist/shortcuts/meeting/host.js +4 -0
- package/dist/shortcuts/meeting/operations/eb/create-flow.js +45 -5
- package/dist/shortcuts/meeting/operations/env.js +15 -1
- package/dist/shortcuts/meeting/operations/rooms.js +7 -0
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +3 -22
- package/dist/shortcuts/recruit-stage/operations/interview-feedback.js +1 -5
- package/dist/shortcuts/recruit-stage/operations/list.js +3 -2
- package/dist/shortcuts/recruit-stage/operations/profile.js +3 -2
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +8 -55
- package/dist/shortcuts/recruit-stage/operations/search.js +2 -2
- package/dist/shortcuts/recruit-stage/operations/shortlist.js +3 -2
- package/dist/shortcuts/recruit-stage/operations/tag.js +5 -0
- package/dist/shortcuts/recruit-stage/shared.js +3 -11
- package/dist/shortcuts/workflow/operations/form.js +2 -1
- package/docs/agent-invoice.md +26 -8
- package/docs/e10-auth.md +14 -1
- package/docs/hrm.md +5 -1
- package/docs/invoice.md +28 -8
- package/docs/operation-manual.md +6 -4
- package/docs/ziguanjia.md +5 -1
- package/package.json +1 -1
- package/scripts/package-skill.mjs +14 -2
- package/skill-template/business-info.json +6 -1
- package/skill-template/domains/hrm.md +1 -1
- package/skill-template/domains/yepiaotong.md +29 -11
- package/skill-template/domains/ziguanjia.md +7 -2
- package/skills/weaver-e10-caizhilian/references/source-manifest.json +3 -3
- package/skills/weaver-e10-cowork/SKILL.md +13 -1
- package/skills/weaver-e10-hrm/SKILL.md +16 -2
- package/skills/weaver-e10-hrm/references/org.md +1 -1
- package/skills/weaver-e10-jucailin/SKILL.md +11 -12
- package/skills/weaver-e10-jucailin/agents/openai.yaml +4 -4
- package/skills/weaver-e10-jucailin/references/recruit-implement-consult-sop.md +1 -1
- package/skills/weaver-e10-jucailin/references/recruit-implement-kb-data-update-channels.md +1 -1
- package/skills/weaver-e10-jucailin/references/recruit-implement-kb-talent-base-form.md +1 -1
- package/skills/weaver-e10-jucailin/references/recruit-output-links.md +1 -2
- package/skills/weaver-e10-jucailin/references/recruit-read.md +5 -27
- package/skills/weaver-e10-jucailin/references/recruit-write.md +19 -21
- package/skills/weaver-e10-jucailin/references/safety-boundaries.md +2 -2
- package/skills/weaver-e10-mail/SKILL.md +11 -3
- package/skills/weaver-e10-mail/references/mail-agent-entry.md +1 -1
- package/skills/weaver-e10-meeting/SKILL.md +39 -1
- package/skills/weaver-e10-okr/references/source-manifest.json +3 -3
- package/skills/weaver-e10-plan/references/source-manifest.json +3 -3
- package/skills/weaver-e10-recruit-stage/SKILL.md +57 -42
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +27 -22
- package/skills/weaver-e10-recruit-stage/lib/interview-conflict.mjs +1 -1
- package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +20 -5
- package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +96 -22
- package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +8 -3
- package/skills/weaver-e10-recruit-stage/lib/report-attachment.mjs +7 -6
- package/skills/weaver-e10-recruit-stage/lib/resume-import-once.mjs +308 -0
- package/skills/weaver-e10-recruit-stage/references/env-ziyong.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +6 -7
- package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +5 -5
- package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +4 -5
- package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +2 -8
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-template.md +0 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-list-candidate.md +1 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +7 -5
- package/skills/weaver-e10-recruit-stage/references/recruit-maint.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +3 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +20 -21
- package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +12 -7
- package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +2 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +1 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +75 -52
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +11 -17
- package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +3 -4
- package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +456 -93
- package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +2 -2
- package/skills/weaver-e10-recruit-stage/templates/match-report.html +1 -1
- package/skills/weaver-e10-shared/SKILL.md +1 -1
- package/skills/weaver-e10-shared/references/e10-auth-and-session.md +1 -1
- package/skills/weaver-e10-shared-report.html +874 -0
- package/skills/weaver-e10-shijingran/references/source-manifest.json +3 -3
- package/skills/weaver-e10-skill-maker/references/post-generation-install.md +6 -0
- package/skills/weaver-e10-workflow/SKILL.md +4 -4
- package/skills/weaver-e10-workflow/aiDeepRead/config.json +138 -142
- package/skills/weaver-e10-workflow/references/workflow-deep-read.md +7 -7
- package/skills/weaver-e10-yepiaotong/SKILL.md +33 -21
- package/skills/weaver-e10-yepiaotong/references/invoice-add.md +2 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-agent-entry.md +5 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-detail.md +2 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-enterprise-list.md +2 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-file-upload.md +3 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-import.md +2 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-output-view.md +30 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-personal-list.md +8 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-upload-and-validate.md +4 -4
- package/skills/weaver-e10-yepiaotong/references/name-fuzzy-search.md +3 -3
- package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +19 -9
- package/skills/weaver-e10-yepiaotong/references/reim-customer-search.md +25 -32
- package/skills/weaver-e10-yepiaotong/references/reim-eligibility-rules.md +70 -21
- package/skills/weaver-e10-yepiaotong/references/reim-fill-validation.md +23 -12
- package/skills/weaver-e10-yepiaotong/references/reim-phone-subsidy-rules.md +52 -17
- package/skills/weaver-e10-yepiaotong/references/reim-preapproval-rules.md +23 -19
- package/skills/weaver-e10-yepiaotong/references/reim-travel-invoice-matching.md +6 -4
- package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +127 -63
- package/skills/weaver-e10-yepiaotong/references/source-manifest.json +89 -71
- package/skills/weaver-e10-yepiaotong/references/travel-application-fill.md +2 -2
- package/skills/weaver-e10-yepiaotong/references/workflow-direct-fill.md +28 -20
- package/skills/weaver-e10-yepiaotong.zip +0 -0
- package/skills/weaver-e10-yimiaoban/SKILL.md +12 -9
- package/skills/weaver-e10-yimiaoban/references/constants.md +291 -0
- package/skills/weaver-e10-yimiaoban/references/ding-write.md +1 -0
- package/skills/weaver-e10-yimiaoban/references/group-read.md +1 -0
- package/skills/weaver-e10-yimiaoban/references/group-write.md +1 -0
- package/skills/weaver-e10-yimiaoban/references/msg-read.md +10 -1
- package/skills/weaver-e10-yimiaoban/references/msg-write.md +3 -1
- package/skills/weaver-e10-yimiaoban/references/session-sysmsg.md +1 -0
- package/skills/weaver-e10-yimiaoban/references/source-manifest.json +175 -36
- package/skills/weaver-e10-ziguanjia/SKILL.md +26 -6
- package/skills/weaver-e10-ziguanjia/references/source-manifest.json +1373 -96
- package/skills/weaver-e10-ziguanjia/references/ziguanjia-audit.md +63 -0
- package/skills/weaver-e10-ziguanjia/references/ziguanjia-disabled-capabilities.md +5 -1
- package/skills/weaver-e10-ziguanjia/references/ziguanjia-idle.md +52 -0
- package/skills/weaver-e10-ziguanjia/references/ziguanjia-report.md +59 -0
- package/scripts/pysite/__pycache__/sitecustomize.cpython-312.pyc +0 -0
- package/scripts/pysite/__pycache__/sitecustomize.cpython-313.pyc +0 -0
- package/scripts/pysite/__pycache__/sitecustomize.cpython-314.pyc +0 -0
- package/skills/weaver-e10-jucailin/references/recruit-stage-ops.md +0 -89
|
@@ -3,7 +3,7 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
|
3
3
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
builtinCommands
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LXWWOHM6.js";
|
|
7
7
|
import {
|
|
8
8
|
firstPositionalToken,
|
|
9
9
|
toCommandMetadata
|
|
@@ -17,19 +17,19 @@ import {
|
|
|
17
17
|
import "./chunk-JJONWB5N.js";
|
|
18
18
|
import "./chunk-257JXJGD.js";
|
|
19
19
|
import "./chunk-AJ62BGAW.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-JUPKXW4P.js";
|
|
21
|
+
import "./chunk-YXIPZFMX.js";
|
|
22
|
+
import "./chunk-W4R3SXJV.js";
|
|
23
23
|
import "./chunk-JWF2R6EQ.js";
|
|
24
24
|
import "./chunk-MD5CW4B6.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-MTIV6JEN.js";
|
|
26
|
+
import "./chunk-UASZW22U.js";
|
|
27
27
|
import "./chunk-IZCQU5D5.js";
|
|
28
28
|
import {
|
|
29
29
|
applyE10TlsPolicy
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-WQ4ZHAEZ.js";
|
|
31
31
|
import "./chunk-Y3C6MDL7.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-LYFPWZBD.js";
|
|
33
33
|
import "./chunk-2BZ7TY4M.js";
|
|
34
34
|
import "./chunk-UG5G54VL.js";
|
|
35
35
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -47,7 +47,7 @@ function lazyShortcut(definition) {
|
|
|
47
47
|
placeholder.allowExcessArguments(true);
|
|
48
48
|
placeholder.helpOption(false);
|
|
49
49
|
placeholder.action(async () => {
|
|
50
|
-
const { dispatchLazyShortcut } = await import("./lazy-dispatch-
|
|
50
|
+
const { dispatchLazyShortcut } = await import("./lazy-dispatch-MKGEWZNM.js");
|
|
51
51
|
await dispatchLazyShortcut(definition, shortcutMetadata());
|
|
52
52
|
});
|
|
53
53
|
}
|
|
@@ -57,142 +57,142 @@ var builtinShortcuts = [
|
|
|
57
57
|
lazyShortcut({
|
|
58
58
|
name: "invoice",
|
|
59
59
|
description: "E10 \u4E1A\u7968\u901A\u53D1\u7968\u7BA1\u7406 CLI",
|
|
60
|
-
load: async () => (await import("./invoice-
|
|
60
|
+
load: async () => (await import("./invoice-4PREIOTG.js")).invoiceShortcut
|
|
61
61
|
}),
|
|
62
62
|
lazyShortcut({
|
|
63
63
|
name: "ehr",
|
|
64
64
|
description: "\u6CDB\u5FAEE10\u805A\u624D\u6797\uFF08\u4EBA\u4E8B/\u51FA\u52E4/\u85AA\u916C\uFF09CLI",
|
|
65
|
-
load: async () => (await import("./ehr-
|
|
65
|
+
load: async () => (await import("./ehr-NWMI5Q7S.js")).ehrShortcut
|
|
66
66
|
}),
|
|
67
67
|
lazyShortcut({
|
|
68
68
|
name: "recruit-stage",
|
|
69
69
|
description: "\u6CDB\u5FAEE10\u62DB\u8058\u52A9\u624B\uFF08JD\u751F\u6210/\u7B80\u5386\u5EFA\u6863/AI\u9762\u8BD5\u9080\u7EA6\uFF09CLI",
|
|
70
|
-
load: async () => (await import("./recruit-stage-
|
|
70
|
+
load: async () => (await import("./recruit-stage-O2JGNVMO.js")).recruitStageShortcut
|
|
71
71
|
}),
|
|
72
72
|
lazyShortcut({
|
|
73
73
|
name: "performance",
|
|
74
74
|
description: "\u6CDB\u5FAEE10\u7EE9\u6548\u65B9\u6848\uFF08\u6587\u6863\u5BFC\u5165/\u5B9E\u4F53\u89E3\u6790/\u843D\u8349\u7A3F/\u786E\u8BA4\u53D1\u5E03\uFF09CLI",
|
|
75
|
-
load: async () => (await import("./performance-
|
|
75
|
+
load: async () => (await import("./performance-33QZZR4I.js")).performanceShortcut
|
|
76
76
|
}),
|
|
77
77
|
lazyShortcut({
|
|
78
78
|
name: "cowork",
|
|
79
79
|
description: "\u6CDB\u5FAEE10\u534F\u4F5C\u533A\uFF08\u534F\u4F5C\u4E8B\u9879/\u8BA8\u8BBA/\u5BA1\u6279/\u5171\u4EAB\u6743\u9650\uFF09CLI",
|
|
80
|
-
load: async () => (await import("./cowork-
|
|
80
|
+
load: async () => (await import("./cowork-2MBNOUYS.js")).coworkShortcut
|
|
81
81
|
}),
|
|
82
82
|
lazyShortcut({
|
|
83
83
|
name: "archive",
|
|
84
84
|
description: "E10 \u6587\u4E66\u5B9A\u6863\u6848\u7BA1\u7406 CLI",
|
|
85
|
-
load: async () => (await import("./archive-
|
|
85
|
+
load: async () => (await import("./archive-KVV4SM7J.js")).archiveShortcut
|
|
86
86
|
}),
|
|
87
87
|
lazyShortcut({
|
|
88
88
|
name: "archive-oa",
|
|
89
89
|
description: "E10 \u6863\u6848\u5B9A\u4F4D\u4E0E OA \u5546\u52A1\u5408\u540C\u501F\u9605 CLI",
|
|
90
|
-
load: async () => (await import("./archive-oa-
|
|
90
|
+
load: async () => (await import("./archive-oa-VRSPNLY4.js")).archiveOaShortcut
|
|
91
91
|
}),
|
|
92
92
|
lazyShortcut({
|
|
93
93
|
name: "calendar",
|
|
94
94
|
description: "\u6CDB\u5FAEE10\u65E5\u7A0B\u7BA1\u7406 CLI\uFF08\u521B\u5EFA/\u67E5\u8BE2/\u66F4\u65B0/\u5220\u9664/\u5B57\u5178\uFF09",
|
|
95
|
-
load: async () => (await import("./calendar-
|
|
95
|
+
load: async () => (await import("./calendar-OVM2SGYJ.js")).calendarShortcut
|
|
96
96
|
}),
|
|
97
97
|
lazyShortcut({
|
|
98
98
|
name: "fna",
|
|
99
99
|
description: "\u6CDB\u5FAEE10\u9F50\u4E1A\u6210\u8D39\u63A7\u4E2D\u5FC3\uFF08\u9884\u7B97/\u8D39\u7528\u4E2D\u5FC3/\u501F\u6B3E\u7BA1\u7406/\u53D1\u7968\u6838\u9500\uFF09CLI",
|
|
100
|
-
load: async () => (await import("./fna-
|
|
100
|
+
load: async () => (await import("./fna-YLA3RKRW.js")).fnaShortcut
|
|
101
101
|
}),
|
|
102
102
|
lazyShortcut({
|
|
103
103
|
name: "hrm",
|
|
104
104
|
description: "\u6CDB\u5FAEE10\u7EC4\u7EC7\u7BA1\u7406\uFF08\u5458\u5DE5/\u7EC4\u7EC7/\u5C97\u4F4D\u67E5\u8BE2\uFF09CLI",
|
|
105
|
-
load: async () => (await import("./hrm-
|
|
105
|
+
load: async () => (await import("./hrm-3JFZNB42.js")).hrmShortcut
|
|
106
106
|
}),
|
|
107
107
|
lazyShortcut({
|
|
108
108
|
name: "mail",
|
|
109
109
|
description: "\u6CDB\u5FAEE10\u90AE\u4EF6\u7BA1\u7406 CLI",
|
|
110
|
-
load: async () => (await import("./mail-
|
|
110
|
+
load: async () => (await import("./mail-6QPVWKXM.js")).mailShortcut
|
|
111
111
|
}),
|
|
112
112
|
lazyShortcut({
|
|
113
113
|
name: "meeting",
|
|
114
114
|
description: "\u6CDB\u5FAEE10\u4F1A\u8BAE\u7BA1\u7406 CLI\uFF08\u6807\u51C6\u7248\uFF1A\u67E5\u8BE2/\u51B2\u7A81/\u9884\u7EA6/\u56DE\u6267/\u7B7E\u5230\uFF09",
|
|
115
|
-
load: async () => (await import("./meeting-
|
|
115
|
+
load: async () => (await import("./meeting-QPPEPBSN.js")).meetingShortcut
|
|
116
116
|
}),
|
|
117
117
|
lazyShortcut({
|
|
118
118
|
name: "okr",
|
|
119
119
|
description: "\u6CDB\u5FAEE10 OKR \u76EE\u6807\u7BA1\u7406 CLI\uFF08\u76EE\u6807\u67E5\u8BE2/\u65B0\u5EFA/\u7F16\u8F91\u3001\u5173\u952E\u6210\u679C\u3001\u76EE\u6807\u5BF9\u9F50\u3001\u8BC4\u8BBA\uFF09",
|
|
120
|
-
load: async () => (await import("./okr-
|
|
120
|
+
load: async () => (await import("./okr-67C5LQYD.js")).okrShortcut
|
|
121
121
|
}),
|
|
122
122
|
lazyShortcut({
|
|
123
123
|
name: "plan",
|
|
124
124
|
description: "\u6CDB\u5FAEE10\u8BA1\u5212\u62A5\u544A CLI\uFF08\u67E5\u8BE2/\u65B0\u5EFA/\u4FEE\u6539/\u53D1\u5E03/\u64A4\u56DE/\u63D0\u4EA4\u63D0\u9192/\u8BC4\u8BBA\uFF09",
|
|
125
|
-
load: async () => (await import("./plan-
|
|
125
|
+
load: async () => (await import("./plan-W4BPONRL.js")).planShortcut
|
|
126
126
|
}),
|
|
127
127
|
lazyShortcut({
|
|
128
128
|
name: "esb",
|
|
129
129
|
description: "\u6CDB\u5FAEE10 ESB \u4E2D\u5FC3\u81EA\u5B9A\u4E49\u89E6\u53D1\u52A8\u4F5C\u6D41 CLI",
|
|
130
|
-
load: async () => (await import("./esb-
|
|
130
|
+
load: async () => (await import("./esb-56FV2PIA.js")).esbShortcut
|
|
131
131
|
}),
|
|
132
132
|
lazyShortcut({
|
|
133
133
|
name: "ebuilder-form",
|
|
134
134
|
description: "\u6CDB\u5FAEE10 eBuilder \u8868\u5355\u83DC\u5355\u3001\u5217\u8868\u548C\u8868\u5355\u6570\u636E CLI",
|
|
135
|
-
load: async () => (await import("./ebuilder-form-
|
|
135
|
+
load: async () => (await import("./ebuilder-form-OJ3KJVQI.js")).ebuilderFormShortcut
|
|
136
136
|
}),
|
|
137
137
|
lazyShortcut({
|
|
138
138
|
name: "jiuchuanhui",
|
|
139
139
|
description: "\u6CDB\u5FAEE10\u4E5D\u6C1A\u6C47\u8425\u9500\u7BA1\u7406 CLI\uFF08\u5BA2\u6237/\u8054\u7CFB\u4EBA/\u5546\u673A/\u7EBF\u7D22/\u8054\u7CFB\u8BA1\u5212/\u516C\u6D77\uFF09",
|
|
140
|
-
load: async () => (await import("./jiuchuanhui-
|
|
140
|
+
load: async () => (await import("./jiuchuanhui-K3PLNENZ.js")).jiuchuanhuiShortcut
|
|
141
141
|
}),
|
|
142
142
|
lazyShortcut({
|
|
143
143
|
name: "asset",
|
|
144
144
|
description: "E10 \u8D44\u4EA7\u7BA1\u7406\uFF08\u8D44\u7BA1\u5BB6\uFF09CLI",
|
|
145
|
-
load: async () => (await import("./asset-
|
|
145
|
+
load: async () => (await import("./asset-JZ5MN6OL.js")).assetShortcut
|
|
146
146
|
}),
|
|
147
147
|
lazyShortcut({
|
|
148
148
|
name: "asset-idle",
|
|
149
149
|
description: "E10 \u95F2\u7F6E\u8D44\u4EA7\u5224\u5B9A\u7ED3\u679C\u67E5\u8BE2 CLI\uFF08\u5206\u9875\u83B7\u53D6/\u805A\u5408\u7EDF\u8BA1\uFF09",
|
|
150
|
-
load: async () => (await import("./asset-idle-
|
|
150
|
+
load: async () => (await import("./asset-idle-B4SAL43V.js")).assetIdleShortcut
|
|
151
151
|
}),
|
|
152
152
|
lazyShortcut({
|
|
153
153
|
name: "im",
|
|
154
154
|
description: "\u6CDB\u5FAEE10\u6613\u79D2\u529E\uFF08\u5373\u65F6\u901A\u8BAF\uFF09CLI",
|
|
155
|
-
load: async () => (await import("./im-
|
|
155
|
+
load: async () => (await import("./im-HKIRPCGD.js")).imShortcut
|
|
156
156
|
}),
|
|
157
157
|
lazyShortcut({
|
|
158
158
|
name: "project",
|
|
159
159
|
description: "\u6CDB\u5FAEE10\u4E8B\u4E95\u7136\u9879\u76EE\u7BA1\u7406 CLI\uFF08\u9879\u76EE/\u4EFB\u52A1\u67E5\u8BE2\u4E0E\u786E\u8BA4\u5199\u5165\uFF09",
|
|
160
|
-
load: async () => (await import("./project-
|
|
160
|
+
load: async () => (await import("./project-OKSEH6AF.js")).projectShortcut
|
|
161
161
|
}),
|
|
162
162
|
lazyShortcut({
|
|
163
163
|
name: "workflow",
|
|
164
164
|
description: "\u6CDB\u5FAEE10\u6D41\u7A0B\u667A\u80FD\u52A9\u624B CLI\uFF08\u67E5\u8BE2/\u67E5\u770B/\u64CD\u4F5C/\u6279\u91CF/\u53D1\u8D77/\u4FEE\u6539\uFF09",
|
|
165
|
-
load: async () => (await import("./workflow-
|
|
165
|
+
load: async () => (await import("./workflow-ZDQY3TI7.js")).workflowShortcut
|
|
166
166
|
}),
|
|
167
167
|
lazyShortcut({
|
|
168
168
|
name: "blog",
|
|
169
169
|
description: "\u6CDB\u5FAEE10\u5DE5\u4F5C\u65E5\u62A5 CLI\uFF08\u67E5\u8BE2/\u53D1\u5E03/\u7F16\u8F91/\u8BC4\u8BBA/\u70B9\u8D5E/\u63D0\u9192/\u5BFC\u51FA\uFF09",
|
|
170
|
-
load: async () => (await import("./blog-
|
|
170
|
+
load: async () => (await import("./blog-XCBM467O.js")).blogShortcut
|
|
171
171
|
}),
|
|
172
172
|
lazyShortcut({
|
|
173
173
|
name: "caizhilian",
|
|
174
174
|
description: "\u6CDB\u5FAEE10\u91C7\u77E5\u8FDE\uFF08\u6587\u6863\u4E2D\u5FC3\uFF09CLI",
|
|
175
|
-
load: async () => (await import("./caizhilian-
|
|
175
|
+
load: async () => (await import("./caizhilian-NZVUKCZD.js")).caizhilianShortcut
|
|
176
176
|
}),
|
|
177
177
|
lazyShortcut({
|
|
178
178
|
name: "contract",
|
|
179
179
|
description: "\u6CDB\u5FAEE10\u4ECA\u627F\u8FBE\u5408\u540C\u7BA1\u7406 CLI",
|
|
180
|
-
load: async () => (await import("./contract-
|
|
180
|
+
load: async () => (await import("./contract-ZLGLQ45G.js")).contractShortcut
|
|
181
181
|
}),
|
|
182
182
|
lazyShortcut({
|
|
183
183
|
name: "reception",
|
|
184
184
|
description: "\u6CDB\u5FAE\u5BA2\u6237\u53C2\u89C2\u63A5\u5F85\u6D41\u7A0B CLI\uFF08\u9762\u677F/\u884C\u7A0B\u5355\u4E0E\u5185\u90E8\u65B9\u6848/\u586B\u5355\u9875\u9884\u586B\uFF09",
|
|
185
|
-
load: async () => (await import("./reception-
|
|
185
|
+
load: async () => (await import("./reception-H5M7SPHT.js")).receptionShortcut
|
|
186
186
|
}),
|
|
187
187
|
lazyShortcut({
|
|
188
188
|
name: "smart-extract",
|
|
189
189
|
description: "\u6CDB\u5FAEE10\u667A\u80FD\u62BD\u53D6 CLI\uFF08\u8868\u5355\u7ED3\u6784 / \u9644\u4EF6\u6B63\u6587 / \u6821\u9A8C\u5E76\u843D\u5E93\uFF0C\u8FD4\u56DE aiExtraId\uFF09",
|
|
190
|
-
load: async () => (await import("./smart-extract-
|
|
190
|
+
load: async () => (await import("./smart-extract-JOTX6UZC.js")).smartExtractShortcut
|
|
191
191
|
}),
|
|
192
192
|
lazyShortcut({
|
|
193
193
|
name: "data",
|
|
194
194
|
description: "\u6CDB\u5FAEE10\u6570\u636E\u52A9\u624B CLI\uFF08\u6570\u636E\u6E90\u67E5\u8BE2 / \u914D\u7F6E\u4E2D\u5FC3 / \u573A\u666F\u5B9A\u4F4D\uFF09",
|
|
195
|
-
load: async () => (await import("./data-
|
|
195
|
+
load: async () => (await import("./data-6O7ANJVT.js")).dataShortcut
|
|
196
196
|
})
|
|
197
197
|
];
|
|
198
198
|
function shortcutMetadata() {
|
|
@@ -12,13 +12,14 @@ import {
|
|
|
12
12
|
resolveAgentReturnTarget,
|
|
13
13
|
resolveAgentType,
|
|
14
14
|
resolveBrowserOpenCommand,
|
|
15
|
+
resolveLoginBaseUrl,
|
|
15
16
|
resolvePromotionKeyword,
|
|
16
17
|
resolvePromotionSource,
|
|
17
18
|
resolveWindowsRundll32Path,
|
|
18
19
|
runBrowserLogin
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-W4R3SXJV.js";
|
|
21
|
+
import "./chunk-MTIV6JEN.js";
|
|
22
|
+
import "./chunk-UASZW22U.js";
|
|
22
23
|
import "./chunk-IZCQU5D5.js";
|
|
23
24
|
import {
|
|
24
25
|
DEFAULT_E10_BASE_URL,
|
|
@@ -29,13 +30,14 @@ import {
|
|
|
29
30
|
hasXiaoEUnifiedLoginSource,
|
|
30
31
|
inspectXiaoEUnifiedLoginSources,
|
|
31
32
|
isXiaoEHostedEnvironment,
|
|
33
|
+
resolveConfiguredE10BaseUrl,
|
|
32
34
|
resolveDefaultE10BaseUrl,
|
|
33
35
|
resolveXiaoEDefaultBaseUrl,
|
|
34
36
|
resolveXiaoEPreferredBaseUrl,
|
|
35
37
|
resolveXiaoEUnifiedLoginCredential
|
|
36
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-WQ4ZHAEZ.js";
|
|
37
39
|
import "./chunk-Y3C6MDL7.js";
|
|
38
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-LYFPWZBD.js";
|
|
39
41
|
import "./chunk-2BZ7TY4M.js";
|
|
40
42
|
import "./chunk-UG5G54VL.js";
|
|
41
43
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -59,7 +61,9 @@ export {
|
|
|
59
61
|
resolveAgentReturnTarget,
|
|
60
62
|
resolveAgentType,
|
|
61
63
|
resolveBrowserOpenCommand,
|
|
64
|
+
resolveConfiguredE10BaseUrl,
|
|
62
65
|
resolveDefaultE10BaseUrl,
|
|
66
|
+
resolveLoginBaseUrl,
|
|
63
67
|
resolvePromotionKeyword,
|
|
64
68
|
resolvePromotionSource,
|
|
65
69
|
resolveWindowsRundll32Path,
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
findCommonFreeSlots,
|
|
8
8
|
meetingEbConflictOperations,
|
|
9
9
|
runEbConflictCheck
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-5RIK6OLF.js";
|
|
11
|
+
import "./chunk-KZ3JR3GE.js";
|
|
12
12
|
import "./chunk-7BDPM5ST.js";
|
|
13
13
|
import "./chunk-UG5G54VL.js";
|
|
14
14
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
createE10RequestRuntime,
|
|
18
18
|
isE10SessionExpiredResponse,
|
|
19
19
|
requireE10Session
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UASZW22U.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-WQ4ZHAEZ.js";
|
|
27
27
|
import "./chunk-Y3C6MDL7.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-LYFPWZBD.js";
|
|
29
29
|
import "./chunk-2BZ7TY4M.js";
|
|
30
30
|
import {
|
|
31
31
|
CliError,
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
createE10RequestRuntime,
|
|
18
18
|
isE10SessionExpiredResponse,
|
|
19
19
|
requireE10Session
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UASZW22U.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-WQ4ZHAEZ.js";
|
|
27
27
|
import "./chunk-Y3C6MDL7.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-LYFPWZBD.js";
|
|
29
29
|
import "./chunk-2BZ7TY4M.js";
|
|
30
30
|
import {
|
|
31
31
|
CliError,
|
|
@@ -382,6 +382,14 @@ function toId(value, field) {
|
|
|
382
382
|
}
|
|
383
383
|
return text;
|
|
384
384
|
}
|
|
385
|
+
function requireId(value, field) {
|
|
386
|
+
if (value === void 0 || value === null || value === "") {
|
|
387
|
+
throw coworkValidationError("id_required", `${field} \u5FC5\u586B\uFF08\u534F\u4F5C id \u4E3A\u6570\u5B57 ID\uFF09`);
|
|
388
|
+
}
|
|
389
|
+
const id = toId(value, field);
|
|
390
|
+
if (!id) throw coworkValidationError("id_required", `${field} \u5FC5\u586B\uFF08\u534F\u4F5C id \u4E3A\u6570\u5B57 ID\uFF09`);
|
|
391
|
+
return id;
|
|
392
|
+
}
|
|
385
393
|
function toIdList(value, field) {
|
|
386
394
|
if (value === void 0 || value === null) return void 0;
|
|
387
395
|
if (!Array.isArray(value)) throw coworkValidationError("id_list_invalid", `${field} \u5FC5\u987B\u662F ID \u6570\u7EC4`);
|
|
@@ -707,7 +715,7 @@ var coworkView = {
|
|
|
707
715
|
{ required: ["id"] }
|
|
708
716
|
),
|
|
709
717
|
handler: async (args, { host }) => {
|
|
710
|
-
const id =
|
|
718
|
+
const id = requireId(args.id, "id");
|
|
711
719
|
const response = await host.request({
|
|
712
720
|
method: "POST",
|
|
713
721
|
path: "/api/cowork/view/viewCowork",
|
|
@@ -732,7 +740,7 @@ var coworkDiscussList = {
|
|
|
732
740
|
orderAsc: { type: "boolean", description: "\u662F\u5426\u5347\u5E8F\uFF0C\u9ED8\u8BA4 false\uFF08\u5012\u5E8F\uFF09" }
|
|
733
741
|
}, { required: ["coworkId"] }),
|
|
734
742
|
handler: async (args, { host }) => {
|
|
735
|
-
const coworkId =
|
|
743
|
+
const coworkId = requireId(args.coworkId, "coworkId");
|
|
736
744
|
const body = compact({
|
|
737
745
|
coworkId,
|
|
738
746
|
current: toPositiveInt(args.current, "current") ?? 1,
|
|
@@ -768,8 +776,13 @@ var coworkParticipantList = {
|
|
|
768
776
|
pageSize: SCHEMA_PAGE_SIZE
|
|
769
777
|
}, { required: ["scope", "id"] }),
|
|
770
778
|
handler: async (args, { host }) => {
|
|
779
|
+
const lacksScope = typeof args.scope !== "string" || !args.scope;
|
|
780
|
+
const lacksId = args.id === void 0 || args.id === null || String(args.id).trim() === "";
|
|
781
|
+
if (lacksScope && lacksId) {
|
|
782
|
+
throw coworkValidationError("params_required", "\u7F3A\u5C11\u5FC5\u586B\u53C2\u6570\uFF1Ascope\uFF08all / share / quit\uFF09\u3001id\uFF08\u534F\u4F5C id\uFF09");
|
|
783
|
+
}
|
|
771
784
|
const scope = assertEnum(args.scope, PARTICIPANT_SCOPES, "scope");
|
|
772
|
-
const id =
|
|
785
|
+
const id = requireId(args.id, "id");
|
|
773
786
|
if (scope === "share") {
|
|
774
787
|
const response2 = await host.request({
|
|
775
788
|
method: "POST",
|
|
@@ -819,7 +832,7 @@ var coworkResource = {
|
|
|
819
832
|
risk: READ,
|
|
820
833
|
inputSchema: schemaOf({ id: { ...SCHEMA_ID, description: "\u534F\u4F5C id" } }, { required: ["id"] }),
|
|
821
834
|
handler: async (args, { host }) => {
|
|
822
|
-
const id =
|
|
835
|
+
const id = requireId(args.id, "id");
|
|
823
836
|
const response = await host.request({
|
|
824
837
|
method: "POST",
|
|
825
838
|
path: "/api/cowork/view/resourceData",
|
|
@@ -842,7 +855,7 @@ var coworkVoteLog = {
|
|
|
842
855
|
pageSize: SCHEMA_PAGE_SIZE
|
|
843
856
|
}, { required: ["id"] }),
|
|
844
857
|
handler: async (args, { host }) => {
|
|
845
|
-
const id =
|
|
858
|
+
const id = requireId(args.id, "id");
|
|
846
859
|
const body = compact({
|
|
847
860
|
id,
|
|
848
861
|
current: toPositiveInt(args.current, "current") ?? 1,
|
|
@@ -30,12 +30,12 @@ import {
|
|
|
30
30
|
resolveWorkflowId,
|
|
31
31
|
shapeBrowserValues,
|
|
32
32
|
shouldAutoPickFlow
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-MWFKLXVU.js";
|
|
34
|
+
import "./chunk-5RIK6OLF.js";
|
|
35
|
+
import "./chunk-E3XUYWYA.js";
|
|
36
|
+
import "./chunk-WM5ZE67G.js";
|
|
37
|
+
import "./chunk-W4BGNYKR.js";
|
|
38
|
+
import "./chunk-KZ3JR3GE.js";
|
|
39
39
|
import "./chunk-7BDPM5ST.js";
|
|
40
40
|
import "./chunk-UG5G54VL.js";
|
|
41
41
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
createE10RequestRuntime,
|
|
11
11
|
isE10SessionExpiredResponse,
|
|
12
12
|
requireE10Session
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UASZW22U.js";
|
|
14
14
|
import {
|
|
15
15
|
E10_SESSION_EXPIRED_MESSAGE
|
|
16
16
|
} from "./chunk-IZCQU5D5.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-WQ4ZHAEZ.js";
|
|
18
18
|
import "./chunk-Y3C6MDL7.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-LYFPWZBD.js";
|
|
20
20
|
import "./chunk-2BZ7TY4M.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
@@ -2,7 +2,7 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
createEbuilderFormHost
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WF5G5SV3.js";
|
|
6
6
|
import {
|
|
7
7
|
createEbuilderFormContinuationSigner
|
|
8
8
|
} from "./chunk-YWX377BY.js";
|
|
@@ -22,11 +22,11 @@ import "./chunk-7BDPM5ST.js";
|
|
|
22
22
|
import {
|
|
23
23
|
reportPlatformError
|
|
24
24
|
} from "./chunk-MD5CW4B6.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-UASZW22U.js";
|
|
26
26
|
import "./chunk-IZCQU5D5.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-WQ4ZHAEZ.js";
|
|
28
28
|
import "./chunk-Y3C6MDL7.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-LYFPWZBD.js";
|
|
30
30
|
import "./chunk-2BZ7TY4M.js";
|
|
31
31
|
import {
|
|
32
32
|
isCliError,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
toNumber,
|
|
43
43
|
toPageQuery,
|
|
44
44
|
toPositiveInt
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-Y6HRTEDD.js";
|
|
46
46
|
import {
|
|
47
47
|
MANIFEST_LIST_COMPACT_PATHS,
|
|
48
48
|
manifestView,
|
|
@@ -61,15 +61,15 @@ import {
|
|
|
61
61
|
createE10RequestRuntime,
|
|
62
62
|
isE10SessionExpiredResponse,
|
|
63
63
|
requireE10Session
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-UASZW22U.js";
|
|
65
65
|
import {
|
|
66
66
|
E10_SESSION_EXPIRED_MESSAGE
|
|
67
67
|
} from "./chunk-IZCQU5D5.js";
|
|
68
68
|
import {
|
|
69
69
|
getActiveProfile
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-WQ4ZHAEZ.js";
|
|
71
71
|
import "./chunk-Y3C6MDL7.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-LYFPWZBD.js";
|
|
73
73
|
import "./chunk-2BZ7TY4M.js";
|
|
74
74
|
import {
|
|
75
75
|
isCliError,
|
|
@@ -2400,16 +2400,6 @@ async function requireRecruitCache(env) {
|
|
|
2400
2400
|
}
|
|
2401
2401
|
return env.recruitContext.load(env.host);
|
|
2402
2402
|
}
|
|
2403
|
-
function recruitTalentCardUrl(cache, baseUrl, talentId) {
|
|
2404
|
-
if (!talentId) return null;
|
|
2405
|
-
const base = baseUrl.replace(/\/+$/, "");
|
|
2406
|
-
if (cache.ebdDetailPageId) {
|
|
2407
|
-
const extra = String(cache.selfUse) === "1" ? "&recruitType=useSelf" : "";
|
|
2408
|
-
return `${base}/sp/ebdpage/view/${cache.ebdDetailPageId}?talentId=${talentId}${extra}`;
|
|
2409
|
-
}
|
|
2410
|
-
const objId = String(cache.forms?.talent_pool?.objId || cache.forms?.talent?.objId || "");
|
|
2411
|
-
return objId ? `${base}/sp/ebdfpage/card/0/${objId}/${talentId}` : null;
|
|
2412
|
-
}
|
|
2413
2403
|
function recruitOpenListUrl(cache, baseUrl, listKey) {
|
|
2414
2404
|
const menu = cache.lists?.[listKey];
|
|
2415
2405
|
if (!menu?.listId) return null;
|
|
@@ -2970,9 +2960,7 @@ var candidateCreateApply = {
|
|
|
2970
2960
|
status: "COMPLETE",
|
|
2971
2961
|
talentId: newId,
|
|
2972
2962
|
initTalentBatch: initMsg,
|
|
2973
|
-
searchHint: `\u53EF\u7528 ehr.recruit.candidate.search \u6309 name=${name} \u6216 mobile=${mobile} \u56DE\u67E5
|
|
2974
|
-
talentCardUrl: recruitTalentCardUrl(cache, lease.baseUrl, newId),
|
|
2975
|
-
talentListLocateUrl: recruitOpenListUrl(cache, lease.baseUrl, "talent")
|
|
2963
|
+
searchHint: `\u53EF\u7528 ehr.recruit.candidate.search \u6309 name=${name} \u6216 mobile=${mobile} \u56DE\u67E5`
|
|
2976
2964
|
});
|
|
2977
2965
|
}
|
|
2978
2966
|
};
|
|
@@ -3436,7 +3424,6 @@ var interviewArrangeApply = {
|
|
|
3436
3424
|
candidate: `${plan.candidateName}\uFF08talentId=${args.talentId}\uFF09`,
|
|
3437
3425
|
time: plan.interviewTime,
|
|
3438
3426
|
interviewer: plan.interviewer,
|
|
3439
|
-
talentCardUrl: recruitTalentCardUrl(cache, lease.baseUrl, args.talentId),
|
|
3440
3427
|
interviewLocateUrl: recruitOpenListUrl(cache, lease.baseUrl, "interview")
|
|
3441
3428
|
});
|
|
3442
3429
|
}
|
|
@@ -3692,7 +3679,6 @@ var offerSendApply = {
|
|
|
3692
3679
|
sendOffer: "SUCCESS",
|
|
3693
3680
|
runEsb: { successNum: esbResult.successNum, failNum: esbResult.failNum, msg: esbResult.successMsg },
|
|
3694
3681
|
nextStep: "\u56DE\u67E5 offer_status_select \u5E94\u5DF2\u53D8\u66F4\u4E3A\u300C\u5DF2\u53D1\u9001\u5F85\u53CD\u9988\u300D",
|
|
3695
|
-
talentCardUrl: recruitTalentCardUrl(cache, lease.baseUrl, payload.talentId),
|
|
3696
3682
|
offerListUrl: recruitOpenListUrl(cache, lease.baseUrl, "offer")
|
|
3697
3683
|
});
|
|
3698
3684
|
}
|
|
@@ -4204,8 +4190,7 @@ var feedbackEditApply = {
|
|
|
4204
4190
|
feedbackId: payload.feedbackId,
|
|
4205
4191
|
saved: Boolean(savedId),
|
|
4206
4192
|
verify: backFeedback ? { result: backFeedback.result, comment: backFeedback.judgement, changed } : "\u56DE\u67E5\u672A\u53D6\u5230\u8BE5\u53CD\u9988",
|
|
4207
|
-
...changed ? {} : { warning: "\u56DE\u67E5\u672A\u786E\u8BA4\u53D8\u66F4\u751F\u6548\uFF0C\u8BF7\u4EBA\u5DE5\u5728 E10 \u4E2D\u6838\u5BF9\u9762\u8BD5\u53CD\u9988\uFF0C\u7981\u6B62\u81EA\u52A8\u91CD\u8BD5" }
|
|
4208
|
-
talentCardUrl: recruitTalentCardUrl(cache, lease.baseUrl, payload.talentId)
|
|
4193
|
+
...changed ? {} : { warning: "\u56DE\u67E5\u672A\u786E\u8BA4\u53D8\u66F4\u751F\u6548\uFF0C\u8BF7\u4EBA\u5DE5\u5728 E10 \u4E2D\u6838\u5BF9\u9762\u8BD5\u53CD\u9988\uFF0C\u7981\u6B62\u81EA\u52A8\u91CD\u8BD5" }
|
|
4209
4194
|
});
|
|
4210
4195
|
}
|
|
4211
4196
|
};
|
|
@@ -4342,8 +4327,7 @@ var feedbackUrgeApply = {
|
|
|
4342
4327
|
return ehrSuccess("ehr.recruit.candidate.interview.feedback.urge.apply", {
|
|
4343
4328
|
status: "COMPLETE",
|
|
4344
4329
|
feedbackRecordId: payload.feedbackRecordId,
|
|
4345
|
-
runEsb: { successNum: esbResult.successNum, failNum: esbResult.failNum, msg: esbResult.successMsg }
|
|
4346
|
-
talentCardUrl: recruitTalentCardUrl(cache, lease.baseUrl, payload.talentId)
|
|
4330
|
+
runEsb: { successNum: esbResult.successNum, failNum: esbResult.failNum, msg: esbResult.successMsg }
|
|
4347
4331
|
});
|
|
4348
4332
|
}
|
|
4349
4333
|
};
|
|
@@ -5827,12 +5811,6 @@ var candidateImportApply = {
|
|
|
5827
5811
|
const [batchOutcome, labelMatch, tagResult] = await Promise.all([batchTask, labelTask, tagTask]);
|
|
5828
5812
|
const batchOk = batchOutcome.ok;
|
|
5829
5813
|
const batchNote = batchOutcome.note;
|
|
5830
|
-
const baseUrl = session.baseUrl.replace(/\/+$/, "");
|
|
5831
|
-
const extra = String(cache.selfUse) === "1" ? "&recruitType=useSelf" : "";
|
|
5832
|
-
const talentObjId = String(cache.forms?.talent_pool?.objId || cache.forms?.talent?.objId || "");
|
|
5833
|
-
const talentCardUrl = cache.ebdDetailPageId ? `${baseUrl}/sp/ebdpage/view/${cache.ebdDetailPageId}?talentId=${talentId}${extra}` : talentObjId ? `${baseUrl}/sp/ebdfpage/card/0/${talentObjId}/${talentId}` : null;
|
|
5834
|
-
const talentListId = cache.lists.talent?.listId;
|
|
5835
|
-
const talentListLocateUrl = talentListId ? `${baseUrl}/sp/ebdfpage/list/${talentListId}` : null;
|
|
5836
5814
|
const warnings = [...payload.warnings || []];
|
|
5837
5815
|
if (batchNote) warnings.push(batchNote);
|
|
5838
5816
|
let detailsState = "complete";
|
|
@@ -5893,9 +5871,7 @@ var candidateImportApply = {
|
|
|
5893
5871
|
batch: { ok: batchOk, note: batchNote },
|
|
5894
5872
|
labelMatch,
|
|
5895
5873
|
tagsApplied: tagResult.applied,
|
|
5896
|
-
tagsSkipped: tagResult.skipped
|
|
5897
|
-
talentCardUrl,
|
|
5898
|
-
talentListLocateUrl
|
|
5874
|
+
tagsSkipped: tagResult.skipped
|
|
5899
5875
|
}, warnings.length ? { warnings } : void 0);
|
|
5900
5876
|
}
|
|
5901
5877
|
};
|
|
@@ -2,8 +2,8 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
hrmEmployeeOperations
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-CLVEXDEJ.js";
|
|
6
|
+
import "./chunk-BFVUBCYO.js";
|
|
7
7
|
import "./chunk-56EZERK4.js";
|
|
8
8
|
import "./chunk-UG5G54VL.js";
|
|
9
9
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
meetingEntryOperations,
|
|
6
6
|
readEntryChoice,
|
|
7
7
|
verifyEntryToken
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-7BP3HU74.js";
|
|
9
|
+
import "./chunk-W4BGNYKR.js";
|
|
10
|
+
import "./chunk-KZ3JR3GE.js";
|
|
11
11
|
import "./chunk-7BDPM5ST.js";
|
|
12
12
|
import "./chunk-UG5G54VL.js";
|
|
13
13
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
meetingStateDir,
|
|
7
7
|
readCache,
|
|
8
8
|
resolveMeetingEnvMode
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-W4BGNYKR.js";
|
|
10
|
+
import "./chunk-KZ3JR3GE.js";
|
|
11
11
|
import "./chunk-7BDPM5ST.js";
|
|
12
12
|
import "./chunk-UG5G54VL.js";
|
|
13
13
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
assertNoForbiddenKeys,
|
|
7
7
|
esbManifest,
|
|
8
8
|
getEsbOperation
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-64RYQOXA.js";
|
|
10
10
|
import {
|
|
11
11
|
createEsbHost
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VMUVVTT4.js";
|
|
13
13
|
import {
|
|
14
14
|
createEsbContinuationSigner
|
|
15
15
|
} from "./chunk-UL5XUQ25.js";
|
|
@@ -25,11 +25,11 @@ import "./chunk-7BDPM5ST.js";
|
|
|
25
25
|
import {
|
|
26
26
|
reportPlatformError
|
|
27
27
|
} from "./chunk-MD5CW4B6.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-UASZW22U.js";
|
|
29
29
|
import "./chunk-IZCQU5D5.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-WQ4ZHAEZ.js";
|
|
31
31
|
import "./chunk-Y3C6MDL7.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-LYFPWZBD.js";
|
|
33
33
|
import "./chunk-2BZ7TY4M.js";
|
|
34
34
|
import {
|
|
35
35
|
isCliError,
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
createE10RequestRuntime,
|
|
18
18
|
isE10SessionExpiredResponse,
|
|
19
19
|
requireE10Session
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UASZW22U.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-WQ4ZHAEZ.js";
|
|
27
27
|
import "./chunk-Y3C6MDL7.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-LYFPWZBD.js";
|
|
29
29
|
import "./chunk-2BZ7TY4M.js";
|
|
30
30
|
import {
|
|
31
31
|
CliError,
|