weaver-work-cli 0.1.71 → 0.1.75
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 +37 -1
- package/dist/chunks/{archive-5P33NAUN.js → archive-OZJ6PYUR.js} +14 -9
- package/dist/chunks/{archive-oa-YTY5D7DG.js → archive-oa-BHL5RK2F.js} +10 -7
- package/dist/chunks/{asset-3Q5MFQBX.js → asset-HKRFRQR2.js} +10 -7
- package/dist/chunks/{asset-idle-PQPNYIS7.js → asset-idle-GGIR4KE7.js} +7 -4
- package/dist/chunks/{attachment-content-7CN7JB6B.js → attachment-content-4OV65NK5.js} +3 -3
- package/dist/chunks/{blog-MFHHK6ZR.js → blog-HYDP4DV3.js} +10 -7
- package/dist/chunks/{caizhilian-OZ435AYW.js → caizhilian-JS4RQZ6Z.js} +10 -7
- package/dist/chunks/{calendar-TNJXS5UC.js → calendar-SWRY4DIT.js} +10 -7
- package/dist/chunks/chunk-257JXJGD.js +30 -0
- package/dist/chunks/{chunk-FRMDHZSN.js → chunk-2AUFKU2D.js} +11 -11
- package/dist/chunks/chunk-2BZ7TY4M.js +49 -0
- package/dist/chunks/{chunk-WM33BSIL.js → chunk-2QCCXPNU.js} +1 -1
- package/dist/chunks/{chunk-X2C5CGGM.js → chunk-4FCBEWNB.js} +74 -68
- package/dist/chunks/{chunk-YN5SD4TX.js → chunk-5D2V7ZAN.js} +2 -2
- package/dist/chunks/{chunk-UPVAQJKS.js → chunk-5QUTQHXF.js} +282 -158
- package/dist/chunks/{chunk-SKWKCLJX.js → chunk-5ZJGPEIB.js} +2 -2
- package/dist/chunks/chunk-7DE3VMZD.js +35 -0
- package/dist/chunks/chunk-BNKUHN4N.js +1346 -0
- package/dist/chunks/{chunk-VMVMEIL3.js → chunk-BSR5TM7U.js} +4 -4
- package/dist/chunks/{chunk-EJLP63UO.js → chunk-ERZY6GYL.js} +7 -3
- package/dist/chunks/{chunk-OFCF23FY.js → chunk-FEZK536Z.js} +25 -9
- package/dist/chunks/{chunk-Q3EXRNB4.js → chunk-I6NOHKEK.js} +1 -1
- package/dist/chunks/{chunk-OZ7CJC7W.js → chunk-J7FAAHWH.js} +2 -2
- package/dist/chunks/{chunk-6MMSLE6K.js → chunk-JJONWB5N.js} +16 -2
- package/dist/chunks/chunk-JOY3HZXL.js +467 -0
- package/dist/chunks/{chunk-2DNCKZRX.js → chunk-JWF2R6EQ.js} +0 -462
- package/dist/chunks/{chunk-ICNUOWLL.js → chunk-KEA4XQPO.js} +4 -4
- package/dist/chunks/chunk-KINXYJXM.js +205 -0
- package/dist/chunks/{chunk-VJWVB55R.js → chunk-KWJEICD4.js} +2 -2
- package/dist/chunks/{chunk-P3AFNAJ6.js → chunk-LJI4N6FV.js} +1 -1
- package/dist/chunks/{chunk-DRJYPXKC.js → chunk-MXCRKXOP.js} +48 -6
- package/dist/chunks/{chunk-OPTJ6IF7.js → chunk-NWYHCZTY.js} +1 -1
- package/dist/chunks/chunk-OJ4JPD25.js +428 -0
- package/dist/chunks/{chunk-B4NINGP2.js → chunk-OQCK5SAU.js} +2 -2
- package/dist/chunks/chunk-PG5YSNYY.js +1166 -0
- package/dist/chunks/{chunk-LU2SPJYY.js → chunk-QJWVYOOV.js} +2 -2
- package/dist/chunks/{chunk-SUWR5QEG.js → chunk-QVKRNL7L.js} +287 -305
- package/dist/chunks/chunk-SU6IJD6D.js +49 -0
- package/dist/chunks/{chunk-MD5RXRI3.js → chunk-TA2RBUTH.js} +2 -2
- package/dist/chunks/{chunk-SSS75WXW.js → chunk-U6Y32KEV.js} +2 -2
- package/dist/chunks/chunk-UUJK76HV.js +209 -0
- package/dist/chunks/{chunk-GB2MCJPG.js → chunk-VOMDD2C5.js} +1 -1
- package/dist/chunks/chunk-Y3C6MDL7.js +28 -0
- package/dist/chunks/chunk-ZM7RN2IM.js +38 -0
- package/dist/chunks/{chunk-G7ZM2VOX.js → chunk-ZUB4M4N3.js} +38 -36
- package/dist/chunks/{chunk-XLSJC6JZ.js → chunk-ZWIMLT6P.js} +8 -7
- package/dist/chunks/cli-FULPXIKJ.js +226 -0
- package/dist/chunks/commands-BNWFNTD3.js +70 -0
- package/dist/chunks/{conflict-Y4PXZ2YQ.js → conflict-5BKCDV2F.js} +2 -2
- package/dist/chunks/{contract-C3BGUMBM.js → contract-WI23OXVC.js} +12446 -5964
- package/dist/chunks/{cowork-2AWG4QLA.js → cowork-DZBBVNMQ.js} +11 -8
- package/dist/chunks/{create-flow-LOUOK46Z.js → create-flow-7ZRBRKX7.js} +6 -6
- package/dist/chunks/{data-BSFYMXVO.js → data-PAZVE6QE.js} +6 -3
- package/dist/chunks/{ebuilder-form-LAAMTD2Y.js → ebuilder-form-5SQXIGXN.js} +9 -6
- package/dist/chunks/{ehr-36KEX5SH.js → ehr-CX5F4ZAU.js} +27 -19
- package/dist/chunks/{entry-mode-6N2IGCS4.js → entry-mode-I2BYNONZ.js} +3 -3
- package/dist/chunks/{env-QYLS3EB3.js → env-ZAQZ7EHN.js} +2 -2
- package/dist/chunks/{esb-PTYS3E67.js → esb-DQTXDIBF.js} +10 -7
- package/dist/chunks/{factory-LPFPKZ4T.js → factory-XRI6KZ7H.js} +1 -1
- package/dist/chunks/{fna-JNHCLRDE.js → fna-FK6HQVJL.js} +13 -8
- package/dist/chunks/{group-chat-QP2WX4QJ.js → group-chat-MLWNYM2P.js} +3 -3
- package/dist/chunks/{host-C2BLBIID.js → host-3EPREGXS.js} +6 -3
- package/dist/chunks/{host-QXFKQXNX.js → host-J74JGYAW.js} +6 -3
- package/dist/chunks/{host-57LSRSE7.js → host-KUMU3DDK.js} +6 -3
- package/dist/chunks/{host-7BVR7CQ3.js → host-MEC4VQZA.js} +6 -3
- package/dist/chunks/{host-NS36QFLR.js → host-T6NNQGVZ.js} +6 -3
- package/dist/chunks/{host-K2ZKNXME.js → host-VI7Q45PM.js} +6 -3
- package/dist/chunks/{hrm-FSGO4NSH.js → hrm-KKVAW4P5.js} +8 -5
- package/dist/chunks/{im-2BFGS2XO.js → im-47CIWQNL.js} +7 -4
- package/dist/chunks/{invoice-JKLTTHSZ.js → invoice-CDYRBNIG.js} +21 -16
- package/dist/chunks/{jiuchuanhui-PTABJE7V.js → jiuchuanhui-M7QTRHZK.js} +17 -10
- package/dist/chunks/{lazy-dispatch-YN2ZP3CS.js → lazy-dispatch-FKQJZFI5.js} +22 -8
- package/dist/chunks/{mail-YNO7ZZUK.js → mail-NRBS5N6Y.js} +11 -8
- package/dist/chunks/{meeting-NIDHDBCB.js → meeting-WC5LD3IO.js} +22 -18
- package/dist/chunks/{minute-doc-G3QAT7DE.js → minute-doc-OQUMDTKG.js} +4 -4
- package/dist/chunks/{okr-QC52G6AJ.js → okr-EHKSKMPL.js} +10 -7
- package/dist/chunks/{operations-MQV32ITT.js → operations-V5VM5MS2.js} +7 -4
- package/dist/chunks/{performance-3MQ3AHDQ.js → performance-ZJADXJPN.js} +6 -3
- package/dist/chunks/{plan-ISINIEPY.js → plan-OTDNBDJ7.js} +10 -7
- package/dist/chunks/{project-IJ6DVKT7.js → project-4XVBQ3HX.js} +10 -7
- package/dist/chunks/{reception-3H5LUG2I.js → reception-3FAHOOH7.js} +118 -45
- package/dist/chunks/{recruit-stage-MIOJXP6W.js → recruit-stage-3WTVWW2K.js} +1056 -191
- package/dist/chunks/register-SQOPIR2G.js +16 -0
- package/dist/chunks/{registry-3S7AVMXR.js → registry-F4YFZLOD.js} +7 -3
- package/dist/chunks/registry-NBTBXR4L.js +30 -0
- package/dist/chunks/{registry-NHHKOEU3.js → registry-TJGCVRCW.js} +7 -4
- package/dist/chunks/{room-recommend-IOKBJVYP.js → room-recommend-KL62XB2Y.js} +4 -4
- package/dist/chunks/root-YZG2TS5W.js +16 -0
- package/dist/chunks/{schedule-IB6EUARH.js → schedule-XOISYUPB.js} +4 -4
- package/dist/chunks/{smart-extract-N2TK3CEF.js → smart-extract-UYGNV3BM.js} +15 -7
- package/dist/chunks/update-AV5VOXGY.js +13 -0
- package/dist/chunks/{workflow-RINBAL2M.js → workflow-V54LJPXL.js} +15 -10
- package/dist/cli.js +40 -0
- package/dist/cmd/action.js +3 -1
- package/dist/cmd/doctor/index.js +1 -1
- package/dist/cmd/e10/index.js +1 -1
- package/dist/cmd/identity/index.js +5 -8
- package/dist/cmd/index.js +2 -0
- package/dist/cmd/setup/index.js +1 -1
- package/dist/cmd/update/index.js +38 -0
- package/dist/core/manifest-view.js +1 -1
- package/dist/core/output.js +12 -1
- package/dist/core/runtime-agent.js +13 -0
- package/dist/core/update-notice.js +23 -0
- package/dist/index.js +105 -198
- package/dist/internal/e10/auth/agent-host-key.js +16 -0
- package/dist/internal/e10/auth/agent-hosts.js +45 -9
- package/dist/internal/e10/auth/commands.js +66 -36
- package/dist/internal/e10/auth/session.js +30 -15
- package/dist/internal/e10/auth/xiaoe.js +4 -20
- package/dist/internal/e10/auth-recovery.js +44 -4
- package/dist/internal/e10/context.js +5 -2
- package/dist/internal/update/bootstrap.js +96 -0
- package/dist/internal/update/npm.js +78 -0
- package/dist/internal/update/service.js +252 -0
- package/dist/internal/update/store.js +135 -0
- package/dist/shortcuts/archive/index.js +2 -2
- package/dist/shortcuts/archive/manifest.js +1 -0
- package/dist/shortcuts/archive/operations/search.js +3 -1
- package/dist/shortcuts/archive-oa/index.js +1 -1
- package/dist/shortcuts/asset/index.js +1 -1
- package/dist/shortcuts/asset-idle/index.js +1 -1
- package/dist/shortcuts/blog/index.js +1 -1
- package/dist/shortcuts/caizhilian/index.js +1 -1
- package/dist/shortcuts/calendar/index.js +1 -1
- package/dist/shortcuts/contract/data/bi-config.js +156 -0
- package/dist/shortcuts/contract/data/collection-ledger-html.js +189 -0
- package/dist/shortcuts/contract/data/collection-node-catalog.js +226 -0
- package/dist/shortcuts/contract/data/metric-catalog.js +154 -20
- package/dist/shortcuts/contract/data/report-renderers.js +414 -0
- package/dist/shortcuts/contract/data/report-spec.js +132 -0
- package/dist/shortcuts/contract/error-actions.js +114 -0
- package/dist/shortcuts/contract/host.js +12 -3
- package/dist/shortcuts/contract/index.js +17 -1
- package/dist/shortcuts/contract/manifest.js +398 -3
- package/dist/shortcuts/contract/ooxml/docx-table.js +48 -0
- package/dist/shortcuts/contract/operations/bi-preview.js +131 -0
- package/dist/shortcuts/contract/operations/bizreview-report.js +496 -0
- package/dist/shortcuts/contract/operations/collection-node.js +229 -0
- package/dist/shortcuts/contract/operations/docx-slots.js +735 -16
- package/dist/shortcuts/contract/operations/draft-build.js +940 -0
- package/dist/shortcuts/contract/operations/draft-submit.js +229 -0
- package/dist/shortcuts/contract/operations/first-screen.js +3 -2
- package/dist/shortcuts/contract/operations/generated-submit.js +175 -0
- package/dist/shortcuts/contract/operations/ledger-report.js +233 -0
- package/dist/shortcuts/contract/operations/ledger-stat.js +1400 -0
- package/dist/shortcuts/contract/operations/ledger.js +4 -1
- package/dist/shortcuts/contract/operations/metrics.js +9 -3
- package/dist/shortcuts/contract/operations/ops-draft.js +527 -0
- package/dist/shortcuts/contract/operations/page.js +9 -0
- package/dist/shortcuts/contract/operations/quote-submit.js +55 -229
- package/dist/shortcuts/contract/operations/registry.js +20 -0
- package/dist/shortcuts/contract/operations/sign-launch.js +256 -0
- package/dist/shortcuts/contract/operations/viewlink.js +334 -0
- package/dist/shortcuts/cowork/index.js +2 -2
- package/dist/shortcuts/ebuilder-form/index.js +1 -1
- package/dist/shortcuts/ehr/index.js +2 -2
- package/dist/shortcuts/ehr/manifest.js +1 -1
- package/dist/shortcuts/ehr/operations/recruit-position.js +11 -5
- package/dist/shortcuts/ehr/operations/recruit-short-cache.js +6 -2
- package/dist/shortcuts/ehr/operations/recruit-write.js +10 -9
- package/dist/shortcuts/ehr/operations/recruit.js +390 -196
- package/dist/shortcuts/ehr/operations/shared.js +51 -0
- package/dist/shortcuts/esb/index.js +1 -1
- package/dist/shortcuts/fna/index.js +1 -1
- package/dist/shortcuts/fna/manifest.js +1 -0
- package/dist/shortcuts/fna/operations/expense-chart.js +3 -1
- package/dist/shortcuts/hrm/index.js +1 -1
- package/dist/shortcuts/invoice/index.js +1 -1
- package/dist/shortcuts/jiuchuanhui/index.js +2 -2
- package/dist/shortcuts/jiuchuanhui/manifest.js +3 -0
- package/dist/shortcuts/mail/index.js +2 -2
- package/dist/shortcuts/meeting/index.js +1 -1
- package/dist/shortcuts/meeting/manifest.js +1 -0
- package/dist/shortcuts/meeting/operations/eb/catalog.js +5 -3
- package/dist/shortcuts/meeting/operations/eb/conflict.js +3 -1
- package/dist/shortcuts/meeting/operations/eb/create-flow.js +10 -9
- package/dist/shortcuts/meeting/operations/eb/factory.js +2 -0
- package/dist/shortcuts/meeting/operations/eb/member-expand.js +3 -2
- package/dist/shortcuts/meeting/operations/invitation-publish.js +3 -3
- package/dist/shortcuts/meeting/operations/invitation.js +4 -4
- package/dist/shortcuts/meeting/operations/link.js +3 -1
- package/dist/shortcuts/okr/index.js +1 -1
- package/dist/shortcuts/performance/index.js +1 -1
- package/dist/shortcuts/plan/index.js +1 -1
- package/dist/shortcuts/project/index.js +1 -1
- package/dist/shortcuts/reception/constants.js +22 -0
- package/dist/shortcuts/reception/index.js +4 -0
- package/dist/shortcuts/reception/manifest.js +16 -2
- 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 +22 -8
- package/dist/shortcuts/recruit-stage/index.js +16 -3
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +20 -11
- package/dist/shortcuts/recruit-stage/operations/interview-feedback.js +1 -1
- package/dist/shortcuts/recruit-stage/operations/jd-create.js +467 -26
- package/dist/shortcuts/recruit-stage/operations/list.js +73 -2
- package/dist/shortcuts/recruit-stage/operations/profile.js +13 -5
- package/dist/shortcuts/recruit-stage/operations/registry.js +18 -2
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +363 -54
- package/dist/shortcuts/recruit-stage/operations/search.js +80 -16
- package/dist/shortcuts/recruit-stage/operations/shortlist.js +124 -0
- package/dist/shortcuts/recruit-stage/shared.js +174 -56
- package/dist/shortcuts/smart-extract/manifest.js +1 -0
- package/dist/shortcuts/smart-extract/operations/fill.js +7 -2
- package/dist/shortcuts/smart-extract/operations/validate.js +4 -1
- package/dist/shortcuts/workflow/index.js +2 -2
- package/dist/shortcuts/workflow/manifest.js +1 -0
- package/dist/shortcuts/workflow/operations/aiDeepRead/render.js +4 -1
- package/dist/shortcuts/workflow/operations/deepRead.js +23 -2
- package/dist/shortcuts/workflow/operations/form.js +44 -4
- package/docs/contract.md +6 -1
- package/docs/e10-auth.md +25 -7
- package/docs/operation-manual.md +15 -0
- package/package.json +2 -2
- package/scripts/pysite/__pycache__/sitecustomize.cpython-314.pyc +0 -0
- package/skill-template/business-info.json +28 -0
- package/skill-template/domains/jinchengda.md +13 -1
- package/skills/weaver-e10-archive-oa/references/source-manifest.json +3 -3
- package/skills/weaver-e10-caizhilian/references/auth-and-install.md +2 -1
- package/skills/weaver-e10-caizhilian/references/source-manifest.json +3 -3
- package/skills/weaver-e10-esb/references/source-manifest.json +3 -3
- package/skills/weaver-e10-jinchengda/SKILL.md +90 -32
- package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +45 -0
- package/skills/weaver-e10-jinchengda/references/contract-bizreview-report-template.html +68 -0
- package/skills/weaver-e10-jinchengda/references/contract-bizreview.md +216 -0
- package/skills/weaver-e10-jinchengda/references/contract-clause-negotiate.md +215 -0
- package/skills/weaver-e10-jinchengda/references/contract-collection-node.md +113 -0
- package/skills/weaver-e10-jinchengda/references/contract-command-index.md +19 -3
- package/skills/weaver-e10-jinchengda/references/contract-decisions.md +114 -0
- package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +53 -44
- package/skills/weaver-e10-jinchengda/references/contract-element-extract.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-firstscreen-guide.md +200 -0
- package/skills/weaver-e10-jinchengda/references/contract-ledger-catalog.md +18 -1
- package/skills/weaver-e10-jinchengda/references/contract-ledger-query-playbook.md +138 -3
- package/skills/weaver-e10-jinchengda/references/contract-ledger-report.md +158 -0
- package/skills/weaver-e10-jinchengda/references/contract-ledger-rules.md +3 -1
- package/skills/weaver-e10-jinchengda/references/contract-material-gap.md +139 -0
- package/skills/weaver-e10-jinchengda/references/contract-object-detect.md +2 -2
- package/skills/weaver-e10-jinchengda/references/contract-open-web-pages.md +10 -3
- package/skills/weaver-e10-jinchengda/references/contract-ops-draft.md +106 -0
- package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +176 -56
- package/skills/weaver-e10-jinchengda/references/contract-sign-launch.md +123 -0
- package/skills/weaver-e10-jinchengda/references/contract-smart-draft.md +410 -0
- package/skills/weaver-e10-jinchengda/references/contract-template-recommend.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-viewlink.md +110 -0
- package/skills/weaver-e10-jinchengda/references/orchestration.md +38 -24
- package/skills/weaver-e10-jucailin/SKILL.md +7 -3
- package/skills/weaver-e10-jucailin/references/recruit-output-links.md +33 -0
- package/skills/weaver-e10-jucailin/references/recruit-write.md +2 -0
- package/skills/weaver-e10-meeting/SKILL.md +13 -0
- package/skills/weaver-e10-okr/SKILL.md +11 -0
- package/skills/weaver-e10-okr/references/source-manifest.json +7 -6
- package/skills/weaver-e10-performance/SKILL.md +131 -39
- package/skills/weaver-e10-performance/agents/openai.yaml +48 -17
- package/skills/weaver-e10-performance/references/default-assembly.md +3 -0
- package/skills/weaver-e10-performance/references/extraction-guide.md +17 -3
- package/skills/weaver-e10-performance/references/flow-assess.md +38 -5
- package/skills/weaver-e10-performance/references/scheme-setting-page.md +20 -3
- package/skills/weaver-e10-performance/scripts/assemble_scheme.py +461 -0
- package/skills/weaver-e10-performance/scripts/parse_appraisal_doc.py +41 -0
- package/skills/weaver-e10-plan/SKILL.md +10 -0
- package/skills/weaver-e10-plan/references/source-manifest.json +13 -13
- package/skills/weaver-e10-qiyecheng/SKILL.md +2 -2
- package/skills/weaver-e10-qiyecheng/references/source-manifest.json +9 -9
- 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 +533 -137
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +103 -62
- package/skills/weaver-e10-recruit-stage/lib/interview-conflict.mjs +282 -0
- package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +331 -0
- package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +865 -0
- package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +162 -11
- package/skills/weaver-e10-recruit-stage/lib/recruit-xiaoe-file.mjs +15 -1
- package/skills/weaver-e10-recruit-stage/lib/report-attachment.mjs +38 -0
- package/skills/weaver-e10-recruit-stage/lib/xiaoe-session.mjs +5 -1
- package/skills/weaver-e10-recruit-stage/references/env-fixed-values.md +6 -2
- package/skills/weaver-e10-recruit-stage/references/env-ziyong.md +4 -0
- package/skills/weaver-e10-recruit-stage/references/position-templates.md +26 -21
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +33 -27
- package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +11 -7
- package/skills/weaver-e10-recruit-stage/references/recruit-check-install.md +5 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-detail-process.md +5 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +22 -5
- package/skills/weaver-e10-recruit-stage/references/recruit-failure-fallback.md +42 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +11 -7
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +87 -50
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-template.md +4 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-list-candidate.md +4 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +48 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-maint.md +45 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +17 -11
- package/skills/weaver-e10-recruit-stage/references/recruit-my-positions.md +8 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +162 -31
- package/skills/weaver-e10-recruit-stage/references/recruit-platform-compat.md +55 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +75 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resolve-creator.md +4 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +12 -8
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +8 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +80 -46
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +11 -7
- package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +12 -8
- package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +10 -6
- package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +15 -11
- package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +7 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +7 -3
- package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +119 -0
- package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +322 -0
- package/skills/weaver-e10-recruit-stage/templates/match-report.html +166 -76
- package/skills/weaver-e10-shared/SKILL.md +40 -5
- package/skills/weaver-e10-shared/references/e10-auth-and-session.md +11 -1
- package/skills/weaver-e10-shared/references/json-output-contract.md +144 -8
- package/skills/weaver-e10-shared/references/weaver-e10-installation.md +11 -0
- package/skills/weaver-e10-shijingran/references/source-manifest.json +3 -3
- package/skills/weaver-e10-wenshuding/references/source-manifest.json +3 -3
- package/skills/weaver-e10-workflow/references/source-manifest.json +3 -3
- package/skills/weaver-e10-yepiaotong/references/source-manifest.json +5 -5
- package/dist/chunks/chunk-MZVQKQP5.js +0 -2849
- package/dist/chunks/registry-3GQRYP2R.js +0 -27
- package/skills/weaver-e10-jucailin/references/source-manifest.json +0 -152
|
@@ -27,6 +27,69 @@ const TYPES = {
|
|
|
27
27
|
* 未命中则回退 `cache.lists.interview`,不因缺列表而报错。
|
|
28
28
|
*/
|
|
29
29
|
const FEEDBACK_TODO_MENU_NAMES = ['我的面试', '我的面试安排', '我参与的面试'];
|
|
30
|
+
/**
|
|
31
|
+
* 面试「参与方式」解析 —— 按面试方式取对应字段,不要笼统当成"地点"。
|
|
32
|
+
*
|
|
33
|
+
* 🔴 2026-11-28 用户口径:**只有现场面试才有地点**;视频面试是视频链接/会议号,
|
|
34
|
+
* AI 面试是小程序码,这三类在面试表单里是**三个不同字段**:
|
|
35
|
+
* · 现场面试 → `interview_location`(面试地点)
|
|
36
|
+
* · 视频面试 → `video_url_info` / `meeting_vedio` / `meeting_id`(视频链接/会议号)
|
|
37
|
+
* · AI 面试 → `applet_code`(小程序码)
|
|
38
|
+
* 旧实现统一叫"地点",视频/AI 面试永远给不出有意义的值。
|
|
39
|
+
*
|
|
40
|
+
* ⚠️ 这些字段默认**不在列表 displayData 里**(只有姓名/手机/时间等基础列),
|
|
41
|
+
* 需在 E10 后台把对应列加入「面试管理」列表显示配置,列表才带得回来。
|
|
42
|
+
* 取不到时返回 value=null + note 说明原因,**不静默当成"没有"**,避免调用方误判。
|
|
43
|
+
*/
|
|
44
|
+
export function participationOf(r) {
|
|
45
|
+
const tp = String(r?.interview_type_key || r?.interview_type || '').trim();
|
|
46
|
+
const pick = (...keys) => {
|
|
47
|
+
for (const k of keys) {
|
|
48
|
+
const v = r?.[k];
|
|
49
|
+
if (v === undefined || v === null)
|
|
50
|
+
continue;
|
|
51
|
+
const s = String(v).trim();
|
|
52
|
+
if (s)
|
|
53
|
+
return { key: k, val: s };
|
|
54
|
+
}
|
|
55
|
+
return null;
|
|
56
|
+
};
|
|
57
|
+
if (/现场/.test(tp)) {
|
|
58
|
+
const got = pick('interview_location');
|
|
59
|
+
return {
|
|
60
|
+
mode: '现场面试',
|
|
61
|
+
field: 'interview_location',
|
|
62
|
+
value: got?.val ?? null,
|
|
63
|
+
...(got ? {} : { note: '列表未返回面试地点;需在 E10 后台把「面试地点」加入面试管理列表显示列' }),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
if (/AI\s*面试/i.test(tp)) {
|
|
67
|
+
const got = pick('applet_code');
|
|
68
|
+
return {
|
|
69
|
+
mode: 'AI面试',
|
|
70
|
+
field: 'applet_code',
|
|
71
|
+
value: got?.val ?? null,
|
|
72
|
+
...(got ? {} : { note: 'AI 面试以小程序码/链接邀约,本身没有地点' }),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
if (/视频/.test(tp)) {
|
|
76
|
+
const got = pick('video_url_info', 'meeting_vedio', 'meeting_id');
|
|
77
|
+
return {
|
|
78
|
+
mode: '视频面试',
|
|
79
|
+
field: got?.key ?? 'video_url_info',
|
|
80
|
+
value: got?.val ?? null,
|
|
81
|
+
...(got ? {} : { note: '视频面试以视频链接/会议号邀约,本身没有地点' }),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
// 电话面试或未填方式:仍按地点尝试,取不到就说明
|
|
85
|
+
const got = pick('interview_location');
|
|
86
|
+
return {
|
|
87
|
+
mode: tp || '未填面试方式',
|
|
88
|
+
field: 'interview_location',
|
|
89
|
+
value: got?.val ?? null,
|
|
90
|
+
...(got ? {} : { note: '该面试方式未配置参与方式字段,或列表未返回' }),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
30
93
|
// 跨基线列名归一:只在主字段缺失时用别名补展示值,不覆盖已有值
|
|
31
94
|
const DISPLAY_ALIASES = {
|
|
32
95
|
candidate_name: ['talent_id', 'name'],
|
|
@@ -371,7 +434,7 @@ async function runList(env, args, feedbackTodoMode) {
|
|
|
371
434
|
await Promise.all([...needFieldIds].map((fieldId) => dsOptionsFor(fieldId)));
|
|
372
435
|
}
|
|
373
436
|
const out = {
|
|
374
|
-
env: new URL(baseUrl).hostname, type, listId, menuName, total, totalExact,
|
|
437
|
+
env: new URL(baseUrl).hostname, baseUrl, selfUse: String(cache.selfUse || ''), type, listId, menuName, total, totalExact,
|
|
375
438
|
...(totalNote ? { totalNote } : {}),
|
|
376
439
|
...(appliedFilters.length ? { filters: appliedFilters } : {}),
|
|
377
440
|
...(args.recent ? { recentDays: Number(args.recent) } : {}),
|
|
@@ -478,6 +541,11 @@ async function runList(env, args, feedbackTodoMode) {
|
|
|
478
541
|
break;
|
|
479
542
|
}
|
|
480
543
|
}
|
|
544
|
+
// 🔴 面试类型补「参与方式」:现场=地点 / 视频=视频链接 / AI=小程序码。
|
|
545
|
+
// 用原始行 r 取值(displayData 默认不含这些列,取不到会带 note 说明)。
|
|
546
|
+
if (type === 'interview') {
|
|
547
|
+
row.participation = participationOf(r);
|
|
548
|
+
}
|
|
481
549
|
outRows.push(row);
|
|
482
550
|
}
|
|
483
551
|
// feedbackTodo:从当前结果集派生两个待办视图
|
|
@@ -499,6 +567,8 @@ async function runList(env, args, feedbackTodoMode) {
|
|
|
499
567
|
mobile: r.mobile,
|
|
500
568
|
talent_id: r.talent_id,
|
|
501
569
|
position_manage_id: r.position_manage_id,
|
|
570
|
+
// 参与方式按面试方式取值(现场=地点 / 视频=链接 / AI=小程序码),不要统一当"地点"
|
|
571
|
+
participation: participationOf(r),
|
|
502
572
|
});
|
|
503
573
|
// 服务端已按「待反馈 + 面试官=我」筛过则直接用;兜底路径才做客户端二次筛
|
|
504
574
|
const pending = serverFilterApplied ? outRows : outRows.filter((r) => /待反馈/.test(st(r)));
|
|
@@ -693,6 +763,8 @@ async function runInterviewNotAttended(env, args) {
|
|
|
693
763
|
// recruit-read.md);下游编排一律用 candidate_manage_id / form_data_id,故此处不透传 talent_id。
|
|
694
764
|
candidate_manage_id: r.candidate_manage_id || null,
|
|
695
765
|
form_data_id: r.form_data_id || null,
|
|
766
|
+
// 参与方式按面试方式取值(现场=地点 / 视频=链接 / AI=小程序码)
|
|
767
|
+
participation: participationOf(r),
|
|
696
768
|
};
|
|
697
769
|
};
|
|
698
770
|
// 截断可见性(强制):面试列表服务端筛选不可用,只能翻页后客户端筛
|
|
@@ -726,7 +798,6 @@ async function runInterviewNotAttended(env, args) {
|
|
|
726
798
|
rows: notAttended.map(slim),
|
|
727
799
|
listUrl,
|
|
728
800
|
listLocateLink: listUrl ? { title: '打开我发起的面试列表', url: listUrl } : null,
|
|
729
|
-
agentNote: '产物 = 统计结论 + 一个 Markdown 链接(listLocateLink)。若技能「固定参数表」配置了本租户的固定页面路由,按 recruit-output-links.md 覆盖规则替换 path 段(origin 取自 listUrl);调用时直接传 listId 更稳。不输出半截链接。',
|
|
730
801
|
note: notes.join(';'),
|
|
731
802
|
};
|
|
732
803
|
}
|
|
@@ -10,13 +10,17 @@ function makeDictLookup(cache) {
|
|
|
10
10
|
return (id) => byId.get(String(id)) || '';
|
|
11
11
|
}
|
|
12
12
|
/** 从 dataDetails 提取展示值:dataOptions.content > dataText.content > content */
|
|
13
|
-
function detailDisplayValue(d, dictName) {
|
|
13
|
+
export function detailDisplayValue(d, dictName) {
|
|
14
14
|
if (!d)
|
|
15
15
|
return '';
|
|
16
|
-
//
|
|
16
|
+
// 关联/选择字段:取全部 dataOptions 的 content 用逗号连接。
|
|
17
|
+
// 🔴 2026-11-28 修「多选字段丢值」:原实现只取 dataOptions[0],多选字段(多个标签/技能等)
|
|
18
|
+
// 在档案里只显示第一个,匹配度评估会漏信息;与 shared.ts 的取值口径对齐。
|
|
17
19
|
if (Array.isArray(d.dataOptions) && d.dataOptions.length) {
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
+
const names = d.dataOptions.map((o) => String(o?.content ?? '')).filter(Boolean);
|
|
21
|
+
if (names.length)
|
|
22
|
+
return names.join(',');
|
|
23
|
+
return String(d.dataOptions[0]?.optionId ?? '');
|
|
20
24
|
}
|
|
21
25
|
// 长文本
|
|
22
26
|
if (d.dataText?.content != null)
|
|
@@ -30,7 +34,11 @@ function detailDisplayValue(d, dictName) {
|
|
|
30
34
|
}
|
|
31
35
|
return '';
|
|
32
36
|
}
|
|
33
|
-
|
|
37
|
+
/**
|
|
38
|
+
* 导出给 candidate.shortlist 复用(2026-11-28):批量匹配需要并发拉多份档案,
|
|
39
|
+
* 复用本 handler 可保证明细表归类 / 未归类告警 / 字段回退口径与单查完全一致。
|
|
40
|
+
*/
|
|
41
|
+
export async function handlerProfile(args, env) {
|
|
34
42
|
const host = env.host;
|
|
35
43
|
const session = await host.getSession();
|
|
36
44
|
const ctx = { host, baseUrl: session.baseUrl.replace(/\/+$/, ''), appId: '', cache: await env.recruitContext() };
|
|
@@ -7,9 +7,11 @@ import { listOperations } from './list.js';
|
|
|
7
7
|
import { searchOperations } from './search.js';
|
|
8
8
|
import { tagOperations } from './tag.js';
|
|
9
9
|
import { profileOperations } from './profile.js';
|
|
10
|
+
import { shortlistOperations } from './shortlist.js';
|
|
10
11
|
const definitions = [
|
|
11
12
|
...searchOperations,
|
|
12
13
|
...profileOperations,
|
|
14
|
+
...shortlistOperations,
|
|
13
15
|
...listOperations,
|
|
14
16
|
...tagOperations,
|
|
15
17
|
...jdCreateOperations,
|
|
@@ -38,17 +40,31 @@ export function getRecruitStageOperation(operation) {
|
|
|
38
40
|
}
|
|
39
41
|
export async function executeRecruitStageOperation(operation, input, env) {
|
|
40
42
|
const definition = getRecruitStageOperation(operation);
|
|
43
|
+
// debugTimings 是诊断开关(随回执返回 meta.timings),不属于业务参数,
|
|
44
|
+
// 不参与下面的「未知参数」校验,也不下发到业务 schema。
|
|
45
|
+
const debugTimings = input.debugTimings === true;
|
|
46
|
+
const validated = debugTimings
|
|
47
|
+
? Object.fromEntries(Object.entries(input).filter(([k]) => k !== 'debugTimings'))
|
|
48
|
+
: input;
|
|
41
49
|
// 拒绝未声明参数(2026-11-07):与 ehr 标准入口一致,防「参数名写错被静默忽略」。
|
|
42
50
|
// 例:candidate.interview.arrange.* 的时间参数是 startTime/endTime,stage.interview.arrange.* 是 start/end,
|
|
43
51
|
// 传错时摘要里的 time 会变成 null 而不报错。
|
|
44
52
|
const schema = definition.inputSchema;
|
|
45
53
|
if (schema && schema.additionalProperties === false) {
|
|
46
54
|
const known = Object.keys((schema.properties || {}));
|
|
47
|
-
const unknown = Object.keys(
|
|
55
|
+
const unknown = Object.keys(validated || {}).filter((key) => !known.includes(key));
|
|
48
56
|
if (unknown.length > 0) {
|
|
49
57
|
throw new RecruitStageCliError('validation', 'unknown_argument', `未知参数:${unknown.join('、')}。本操作支持的参数:${known.length ? known.join('、') : '(无)'}。`
|
|
50
58
|
+ '参数名写错会被静默忽略并返回看似正常的结果,请按上面的参数名重传。', { exitCode: 1 });
|
|
51
59
|
}
|
|
52
60
|
}
|
|
53
|
-
|
|
61
|
+
const startedAt = Date.now();
|
|
62
|
+
const result = await definition.handler(validated, env);
|
|
63
|
+
// 诊断耗时:默认不返回,避免污染正常输出;debugTimings:true 时随 meta.timings 返回。
|
|
64
|
+
// 分段打点由各操作往 env.__recruitTimings 写(可选),这里补全 totalMs。
|
|
65
|
+
if (debugTimings && result && typeof result === 'object') {
|
|
66
|
+
const marks = { ...(env?.__recruitTimings ?? {}) };
|
|
67
|
+
result.meta = { ...(result.meta ?? {}), timings: { ...marks, totalMs: Date.now() - startedAt } };
|
|
68
|
+
}
|
|
69
|
+
return result;
|
|
54
70
|
}
|