weaver-work-cli 0.1.73 → 0.1.76
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-THZV4ND4.js → archive-ENBSUMHV.js} +14 -9
- package/dist/chunks/{archive-oa-PQ23OLEV.js → archive-oa-7BFPQ6M5.js} +10 -7
- package/dist/chunks/{asset-RGPROZYH.js → asset-V5SUD3PW.js} +10 -7
- package/dist/chunks/{asset-idle-Z2PDX7NA.js → asset-idle-3CEL7WFX.js} +7 -4
- package/dist/chunks/{attachment-content-R3RPVOYE.js → attachment-content-24RL44SE.js} +3 -3
- package/dist/chunks/{blog-7U3QZPIF.js → blog-FLI4SS3P.js} +10 -7
- package/dist/chunks/{caizhilian-3AB42GCV.js → caizhilian-7WCTKCCP.js} +10 -7
- package/dist/chunks/{calendar-KINM64E4.js → calendar-G726HUUH.js} +10 -7
- package/dist/chunks/chunk-257JXJGD.js +30 -0
- package/dist/chunks/chunk-2BZ7TY4M.js +49 -0
- package/dist/chunks/{chunk-4BXR6CNB.js → chunk-2KW7AI6P.js} +2 -2
- package/dist/chunks/{chunk-WM33BSIL.js → chunk-2QCCXPNU.js} +1 -1
- package/dist/chunks/chunk-2UV4IZIT.js +473 -0
- package/dist/chunks/{chunk-R3MK2RBN.js → chunk-5E2FDXBU.js} +1 -1
- package/dist/chunks/{chunk-DRUND2PJ.js → chunk-5QUTQHXF.js} +225 -152
- package/dist/chunks/chunk-7DE3VMZD.js +35 -0
- package/dist/chunks/{chunk-PAFOLIYQ.js → chunk-AZC53XSQ.js} +1 -1
- package/dist/chunks/{chunk-6HT73VOI.js → chunk-BWFCTE43.js} +2 -2
- package/dist/chunks/{chunk-4YXAK6OA.js → chunk-FEZK536Z.js} +12 -7
- package/dist/chunks/{chunk-IU6UB2TD.js → chunk-FPWCCRKT.js} +48 -6
- package/dist/chunks/{chunk-LLCMOZ5L.js → chunk-H6N6U2D6.js} +11 -11
- package/dist/chunks/{chunk-54ST55IJ.js → chunk-JJONWB5N.js} +11 -1
- package/dist/chunks/{chunk-GWJLAF6B.js → chunk-JWF2R6EQ.js} +0 -462
- package/dist/chunks/chunk-KINXYJXM.js +205 -0
- package/dist/chunks/{chunk-F4HM25K4.js → chunk-KJA7CRES.js} +1 -1
- package/dist/chunks/chunk-L5SCNJKX.js +1166 -0
- package/dist/chunks/{chunk-TV46Q4NY.js → chunk-MS7MKBGJ.js} +74 -68
- package/dist/chunks/{chunk-XZBYRYWX.js → chunk-NZQRW4KL.js} +2 -2
- package/dist/chunks/chunk-OJ4JPD25.js +428 -0
- package/dist/chunks/chunk-OVTCWLNQ.js +1346 -0
- package/dist/chunks/{chunk-NUP4RYZK.js → chunk-PMRNIGKZ.js} +2 -2
- package/dist/chunks/{chunk-2CHGUYMG.js → chunk-Q7RXCK2Y.js} +4 -4
- package/dist/chunks/{chunk-AMAPQVBT.js → chunk-QVKRNL7L.js} +286 -305
- package/dist/chunks/{chunk-7QFVXP2X.js → chunk-R4PN3OFK.js} +8 -7
- package/dist/chunks/{chunk-L7TYG5SN.js → chunk-RVEKGVZU.js} +2 -2
- package/dist/chunks/{chunk-2XED2FKY.js → chunk-SQFKBWTR.js} +38 -36
- package/dist/chunks/chunk-SU6IJD6D.js +49 -0
- package/dist/chunks/{chunk-IBSJJGXL.js → chunk-T7HVQ2WP.js} +2 -2
- package/dist/chunks/{chunk-ZWLWXHJC.js → chunk-TBCKK6LH.js} +2 -2
- package/dist/chunks/{chunk-JMJBPP4B.js → chunk-UDBQJLQF.js} +2 -2
- package/dist/chunks/chunk-UUJK76HV.js +209 -0
- package/dist/chunks/{chunk-4I26YMBY.js → chunk-WHI6YAUE.js} +7 -3
- package/dist/chunks/{chunk-BWYVS62Z.js → chunk-WJQJ7YEX.js} +4 -4
- package/dist/chunks/{chunk-GAMGDNTF.js → chunk-XNN5PZTI.js} +1 -1
- package/dist/chunks/chunk-Y3C6MDL7.js +28 -0
- package/dist/chunks/chunk-ZM7RN2IM.js +38 -0
- package/dist/chunks/cli-DFLV57LO.js +226 -0
- package/dist/chunks/commands-J52MJ6NF.js +70 -0
- package/dist/chunks/{conflict-VPAR7E6F.js → conflict-72Q6DM4I.js} +2 -2
- package/dist/chunks/{contract-DDXAO2DZ.js → contract-IRNRQ5FY.js} +12446 -5964
- package/dist/chunks/{cowork-34QCHMDD.js → cowork-GZDODGKF.js} +11 -8
- package/dist/chunks/{create-flow-52PU2OBI.js → create-flow-UGTDI7SP.js} +6 -6
- package/dist/chunks/{data-CLQ62QGD.js → data-HTQZRPPI.js} +6 -3
- package/dist/chunks/{ebuilder-form-W5R7Q22S.js → ebuilder-form-GHNIZ7ET.js} +9 -6
- package/dist/chunks/{ehr-LCNAVMK5.js → ehr-PHIBBUIG.js} +23 -16
- package/dist/chunks/{entry-mode-6Z3ZV3DE.js → entry-mode-5WOXFE67.js} +3 -3
- package/dist/chunks/{env-RDKWAARB.js → env-H4ALHESA.js} +2 -2
- package/dist/chunks/{esb-ANKPUU65.js → esb-ATRKVHCD.js} +10 -7
- package/dist/chunks/{factory-434B7RAT.js → factory-COX6AVK7.js} +1 -1
- package/dist/chunks/{fna-AKBSG5HI.js → fna-IKYI3SST.js} +13 -8
- package/dist/chunks/{group-chat-PROTW22R.js → group-chat-ZIWQQO4G.js} +3 -3
- package/dist/chunks/{host-5R2SNFWD.js → host-6UOXYOOY.js} +6 -3
- package/dist/chunks/{host-7FJW4E7R.js → host-EJSJSLVK.js} +6 -3
- package/dist/chunks/{host-WO4L5G5I.js → host-EYNLB6S4.js} +6 -3
- package/dist/chunks/{host-PDJAKCT7.js → host-OT4KNR3G.js} +6 -3
- package/dist/chunks/{host-CGXUFQO4.js → host-UY4LQPN4.js} +6 -3
- package/dist/chunks/{host-XIYG4F4B.js → host-XXGDQM7D.js} +6 -3
- package/dist/chunks/{hrm-WGODDTEH.js → hrm-5JQ7QZ6A.js} +8 -5
- package/dist/chunks/{im-YKTKAJU3.js → im-2YJW3EI5.js} +7 -4
- package/dist/chunks/{invoice-PVYCCCVM.js → invoice-37HR6L3W.js} +956 -566
- package/dist/chunks/{jiuchuanhui-RKOQW7BY.js → jiuchuanhui-KBWUZ7WT.js} +17 -10
- package/dist/chunks/{lazy-dispatch-DW45AFQ5.js → lazy-dispatch-MZ3EZYDL.js} +22 -8
- package/dist/chunks/{mail-BNB5S4NW.js → mail-YBKUM6HM.js} +11 -8
- package/dist/chunks/{meeting-O2KDJH66.js → meeting-XE6CTXYA.js} +22 -18
- package/dist/chunks/{minute-doc-JUCG56GY.js → minute-doc-4BA2R5EA.js} +4 -4
- package/dist/chunks/{okr-LWFGWOE7.js → okr-HW7IULIR.js} +10 -7
- package/dist/chunks/{operations-532PN5OB.js → operations-4P2UYVLH.js} +7 -4
- package/dist/chunks/{performance-7W5COCFU.js → performance-PM2G6L3E.js} +6 -3
- package/dist/chunks/{plan-ZVY3IYTL.js → plan-3YYGZ7ZM.js} +10 -7
- package/dist/chunks/{project-SA62B7MH.js → project-XREEXFU2.js} +10 -7
- package/dist/chunks/{reception-NGIONPQ3.js → reception-7G3J2MA6.js} +8 -4
- package/dist/chunks/{recruit-stage-WOSN6MGP.js → recruit-stage-TSQWOGQD.js} +199 -74
- package/dist/chunks/register-SQOPIR2G.js +16 -0
- package/dist/chunks/{registry-N7P3W2RD.js → registry-3VTB3KLV.js} +7 -4
- package/dist/chunks/registry-7UDUWYB5.js +30 -0
- package/dist/chunks/{registry-R72GWXOG.js → registry-F4YFZLOD.js} +7 -3
- package/dist/chunks/{room-recommend-KCGIVUFR.js → room-recommend-FO3HLPNB.js} +4 -4
- package/dist/chunks/root-YZG2TS5W.js +16 -0
- package/dist/chunks/{schedule-6UP27HQ4.js → schedule-DHNNOHVS.js} +4 -4
- package/dist/chunks/{smart-extract-DDOQSPRB.js → smart-extract-T5Z4AULN.js} +15 -7
- package/dist/chunks/update-AV5VOXGY.js +13 -0
- package/dist/chunks/{workflow-V5ALD6QZ.js → workflow-MAGCHWYZ.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 +8 -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 +7 -2
- package/dist/shortcuts/ehr/operations/recruit-write.js +7 -6
- package/dist/shortcuts/ehr/operations/recruit.js +318 -248
- package/dist/shortcuts/ehr/operations/shared.js +22 -2
- 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/business-response.js +13 -0
- package/dist/shortcuts/invoice/calendar.js +24 -0
- package/dist/shortcuts/invoice/host.js +26 -15
- package/dist/shortcuts/invoice/index.js +3 -3
- package/dist/shortcuts/invoice/invoice-record.js +7 -2
- package/dist/shortcuts/invoice/manifest.js +179 -155
- package/dist/shortcuts/invoice/operations/get.js +9 -3
- package/dist/shortcuts/invoice/operations/issuing-red-requests.js +138 -0
- package/dist/shortcuts/invoice/operations/registry.js +4 -5
- package/dist/shortcuts/invoice/operations/reim-auto.js +40 -2
- package/dist/shortcuts/invoice/operations/reim-customer-projects.js +79 -0
- package/dist/shortcuts/invoice/operations/reim-customer.js +79 -30
- package/dist/shortcuts/invoice/operations/reim-relation.js +0 -146
- package/dist/shortcuts/invoice/operations/reim.js +2 -126
- package/dist/shortcuts/invoice/operations/shared.js +15 -17
- package/dist/shortcuts/invoice/preapproval-enrichment.js +180 -0
- package/dist/shortcuts/invoice/projection.js +14 -0
- package/dist/shortcuts/invoice/read-enrichment.js +123 -0
- 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/manifest.js +2 -2
- package/dist/shortcuts/recruit-stage/context.js +10 -2
- package/dist/shortcuts/recruit-stage/index.js +16 -3
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +1 -1
- package/dist/shortcuts/recruit-stage/operations/interview-feedback.js +1 -1
- package/dist/shortcuts/recruit-stage/operations/jd-create.js +17 -8
- package/dist/shortcuts/recruit-stage/operations/list.js +1 -1
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +178 -35
- package/dist/shortcuts/recruit-stage/operations/search.js +2 -2
- package/dist/shortcuts/recruit-stage/operations/shortlist.js +4 -2
- package/dist/shortcuts/recruit-stage/shared.js +27 -53
- 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 +8 -2
- package/docs/agent-invoice.md +28 -2
- package/docs/contract.md +6 -1
- package/docs/e10-auth.md +25 -7
- package/docs/invoice.md +60 -9
- package/docs/operation-manual.md +15 -0
- package/package.json +2 -2
- package/skill-template/business-info.json +28 -0
- package/skill-template/domains/jinchengda.md +13 -1
- package/skill-template/domains/yepiaotong.md +36 -7
- 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-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-recruit-stage/SKILL.md +230 -202
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +74 -46
- package/skills/weaver-e10-recruit-stage/lib/interview-conflict.mjs +3 -0
- package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +201 -36
- package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +336 -27
- package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +3 -0
- 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 +4 -0
- package/skills/weaver-e10-recruit-stage/references/env-ziyong.md +4 -0
- package/skills/weaver-e10-recruit-stage/references/position-templates.md +12 -8
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +20 -18
- 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 +4 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +8 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-failure-fallback.md +6 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +7 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +32 -25
- 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 +5 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-maint.md +4 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +16 -10
- package/skills/weaver-e10-recruit-stage/references/recruit-my-positions.md +6 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +148 -40
- package/skills/weaver-e10-recruit-stage/references/recruit-platform-compat.md +5 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +32 -8
- package/skills/weaver-e10-recruit-stage/references/recruit-resolve-creator.md +4 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +8 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +6 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +41 -41
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +7 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +7 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +8 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +5 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +5 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +5 -1
- package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +41 -28
- package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +23 -26
- package/skills/weaver-e10-recruit-stage/templates/match-report.html +44 -36
- 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/SKILL.md +133 -61
- package/skills/weaver-e10-yepiaotong/references/invoice-add.md +3 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-detail.md +18 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-disabled-capabilities.md +3 -3
- package/skills/weaver-e10-yepiaotong/references/invoice-download.md +1 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-enterprise-list.md +13 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-file-upload.md +3 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-import.md +6 -4
- package/skills/weaver-e10-yepiaotong/references/invoice-issuing-workflow.md +42 -45
- package/skills/weaver-e10-yepiaotong/references/invoice-ocr-preview.md +1 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-output-view.md +18 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-personal-list.md +14 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-red-workflow.md +96 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-reim-relation.md +56 -369
- package/skills/weaver-e10-yepiaotong/references/invoice-upload-and-validate.md +16 -6
- package/skills/weaver-e10-yepiaotong/references/name-fuzzy-search.md +38 -0
- package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +163 -646
- package/skills/weaver-e10-yepiaotong/references/reim-customer-search.md +90 -44
- package/skills/weaver-e10-yepiaotong/references/reim-eligibility-rules.md +85 -0
- package/skills/weaver-e10-yepiaotong/references/reim-fill-validation.md +61 -0
- package/skills/weaver-e10-yepiaotong/references/reim-phone-subsidy-rules.md +91 -280
- package/skills/weaver-e10-yepiaotong/references/reim-preapproval-rules.md +98 -0
- package/skills/weaver-e10-yepiaotong/references/reim-travel-invoice-matching.md +48 -0
- package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +234 -695
- package/skills/weaver-e10-yepiaotong/references/source-manifest.json +395 -204
- package/skills/weaver-e10-yepiaotong/references/travel-application-fill.md +84 -0
- package/skills/weaver-e10-yepiaotong/references/workflow-direct-fill.md +165 -0
- package/skills/weaver-e10-yepiaotong.zip +0 -0
- package/dist/chunks/chunk-ICP53R52.js +0 -2849
- package/dist/chunks/registry-RIQ67ZT7.js +0 -27
- package/scripts/pysite/__pycache__/sitecustomize.cpython-312.pyc +0 -0
- package/scripts/pysite/__pycache__/sitecustomize.cpython-313.pyc +0 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-reim.md +0 -93
- package/skills/weaver-e10-yepiaotong/references/reim-examples.md +0 -774
- package/skills/weaver-e10-yepiaotong/references/reim-expense-subject-rules.md +0 -111
- package/skills/weaver-e10-yepiaotong/references/reim-form-fill-rules.md +0 -360
- package/skills/weaver-e10-yepiaotong/references/reim-matching-rules.md +0 -167
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
# 发票与事前申请匹配规则
|
|
2
|
-
|
|
3
|
-
本文档定义发票与事前申请怎么关联。按出差流程查的票直接绑那条出差流程(场景D),话费 / 油费补贴直接绑登记的或固定的事前申请(场景E),上传时登记了事前申请的发票直接绑登记的那条(场景F),其余只比较两边的日期。一张发票在时间上只落在一条事前申请里就直接绑定;落在多条里,或日期缺失对不上,必须问用户确认是哪一条,问清楚之前不往下走(见「多条事前申请无法确认时,必须问用户」)。不用费用类型、金额、申请人或标题关键词决定绑哪一条。
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 核心时间关系
|
|
8
|
-
|
|
9
|
-
> **事前申请发起日期不晚于开票日期。**
|
|
10
|
-
> 即:`事前申请.createTime 的日期部分 ≤ 发票.invoiceDate`。**同一天算对上**,默认允许绑定。
|
|
11
|
-
|
|
12
|
-
这是匹配和预筛选的基础约束。
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
## 匹配入口场景
|
|
17
|
-
|
|
18
|
-
### 场景A:先有发票(含用户直接提供的发票数据)→ 筛选并匹配事前申请
|
|
19
|
-
|
|
20
|
-
1. 已有发票数据(通过 `invoice.list` 获取,**或用户直接提供**,含 `invoiceDate`, `amount`, `expenseType`, `sellerName` 等)
|
|
21
|
-
- 如果用户已直接给出发票数据,无需调用 `invoice.list`
|
|
22
|
-
2. 调用 `invoice.reim.requests.list` 获取候选列表。用户没指定日期时**不传** `cusCreateDateStart` / `cusCreateDateEnd`,由 CLI 按默认窗口查(最近 7 天,查不到自动放宽到最近 1 个月),见 [reim-api-reference.md](reim-api-reference.md)「默认日期窗口」
|
|
23
|
-
3. 按下面的时间规则关联;不确定时先问用户,再往下填单
|
|
24
|
-
|
|
25
|
-
### 场景B:先有事前申请 → 筛选并匹配发票
|
|
26
|
-
|
|
27
|
-
1. 已获取事前申请列表(含 `requestname`, `createTime`, `creatorId` 等)
|
|
28
|
-
2. **预筛选**:利用事前申请日期缩小发票查询范围(使用**消费日期** `consumption_tm_begin` / `consumption_tm_end`)
|
|
29
|
-
- 提取事前申请列表中最早的 `createTime`
|
|
30
|
-
- 消费日期必然 ≥ 事前申请日期,因此:
|
|
31
|
-
- `consumption_tm_begin` = 最早 `createTime` 的日期部分(`YYYY-MM-DD`)
|
|
32
|
-
- `consumption_tm_end` = 今天(`YYYY-MM-DD`,CLI 按当天 23:59:59 换算)
|
|
33
|
-
3. 调用 `invoice.list`(带消费日期筛选条件)获取候选列表
|
|
34
|
-
4. 按下面的时间规则关联;不确定时先问用户,再往下填单
|
|
35
|
-
|
|
36
|
-
### 场景C:并行获取
|
|
37
|
-
|
|
38
|
-
两者并行获取时不做预筛选,获取全量数据后在匹配阶段统一过滤。
|
|
39
|
-
|
|
40
|
-
场景 A ~ C 使用同一套时间规则,只是取数和预筛选不同。场景 D ~ F 不走时间规则。
|
|
41
|
-
|
|
42
|
-
### 场景D:按出差流程查的票 → 直接绑这条出差流程
|
|
43
|
-
|
|
44
|
-
发票是按 [reim-workflow.md](reim-workflow.md)「按出差流程查票」用出差流程的起止日期(前后各 1 天)查出来的:**不走下面的时间规则**,每张发票都绑这条出差流程。出差流程常在出差后才补发起,发起日晚于开票日也照样绑定;也不再拿其他事前申请来比。
|
|
45
|
-
|
|
46
|
-
### 场景E:话费 / 油费补贴 → 直接绑登记的或固定的事前申请
|
|
47
|
-
|
|
48
|
-
事前申请按 [reim-phone-subsidy-rules.md](reim-phone-subsidy-rules.md) 第 3 步定:先用上传时登记的,没有再用 `workflow.search` 查固定流程。**不走下面的事前申请时间匹配规则,也不问用户**,本次最近 30 天内的合规发票(含早于事前申请发起日的发票)都绑定这条事前申请,它的 `requestId` 传给 `invoice.reim.subsidy.submit` 的 `relatedProcessId`。最近 30 天限制以北京时间今天及前 29 天的开票日期为准,超期、未来或缺失 / 无效日期的发票不能报销。
|
|
49
|
-
|
|
50
|
-
### 场景F:上传时登记了事前申请 → 直接绑登记的那条
|
|
51
|
-
|
|
52
|
-
[reim-workflow.md](reim-workflow.md) Step 1D 用 `invoice.reim.relation.list` 读到某张发票的 `preApproval` 时:**这张发票不走下面的时间规则,也不问用户**,直接绑它(`preApprovalId` = `preApproval.requestId`,`preApprovalName` = `preApproval.requestName`,明细「相关流程」写 `preApproval.value`)。这是用户上传时自己选的,发起日晚于开票日也照样绑定。同一批里没登记的发票仍按下面的时间规则。用户本轮明确选了别的事前申请(如按出差流程报销)时,以本轮为准。见 [invoice-reim-relation.md](invoice-reim-relation.md)。
|
|
53
|
-
|
|
54
|
-
---
|
|
55
|
-
|
|
56
|
-
## 关联规则(只看时间)
|
|
57
|
-
|
|
58
|
-
比较日期,不比较钟点。事前申请发起日取 `createTime` 的日期部分,发票日期取 `invoiceDate`。
|
|
59
|
-
|
|
60
|
-
> **同一天视为对上,默认允许绑定。** 事前申请发起日与开票日期是同一天时(例如事前申请 `2026-10-27 17:30` 发起,发票开票日期 `2026-10-27`),不要因为发票没有钟点、「无法判断先后」就不绑定或改成问用户。
|
|
61
|
-
|
|
62
|
-
一张发票算进某条事前申请,必须同时满足:
|
|
63
|
-
|
|
64
|
-
- `invoiceDate` ≥ 事前申请发起日(含同一天)
|
|
65
|
-
- `invoiceDate` ≤ 事前申请发起日 + 90 天
|
|
66
|
-
|
|
67
|
-
每张发票单独判断:
|
|
68
|
-
|
|
69
|
-
| 时间上能对上的事前申请 | 怎么处理 |
|
|
70
|
-
| --- | --- |
|
|
71
|
-
| 正好 1 条 | 直接绑定。不问「要不要关联」,也不用费用类型、金额、申请人或谁更近去改绑 |
|
|
72
|
-
| 2 条及以上 | 无法确认,按下面「多条事前申请无法确认时,必须问用户」问清楚。选定前不要往下填「相关流程」 |
|
|
73
|
-
| 0 条 | 这张发票不绑定。非差旅 / 外出可以继续报销。差旅 / 外出仍按 [reim-workflow.md](reim-workflow.md) Step 4.7 让用户选事前申请 |
|
|
74
|
-
| 发票没有 `invoiceDate` | 无法确认,列出本次查到的事前申请,按下面同一套规则问 |
|
|
75
|
-
|
|
76
|
-
一条事前申请可以绑多张发票。一张发票只能绑一条。
|
|
77
|
-
|
|
78
|
-
不要打分,不要看置信度,不要因为标题含「交通」「差旅」就选中某一条。
|
|
79
|
-
|
|
80
|
-
---
|
|
81
|
-
|
|
82
|
-
## 多条事前申请无法确认时,必须问用户
|
|
83
|
-
|
|
84
|
-
> **确认不了是哪条事前申请,就停下来问用户,问清楚之前不往下走。** 不调用 `invoice.reim.workflow.resolve`、`workflow.createForm`、`workflow.createRequest`,也不先建草稿再改。不要按费用类型、金额、标题关键词、「谁更近」或「最新那条」自己挑。
|
|
85
|
-
|
|
86
|
-
### 哪些情况算无法确认
|
|
87
|
-
|
|
88
|
-
| 情况 | 例子 |
|
|
89
|
-
| --- | --- |
|
|
90
|
-
| 一张发票按时间对上 2 条及以上 | 开票日期 07-30,落在 07-01 和 07-20 两条的 90 天内 |
|
|
91
|
-
| 发票没有开票日期,而本次查到了事前申请 | OCR 没识别出日期 |
|
|
92
|
-
| 差旅 / 外出某行没绑定,而差旅 / 外出事前申请有多条 | 见 [reim-form-fill-rules.md](reim-form-fill-rules.md#差旅--外出明细相关流程硬拦截) |
|
|
93
|
-
| 用户点名了事前申请,但对上多条或一条都对不上 | 「用上海出差那个申请」,标题含「上海出差」的有 2 条 |
|
|
94
|
-
|
|
95
|
-
一张发票只对上一条时仍直接绑定,不问。
|
|
96
|
-
|
|
97
|
-
### 怎么问
|
|
98
|
-
|
|
99
|
-
- **一次问完**:本次所有不确定的发票放在同一个问题里,不要一张一张问。候选是同一批时合成一张表。
|
|
100
|
-
- **每条候选写清楚,方便区分**:序号、`requestname`、发起日期(`createTime` 的日期部分)、流程状态(`flowStatus=6` 写「已完成」,其他写「未完成」)、能对上哪几张发票。名称完全相同时再补 `requestid`。
|
|
101
|
-
- **给一个「都不是」的出口**:非差旅 / 外出选「都不是」→ 该发票不绑定,继续报销;差旅 / 外出选「都不是」→ 请用户给出正确的事前申请名称再查,用户拒绝就结束报销。
|
|
102
|
-
- 宿主有提问 / 选择弹框时用弹框,每条候选一个选项,再加「都不是」;没有弹框就用下面的表格。
|
|
103
|
-
|
|
104
|
-
```markdown
|
|
105
|
-
下面的发票对上了多条事前申请,我确认不了该用哪条,请告诉我每张发票用哪一条(回复序号即可,例如「都用 2」或「36901189 用 1,36901190 用 2」):
|
|
106
|
-
|
|
107
|
-
| # | 事前申请 | 发起日期 | 状态 | 能对上的发票 |
|
|
108
|
-
| --- | --- | --- | --- | --- |
|
|
109
|
-
| 1 | 交通费报销-后端开发111-2026-07-01 | 2026-07-01 | 已完成 | 36901189(07-30)、36901190(08-02) |
|
|
110
|
-
| 2 | 上海出差申请-后端开发111-2026-07-20 | 2026-07-20 | 已完成 | 36901189(07-30)、36901190(08-02) |
|
|
111
|
-
|
|
112
|
-
都不是的话,回复「都不是」,或告诉我正确的事前申请名称。
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
### 怎么理解用户的回答
|
|
116
|
-
|
|
117
|
-
| 用户回答 | 处理 |
|
|
118
|
-
| --- | --- |
|
|
119
|
-
| 序号、完整名称或 `requestid`,能唯一对上一条 | 按用户说的绑定 |
|
|
120
|
-
| 「都用 N」 | 每张发票都用第 N 条。某张发票时间上对不上第 N 条 → 指出是哪张、为什么对不上,只就这张再问 |
|
|
121
|
-
| 名称片段,在候选里只对上一条 | 按它绑定,回显时写出完整名称 |
|
|
122
|
-
| 按描述能推出唯一一条(「最新那个」且发起日期各不相同) | 这是推断出来的,先回显完整名称请用户确认一次,确认后再绑定 |
|
|
123
|
-
| 含糊或对上多条(「上海那个」而候选里有 2 条上海;「最新那个」但最新的有 2 条同一天) | 不猜。把仍可能的候选再列一次,请用户回复序号 |
|
|
124
|
-
| 「随便」「你定」 | 不替用户选。说明绑错事前申请会影响报销工作流和审批,请用户回复序号 |
|
|
125
|
-
| 「都不是」或给了列表外的名称 | 按「都不是」处理;给了名称就用 `invoice.reim.requests.list` 的 `requestname` 查一次,查到唯一一条且时间对得上就用它,否则再问 |
|
|
126
|
-
| 只回答了一部分发票 | 已回答的先记下,没回答的发票再问一次,不要默认成同一条 |
|
|
127
|
-
|
|
128
|
-
用户明确选定后(序号、完整名称、`requestid`,或确认了推断的那条),在下一条回复开头用一句话回显绑定结果(如「已按你的选择:36901189、36901190 → 上海出差申请-后端开发111-2026-07-20」),然后直接往下走,不再追问「确认吗」。选定的事前申请用 `{requestname}({requestid})` 写入对应明细「相关流程」。
|
|
129
|
-
|
|
130
|
-
---
|
|
131
|
-
|
|
132
|
-
## 关联结果
|
|
133
|
-
|
|
134
|
-
```json
|
|
135
|
-
{
|
|
136
|
-
"matchResults": [
|
|
137
|
-
{
|
|
138
|
-
"invoiceId": "1295366637717012482",
|
|
139
|
-
"invoiceInfo": "滴滴出行 ¥108.2 2026-07-30",
|
|
140
|
-
"preApprovalId": "1298294241967177729",
|
|
141
|
-
"preApprovalWorkflowId": "1181057526276915214",
|
|
142
|
-
"preApprovalName": "交通费报销-后端开发111-2026-07-25",
|
|
143
|
-
"matchReason": "开票日期 2026-07-30 只落在 2026-07-25 这一条的 90 天内"
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"pendingChoice": [
|
|
147
|
-
{
|
|
148
|
-
"invoiceId": "INV003",
|
|
149
|
-
"invoiceDate": "2026-07-30",
|
|
150
|
-
"candidates": [
|
|
151
|
-
{"requestId": "REQ001", "requestName": "交通费报销-后端开发111-2026-07-01", "createTime": "2026-07-01"},
|
|
152
|
-
{"requestId": "REQ002", "requestName": "上海出差申请-后端开发111-2026-07-20", "createTime": "2026-07-20"}
|
|
153
|
-
]
|
|
154
|
-
}
|
|
155
|
-
],
|
|
156
|
-
"unmatchedInvoices": [
|
|
157
|
-
{
|
|
158
|
-
"invoiceId": "INV004",
|
|
159
|
-
"invoiceInfo": "文具 ¥35.00 2026-07-28",
|
|
160
|
-
"reason": "开票日期没有落在任何事前申请的时间范围内"
|
|
161
|
-
}
|
|
162
|
-
]
|
|
163
|
-
}
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
`pendingChoice` 非空时先问用户,不要把这些发票当成已绑定。
|
|
167
|
-
|