weaver-work-cli 0.1.70 → 0.1.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{archive-VUTREF3P.js → archive-THZV4ND4.js} +22 -5
- package/dist/chunks/{archive-oa-VXXO4RTB.js → archive-oa-PQ23OLEV.js} +17 -5
- package/dist/chunks/{asset-45U6TY7I.js → asset-RGPROZYH.js} +22 -5
- package/dist/chunks/{asset-idle-YCRBMTIT.js → asset-idle-Z2PDX7NA.js} +15 -5
- package/dist/chunks/{attachment-content-DMU7KNZ7.js → attachment-content-R3RPVOYE.js} +3 -3
- package/dist/chunks/{blog-5AML4WMG.js → blog-7U3QZPIF.js} +25 -5
- package/dist/chunks/{caizhilian-3P7BUNHT.js → caizhilian-3AB42GCV.js} +22 -8
- package/dist/chunks/{calendar-2HUXM3CZ.js → calendar-KINM64E4.js} +15 -5
- package/dist/chunks/{chunk-EHH363SP.js → chunk-2CHGUYMG.js} +4 -4
- package/dist/chunks/{chunk-GWM5TLIK.js → chunk-2XED2FKY.js} +34 -34
- package/dist/chunks/{chunk-DVFA3ODS.js → chunk-35A56FJ7.js} +12 -0
- package/dist/chunks/{chunk-QYDSTYGG.js → chunk-4BXR6CNB.js} +3 -3
- package/dist/chunks/{chunk-KDOJW5LH.js → chunk-4I26YMBY.js} +1 -1
- package/dist/chunks/{chunk-X6PMJQGO.js → chunk-4YXAK6OA.js} +19 -8
- package/dist/chunks/{chunk-HG6INLH6.js → chunk-54ST55IJ.js} +28 -7
- package/dist/chunks/{chunk-DSBV4GRK.js → chunk-6HT73VOI.js} +3 -3
- package/dist/chunks/{chunk-4W6BSNIL.js → chunk-7QFVXP2X.js} +6 -6
- package/dist/chunks/{chunk-I5XB4MZT.js → chunk-AMAPQVBT.js} +95 -65
- package/dist/chunks/{chunk-L2A3COWV.js → chunk-BWYVS62Z.js} +4 -4
- package/dist/chunks/{chunk-UPVAQJKS.js → chunk-DRUND2PJ.js} +130 -79
- package/dist/chunks/{chunk-LJE7RZNC.js → chunk-F4HM25K4.js} +1 -1
- package/dist/chunks/{chunk-T24EBWAZ.js → chunk-GAMGDNTF.js} +48 -21
- package/dist/chunks/{chunk-H2NRTGZR.js → chunk-GWJLAF6B.js} +3 -3
- package/dist/chunks/{chunk-XIBMZEDB.js → chunk-IBSJJGXL.js} +2 -2
- package/dist/chunks/{chunk-VZUH3LKI.js → chunk-ICP53R52.js} +167 -157
- package/dist/chunks/{chunk-LRKKKO5A.js → chunk-IU6UB2TD.js} +3 -4
- package/dist/chunks/{chunk-GTAFCAVP.js → chunk-IZCQU5D5.js} +1 -1
- package/dist/chunks/{chunk-727VKJQK.js → chunk-JMJBPP4B.js} +2 -2
- package/dist/chunks/{chunk-UVWW5ABZ.js → chunk-L7TYG5SN.js} +3 -3
- package/dist/chunks/{chunk-HAORST2G.js → chunk-LLCMOZ5L.js} +11 -11
- package/dist/chunks/{chunk-U3OO3IZF.js → chunk-NUP4RYZK.js} +20 -7
- package/dist/chunks/{chunk-IVCOZCAW.js → chunk-PAFOLIYQ.js} +1 -1
- package/dist/chunks/{chunk-LSVA7QA6.js → chunk-R3MK2RBN.js} +3 -1
- package/dist/chunks/{chunk-GFOFUH6O.js → chunk-TV46Q4NY.js} +52 -51
- package/dist/chunks/chunk-WM33BSIL.js +136 -0
- package/dist/chunks/{chunk-7CINV2BU.js → chunk-XZBYRYWX.js} +2 -2
- package/dist/chunks/{chunk-E7VWE2XI.js → chunk-ZWLWXHJC.js} +3 -3
- package/dist/chunks/{conflict-YW5BULJ3.js → conflict-VPAR7E6F.js} +2 -2
- package/dist/chunks/{contract-3PMHUASH.js → contract-DDXAO2DZ.js} +48 -5
- package/dist/chunks/{cowork-FZBTTBYX.js → cowork-34QCHMDD.js} +37 -8
- package/dist/chunks/{create-flow-5OBS3B3V.js → create-flow-52PU2OBI.js} +6 -6
- package/dist/chunks/{data-2YZ6A6TL.js → data-CLQ62QGD.js} +99 -184
- package/dist/chunks/{ebuilder-form-AWPTMZBZ.js → ebuilder-form-W5R7Q22S.js} +17 -7
- package/dist/chunks/{ehr-MNPR4TE5.js → ehr-LCNAVMK5.js} +67 -17
- package/dist/chunks/{entry-mode-L65OWPFM.js → entry-mode-6Z3ZV3DE.js} +3 -3
- package/dist/chunks/{env-XW7LYIME.js → env-RDKWAARB.js} +2 -2
- package/dist/chunks/{esb-GSB5QCEX.js → esb-ANKPUU65.js} +17 -7
- package/dist/chunks/{factory-MHFZZAGH.js → factory-434B7RAT.js} +1 -1
- package/dist/chunks/{fna-XBSNUS2V.js → fna-AKBSG5HI.js} +15 -5
- package/dist/chunks/{group-chat-EEOLO5NM.js → group-chat-PROTW22R.js} +3 -3
- package/dist/chunks/{host-NVDG3NC6.js → host-5R2SNFWD.js} +4 -4
- package/dist/chunks/{host-2UMNXX5H.js → host-7FJW4E7R.js} +4 -4
- package/dist/chunks/{host-XVWBOSEN.js → host-CGXUFQO4.js} +4 -4
- package/dist/chunks/{host-R7BP3CTI.js → host-PDJAKCT7.js} +6 -4
- package/dist/chunks/{host-SYPCA63D.js → host-WO4L5G5I.js} +4 -4
- package/dist/chunks/{host-BD44ASOD.js → host-XIYG4F4B.js} +4 -4
- package/dist/chunks/{hrm-FZUDJAND.js → hrm-WGODDTEH.js} +15 -6
- package/dist/chunks/{im-F5NENPD7.js → im-YKTKAJU3.js} +16 -6
- package/dist/chunks/{invoice-DS6FLU55.js → invoice-PVYCCCVM.js} +27 -6
- package/dist/chunks/{jiuchuanhui-JCBUR563.js → jiuchuanhui-RKOQW7BY.js} +19 -6
- package/dist/chunks/{lazy-dispatch-F6O2EPGR.js → lazy-dispatch-DW45AFQ5.js} +6 -6
- package/dist/chunks/{mail-ZEOSANEJ.js → mail-BNB5S4NW.js} +116 -97
- package/dist/chunks/{meeting-PCD5EPBF.js → meeting-O2KDJH66.js} +29 -16
- package/dist/chunks/{minute-doc-WTZJVCHG.js → minute-doc-JUCG56GY.js} +4 -4
- package/dist/chunks/{okr-OZUMTMCL.js → okr-LWFGWOE7.js} +15 -5
- package/dist/chunks/{operations-LQY3FTPH.js → operations-2WHIF5WV.js} +1 -1
- package/dist/chunks/{operations-UTUWFJTX.js → operations-532PN5OB.js} +5 -5
- package/dist/chunks/{performance-SMVTPK6T.js → performance-7W5COCFU.js} +92 -7
- package/dist/chunks/{plan-C2NENH42.js → plan-ZVY3IYTL.js} +15 -5
- package/dist/chunks/{project-FAJ2P3UR.js → project-SA62B7MH.js} +18 -5
- package/dist/chunks/{reception-NH6MJFPR.js → reception-NGIONPQ3.js} +128 -49
- package/dist/chunks/{recruit-stage-DPEFHLSE.js → recruit-stage-WOSN6MGP.js} +1264 -197
- package/dist/chunks/{registry-FTPUUHWC.js → registry-N7P3W2RD.js} +5 -5
- package/dist/chunks/{registry-3B3OAJYX.js → registry-R72GWXOG.js} +4 -4
- package/dist/chunks/{registry-ZQ7OONCB.js → registry-RIQ67ZT7.js} +12 -12
- package/dist/chunks/{room-recommend-73NBN3RU.js → room-recommend-KCGIVUFR.js} +4 -4
- package/dist/chunks/{schedule-SDBOBBUQ.js → schedule-6UP27HQ4.js} +4 -4
- package/dist/chunks/{smart-extract-GTYKF5TJ.js → smart-extract-DDOQSPRB.js} +19 -6
- package/dist/chunks/{workflow-OWHWLAOX.js → workflow-V5ALD6QZ.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 +42 -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/ehr/operations/recruit-position.js +4 -3
- package/dist/shortcuts/ehr/operations/recruit-short-cache.js +6 -2
- package/dist/shortcuts/ehr/operations/recruit-write.js +3 -3
- package/dist/shortcuts/ehr/operations/recruit.js +206 -82
- package/dist/shortcuts/ehr/operations/shared.js +31 -0
- package/dist/shortcuts/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/index.js +15 -1
- package/dist/shortcuts/jiuchuanhui/manifest.js +2 -0
- 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/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/constants.js +22 -0
- package/dist/shortcuts/reception/index.js +15 -2
- package/dist/shortcuts/reception/manifest.js +17 -3
- package/dist/shortcuts/reception/operations/ask.js +3 -0
- package/dist/shortcuts/reception/operations/doc.js +24 -11
- package/dist/shortcuts/reception/operations/docrender.js +18 -1
- package/dist/shortcuts/reception/operations/render-assets.js +93 -22
- package/dist/shortcuts/recruit-stage/context.js +12 -6
- package/dist/shortcuts/recruit-stage/index.js +22 -3
- package/dist/shortcuts/recruit-stage/manifest.js +2 -0
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +19 -10
- package/dist/shortcuts/recruit-stage/operations/jd-create.js +487 -38
- package/dist/shortcuts/recruit-stage/operations/list.js +72 -1
- package/dist/shortcuts/recruit-stage/operations/profile.js +194 -0
- package/dist/shortcuts/recruit-stage/operations/registry.js +20 -2
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +258 -63
- package/dist/shortcuts/recruit-stage/operations/search.js +226 -27
- package/dist/shortcuts/recruit-stage/operations/shortlist.js +122 -0
- package/dist/shortcuts/recruit-stage/operations/tag.js +17 -3
- package/dist/shortcuts/recruit-stage/shared.js +158 -4
- 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/form.js +36 -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/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 +6 -4
- package/skills/weaver-e10-jiuchuanhui/references/clue.md +2 -2
- package/skills/weaver-e10-jiuchuanhui/references/customer.md +18 -8
- package/skills/weaver-e10-jiuchuanhui/references/sale.md +2 -2
- package/skills/weaver-e10-jucailin/SKILL.md +7 -3
- package/skills/weaver-e10-jucailin/references/attend-write.md +1 -1
- package/skills/weaver-e10-jucailin/references/recruit-output-links.md +33 -0
- package/skills/weaver-e10-jucailin/references/recruit-write.md +2 -0
- package/skills/weaver-e10-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 +8 -6
- package/skills/weaver-e10-reception-flow/SKILL.md +97 -41
- package/skills/weaver-e10-reception-flow/references/guide.md +3 -1
- package/skills/weaver-e10-recruit-stage/SKILL.md +557 -75
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +67 -44
- package/skills/weaver-e10-recruit-stage/lib/interview-conflict.mjs +279 -0
- package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +198 -0
- package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +697 -0
- package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +507 -0
- package/skills/weaver-e10-recruit-stage/references/env-fixed-values.md +87 -0
- package/skills/weaver-e10-recruit-stage/references/position-templates.md +19 -18
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +19 -18
- package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-detail-process.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +15 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-failure-fallback.md +37 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +4 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +64 -28
- package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +43 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-maint.md +41 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +4 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-my-positions.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +25 -7
- package/skills/weaver-e10-recruit-stage/references/recruit-platform-compat.md +51 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +63 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +4 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +58 -33
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +4 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +5 -5
- package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +11 -10
- package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +2 -2
- package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +106 -0
- package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +325 -0
- package/skills/weaver-e10-recruit-stage/templates/match-report.html +265 -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-yimiaoban/references/source-manifest.json +3 -3
- package/skills/weaver-e10-jucailin/references/source-manifest.json +0 -152
|
@@ -29,7 +29,7 @@ weaver-work-cli auth whoami
|
|
|
29
29
|
- 业务命令失败,stderr JSON 中 `error.type === "authentication"`(如 `E10 auth not found`)
|
|
30
30
|
- 业务命令返回 `error.subtype === "session_expired"`(E10 登录态 401/302 失效)
|
|
31
31
|
|
|
32
|
-
CLI 的认证错误只是状态信号,不是登录命令。已有 XiaoE 会话达到换票结果的 `expiryTimes` 时,CLI 会在业务请求发出前静默换票;被接口判定过期时,公共请求层会根据持久化会话的 `agentType` / `loginSource` 自动恢复,不依赖 `XIAOE_*`、`--runtime-agent xiaoe`、shared Skill 或 Agent。业务命令无可读取的本地会话时,若当前 `XIAOE_*`、`--runtime-agent xiaoe` 等标记已识别为 XiaoE,公共会话加载层也会先静默获取登录信息。失败时返回 `xiaoe_credential_unavailable`,提示已尝试自动获取,Agent 只反馈并停止;不要再次登录或重跑。该错误的 `details` 会带 `attemptedSteps`(按序评估过的凭证通道及结果,如 `platform_token:missing`、`e10_session:failed`)、`lastError`(最后一条真实原因)与 `baseUrl`,另有 `failures` 记录每一次失败的阶段(`platform_token` / `bundled_env_script` / `token_script` / `client_session` / `teams_check` / `e10_session`)、类别(`network` / `http` / `credential`)以及网络错误的 `causeCode`(如 `ECONNREFUSED`、`ETIMEDOUT`)和 HTTP 的 `httpStatus`。完整请求只保存在 `auth logs` 对应日志的 `failure.request` 中,并由 `auth logs show` 渲染为 `requestParams`;业务错误的 stderr / `error.details.failures` 不包含 `request`。鉴权头固定显示 `<redacted>`,不得要求或输出明文 Token。需要过程日志时由用户在业务命令上加 `--verbose`。失败全程都是网络错误时,子类型改为 `xiaoe_network_unavailable`、`retryable: true`,文案为「暂时无法连接 E10
|
|
32
|
+
CLI 的认证错误只是状态信号,不是登录命令。已有 XiaoE 会话达到换票结果的 `expiryTimes` 时,CLI 会在业务请求发出前静默换票;被接口判定过期时,公共请求层会根据持久化会话的 `agentType` / `loginSource` 自动恢复,不依赖 `XIAOE_*`、`--runtime-agent xiaoe`、shared Skill 或 Agent。业务命令无可读取的本地会话时,若当前 `XIAOE_*`、`--runtime-agent xiaoe` 等标记已识别为 XiaoE,公共会话加载层也会先静默获取登录信息。失败时返回 `xiaoe_credential_unavailable`,提示已尝试自动获取,Agent 只反馈并停止;不要再次登录或重跑。该错误的 `details` 会带 `attemptedSteps`(按序评估过的凭证通道及结果,如 `platform_token:missing`、`e10_session:failed`)、`lastError`(最后一条真实原因)与 `baseUrl`,另有 `failures` 记录每一次失败的阶段(`platform_token` / `bundled_env_script` / `token_script` / `client_session` / `teams_check` / `e10_session`)、类别(`network` / `http` / `credential`)以及网络错误的 `causeCode`(如 `ECONNREFUSED`、`ETIMEDOUT`)和 HTTP 的 `httpStatus`。完整请求只保存在 `auth logs` 对应日志的 `failure.request` 中,并由 `auth logs show` 渲染为 `requestParams`;业务错误的 stderr / `error.details.failures` 不包含 `request`。鉴权头固定显示 `<redacted>`,不得要求或输出明文 Token。需要过程日志时由用户在业务命令上加 `--verbose`。失败全程都是网络错误时,子类型改为 `xiaoe_network_unavailable`、`retryable: true`,文案为「暂时无法连接 E10,请稍后重试」:这不是凭据问题,只提示稍后重试,不要让用户去重新登录。CLI 相关请求**默认校验证书**(系统信任链,或 `WEAVER_E10_CA_FILE` 指定的网关 CA)。出现证书错误(`SELF_SIGNED_CERT_IN_CHAIN`、`self-signed certificate in certificate chain`、`[SSL: CERTIFICATE_VERIFY_FAILED]`)时先判断来源:`xiaoe_tls_untrusted` 表示网关证书不在信任链里,按文案引导用户配置 `WEAVER_E10_CA_FILE`(Node 低于 22.15 用 `NODE_EXTRA_CA_CERTS`)后重试;错误来自技能自己起的脚本时,那部分不在 CLI 覆盖范围。任何情况下都不要引导重新登录或反复重试,也**不得自行改写环境变量**(`WEAVER_E10_TLS_INSECURE` / `NODE_TLS_REJECT_UNAUTHORIZED`)来绕过。需要在业务命令之前主动建立会话时,可按下述流程显式登录。
|
|
33
33
|
|
|
34
34
|
显式 `auth xiaoe` 或静默重新获取登录信息失败时,CLI 会把脱敏诊断持久化到固定的
|
|
35
35
|
XiaoE 认证错误日志;日志不包含 Cookie、ETEAMSID、Token 或原始服务端详情。需要排查时
|
|
@@ -77,7 +77,7 @@ XiaoE 认证错误日志;日志不包含 Cookie、ETEAMSID、Token 或原始
|
|
|
77
77
|
|
|
78
78
|
`auth login` 会在本机 `127.0.0.1:19800` 监听浏览器回调,最长等待 5 分钟。Agent 沙箱/托管环境中的外部浏览器无法回调容器内地址。`auth xiaoe` 不会进入这条浏览器流程。执行规则:
|
|
79
79
|
|
|
80
|
-
1. 任意系统运行 `auth xiaoe` 时,收到 `xiaoe_credential_unavailable` 即反馈并停止;不要自动改跑 `auth login`。收到 `xiaoe_network_unavailable` 同样是停止,但按「暂时无法连接 E10」反馈并建议稍后重试。收到 `xiaoe_tls_untrusted`
|
|
80
|
+
1. 任意系统运行 `auth xiaoe` 时,收到 `xiaoe_credential_unavailable` 即反馈并停止;不要自动改跑 `auth login`。收到 `xiaoe_network_unavailable` 同样是停止,但按「暂时无法连接 E10」反馈并建议稍后重试。收到 `xiaoe_tls_untrusted` 也是停止:说明网关 CA 不在当前信任链里(默认就校验证书),按文案引导配置 `WEAVER_E10_CA_FILE` 后由用户重试,不引导重新登录。
|
|
81
81
|
2. 仅非 XiaoE 环境在用户确认真实 E10 域名且确认 CLI 与浏览器同机后执行 `auth login`;仍须限时等待,超时未完成即终止并反馈。
|
|
82
82
|
3. 仅非 XiaoE 环境在用户无法完成浏览器登录、且明确要求并同意人工录入时,才可使用保底方式 `weaver-work-cli auth set --eteamsid "<ETEAMSID>" --base-url "<用户确认的登录域名>"`;它不是业务认证错误的默认恢复路径。ETEAMSID 由用户从已登录浏览器主动提供,Agent 不得索取、展示或转述该值。
|
|
83
83
|
4. 严禁不加限制地前台运行 `auth xiaoe` / `auth login` 并等待 OAuth 回调。
|
|
@@ -2273,7 +2273,7 @@
|
|
|
2273
2273
|
}
|
|
2274
2274
|
},
|
|
2275
2275
|
"artifactBaseline": {
|
|
2276
|
-
"aggregateSha256": "
|
|
2276
|
+
"aggregateSha256": "e4ed68beb3a8a553e78328be3731b891764ebfe45d08776f2f64fbd3dd8320a8",
|
|
2277
2277
|
"files": [
|
|
2278
2278
|
{
|
|
2279
2279
|
"path": "docs/im.md",
|
|
@@ -2391,8 +2391,8 @@
|
|
|
2391
2391
|
{
|
|
2392
2392
|
"path": "src/shortcuts/im/index.ts",
|
|
2393
2393
|
"role": "generated-cli",
|
|
2394
|
-
"size":
|
|
2395
|
-
"sha256": "
|
|
2394
|
+
"size": 19791,
|
|
2395
|
+
"sha256": "10e62421981c830a57202d4f3a06cf97a08a30e7845354ec81fa3f29e173ec42"
|
|
2396
2396
|
},
|
|
2397
2397
|
{
|
|
2398
2398
|
"path": "src/shortcuts/im/manifest.ts",
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"skill": "weaver-e10-jucailin",
|
|
4
|
-
"generatedFrom": {
|
|
5
|
-
"sourceSkill": "weaver-e10-jucailin",
|
|
6
|
-
"version": "1.0.19",
|
|
7
|
-
"path": "business-apis/ehr",
|
|
8
|
-
"kind": "workbuddy-document-skill"
|
|
9
|
-
},
|
|
10
|
-
"generatedAt": "2026-09-11",
|
|
11
|
-
"scope": {
|
|
12
|
-
"included": [
|
|
13
|
-
"hr",
|
|
14
|
-
"salary",
|
|
15
|
-
"attend",
|
|
16
|
-
"recruit"
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
"sourceFiles": [
|
|
20
|
-
"references/attend-abnormal-get-list.md",
|
|
21
|
-
"references/attend-appeal-get-calendar-detail.md",
|
|
22
|
-
"references/attend-appeal-get-formid.md",
|
|
23
|
-
"references/attend-appeal-get-list.md",
|
|
24
|
-
"references/attend-appeal-save.md",
|
|
25
|
-
"references/attend-appeal-update-result.md",
|
|
26
|
-
"references/attend-card-check-pc.md",
|
|
27
|
-
"references/attend-card-sign-mobile.md",
|
|
28
|
-
"references/attend-catalog.md",
|
|
29
|
-
"references/attend-leavestatis-get-report.md",
|
|
30
|
-
"references/attend-module.md",
|
|
31
|
-
"references/attend-orbit-query-list.md",
|
|
32
|
-
"references/attend-report-get-summary.md",
|
|
33
|
-
"references/attend-report-recalc-status.md",
|
|
34
|
-
"references/attend-signrecord-get-list.md",
|
|
35
|
-
"references/attend-summary-get-statistics.md",
|
|
36
|
-
"references/attend-worktime-get-list.md",
|
|
37
|
-
"references/hr-all-catalog.md",
|
|
38
|
-
"references/hr-all-module.md",
|
|
39
|
-
"references/hr-birthday-search-conditions.md",
|
|
40
|
-
"references/hr-birthday-search-table.md",
|
|
41
|
-
"references/hr-browser-complete.md",
|
|
42
|
-
"references/hr-contact-col-list.md",
|
|
43
|
-
"references/hr-contact-search-conditions.md",
|
|
44
|
-
"references/hr-contact-search-count.md",
|
|
45
|
-
"references/hr-contact-search-table.md",
|
|
46
|
-
"references/hr-empchange-browser-complete.md",
|
|
47
|
-
"references/hr-empchange-search-conditions.md",
|
|
48
|
-
"references/hr-empchange-search-table.md",
|
|
49
|
-
"references/hr-employee-timepoint-ds-fields.md",
|
|
50
|
-
"references/hr-employee-timepoint-tp-getcountdata.md",
|
|
51
|
-
"references/hr-employee-timepoint-tp-getlistdata.md",
|
|
52
|
-
"references/hr-est-queries-ds-fields.md",
|
|
53
|
-
"references/hr-est-queries-ds-getcountdata.md",
|
|
54
|
-
"references/hr-est-queries-ds-getlistdata.md",
|
|
55
|
-
"references/hr-est-queries-est-dc-emp-table.md",
|
|
56
|
-
"references/hr-est-queries-est-emp-table.md",
|
|
57
|
-
"references/hr-report-basic-ds-fields.md",
|
|
58
|
-
"references/hr-report-basic-ds-getchartdata.md",
|
|
59
|
-
"references/hr-report-basic-permissiontype.md",
|
|
60
|
-
"references/hr-report-change-depttable.md",
|
|
61
|
-
"references/hr-report-change-ds-fields.md",
|
|
62
|
-
"references/hr-report-change-ds-getlistdata.md",
|
|
63
|
-
"references/hr-report-change-permissiontype.md",
|
|
64
|
-
"references/hr-report-dept-panel-depttable.md",
|
|
65
|
-
"references/hr-report-dept-panel-ds-fields.md",
|
|
66
|
-
"references/hr-report-dept-panel-ds-getlistdata.md",
|
|
67
|
-
"references/hr-report-dept-panel-permissiontype.md",
|
|
68
|
-
"references/hr-report-dismiss-ds-fields.md",
|
|
69
|
-
"references/hr-report-dismiss-ds-getcountdata.md",
|
|
70
|
-
"references/hr-report-dismiss-ds-getlistdata.md",
|
|
71
|
-
"references/hr-report-hw-ds-fields.md",
|
|
72
|
-
"references/hr-report-hw-hw-getcountdata.md",
|
|
73
|
-
"references/hr-report-hw-hw-getlistdata.md",
|
|
74
|
-
"references/hr-report-job-panel-ds-fields.md",
|
|
75
|
-
"references/hr-report-job-panel-ds-getlistdata.md",
|
|
76
|
-
"references/hr-report-job-panel-jobtable.md",
|
|
77
|
-
"references/hr-report-job-panel-jobtypetable.md",
|
|
78
|
-
"references/hr-report-job-panel-permissiontype.md",
|
|
79
|
-
"references/hr-report-posi-panel-ds-fields.md",
|
|
80
|
-
"references/hr-report-posi-panel-ds-getlistdata.md",
|
|
81
|
-
"references/hr-report-posi-panel-permissiontype.md",
|
|
82
|
-
"references/hr-report-posi-panel-positable.md",
|
|
83
|
-
"references/hr-report-turn-ds-fields.md",
|
|
84
|
-
"references/hr-report-turn-ds-getcountdata.md",
|
|
85
|
-
"references/hr-report-turn-ds-getlistdata.md",
|
|
86
|
-
"references/hr-report-turn-tp-emptable.md",
|
|
87
|
-
"references/hr-report-v2-dept-emp-move-ds-fields.md",
|
|
88
|
-
"references/hr-report-v2-dept-emp-move-ds-getcountdata.md",
|
|
89
|
-
"references/hr-report-v2-dept-emp-move-ds-getlistdata.md",
|
|
90
|
-
"references/hr-report-v2-dept-emp-move-tp-emptable.md",
|
|
91
|
-
"references/hr-report-v2-dept-emp-props-sa.md",
|
|
92
|
-
"references/hr-report-v2-dept-emp-props-table.md",
|
|
93
|
-
"references/hrmsalary-catalog.md",
|
|
94
|
-
"references/hrmsalary-module.md",
|
|
95
|
-
"references/recruit-arrange-interview.md",
|
|
96
|
-
"references/recruit-capability-check.md",
|
|
97
|
-
"references/recruit-catalog.md",
|
|
98
|
-
"references/recruit-check-install.md",
|
|
99
|
-
"references/recruit-data-dictionary.md",
|
|
100
|
-
"references/recruit-detail-action-buttons.md",
|
|
101
|
-
"references/recruit-detail-base-info.md",
|
|
102
|
-
"references/recruit-detail-batch-prepare.md",
|
|
103
|
-
"references/recruit-detail-history-batch.md",
|
|
104
|
-
"references/recruit-detail-interview.md",
|
|
105
|
-
"references/recruit-detail-other-info.md",
|
|
106
|
-
"references/recruit-detail-permission-check.md",
|
|
107
|
-
"references/recruit-detail-process.md",
|
|
108
|
-
"references/recruit-detail-remark.md",
|
|
109
|
-
"references/recruit-edit-interview-feedback.md",
|
|
110
|
-
"references/recruit-entry-cancel.md",
|
|
111
|
-
"references/recruit-entry-list.md",
|
|
112
|
-
"references/recruit-entry-onboard.md",
|
|
113
|
-
"references/recruit-form-tag-map.md",
|
|
114
|
-
"references/recruit-list-demand.md",
|
|
115
|
-
"references/recruit-list-offer.md",
|
|
116
|
-
"references/recruit-list-position.md",
|
|
117
|
-
"references/recruit-module.md",
|
|
118
|
-
"references/recruit-new-candidate.md",
|
|
119
|
-
"references/recruit-resolve-creator.md",
|
|
120
|
-
"references/recruit-resolve-employee.md",
|
|
121
|
-
"references/recruit-resolve-metadata.md",
|
|
122
|
-
"references/recruit-resume-parse.md",
|
|
123
|
-
"references/recruit-search-candidate.md",
|
|
124
|
-
"references/recruit-send-offer.md",
|
|
125
|
-
"references/recruit-stats.md",
|
|
126
|
-
"references/recruit-urge-feedback.md",
|
|
127
|
-
"references/salary-bill-detail-my-salary-bill.md",
|
|
128
|
-
"references/salary-bill-list-my-salary-bills.md",
|
|
129
|
-
"references/salary-report-adjustment-record-list.md",
|
|
130
|
-
"references/salary-report-employee-salary-list.md",
|
|
131
|
-
"references/salary-report-welfare-list.md",
|
|
132
|
-
"references/salary-siaccount-detail-query.md",
|
|
133
|
-
"scripts/_init_env_cache.mjs",
|
|
134
|
-
"scripts/e10-request.mjs",
|
|
135
|
-
"scripts/recruit-arrange-interview.mjs",
|
|
136
|
-
"scripts/recruit-cancel-change-entry.mjs",
|
|
137
|
-
"scripts/recruit-detail.mjs",
|
|
138
|
-
"scripts/recruit-edit-interview-feedback.mjs",
|
|
139
|
-
"scripts/recruit-list.mjs",
|
|
140
|
-
"scripts/recruit-new-candidate.mjs",
|
|
141
|
-
"scripts/recruit-process-entry.mjs",
|
|
142
|
-
"scripts/recruit-search.mjs",
|
|
143
|
-
"scripts/recruit-send-offer.mjs",
|
|
144
|
-
"scripts/recruit-stats.mjs",
|
|
145
|
-
"scripts/recruit-urge-feedback.mjs",
|
|
146
|
-
"scripts/write-op.mjs",
|
|
147
|
-
"SKILL.md"
|
|
148
|
-
],
|
|
149
|
-
"fingerprintAlgorithm": "sha256",
|
|
150
|
-
"fingerprints": {},
|
|
151
|
-
"note": "fingerprints 在首次生成时留空;源资料更新检测会按文件路径计算 sha256 并与此处比对。源资料更新后,同步更新 CLI 与 Skill,且在用户确认前不要覆盖已有产物。sourceFiles 仅登记随技能交付的源资料(SKILL.md + references/*.md + scripts/*.mjs);源码根下的治理与构建文件(GOVERNANCE.md、build_release.*、audit_spec_compliance.py 等)不参与交付,故不纳入基线。四个业务模块(hr/salary/attend/recruit)均已在 CLI 侧实现。"
|
|
152
|
-
}
|