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
|
@@ -55,6 +55,49 @@ export const CONTRACT_ERROR_ACTIONS = {
|
|
|
55
55
|
requiredAction: '金额位点去掉货币符号,改传 $quote 引用或纯数值后重跑 slots.fill',
|
|
56
56
|
forbiddenClaims: ['金额不可得', '需要用户提供金额'],
|
|
57
57
|
},
|
|
58
|
+
// ── 动态区块 / 条款(2026-11-29 模板动态生成)
|
|
59
|
+
region_slot_invalid: {
|
|
60
|
+
action: 'fix-input',
|
|
61
|
+
requiredAction: '按 slots.scan 返回的 table-region 位点补 slotId(形如 t4.region / t4.region.2)后重跑 slots.fill;'
|
|
62
|
+
+ '区块行数由 rows 数组长度决定,不要按模板行数写',
|
|
63
|
+
forbiddenClaims: ['模板不支持动态行数', '只能按模板期数生成'],
|
|
64
|
+
},
|
|
65
|
+
region_slot_unknown: {
|
|
66
|
+
action: 'fix-input',
|
|
67
|
+
requiredAction: '改用 slots.scan 的 data.slots 里 type=table-region 的 slotId 重跑;报错里已列出模板现有的区块位点',
|
|
68
|
+
forbiddenClaims: ['模板没有付款计划表', '无法按需求生成付款计划'],
|
|
69
|
+
},
|
|
70
|
+
region_table_missing: {
|
|
71
|
+
action: 'fix-input',
|
|
72
|
+
requiredAction: '改用同一份模板重新 slots.scan 后按其区块位点重跑(模板与 scan 结果需来自同一个文件)',
|
|
73
|
+
},
|
|
74
|
+
region_segment_missing: {
|
|
75
|
+
action: 'fix-input',
|
|
76
|
+
requiredAction: '同一张表只保留一个区块方案,或按 slots.scan 的段序号(t4.region.2)分别给出后重跑',
|
|
77
|
+
},
|
|
78
|
+
region_rows_required: {
|
|
79
|
+
action: 'fix-input',
|
|
80
|
+
requiredAction: '给该区块补 rows 数组(数组长度 = 最终行数,按实际需求写 1/2/3/N 条);确实不适用时显式传 rows: []',
|
|
81
|
+
forbiddenClaims: ['模板不支持动态行数', '只能按模板期数生成'],
|
|
82
|
+
},
|
|
83
|
+
clause_anchor_unknown: {
|
|
84
|
+
action: 'fix-input',
|
|
85
|
+
requiredAction: '用 slots.scan 返回的 outline/clauses 里的 p{n} 作为 after/before 或 slotIds 重跑;'
|
|
86
|
+
+ '锚点必须是模板顶层段落(不能落在表格内),下标越界同样报此码',
|
|
87
|
+
forbiddenClaims: ['模板不支持增删条款'],
|
|
88
|
+
},
|
|
89
|
+
clause_content_required: {
|
|
90
|
+
action: 'fix-input',
|
|
91
|
+
requiredAction: '给该 insert 步骤补 heading 或 paragraphs(新增条款不能是空条款)后重跑',
|
|
92
|
+
},
|
|
93
|
+
clause_op_invalid: {
|
|
94
|
+
action: 'fix-input',
|
|
95
|
+
requiredAction: 'clauses 只支持 insert(新增条款)与 remove(删除条款/表格);替换某段正文改用 plan.slots 的 p{n} 位点',
|
|
96
|
+
},
|
|
97
|
+
clause_op_conflict: {
|
|
98
|
+
action: 'fix-input',
|
|
99
|
+
requiredAction: '把 insert 的锚点改到未被同方案删除的段落上,或拆成两次 fill 后重跑',
|
|
100
|
+
},
|
|
58
101
|
// ── 值引用通道(2026-11-20 P1)
|
|
59
102
|
quote_ref_unresolved: {
|
|
60
103
|
action: 'fix-path',
|
|
@@ -90,6 +133,77 @@ export const CONTRACT_ERROR_ACTIONS = {
|
|
|
90
133
|
requiredAction: 'recognizeResult 必须内联为 JSON 对象(不能传文件路径字符串)后重跑',
|
|
91
134
|
},
|
|
92
135
|
input_invalid: { action: 'fix-input', requiredAction: '按报错修正入参后重跑' },
|
|
136
|
+
// ── 智能起草(无模板):入参形态问题一律改参数重跑,不得据此宣告「无法起草」
|
|
137
|
+
draft_title_required: {
|
|
138
|
+
action: 'fix-input',
|
|
139
|
+
requiredAction: '补 title(合同名称)后重跑 contract.draft.build;名称要能辨识对方主体与标的,不要用「合同」这类通用名',
|
|
140
|
+
forbiddenClaims: ['无法生成合同', '需要用户提供模板'],
|
|
141
|
+
},
|
|
142
|
+
draft_out_required: { action: 'fix-path', requiredAction: '补 out(输出 docx 绝对路径)后重跑 contract.draft.build' },
|
|
143
|
+
draft_out_not_docx: { action: 'fix-path', requiredAction: '把 out 改成以 .docx 结尾的路径后重跑' },
|
|
144
|
+
draft_party_required: {
|
|
145
|
+
action: 'fix-input',
|
|
146
|
+
requiredAction: '补合同当事人全称(ourParty / counterParty)后重跑;对方全称缺失时向用户问一次,不要编造',
|
|
147
|
+
forbiddenClaims: ['无法生成合同'],
|
|
148
|
+
},
|
|
149
|
+
draft_articles_required: {
|
|
150
|
+
action: 'fix-input',
|
|
151
|
+
requiredAction: '补 articles(至少一条条款,每条含 heading 与正文)后重跑;条款内容由模型按用户需求起草',
|
|
152
|
+
forbiddenClaims: ['需要用户提供模板', '无法生成合同'],
|
|
153
|
+
},
|
|
154
|
+
draft_article_heading_required: { action: 'fix-input', requiredAction: '给该条款补 heading(如「第一条 合同标的」)后重跑' },
|
|
155
|
+
draft_article_empty: { action: 'fix-input', requiredAction: '给该条款补 paragraphs / items / table / notes 之一后重跑' },
|
|
156
|
+
draft_amount_placeholder: {
|
|
157
|
+
action: 'fix-input',
|
|
158
|
+
requiredAction: '把金额字段改成纯数值后重跑;占位符 [[MONEY_*]] 在本地没有还原环节,写进合同就是残次品',
|
|
159
|
+
forbiddenClaims: ['金额不可得', '需要用户提供金额', '无法生成合同'],
|
|
160
|
+
},
|
|
161
|
+
draft_amount_display_text: {
|
|
162
|
+
action: 'fix-input',
|
|
163
|
+
requiredAction: '金额字段去掉 ¥ / $ 等货币符号,改传纯数值后重跑',
|
|
164
|
+
forbiddenClaims: ['金额不可得', '需要用户提供金额'],
|
|
165
|
+
},
|
|
166
|
+
draft_amount_not_numeric: { action: 'fix-input', requiredAction: '按报错把该字段改成数值或纯数字字符串后重跑' },
|
|
167
|
+
draft_amount_not_positive: {
|
|
168
|
+
action: 'fix-input',
|
|
169
|
+
requiredAction: '把 amount.total 改成大于 0 的金额;金额确实未定时整块不要传 amount(不要用 0 或负数占位)后重跑',
|
|
170
|
+
forbiddenClaims: ['金额不可得'],
|
|
171
|
+
},
|
|
172
|
+
draft_option_invalid: {
|
|
173
|
+
action: 'fix-input',
|
|
174
|
+
requiredAction: '按 details.options 给出的可选值改写对应字段(购买方式 / 签约形式 / 签署日期 / 签订方式 / 合同类型)后重跑;选项必须落在本流程选项表内',
|
|
175
|
+
},
|
|
176
|
+
draft_out_not_writable: {
|
|
177
|
+
action: 'fix-path',
|
|
178
|
+
requiredAction: '核对输出目录是否存在且有写权限(或换一个可写的绝对路径)后重跑 contract.draft.build',
|
|
179
|
+
},
|
|
180
|
+
contract_term_ids_invalid: {
|
|
181
|
+
action: 'fix-input',
|
|
182
|
+
requiredAction: '把 contractTermIds 改成逗号拼接的数字条款 ID(如 "123,456"),没有条款引用就整项不传,然后重跑',
|
|
183
|
+
},
|
|
184
|
+
draft_text_placeholder: {
|
|
185
|
+
action: 'fix-input',
|
|
186
|
+
requiredAction: '把该文本字段里的脱敏占位符换成真实取值后重跑;正文里出现 [[MONEY_*]] 属交付事故',
|
|
187
|
+
forbiddenClaims: ['无法生成合同'],
|
|
188
|
+
},
|
|
189
|
+
draft_docx_invalid: { action: 'stop', requiredAction: '渲染层异常:如实报告并停止,不要手工拼 docx 或改用模板链路充数' },
|
|
190
|
+
draft_elements_empty: { action: 'fix-input', requiredAction: '核对 flow 与 customerName 后重跑 contract.draft.submit' },
|
|
191
|
+
// ── 本地报告产物(商务审核完备性检查 / 风险审查 / 比对报告共用 out 口径)
|
|
192
|
+
data_required: {
|
|
193
|
+
action: 'fix-input',
|
|
194
|
+
requiredAction: '补 data(结论 JSON 绝对路径)后重跑:先把按合同正文判出的 items(待补充/修改/删除)或 passed(已完备)落成 JSON,至少要有一条',
|
|
195
|
+
forbiddenClaims: ['这份合同无法检查', '检查不通过'],
|
|
196
|
+
},
|
|
197
|
+
data_not_found: { action: 'fix-path', requiredAction: '核对 data 指向的结论 JSON 是否存在后重跑' },
|
|
198
|
+
items_empty: {
|
|
199
|
+
action: 'fix-input',
|
|
200
|
+
requiredAction: '结论不能为空:至少给一条 items 或 passed 后重跑;不要用空结论出一份「没有问题」的报告',
|
|
201
|
+
forbiddenClaims: ['合同没有问题', '合同已完备'],
|
|
202
|
+
},
|
|
203
|
+
out_required: {
|
|
204
|
+
action: 'fix-path',
|
|
205
|
+
requiredAction: '补 out(输出产物绝对路径:报告 HTML / 生成的 docx)后重跑;产物只以文件交付,不出卡片',
|
|
206
|
+
},
|
|
93
207
|
};
|
|
94
208
|
/**
|
|
95
209
|
* 把动作挂到错误 `details` 上。
|
|
@@ -65,7 +65,10 @@ export function contractBusinessStatus(path, value) {
|
|
|
65
65
|
return { ok, code: String(code), message: textOf(root, ['msg', 'message']) ?? textOf(messageNode, ['msg', 'errmsg']) };
|
|
66
66
|
}
|
|
67
67
|
// 助手列表 getListDatas:/api/ebuilder/form/list/**,成功码与 ebd 一致(code=0/200 且 status 非 false)。
|
|
68
|
-
|
|
68
|
+
// 数据列表 eblist(`/api/ebuilder/form/eblist/getData|getCount`)是同一族形状:顶层 code=200、
|
|
69
|
+
// 没有 message/errcode 节点——不并入本分支会被末尾兜底判成失败(2026-11-29 实测:项目看板查询与
|
|
70
|
+
// 「项目合同付款阶段明细」台账都返回 {code:200,status:true,msg:'接口返回成功'})。
|
|
71
|
+
if (path.startsWith('/api/ebuilder/form/list/') || path.startsWith('/api/ebuilder/form/eblist/')) {
|
|
69
72
|
const code = root.code ?? messageNode.errcode ?? messageNode.code;
|
|
70
73
|
const ok = (code === 0 || code === '0' || code === 200 || code === '200') && root.status !== false && root.fail !== true;
|
|
71
74
|
return { ok, code: code === undefined ? undefined : String(code), message: textOf(root, ['msg', 'message']) ?? textOf(messageNode, ['errmsg', 'msg']) };
|
|
@@ -154,6 +157,7 @@ export function createContractHost(ctx, dependencies = {}) {
|
|
|
154
157
|
const finalQuery = Object.fromEntries(Object.entries(query).filter(([, value]) => value !== undefined && value !== null && value !== ''));
|
|
155
158
|
let finalBody = body;
|
|
156
159
|
let formData;
|
|
160
|
+
let formEncoded;
|
|
157
161
|
if (userIdField) {
|
|
158
162
|
if (!context.userId) {
|
|
159
163
|
throw contractAuthError('user_id_missing', '当前会话没有可用的用户 ID,请确认 E10 登录态');
|
|
@@ -163,7 +167,11 @@ export function createContractHost(ctx, dependencies = {}) {
|
|
|
163
167
|
else
|
|
164
168
|
finalBody = { ...finalBody, [userIdField]: context.userId };
|
|
165
169
|
}
|
|
166
|
-
if (form ||
|
|
170
|
+
if (form instanceof URLSearchParams || typeof form === 'string') {
|
|
171
|
+
// 显式 urlencoded:BI 图表预览这类接口只认这个格式,不能转成 multipart。
|
|
172
|
+
formEncoded = form;
|
|
173
|
+
}
|
|
174
|
+
else if (form || file) {
|
|
167
175
|
formData = new FormData();
|
|
168
176
|
for (const [key, value] of Object.entries(form ?? {}))
|
|
169
177
|
formData.append(key, value);
|
|
@@ -191,8 +199,9 @@ export function createContractHost(ctx, dependencies = {}) {
|
|
|
191
199
|
method,
|
|
192
200
|
path,
|
|
193
201
|
query: finalQuery,
|
|
194
|
-
body: formData ? undefined : finalBody,
|
|
202
|
+
body: formData || formEncoded ? undefined : finalBody,
|
|
195
203
|
formData,
|
|
204
|
+
form: formEncoded,
|
|
196
205
|
headers: extraHeaders,
|
|
197
206
|
timeoutMs,
|
|
198
207
|
});
|
|
@@ -112,7 +112,7 @@ async function executeAndPrint(ctx, operation, input) {
|
|
|
112
112
|
}
|
|
113
113
|
catch (error) {
|
|
114
114
|
reportPlatformError(error);
|
|
115
|
-
|
|
115
|
+
ctx.output.error(failureEnvelope(error));
|
|
116
116
|
process.exitCode = isCliError(error) ? error.exitCode : ExitCode.GeneralError;
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -355,6 +355,19 @@ export const contractShortcut = {
|
|
|
355
355
|
{ flag: '--ref <path>', description: 'digest from a persisted export result json instead of calling the api', key: 'ref' },
|
|
356
356
|
{ flag: '--out <path>', description: 'optional: write digest json to this path', key: 'out' },
|
|
357
357
|
]);
|
|
358
|
+
// 商务审核(完备性检查):模型判出「说没说清楚、要素齐不齐」的结论 JSON,CLI 只负责渲染报告 HTML。
|
|
359
|
+
const bizreview = contract.command('bizreview').description('Contract business review (completeness check) commands');
|
|
360
|
+
registerCommand(bizreview, 'report', 'Render a contract completeness (business review) report HTML from normalized findings', 'contract.bizreview.report', [
|
|
361
|
+
{ flag: '--data <file>', description: 'normalized findings JSON path (items / passed)', key: 'data' },
|
|
362
|
+
{ flag: '--out <file>', description: 'output report HTML path', key: 'out' },
|
|
363
|
+
{ flag: '--template <file>', description: 'optional custom template path', key: 'template' },
|
|
364
|
+
{ flag: '--dump-data <file>', description: 'optional normalized report data JSON path', key: 'dumpData' },
|
|
365
|
+
{ flag: '--contract <name>', description: 'contract name', key: 'contract' },
|
|
366
|
+
{ flag: '--party-a <name>', description: 'party A', key: 'partyA' },
|
|
367
|
+
{ flag: '--party-b <name>', description: 'party B', key: 'partyB' },
|
|
368
|
+
{ flag: '--standpoint <text>', description: 'review standpoint, e.g. our side (party B)', key: 'standpoint' },
|
|
369
|
+
{ flag: '--review-date <date>', description: 'review date', key: 'reviewDate' },
|
|
370
|
+
]);
|
|
358
371
|
const flow = contract.command('flow').description('Contract flow entry commands');
|
|
359
372
|
registerCommand(flow, 'save-recognize-record', 'Save extracted form elements as a recognize record and return aiExtraId', 'contract.flow.save-recognize-record', [
|
|
360
373
|
{ flag: '--flow <name>', description: 'optional flow preset: 契约锁 / 新客户 / 老客户增值 / 常规二次销售' },
|
|
@@ -485,6 +498,9 @@ export const contractShortcut = {
|
|
|
485
498
|
registerCommand(quote, 'normalize', 'Validate and normalize model-produced quote JSON', 'contract.quote.normalize', [
|
|
486
499
|
{ flag: '--data <file>', description: 'model JSON path', key: 'data' },
|
|
487
500
|
]);
|
|
501
|
+
const draft = contract.command('draft').description('Smart contract drafting commands (no template, local docx)');
|
|
502
|
+
registerCommand(draft, 'build', 'Build a contract docx from a structured outline (local)', 'contract.draft.build');
|
|
503
|
+
registerCommand(draft, 'submit', 'Upload a drafted contract, assemble elements, save the recognize record and build the assistant url', 'contract.draft.submit');
|
|
488
504
|
const assistant = contract.command('assistant').description('Contract AI assistant commands');
|
|
489
505
|
registerCommand(assistant, 'init', 'Initialize or refresh assistant configuration', 'contract.assistant.init');
|
|
490
506
|
registerCommand(assistant, 'meta', 'Read assistant list field metadata (ai_background_config)', 'contract.assistant.meta');
|