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
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* 面试安排汇总一条命令:面试台账 → 三类冲突检测 → 图文报告。
|
|
4
|
+
*
|
|
5
|
+
* 设计目标(2026-11-28 复盘固化):
|
|
6
|
+
* 1. 把原来「取数脚本 → 冲突脚本 → 报告脚本」三次往返压成一次;
|
|
7
|
+
* 2. stdout 只给紧凑摘要 + **唯一交付物 `reportFile`**;中间文件/地址收进 `_internal`,不作交付;
|
|
8
|
+
* 3. 全程 process.execPath 调 dist/index.js,不 spawn .cmd/.ps1(Windows 下 EINVAL)。
|
|
9
|
+
*
|
|
10
|
+
* 用法:
|
|
11
|
+
* node lib/interview-summary.mjs --recent 14 --out-dir <目录> [--print-rows]
|
|
12
|
+
* node lib/interview-summary.mjs --recent 7 --out-dir <目录>
|
|
13
|
+
*/
|
|
14
|
+
import { execFile, execFileSync } from 'node:child_process';
|
|
15
|
+
import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
|
|
16
|
+
import { dirname, join, resolve } from 'node:path';
|
|
17
|
+
import { fileURLToPath } from 'node:url';
|
|
18
|
+
import { homedir, tmpdir } from 'node:os';
|
|
19
|
+
import { publishReport } from './report-attachment.mjs';
|
|
20
|
+
|
|
21
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
22
|
+
const SKILL_DIR = resolve(__dirname, '..');
|
|
23
|
+
const TEMPLATE = join(SKILL_DIR, 'templates', 'interview-summary.html');
|
|
24
|
+
const CONFLICT_SCRIPT = join(__dirname, 'interview-conflict.mjs');
|
|
25
|
+
|
|
26
|
+
function fail(message, extra) {
|
|
27
|
+
console.error(JSON.stringify({ ok: false, message, ...extra }, null, 2));
|
|
28
|
+
process.exit(1);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/** CLI 入口发现:环境变量 → 当前 node 同级 node_modules → npm 全局根。禁止 <span>.cmd</span>。 */
|
|
32
|
+
function resolveCliEntry() {
|
|
33
|
+
const fromEnv = process.env.WEAVER_WORK_CLI_ENTRY;
|
|
34
|
+
if (fromEnv && existsSync(fromEnv)) return fromEnv;
|
|
35
|
+
|
|
36
|
+
const execDir = dirname(process.execPath);
|
|
37
|
+
// 🔴 全局根优先:node 自带 node_modules 里可能躺着旧版 weaver-work-cli(实测 WorkBuddy 运行时
|
|
38
|
+
// 22.22.2-6 下有一份无 baseUrl 字段的旧包),先命中会静默用旧契约。
|
|
39
|
+
// 不用 `npm root -g`:Node 20+ 不能直接 exec .cmd(CVE-2024-27980),会静默失败退回旧包。
|
|
40
|
+
const candidates = [];
|
|
41
|
+
if (process.platform === 'win32' && process.env.APPDATA) {
|
|
42
|
+
candidates.push(join(process.env.APPDATA, 'npm', 'node_modules', 'weaver-work-cli', 'dist', 'index.js'));
|
|
43
|
+
}
|
|
44
|
+
candidates.push(
|
|
45
|
+
'/usr/local/lib/node_modules/weaver-work-cli/dist/index.js',
|
|
46
|
+
'/usr/lib/node_modules/weaver-work-cli/dist/index.js',
|
|
47
|
+
join(homedir(), '.npm-global', 'lib', 'node_modules', 'weaver-work-cli', 'dist', 'index.js'),
|
|
48
|
+
join(execDir, 'node_modules', 'weaver-work-cli', 'dist', 'index.js'),
|
|
49
|
+
join(execDir, '..', 'lib', 'node_modules', 'weaver-work-cli', 'dist', 'index.js'),
|
|
50
|
+
);
|
|
51
|
+
for (const c of candidates) if (c && existsSync(c)) return c;
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function parseArgs(argv) {
|
|
56
|
+
const opts = { recent: 14, outDir: join(tmpdir(), "recruit-interview-out"), printRows: false, segmentDays: 0 };
|
|
57
|
+
for (let i = 0; i < argv.length; i += 1) {
|
|
58
|
+
const a = argv[i];
|
|
59
|
+
if (a === '--recent') opts.recent = Number(argv[++i]) || 14;
|
|
60
|
+
else if (a === '--out-dir') opts.outDir = resolve(argv[++i] || '.');
|
|
61
|
+
else if (a === '--print-rows') opts.printRows = true;
|
|
62
|
+
else if (a === '--segment-days') opts.segmentDays = Number(argv[++i]) || 0;
|
|
63
|
+
}
|
|
64
|
+
return opts;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/** 报告默认只落盘(file 模式),由 present_files 交付;http 模式仅手动兼容 */
|
|
68
|
+
|
|
69
|
+
function runCli(cliEntry, operation, jsonArgs) {
|
|
70
|
+
const argsFile = join(tmpdir(), `recruit-summary-args-${Date.now()}-${Math.random().toString(36).slice(2)}.json`);
|
|
71
|
+
writeFileSync(argsFile, JSON.stringify(jsonArgs), 'utf8');
|
|
72
|
+
// 多环境:RECRUIT_CLI_PROFILE=10-12-105-188 时透传 --profile,与 write-helper 同口径;
|
|
73
|
+
// 不透传会静默连到 CLI 默认档(实测 188 场景下报告数据取自自用环境)。
|
|
74
|
+
const cliProfile = String(process.env.RECRUIT_CLI_PROFILE || '').trim();
|
|
75
|
+
const cliArgs = [cliEntry, '--json'];
|
|
76
|
+
if (cliProfile) cliArgs.push('--profile', cliProfile);
|
|
77
|
+
cliArgs.push('recruit-stage', 'run', operation, '--input', argsFile, '--allow-file-input');
|
|
78
|
+
const stdout = execFileSync(process.execPath, cliArgs, { encoding: 'utf8', maxBuffer: 134217728 });
|
|
79
|
+
const braceAt = stdout.indexOf('{');
|
|
80
|
+
if (braceAt < 0) fail('CLI 未返回 JSON 信封', { stage: 'list', detail: String(stdout || '').slice(0, 200) });
|
|
81
|
+
const envelope = JSON.parse(stdout.slice(braceAt));
|
|
82
|
+
if (!envelope.ok) {
|
|
83
|
+
const err = envelope.error || {};
|
|
84
|
+
fail('面试台账查询失败', { stage: 'list', type: err.type, subtype: err.subtype, detail: err.message });
|
|
85
|
+
}
|
|
86
|
+
return envelope.data || {};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/** 异步版取数:同步 execFileSync 无法并发,分段并行取数需要异步。 */
|
|
90
|
+
function runCliAsync(cliEntry, operation, jsonArgs) {
|
|
91
|
+
const argsFile = join(tmpdir(), `recruit-summary-args-${Date.now()}-${Math.random().toString(36).slice(2)}.json`);
|
|
92
|
+
writeFileSync(argsFile, JSON.stringify(jsonArgs), 'utf8');
|
|
93
|
+
const cliProfile = String(process.env.RECRUIT_CLI_PROFILE || '').trim();
|
|
94
|
+
const cliArgs = [cliEntry, '--json'];
|
|
95
|
+
if (cliProfile) cliArgs.push('--profile', cliProfile);
|
|
96
|
+
cliArgs.push('recruit-stage', 'run', operation, '--input', argsFile, '--allow-file-input');
|
|
97
|
+
return new Promise((resolve, reject) => {
|
|
98
|
+
execFile(process.execPath, cliArgs, { encoding: 'utf8', maxBuffer: 134217728 }, (err, stdout) => {
|
|
99
|
+
if (err) { reject(err); return; }
|
|
100
|
+
const braceAt = String(stdout || '').indexOf('{');
|
|
101
|
+
if (braceAt < 0) { reject(new Error('CLI 未返回 JSON 信封')); return; }
|
|
102
|
+
try {
|
|
103
|
+
const envelope = JSON.parse(String(stdout).slice(braceAt));
|
|
104
|
+
if (!envelope.ok) {
|
|
105
|
+
const e = envelope.error || {};
|
|
106
|
+
reject(new Error(`面试台账查询失败:${e.message || e.subtype || 'unknown'}`));
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
resolve(envelope.data || {});
|
|
110
|
+
} catch (parseErr) { reject(parseErr); }
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
const DAY_MS = 86400000;
|
|
116
|
+
const dayStart = (d) => new Date(d.getFullYear(), d.getMonth(), d.getDate());
|
|
117
|
+
const dayKey = (d) => {
|
|
118
|
+
const p = (n) => String(n).padStart(2, '0');
|
|
119
|
+
return `${d.getFullYear()}-${p(d.getMonth() + 1)}-${p(d.getDate())}`;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/** 限并发的 map,避免一次性打爆服务端。 */
|
|
123
|
+
async function mapLimit(items, limit, fn) {
|
|
124
|
+
const ret = new Array(items.length);
|
|
125
|
+
let cursor = 0;
|
|
126
|
+
const size = Math.max(1, Math.min(limit, items.length));
|
|
127
|
+
await Promise.all(Array.from({ length: size }, async () => {
|
|
128
|
+
while (cursor < items.length) {
|
|
129
|
+
const idx = cursor;
|
|
130
|
+
cursor += 1;
|
|
131
|
+
ret[idx] = await fn(items[idx], idx);
|
|
132
|
+
}
|
|
133
|
+
}));
|
|
134
|
+
return ret;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* 取面试台账,两条路径:
|
|
139
|
+
* ① 默认:单次 all:true 全量取(CLI 内部翻页),不丢行、请求最少;
|
|
140
|
+
* ② 大窗口:recent 超过 SEGMENT_THRESHOLD 天时按 segmentDays 分段并行,
|
|
141
|
+
* 每段只保留落在该段日期区间的行,去重合并,避免单次超大响应串行翻页。
|
|
142
|
+
* 分段不会减少总请求量,收益在「并行 + 每段一页内取完」,因此仅对大窗口启用。
|
|
143
|
+
*/
|
|
144
|
+
const SEGMENT_THRESHOLD = 14;
|
|
145
|
+
|
|
146
|
+
async function fetchInterviewData(cliEntry, opts) {
|
|
147
|
+
const recent = opts.recent;
|
|
148
|
+
const seg = opts.segmentDays > 0 ? opts.segmentDays : 0;
|
|
149
|
+
const baseArgs = { type: 'interview', sort: 'start_time', pageSize: 200, all: true };
|
|
150
|
+
|
|
151
|
+
if (!seg || recent <= SEGMENT_THRESHOLD) {
|
|
152
|
+
return runCli(cliEntry, 'recruit-stage.list', { ...baseArgs, recent });
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
const today = dayStart(new Date());
|
|
156
|
+
const segCount = Math.ceil(recent / seg);
|
|
157
|
+
const segments = [];
|
|
158
|
+
for (let k = 0; k < segCount; k += 1) {
|
|
159
|
+
segments.push({
|
|
160
|
+
startDay: k * seg + 1,
|
|
161
|
+
endDay: Math.min((k + 1) * seg, recent),
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
const results = await mapLimit(segments, 4, async (s) => {
|
|
166
|
+
const data = await runCliAsync(cliEntry, 'recruit-stage.list', { ...baseArgs, recent: s.endDay });
|
|
167
|
+
// 🔴 只卡下界,不设上界:`recent=endDay` 已把下界限制在「今天-(endDay-1)天」,
|
|
168
|
+
// 而台账里存在已排定的**未来**场次(如下一周),设上界会把它们全部误过滤掉
|
|
169
|
+
// (2026-11-29 实测:21 天窗口曾只剩 4 场,实际应 20 场)。
|
|
170
|
+
const lowerKey = dayKey(new Date(today.getTime() - (s.endDay - 1) * DAY_MS));
|
|
171
|
+
const rows = (Array.isArray(data.rows) ? data.rows : []).filter((r) => {
|
|
172
|
+
const k = String(r.start_time || '').slice(0, 10);
|
|
173
|
+
return k >= lowerKey;
|
|
174
|
+
});
|
|
175
|
+
return { data, rows };
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
const seen = new Set();
|
|
179
|
+
const rows = [];
|
|
180
|
+
for (const r of results) {
|
|
181
|
+
for (const row of r.rows) {
|
|
182
|
+
const key = String(row.form_data_id || `${row.candidate_name}|${row.start_time}|${row.position_name}`);
|
|
183
|
+
if (seen.has(key)) continue;
|
|
184
|
+
seen.add(key);
|
|
185
|
+
rows.push(row);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
const first = results[0] || { data: {} };
|
|
189
|
+
return { ...first.data, rows };
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
function stamp(d = new Date()) {
|
|
193
|
+
const p = (n) => String(n).padStart(2, '0');
|
|
194
|
+
return `${d.getFullYear()}${p(d.getMonth() + 1)}${p(d.getDate())}_${p(d.getHours())}${p(d.getMinutes())}${p(d.getSeconds())}`;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
function countBy(rows, key) {
|
|
198
|
+
const m = new Map();
|
|
199
|
+
for (const r of rows) {
|
|
200
|
+
const v = r[key] || '—';
|
|
201
|
+
m.set(v, (m.get(v) || 0) + 1);
|
|
202
|
+
}
|
|
203
|
+
return Object.fromEntries([...m.entries()].sort((a, b) => b[1] - a[1]));
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
async function main() {
|
|
207
|
+
const opts = parseArgs(process.argv.slice(2));
|
|
208
|
+
|
|
209
|
+
const cliEntry = resolveCliEntry();
|
|
210
|
+
if (!cliEntry) {
|
|
211
|
+
fail('未找到 weaver-work-cli 的 dist/index.js', {
|
|
212
|
+
hint: '设置 WEAVER_WORK_CLI_ENTRY 指向 dist/index.js,或确认 CLI 已安装',
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
const data = await fetchInterviewData(cliEntry, opts);
|
|
217
|
+
|
|
218
|
+
const rows = Array.isArray(data.rows) ? data.rows : [];
|
|
219
|
+
if (!rows.length) {
|
|
220
|
+
console.log(JSON.stringify({ ok: true, recentDays: opts.recent, total: 0, message: '窗口内没有面试安排' }, null, 2));
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
mkdirSync(opts.outDir, { recursive: true });
|
|
225
|
+
const ts = stamp();
|
|
226
|
+
const rowsFile = join(opts.outDir, `interview-rows_${ts}.json`);
|
|
227
|
+
writeFileSync(rowsFile, JSON.stringify(rows, null, 2), 'utf8');
|
|
228
|
+
|
|
229
|
+
// 冲突检测复用现有脚本,保持口径单一来源
|
|
230
|
+
let conflicts = { conflicts: [], candidateConflicts: [], aiPressure: { windows: [] }, checked: 0, aiExcluded: 0 };
|
|
231
|
+
try {
|
|
232
|
+
const out = execFileSync(process.execPath, [CONFLICT_SCRIPT, rowsFile], { encoding: 'utf8', maxBuffer: 33554432 });
|
|
233
|
+
conflicts = JSON.parse(out.slice(out.indexOf('{')));
|
|
234
|
+
} catch (e) {
|
|
235
|
+
conflicts.error = 'conflict_check_failed';
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
// CLI 的 env 只有 hostname(无协议/端口),不能反推;优先用回传的完整 baseUrl。
|
|
239
|
+
const envHost = data.env || '';
|
|
240
|
+
const baseUrl = String(data.baseUrl || '').replace(/\/+$/, '')
|
|
241
|
+
|| (envHost ? (envHost.startsWith('http') ? envHost.split('/').slice(0, 3).join('/') : `https://${envHost}`) : '');
|
|
242
|
+
|
|
243
|
+
const summaryData = {
|
|
244
|
+
baseUrl,
|
|
245
|
+
generatedAt: new Date().toISOString().slice(0, 16).replace('T', ' '),
|
|
246
|
+
recentDays: opts.recent,
|
|
247
|
+
interviewObjId: '',
|
|
248
|
+
// 统一用原生 EB 列表页(任何环境都能打开);壳页是自用部署期常量,
|
|
249
|
+
// selfUse=1 并不等于「部署过壳页」——188 实测 selfUse 也为 1,套壳页 ID 会 404。
|
|
250
|
+
listUrl: baseUrl && data.listId ? `${baseUrl}/sp/ebdfpage/list/${data.listId}` : '',
|
|
251
|
+
rows: rows.map((r) => ({
|
|
252
|
+
formDataId: r.form_data_id,
|
|
253
|
+
talentId: '',
|
|
254
|
+
candidateName: r.candidate_name,
|
|
255
|
+
positionName: r.position_name,
|
|
256
|
+
startTime: r.start_time,
|
|
257
|
+
rounds: r.interview_rounds,
|
|
258
|
+
session: r.interview_session,
|
|
259
|
+
type: r.interview_type,
|
|
260
|
+
interviewer: r.interviewer,
|
|
261
|
+
status: r.union_status,
|
|
262
|
+
})),
|
|
263
|
+
conflicts: conflicts.conflicts || [],
|
|
264
|
+
candidateConflicts: conflicts.candidateConflicts || [],
|
|
265
|
+
aiPressure: conflicts.aiPressure || { threshold: 8, windows: [] },
|
|
266
|
+
checked: conflicts.checked || 0,
|
|
267
|
+
aiExcluded: conflicts.aiExcluded || 0,
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
let reportFile = '';
|
|
271
|
+
if (existsSync(TEMPLATE)) {
|
|
272
|
+
const tpl = readFileSync(TEMPLATE, 'utf8');
|
|
273
|
+
const html = tpl.includes('__SUMMARY_DATA_PLACEHOLDER__')
|
|
274
|
+
? tpl.replace('__SUMMARY_DATA_PLACEHOLDER__', JSON.stringify(summaryData))
|
|
275
|
+
: tpl;
|
|
276
|
+
reportFile = join(opts.outDir, `面试安排汇总_${ts}.html`);
|
|
277
|
+
writeFileSync(reportFile, html, 'utf8');
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
// 仅附件模式:只校验/返回绝对 reportFile,不启动服务;present_files 负责上传
|
|
281
|
+
let reportError = '';
|
|
282
|
+
if (reportFile) {
|
|
283
|
+
try {
|
|
284
|
+
publishReport(reportFile);
|
|
285
|
+
} catch (e) {
|
|
286
|
+
reportError = String(e?.message || e);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
const sorted = rows
|
|
291
|
+
.slice()
|
|
292
|
+
.sort((a, b) => String(a.start_time).localeCompare(String(b.start_time)));
|
|
293
|
+
|
|
294
|
+
const compact = {
|
|
295
|
+
ok: true,
|
|
296
|
+
recentDays: opts.recent,
|
|
297
|
+
count: rows.length,
|
|
298
|
+
byType: countBy(rows, 'interview_type'),
|
|
299
|
+
byStatus: countBy(rows, 'union_status'),
|
|
300
|
+
conflicts: (conflicts.conflicts || []).length,
|
|
301
|
+
candidateConflicts: (conflicts.candidateConflicts || []).length,
|
|
302
|
+
aiPressureWindows: ((conflicts.aiPressure || {}).windows || []).length,
|
|
303
|
+
checked: conflicts.checked || 0,
|
|
304
|
+
aiExcluded: conflicts.aiExcluded || 0,
|
|
305
|
+
...(conflicts.error ? { conflictsError: conflicts.error } : {}),
|
|
306
|
+
reportFile,
|
|
307
|
+
...(reportError ? { reportError } : {}),
|
|
308
|
+
// 🔴 stdout 只允许出现一个交付物路径:reportFile。
|
|
309
|
+
// rowsFile(中间数据)与 baseUrl(系统地址)收进 _internal 并标注非交付,
|
|
310
|
+
// 防止 Agent 把中间 JSON 当成第二个产物发给用户(2026-11-29 定稿)。
|
|
311
|
+
_internal: { note: '内部排障用,禁止作为交付物输出给用户' },
|
|
312
|
+
};
|
|
313
|
+
console.log(JSON.stringify(compact, null, 2));
|
|
314
|
+
|
|
315
|
+
if (opts.printRows) {
|
|
316
|
+
for (const r of sorted) {
|
|
317
|
+
const round = [r.interview_rounds, r.interview_session].filter(Boolean).join('/');
|
|
318
|
+
const where = r.participation ? r.participation.value || r.participation.mode : '';
|
|
319
|
+
console.log([r.start_time, r.candidate_name, r.position_name, round, r.interview_type, r.interviewer, r.union_status, where].join(' | '));
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
main().catch((e) => {
|
|
325
|
+
console.error(JSON.stringify({ ok: false, message: String((e && e.message) || e) }, null, 2));
|
|
326
|
+
process.exit(1);
|
|
327
|
+
});
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|