weaver-work-cli 0.1.62 → 0.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{archive-S2VKZWQ3.js → archive-WUZKAEZ6.js} +5 -4
- package/dist/chunks/{archive-oa-HEDSIUUY.js → archive-oa-PN46RTI2.js} +5 -4
- package/dist/chunks/{asset-HYH4W357.js → asset-ZPC5VWZM.js} +5 -4
- package/dist/chunks/{asset-idle-N7REBNGL.js → asset-idle-DHGP3NYY.js} +5 -4
- package/dist/chunks/{attachment-content-VYYA75FR.js → attachment-content-JQDW3BIB.js} +3 -3
- package/dist/chunks/{blog-SLMZZICV.js → blog-JC47AIXK.js} +5 -4
- package/dist/chunks/{caizhilian-RV43KKBT.js → caizhilian-IKIHM77A.js} +5 -5
- package/dist/chunks/{calendar-DMVZ4OLY.js → calendar-GZTSJ57Y.js} +5 -4
- package/dist/chunks/{chunk-H6YOMI3U.js → chunk-26FCCU5O.js} +5 -3
- package/dist/chunks/{chunk-E5YD5JWR.js → chunk-3PCXBG4H.js} +1 -1
- package/dist/chunks/{chunk-UBRWONP4.js → chunk-3W5NMGDS.js} +2 -2
- package/dist/chunks/{chunk-DTCQFTHW.js → chunk-4AFWOGOV.js} +3 -3
- package/dist/chunks/{chunk-VNYOUAWV.js → chunk-5QQKLR6H.js} +11 -11
- package/dist/chunks/{chunk-BQYX2UX5.js → chunk-6T5X6YWX.js} +5 -3
- package/dist/chunks/{chunk-KXJA42EA.js → chunk-AFZTMYGC.js} +1 -1
- package/dist/chunks/{chunk-YI2YMW5N.js → chunk-AGSO3PIK.js} +2 -2
- package/dist/chunks/{chunk-IW7A2IQY.js → chunk-C4YQJFZV.js} +43 -15
- package/dist/chunks/{chunk-WIWDVETN.js → chunk-FDBAFANU.js} +76 -76
- package/dist/chunks/{chunk-NRYDJN4J.js → chunk-FJUOUSV3.js} +89 -8
- package/dist/chunks/{chunk-EGANE35F.js → chunk-HLT6B26P.js} +1 -1
- package/dist/chunks/{chunk-P6TXQK75.js → chunk-HWA2A25Y.js} +5 -3
- package/dist/chunks/{chunk-T2KVJFWJ.js → chunk-I3MOFD6Q.js} +4 -7
- package/dist/chunks/chunk-IN6NXQ26.js +680 -0
- package/dist/chunks/{chunk-UBGWIXU3.js → chunk-INVYKG4I.js} +140 -45
- package/dist/chunks/{chunk-QBDXJS2W.js → chunk-K7QKQRSL.js} +168 -62
- package/dist/chunks/{chunk-BIA2NKUG.js → chunk-KDFEHDIB.js} +5 -5
- package/dist/chunks/{chunk-ILALC2N6.js → chunk-KYDXWYFB.js} +1 -1
- package/dist/chunks/{chunk-V2LASYKO.js → chunk-Q6D6PSMH.js} +30 -24
- package/dist/chunks/{chunk-UQFPF4EX.js → chunk-RMOH2GMF.js} +2 -2
- package/dist/chunks/{chunk-VBFBMM7G.js → chunk-SCMHG23G.js} +387 -70
- package/dist/chunks/chunk-TJN4PIYO.js +47 -0
- package/dist/chunks/{chunk-JFAWZX53.js → chunk-UPVAQJKS.js} +282 -131
- package/dist/chunks/{chunk-KY3R42RS.js → chunk-VLY5RTVO.js} +5 -3
- package/dist/chunks/{chunk-TEZHIB6T.js → chunk-WSHIOSGM.js} +5 -3
- package/dist/chunks/{chunk-6XSSAUNW.js → chunk-XHSEK2VM.js} +48 -12
- package/dist/chunks/{chunk-XT77MP54.js → chunk-YTFNMQO4.js} +410 -24
- package/dist/chunks/{conflict-GFJRS6I7.js → conflict-UUC7AFUI.js} +2 -2
- package/dist/chunks/{contract-U3ZGNRWB.js → contract-INMS7SYQ.js} +3051 -4497
- package/dist/chunks/{cowork-EX7PKIDK.js → cowork-34CBYVQP.js} +5 -4
- package/dist/chunks/{create-flow-EJZD434E.js → create-flow-YOR4QTAJ.js} +18 -6
- package/dist/chunks/{data-FOODGAMF.js → data-QKWI5325.js} +14 -3
- package/dist/chunks/{ebuilder-form-I2EOKODG.js → ebuilder-form-ZONRROK4.js} +4 -4
- package/dist/chunks/{ehr-TE4RFNID.js → ehr-2CONM7R6.js} +244 -151
- package/dist/chunks/{employee-DR5Y64TI.js → employee-PGMY6NI6.js} +1 -1
- package/dist/chunks/{entry-mode-ZOLSXEGX.js → entry-mode-S2ENJ6GZ.js} +3 -3
- package/dist/chunks/{env-TID5NFR6.js → env-ZSAXU5PJ.js} +2 -2
- package/dist/chunks/{esb-7L6MHYLB.js → esb-FQASCY2H.js} +8 -8
- package/dist/chunks/{factory-OG7BPMH5.js → factory-N76QQA53.js} +1 -1
- package/dist/chunks/{fna-6V2ENR3Y.js → fna-FCLVIWAS.js} +5 -4
- package/dist/chunks/{group-chat-5DKPWIHL.js → group-chat-UM665WDZ.js} +3 -3
- package/dist/chunks/{host-VTPAWDZV.js → host-2ED2KC4X.js} +4 -4
- package/dist/chunks/{host-TJ5VVHM7.js → host-2UYZEY2V.js} +4 -4
- package/dist/chunks/{host-3DLYA54R.js → host-46NYKDQP.js} +4 -4
- package/dist/chunks/{host-OGBHL75G.js → host-7IPZKIM4.js} +4 -4
- package/dist/chunks/{host-GOJHHTPY.js → host-P7G22WNM.js} +4 -4
- package/dist/chunks/{host-ONZC6AE7.js → host-XLCBLNJD.js} +4 -4
- package/dist/chunks/{hrm-2N7NFQDZ.js → hrm-XKL27NX2.js} +6 -6
- package/dist/chunks/{im-XCH47ZBN.js → im-NDYIMASG.js} +4 -4
- package/dist/chunks/{invoice-5KJ7T774.js → invoice-MOGNB6HN.js} +4 -4
- package/dist/chunks/{jiuchuanhui-PL6DRPBM.js → jiuchuanhui-3T5X7SB7.js} +5 -4
- package/dist/chunks/{lazy-dispatch-UATEN7H7.js → lazy-dispatch-4WOIL3ZQ.js} +5 -5
- package/dist/chunks/{mail-Q7Z4CQ4D.js → mail-P7VMUKQW.js} +5 -4
- package/dist/chunks/{meeting-5E3BNARL.js → meeting-MMTYDHXA.js} +16 -15
- package/dist/chunks/{minute-doc-NXRE5C77.js → minute-doc-LCSBWGJ3.js} +4 -4
- package/dist/chunks/{okr-3O3XNYOK.js → okr-VZXRQGS4.js} +5 -4
- package/dist/chunks/{operations-EZWG72FH.js → operations-MI2BSKZX.js} +5 -5
- package/dist/chunks/{performance-Y7CPNSOR.js → performance-OPEQNW7Y.js} +873 -17
- package/dist/chunks/{plan-BLGPZF5M.js → plan-TJAS4N5X.js} +5 -4
- package/dist/chunks/{project-6MZMLJMP.js → project-CYBGU6K6.js} +5 -4
- package/dist/chunks/{reception-F2VT2X52.js → reception-3FT2F66K.js} +3 -3
- package/dist/chunks/{recruit-stage-4ETIBMIW.js → recruit-stage-WPGB5BDJ.js} +654 -336
- package/dist/chunks/{registry-3FYSWV3U.js → registry-BAWCWV4D.js} +3 -3
- package/dist/chunks/{registry-I4DVPDMU.js → registry-FNI5E76J.js} +12 -12
- package/dist/chunks/{registry-3UGIWH53.js → registry-JMNOXRST.js} +2 -2
- package/dist/chunks/{registry-7RS74TCK.js → registry-QRMXRSCT.js} +5 -5
- package/dist/chunks/{room-recommend-GWCVKCXW.js → room-recommend-I7QQRHEL.js} +4 -4
- package/dist/chunks/{schedule-6AN63MJQ.js → schedule-3P7EWGNZ.js} +4 -4
- package/dist/chunks/{smart-extract-SR4SJJKN.js → smart-extract-FOBSVNYW.js} +3 -3
- package/dist/chunks/{workflow-KF7FA2UQ.js → workflow-U2KKTVQY.js} +10 -7
- package/dist/index.js +34 -34
- package/dist/internal/e10/auth/commands.js +203 -44
- package/dist/internal/e10/auth/xiaoe.js +6 -2
- package/dist/internal/e10/auth-recovery.js +28 -2
- package/dist/internal/e10/request-runtime.js +15 -3
- package/dist/internal/e10/request-trace.js +65 -0
- package/dist/shortcuts/contract/data/metric-catalog.js +149 -0
- package/dist/shortcuts/contract/error-actions.js +112 -0
- package/dist/shortcuts/contract/errors.js +9 -1
- package/dist/shortcuts/contract/index.js +14 -39
- package/dist/shortcuts/contract/manifest.js +130 -274
- package/dist/shortcuts/contract/operations/compare-report.js +437 -0
- package/dist/shortcuts/contract/operations/compare.js +2 -0
- package/dist/shortcuts/contract/operations/docx-slots.js +112 -5
- package/dist/shortcuts/contract/operations/docx-verify.js +2 -70
- package/dist/shortcuts/contract/operations/elements-build.js +82 -56
- package/dist/shortcuts/contract/operations/elements-spec.js +140 -3
- package/dist/shortcuts/contract/operations/first-screen.js +96 -207
- package/dist/shortcuts/contract/operations/flow.js +19 -1
- package/dist/shortcuts/contract/operations/{card-ebdf-list.js → ledger-card.js} +123 -27
- package/dist/shortcuts/contract/operations/ledger.js +343 -1
- package/dist/shortcuts/contract/operations/metrics.js +93 -0
- package/dist/shortcuts/contract/operations/modeltext.js +3 -3
- package/dist/shortcuts/contract/operations/money.js +90 -0
- package/dist/shortcuts/contract/operations/page.js +8 -4
- package/dist/shortcuts/contract/operations/performance.js +53 -0
- package/dist/shortcuts/contract/operations/placeholder-scan.js +104 -0
- package/dist/shortcuts/contract/operations/quote-recognize.js +326 -0
- package/dist/shortcuts/contract/operations/quote-ref.js +179 -0
- package/dist/shortcuts/contract/operations/quote-submit.js +281 -0
- package/dist/shortcuts/contract/operations/quote.js +66 -12
- package/dist/shortcuts/contract/operations/recommend.js +42 -1
- package/dist/shortcuts/contract/operations/registry.js +16 -23
- package/dist/shortcuts/contract/operations/{card-risk-report.js → review-report.js} +24 -114
- package/dist/shortcuts/contract/operations/review.js +33 -167
- package/dist/shortcuts/contract/operations/save-recognize.js +173 -43
- package/dist/shortcuts/contract/operations/solutions-spec.js +79 -0
- package/dist/shortcuts/contract/operations/triage.js +68 -15
- package/dist/shortcuts/contract/operations/{template.js → type-clause-read.js} +10 -25
- package/dist/shortcuts/contract/operations/upload.js +17 -11
- package/dist/shortcuts/contract/prewarm-cache.js +6 -2
- package/dist/shortcuts/contract/prewarm.js +33 -23
- package/dist/shortcuts/contract/recommend-cache.js +191 -0
- package/dist/shortcuts/data/operations/shared.js +14 -1
- package/dist/shortcuts/ehr/operations/recruit-interview-overview.js +85 -62
- package/dist/shortcuts/ehr/operations/recruit-position.js +21 -13
- package/dist/shortcuts/ehr/operations/recruit-short-cache.js +59 -0
- package/dist/shortcuts/ehr/operations/recruit-tag.js +17 -11
- package/dist/shortcuts/ehr/operations/recruit-write.js +118 -70
- package/dist/shortcuts/ehr/operations/recruit.js +338 -121
- package/dist/shortcuts/hrm/operations/employee.js +64 -17
- package/dist/shortcuts/hrm/operations/resolve.js +419 -369
- package/dist/shortcuts/im/host.js +38 -22
- package/dist/shortcuts/meeting/operations/eb/conflict.js +60 -2
- package/dist/shortcuts/meeting/operations/eb/create-flow.js +138 -15
- package/dist/shortcuts/meeting/operations/eb/create-form-link.js +380 -0
- package/dist/shortcuts/meeting/operations/eb/index.js +2 -0
- package/dist/shortcuts/meeting/operations/eb/room-recommend.js +1 -3
- package/dist/shortcuts/performance/flow-utils.js +363 -0
- package/dist/shortcuts/performance/manifest.js +2 -2
- package/dist/shortcuts/performance/operations/flow-detail.js +85 -0
- package/dist/shortcuts/performance/operations/flow-list.js +213 -0
- package/dist/shortcuts/performance/operations/flow-score.js +241 -0
- package/dist/shortcuts/performance/operations/registry.js +6 -0
- package/dist/shortcuts/recruit-stage/batch-store.js +44 -0
- package/dist/shortcuts/recruit-stage/context.js +75 -9
- package/dist/shortcuts/recruit-stage/manifest.js +1 -1
- package/dist/shortcuts/recruit-stage/operations/jd-create.js +33 -22
- package/dist/shortcuts/recruit-stage/operations/list.js +187 -37
- package/dist/shortcuts/recruit-stage/operations/registry.js +2 -0
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +231 -313
- package/dist/shortcuts/recruit-stage/operations/search.js +5 -5
- package/dist/shortcuts/recruit-stage/operations/tag.js +286 -0
- package/dist/shortcuts/workflow/endpoints.js +2 -0
- package/dist/shortcuts/workflow/operations/form.js +12 -15
- package/dist/shortcuts/workflow/operations/read.js +8 -8
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoListRows.js +3 -2
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.collect.js +7 -6
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.core.js +4 -3
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.group.js +1 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.js +33 -6
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.prepareQuery.js +153 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/workflowClarification.js +232 -0
- package/dist/shortcuts/workflow/operations.js +5 -0
- package/docs/contract.md +2 -2
- package/docs/e10-auth.md +55 -2
- package/docs/ehr.md +1 -1
- package/package.json +1 -1
- package/skills/weaver-e10-hrm/SKILL.md +3 -3
- package/skills/weaver-e10-hrm/references/employee.md +13 -2
- package/skills/weaver-e10-jinchengda/SKILL.md +283 -345
- package/skills/weaver-e10-jinchengda/references/contract-agent-entry.md +7 -14
- package/skills/weaver-e10-jinchengda/references/contract-ai-assistant.md +21 -12
- package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +126 -202
- package/skills/weaver-e10-jinchengda/references/contract-clause-insert.md +13 -5
- package/skills/weaver-e10-jinchengda/references/contract-clause-library-crud.md +28 -20
- package/skills/weaver-e10-jinchengda/references/contract-clause-recommender.md +12 -17
- package/skills/weaver-e10-jinchengda/references/contract-clause-reference-save.md +7 -13
- package/skills/weaver-e10-jinchengda/references/contract-command-index.md +47 -16
- package/skills/weaver-e10-jinchengda/references/contract-compare-report-template.html +10 -18
- package/skills/weaver-e10-jinchengda/references/contract-compare-report.md +19 -18
- package/skills/weaver-e10-jinchengda/references/contract-credit-page.md +114 -61
- package/skills/weaver-e10-jinchengda/references/contract-disabled-capabilities.md +8 -2
- package/skills/weaver-e10-jinchengda/references/contract-doc-compare.md +78 -112
- package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +67 -333
- package/skills/weaver-e10-jinchengda/references/contract-element-extract.md +18 -15
- package/skills/weaver-e10-jinchengda/references/contract-element-save-record.md +80 -84
- package/skills/weaver-e10-jinchengda/references/contract-execution-rules.md +38 -34
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-new-customer.md +132 -47
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +108 -217
- package/skills/weaver-e10-jinchengda/references/contract-flow-launch.md +14 -20
- package/skills/weaver-e10-jinchengda/references/contract-ledger-catalog.md +13 -7
- package/skills/weaver-e10-jinchengda/references/contract-ledger-query-playbook.md +86 -46
- package/skills/weaver-e10-jinchengda/references/contract-ledger-rules.md +12 -10
- package/skills/weaver-e10-jinchengda/references/contract-modeltext-library.md +22 -14
- package/skills/weaver-e10-jinchengda/references/contract-multi-file.md +18 -18
- package/skills/weaver-e10-jinchengda/references/contract-object-detect.md +27 -26
- package/skills/weaver-e10-jinchengda/references/contract-open-web-pages.md +252 -0
- package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +15 -23
- package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +290 -104
- package/skills/weaver-e10-jinchengda/references/contract-request-status.md +5 -12
- package/skills/weaver-e10-jinchengda/references/contract-request-write.md +12 -18
- package/skills/weaver-e10-jinchengda/references/contract-signing-subjects.md +11 -17
- package/skills/weaver-e10-jinchengda/references/contract-subject-create.md +5 -11
- package/skills/weaver-e10-jinchengda/references/contract-template-recommend.md +56 -7
- package/skills/weaver-e10-jinchengda/references/contract-type-fingerprints.md +12 -12
- package/skills/weaver-e10-jinchengda/references/contract-workflow-discovery.md +10 -16
- package/skills/weaver-e10-jinchengda/references/orchestration.md +33 -35
- package/skills/weaver-e10-jucailin/SKILL.md +6 -7
- package/skills/weaver-e10-jucailin/agents/openai.yaml +52 -0
- package/skills/weaver-e10-jucailin/references/recruit-interview-overview.md +8 -6
- package/skills/weaver-e10-jucailin/references/recruit-read.md +4 -0
- package/skills/weaver-e10-jucailin/references/recruit-screening-to-interview-sop.md +2 -2
- package/skills/weaver-e10-jucailin/references/recruit-write.md +4 -4
- package/skills/weaver-e10-meeting/SKILL.md +87 -534
- package/skills/weaver-e10-meeting/references/commands-table.md +61 -0
- package/skills/weaver-e10-meeting/references/create-commands.md +136 -0
- package/skills/weaver-e10-meeting/references/create-flow.md +9 -7
- package/skills/weaver-e10-meeting/references/create-guardrails.md +23 -17
- package/skills/weaver-e10-meeting/references/custom-fields.md +40 -0
- package/skills/weaver-e10-meeting/references/eb-contracts.md +60 -0
- package/skills/weaver-e10-meeting/references/invitation.md +69 -0
- package/skills/weaver-e10-meeting/references/meeting-eb.md +26 -26
- package/skills/weaver-e10-meeting/references/meeting-invitation.md +2 -2
- package/skills/weaver-e10-meeting/references/meeting-minute-file.md +2 -2
- package/skills/weaver-e10-meeting/references/meeting-verification.md +1 -1
- package/skills/weaver-e10-meeting/references/minutes-pipeline.md +119 -0
- package/skills/weaver-e10-meeting/references/pitfalls.md +1 -1
- package/skills/weaver-e10-meeting/references/room-recommend.md +88 -0
- package/skills/weaver-e10-performance/SKILL.md +45 -5
- package/skills/weaver-e10-performance/agents/openai.yaml +26 -2
- package/skills/weaver-e10-performance/references/flow-api.md +128 -0
- package/skills/weaver-e10-performance/references/flow-assess.md +149 -0
- package/skills/weaver-e10-recruit-stage/SKILL.md +317 -266
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +22 -27
- package/skills/weaver-e10-recruit-stage/references/env-ziyong.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +30 -27
- package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +2 -6
- package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +12 -10
- package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +2 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +23 -19
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-template.md +3 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-list-candidate.md +18 -16
- package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +25 -23
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +10 -10
- package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +2 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +11 -11
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +150 -85
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +14 -18
- package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +173 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-tag-taxonomy.json +76 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +3 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +2 -2
- package/skills/weaver-e10-workflow/SKILL.md +49 -32
- package/skills/weaver-e10-workflow/references/todo-dialogue.md +67 -34
- package/skills/weaver-e10-workflow/references/todo-smart-convert.md +65 -51
- package/skills/weaver-e10-workflow/references/workflow-agent-entry.md +18 -11
- package/skills/weaver-e10-workflow/references/workflow-create.md +2 -2
- package/skills/weaver-e10-workflow/references/workflow-memory.md +19 -37
- package/skills/weaver-e10-workflow/references/workflow-query.md +25 -22
- package/skills/weaver-e10-workflow/references/workflow-view.md +1 -1
- package/skills/weaver-e10-workflow/tools/todo-summary.cjs +318 -110
- package/skills/weaver-e10-yimiaoban/SKILL.md +17 -14
- package/skills/weaver-e10-yimiaoban/references/person.md +1 -1
- package/skills/weaver-e10-yimiaoban/references/safety-boundaries.md +1 -1
- package/skills/weaver-e10-yimiaoban/references/source-manifest.json +9 -9
- package/dist/chunks/chunk-6QYNE6HE.js +0 -658
- package/dist/chunks/chunk-SHYQUBY3.js +0 -48
- package/dist/shortcuts/contract/operations/card-action.js +0 -1266
- package/dist/shortcuts/contract/operations/card-plan.js +0 -393
- package/dist/shortcuts/contract/operations/card.js +0 -232
- package/dist/shortcuts/contract/operations/compare-screen.js +0 -378
- package/dist/shortcuts/contract/operations/quote-to-contract.js +0 -495
- package/dist/shortcuts/contract/operations/quotescreen.js +0 -529
- package/dist/shortcuts/contract/operations/summary-validate.js +0 -293
- package/dist/shortcuts/contract/operations/summary.js +0 -187
- package/dist/shortcuts/ehr/recruit-stage/batch-store.js +0 -78
- package/dist/shortcuts/ehr/recruit-stage/context.js +0 -231
- package/dist/shortcuts/ehr/recruit-stage/continuation.js +0 -74
- package/dist/shortcuts/ehr/recruit-stage/errors.js +0 -65
- package/dist/shortcuts/ehr/recruit-stage/fs-scan.js +0 -165
- package/dist/shortcuts/ehr/recruit-stage/host.js +0 -109
- package/dist/shortcuts/ehr/recruit-stage/operations/interview-arrange.js +0 -1065
- package/dist/shortcuts/ehr/recruit-stage/operations/interview-feedback.js +0 -295
- package/dist/shortcuts/ehr/recruit-stage/operations/jd-create.js +0 -961
- package/dist/shortcuts/ehr/recruit-stage/operations/list.js +0 -431
- package/dist/shortcuts/ehr/recruit-stage/operations/registry.js +0 -50
- package/dist/shortcuts/ehr/recruit-stage/operations/resume-import.js +0 -1655
- package/dist/shortcuts/ehr/recruit-stage/operations/search.js +0 -158
- package/dist/shortcuts/ehr/recruit-stage/operations/types.js +0 -34
- package/dist/shortcuts/ehr/recruit-stage/runtime.js +0 -31
- package/dist/shortcuts/ehr/recruit-stage/school-tiers.json +0 -318
- package/dist/shortcuts/ehr/recruit-stage/shared.js +0 -887
- package/skills/weaver-e10-jinchengda/references/contract-action-card-template.html +0 -22
- package/skills/weaver-e10-jinchengda/references/contract-action-card.md +0 -554
- package/skills/weaver-e10-jinchengda/references/contract-action-engine.md +0 -279
- package/skills/weaver-e10-jinchengda/references/contract-card-render-internals.md +0 -483
- package/skills/weaver-e10-jinchengda/references/contract-template-selector.md +0 -46
- package/skills/weaver-e10-recruit-stage/lib/recruit-resume-photo.py +0 -194
|
@@ -408,6 +408,12 @@ const performanceContracts = [
|
|
|
408
408
|
searchParamJson: { type: 'string' },
|
|
409
409
|
pageSize: { type: 'integer', minimum: 1, maximum: 1000 },
|
|
410
410
|
maxPages: { type: 'integer', minimum: 1, maximum: 100 },
|
|
411
|
+
ledgerIntent: {
|
|
412
|
+
type: 'string',
|
|
413
|
+
enum: ['detail', 'aggregate', 'compare', 'crosscheck', 'report'],
|
|
414
|
+
description: '取数意图:detail 表示只是要看明细,会被拦下并引导改用台账卡;'
|
|
415
|
+
+ 'aggregate / compare / crosscheck / report 表示要页面给不出的结论',
|
|
416
|
+
},
|
|
411
417
|
}, ['apiPrefix', 'listId', 'appId', 'objId']),
|
|
412
418
|
},
|
|
413
419
|
{
|
|
@@ -452,7 +458,7 @@ const quoteContracts = [
|
|
|
452
458
|
out: { type: 'string', minLength: 1, maxLength: 4096, description: '输出 docx 绝对路径' },
|
|
453
459
|
plan: {
|
|
454
460
|
anyOf: [{ type: 'object' }, { type: 'string' }],
|
|
455
|
-
description: '填充方案:{ slots:[{slotId,value}], details:[{slotId,items,subtotal}], unsupported:[], totals:{grandTotal,installments} };也可传 JSON
|
|
461
|
+
description: '填充方案:{ slots:[{slotId,value}], details:[{slotId,items,subtotal}], unsupported:[], totals:{grandTotal,installments} };也可传 JSON 文件路径。金额一律不要手写数值,用值引用 {"$quote":"<报价书解析结果.json 绝对路径>#totals.final_total"}(明细可用 #sections.0.items、小计用 #sections.0.total),真值由本进程读;写 [[MONEY_*]] 报 plan_value_placeholder、写 ¥144,000.00 报 plan_value_display_text,均拒绝写入',
|
|
456
462
|
},
|
|
457
463
|
strict: { type: 'boolean', description: '默认 true:必填位点未覆盖即判不通过' },
|
|
458
464
|
allowRowInsert: { type: 'boolean', description: '默认 true:明细行不足时克隆已有行补足(不改网格)' },
|
|
@@ -464,57 +470,62 @@ const quoteContracts = [
|
|
|
464
470
|
fixed: { local: true, kind: 'docx-verify' },
|
|
465
471
|
inputSchema: readSchema({
|
|
466
472
|
path: { type: 'string', minLength: 1, maxLength: 4096, description: 'docx 绝对路径' },
|
|
467
|
-
patterns: { type: 'array', items: { type: 'string' }, description: '需要检查残留的占位文本;缺省用内置集合(xxx
|
|
473
|
+
patterns: { type: 'array', items: { type: 'string' }, description: '需要检查残留的占位文本;缺省用内置集合([[MONEY / MONEY_ / xxx公司 / ***有限公司 / 年 月 日 / 【】 / ____ / {{ 等)' },
|
|
468
474
|
title: { type: 'string', description: '应出现的合同名称,用于校验标题替换是否完整' },
|
|
469
475
|
titleCount: { type: 'integer', minimum: 0, description: '标题期望出现次数;传了就要求精确相等,不传只要求至少 1 次' },
|
|
470
476
|
out: { type: 'string', maxLength: 4096, description: '可选:校验报告 JSON 输出路径' },
|
|
471
477
|
}, ['path']),
|
|
472
478
|
},
|
|
473
479
|
{
|
|
474
|
-
name: 'contract.quotescreen.
|
|
480
|
+
name: 'contract.quotescreen.recognize',
|
|
475
481
|
risk: 'local-file-write',
|
|
476
|
-
fixed: { local: true, kind: 'quote-
|
|
477
|
-
inputSchema: readSchema({
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
482
|
+
fixed: { local: true, kind: 'quote-recognize' },
|
|
483
|
+
inputSchema: readSchema({
|
|
484
|
+
fileId: { type: 'string', minLength: 1, description: 'flow.launch 返回的 workflow fileId(唯一来源)' },
|
|
485
|
+
flow: { type: 'string', enum: ['契约锁', '新客户', '常规二次销售', '老客户增值'], description: '合同类型;不传则按报价单类型标识识别,判不出返回 needsConfirm 待确认' },
|
|
486
|
+
customerName: { type: 'string', minLength: 1, description: '报价单客户全称(即最终用户)' },
|
|
487
|
+
contractTitle: { type: 'string', maxLength: 400, description: '合同名称;缺省按「客户全称 + 合同管理系统软件产品及实施服务购买合同」生成' },
|
|
488
|
+
contractFileName: { type: 'string', maxLength: 400, description: '合同文件落盘名;缺省与 contractTitle 同名,通用名(如「合同」)会被纠正为合同名称' },
|
|
489
|
+
totalAmount: {
|
|
490
|
+
anyOf: [{ type: 'number' }, { type: 'string' }, { type: 'object' }],
|
|
491
|
+
description: '报价单最终优惠报价(不是标准价合计)。三选一:① 纯数值(如 809166.76);② 可唯一归一的字符串(如 "¥809,166.76");③ **推荐**值引用 {"$quote":"<解析结果.json 绝对路径>#totals.final_total"},真值由本进程读、金额不经过模型上下文。传脱敏占位符 [[MONEY_*]] 会被 total_amount_placeholder 拒收',
|
|
492
|
+
},
|
|
493
|
+
ourCompany: { type: 'string', description: '我方签约主体,默认「泛微网络科技股份有限公司」' },
|
|
494
|
+
sections: {
|
|
495
|
+
anyOf: [{ type: 'array', items: { type: 'object' }, }, { type: 'object' }],
|
|
496
|
+
description: '报价单费用分节,用于归纳合同背景说明。可传数组,也可传值引用 {"$quote":"<解析结果.json>#sections"}(解析结果的 sections 已含 title/total,能被直接消费)',
|
|
497
|
+
},
|
|
498
|
+
background: { type: 'string', maxLength: 2000, description: '合同背景说明;不传按报价单分节自动归纳' },
|
|
499
|
+
quoteTitle: { type: 'string', description: '报价单标题,供合同类型识别' },
|
|
500
|
+
quoteFileName: { type: 'string', description: '报价单文件名,供合同类型识别' },
|
|
501
|
+
verified: { type: 'boolean', description: '上游 slots.fill 校验是否 PASS;false 时全部 origin 置空,默认 true' },
|
|
502
|
+
out: { type: 'string', maxLength: 4096, description: '可选:recognize.json 输出路径' },
|
|
503
|
+
}, ['fileId', 'customerName', 'totalAmount']),
|
|
489
504
|
},
|
|
490
505
|
{
|
|
491
|
-
name: 'contract.quotescreen.
|
|
492
|
-
risk: '
|
|
493
|
-
fixed: { local:
|
|
494
|
-
inputSchema: readSchema({
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
subjectTitle: { type: 'string', description: '标的表述,默认「协同办公系统(e-cology)」' },
|
|
502
|
-
ourCompany: { type: 'string', description: '我方签约主体,默认「泛微网络科技股份有限公司」' },
|
|
503
|
-
signDate: { type: 'string', description: '签订/生效日期文本;缺省取当天' },
|
|
504
|
-
signPlace: { type: 'string', description: '签订地点,默认「上海市」' },
|
|
505
|
-
payments: {
|
|
506
|
-
type: 'array',
|
|
507
|
-
items: { type: 'number' },
|
|
508
|
-
description: '付款分期:传比例(如 0.3/0.3/0.3/0.1)或绝对金额数组;缺省 30/30/30/10',
|
|
506
|
+
name: 'contract.quotescreen.submit',
|
|
507
|
+
risk: 'write',
|
|
508
|
+
fixed: { local: false, kind: 'quote-submit' },
|
|
509
|
+
inputSchema: readSchema({
|
|
510
|
+
contractPath: { type: 'string', minLength: 1, maxLength: 4096, description: '生成的合同 docx 绝对路径(quotescreen.tocontract 的 contract.path)' },
|
|
511
|
+
flow: { type: 'string', enum: ['契约锁', '新客户', '常规二次销售', '老客户增值'], description: '合同类型;须由编排层按报价单标识确认后传入' },
|
|
512
|
+
customerName: { type: 'string', minLength: 1, description: '报价单客户全称(即最终用户)' },
|
|
513
|
+
totalAmount: {
|
|
514
|
+
anyOf: [{ type: 'number' }, { type: 'string' }, { type: 'object' }],
|
|
515
|
+
description: '报价单最终优惠报价(不是标准价合计)。三选一:① 纯数值(如 809166.76);② 可唯一归一的字符串(如 "¥809,166.76");③ **推荐**值引用 {"$quote":"<解析结果.json 绝对路径>#totals.final_total"}。传脱敏占位符 [[MONEY_*]] 会被 total_amount_placeholder 拒收',
|
|
509
516
|
},
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
517
|
+
contractTitle: { type: 'string', maxLength: 400, description: '合同名称;缺省按「客户全称 + 合同管理系统软件产品及实施服务购买合同」生成' },
|
|
518
|
+
fileName: { type: 'string', maxLength: 400, description: '合同文件名;缺省取 contractPath 的文件名,通用名(如「合同」)会被纠正为合同名称' },
|
|
519
|
+
ourCompany: { type: 'string', description: '我方签约主体,默认「泛微网络科技股份有限公司」' },
|
|
520
|
+
sections: { type: 'array', items: { type: 'object' }, description: '报价单费用分节(name + amount),用于归纳合同背景说明' },
|
|
521
|
+
background: { type: 'string', maxLength: 2000, description: '合同背景说明;不传按报价单分节自动归纳' },
|
|
522
|
+
quoteTitle: { type: 'string', description: '报价单标题,供合同类型识别' },
|
|
523
|
+
quoteFileName: { type: 'string', description: '报价单文件名,供合同类型识别' },
|
|
524
|
+
verified: { type: 'boolean', description: '上游 slots.fill 校验是否 PASS;false 时全部 origin 置空,默认 true' },
|
|
525
|
+
tab: { type: 'string', enum: ['Extract', 'Summary', 'RiskReview', 'Credit', 'termComponent'], description: '合同智能页页签,默认 Extract' },
|
|
526
|
+
contractTermIds: { type: 'string', description: '待引用条款 ID,多个逗号拼接;无条款引用不传' },
|
|
527
|
+
reuseFileId: { type: 'string', description: '已存在的 workflow fileId(仅复用场景);一般不传,由本操作上传产生' },
|
|
528
|
+
}, ['contractPath', 'flow', 'customerName', 'totalAmount']),
|
|
518
529
|
},
|
|
519
530
|
{
|
|
520
531
|
name: 'contract.triage.extract',
|
|
@@ -547,6 +558,17 @@ const quoteContracts = [
|
|
|
547
558
|
limit: { type: 'integer', minimum: 1, maximum: 1000, description: '明细最多返回条数,默认 20' },
|
|
548
559
|
}),
|
|
549
560
|
},
|
|
561
|
+
{
|
|
562
|
+
name: 'contract.ledger.metrics',
|
|
563
|
+
risk: 'read',
|
|
564
|
+
fixed: { local: true, kind: 'ledger-metrics' },
|
|
565
|
+
inputSchema: readSchema({
|
|
566
|
+
key: {
|
|
567
|
+
type: 'string',
|
|
568
|
+
description: '统计口径键或中文名(合同业绩 / 合同已收款 / eteams业绩);不传返回全部口径',
|
|
569
|
+
},
|
|
570
|
+
}),
|
|
571
|
+
},
|
|
550
572
|
{
|
|
551
573
|
name: 'contract.ledger.guard',
|
|
552
574
|
risk: 'read',
|
|
@@ -569,105 +591,57 @@ const quoteContracts = [
|
|
|
569
591
|
}, ['menu', 'total']),
|
|
570
592
|
},
|
|
571
593
|
{
|
|
572
|
-
name: 'contract.
|
|
573
|
-
risk: 'local-file-write',
|
|
574
|
-
fixed: { local: true, kind: 'summary-render' },
|
|
575
|
-
inputSchema: readSchema({
|
|
576
|
-
data: { type: 'string', minLength: 1, maxLength: 4096, description: '摘要数据 JSON 文件路径' },
|
|
577
|
-
out: { type: 'string', minLength: 1, maxLength: 4096, description: '输出 HTML 绝对路径' },
|
|
578
|
-
}, ['data', 'out']),
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
name: 'contract.card.render',
|
|
582
|
-
risk: 'local-file-write',
|
|
583
|
-
fixed: { local: true, kind: 'card-render' },
|
|
584
|
-
inputSchema: readSchema({
|
|
585
|
-
data: { type: 'string', minLength: 1, maxLength: 4096, description: '卡片数据 JSON 文件路径(cards 数组 + title/width/hint)' },
|
|
586
|
-
out: { type: 'string', minLength: 1, maxLength: 4096, description: '输出卡片 HTML 绝对路径(即 customParams.html 内容)' },
|
|
587
|
-
summary: { type: 'string', minLength: 1, maxLength: 4096, description: '可选:摘要数据 JSON 路径,渲染后内嵌为 artifact 动作的内容' },
|
|
588
|
-
browsertool: { type: 'string', minLength: 1, maxLength: 4096, description: '可选:同时输出完整 browsertool JSON 的路径' },
|
|
589
|
-
baseUrl: { type: 'string', minLength: 1, maxLength: 2048, description: '可选:当前 E10 环境地址,缺省取登录会话' },
|
|
590
|
-
}, ['data', 'out']),
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
name: 'contract.card.plan',
|
|
594
|
+
name: 'contract.ledger.route',
|
|
594
595
|
risk: 'read',
|
|
595
|
-
fixed: { local: true, kind: '
|
|
596
|
+
fixed: { local: true, kind: 'ledger-route' },
|
|
596
597
|
inputSchema: readSchema({
|
|
597
|
-
|
|
598
|
+
query: { type: 'string', description: '用户原话,用于识别统计信号(多少/几份/合计/排名/同比/报表等)' },
|
|
599
|
+
menu: {
|
|
600
|
+
type: 'string',
|
|
601
|
+
description: '台账名(直销合同/直销业绩/渠道订单/渠道订单-商务/合同收款/项目验收);不传按条件推断',
|
|
602
|
+
},
|
|
603
|
+
intent: {
|
|
604
|
+
type: 'string',
|
|
605
|
+
enum: ['detail', 'aggregate', 'compare', 'crosscheck', 'report'],
|
|
606
|
+
description: '显式诉求:detail 只看明细;其余表示要页面给不出的结论',
|
|
607
|
+
},
|
|
608
|
+
conditions: {
|
|
598
609
|
type: 'object',
|
|
599
|
-
description: '
|
|
610
|
+
description: '条件对象:person / team / yearMonth / dateRange / customer / contractNo',
|
|
600
611
|
},
|
|
601
|
-
contextFile: { type: 'string', minLength: 1, maxLength: 4096, description: '上下文状态 JSON 文件路径' },
|
|
602
|
-
contextJson: { type: 'string', minLength: 1, description: '上下文状态 JSON 字符串' },
|
|
603
612
|
}),
|
|
604
613
|
},
|
|
605
614
|
{
|
|
606
|
-
name: 'contract.card
|
|
615
|
+
name: 'contract.ledger.card',
|
|
607
616
|
risk: 'local-file-write',
|
|
608
|
-
fixed: { local: true, kind: '
|
|
617
|
+
fixed: { local: true, kind: 'ledger-card' },
|
|
609
618
|
inputSchema: readSchema({
|
|
610
619
|
menu: { type: 'string', description: '菜单名或别名(直销合同/直销业绩/合同收款/项目验收/渠道订单/渠道订单-商务);前四个用台账页卡,合同收款与项目验收用列表卡' },
|
|
611
620
|
pageId: { type: 'string', pattern: '^\\d{6,}$', description: '直接给 pageId;与 menu 二选一,同时给时以 pageId 为准(按列表卡生成)' },
|
|
612
|
-
origin: { type: 'string', minLength: 1, description: '
|
|
621
|
+
origin: { type: 'string', minLength: 1, description: '可选:scheme+host,不带路径或 query;缺省取当前会话 baseUrl 的 scheme+host。不要传 {baseUrl} 占位符' },
|
|
613
622
|
title: { type: 'string', description: '卡片标题,默认取菜单名' },
|
|
614
623
|
callId: { type: 'string', description: '默认 ledger-<菜单>-<YYYYMMDDHHmm>-01;列表卡为 ebdf-list-<菜单>-<YYYYMMDDHHmm>-01' },
|
|
615
624
|
comParamPairs: { type: 'array', items: { type: 'string' }, description: '台账页:形如 khmc=泛微 的台账键(日期/金额区间请用 comParamsJson);列表卡:形如 field_<字段id>=<值>;与 comParamsJson 互斥' },
|
|
616
|
-
comParamsJson: { type: 'string', description: '筛选对象的 JSON
|
|
625
|
+
comParamsJson: { type: 'string', description: '筛选对象的 JSON 字符串(必须序列化成字符串传,不能直接传对象):台账页传 { "khmc": "泛微", "qdrq": ["2024-01-01", "2024-12-31"] };列表卡传 comParams 对象;与 comParamPairs 互斥' },
|
|
617
626
|
out: { type: 'string', maxLength: 4096, description: '可选:卡片 JSON 输出路径' },
|
|
618
|
-
}
|
|
627
|
+
}),
|
|
619
628
|
},
|
|
620
629
|
{
|
|
621
|
-
name: 'contract.
|
|
630
|
+
name: 'contract.review.report',
|
|
622
631
|
risk: 'local-file-write',
|
|
623
|
-
fixed: { local: true, kind: '
|
|
632
|
+
fixed: { local: true, kind: 'review-report' },
|
|
624
633
|
inputSchema: readSchema({
|
|
625
634
|
ref: { type: 'string', maxLength: 4096, description: 'CLI 落盘的审查结果 JSON(含 envelope);与 data 二选一' },
|
|
626
635
|
data: { type: 'string', maxLength: 4096, description: '已归一化的 report_data.json;与 ref 二选一' },
|
|
627
|
-
out: { type: 'string', maxLength: 4096, description: '
|
|
628
|
-
payload: { type: 'string', maxLength: 4096, description: '可选:同时输出 browsertool payload JSON 的路径' },
|
|
636
|
+
out: { type: 'string', minLength: 1, maxLength: 4096, description: '必填:报告 HTML 产物输出绝对路径。报告只以产物文件交付(不出卡片、不注入面板)' },
|
|
629
637
|
dumpData: { type: 'string', maxLength: 4096, description: '可选:只抽取数据并保存到此路径' },
|
|
630
638
|
template: { type: 'string', maxLength: 4096, description: '可选:自定义模板路径;缺省用内置模板' },
|
|
631
639
|
contract: { type: 'string', description: '合同名称' },
|
|
632
640
|
partyA: { type: 'string', description: '甲方' },
|
|
633
641
|
partyB: { type: 'string', description: '乙方' },
|
|
634
642
|
reviewDate: { type: 'string', description: '审查日期' },
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
aiid: { type: 'string', description: '审查助手 id,默认 1326842382967570463' },
|
|
638
|
-
baseUrl: { type: 'string', maxLength: 2048, description: 'E10 地址,默认 https://www.e-cology.com.cn' },
|
|
639
|
-
cardId: { type: 'string', description: '卡片唯一 id' },
|
|
640
|
-
callId: { type: 'string', description: 'payload callId' },
|
|
641
|
-
title: { type: 'string', description: '卡片标题' },
|
|
642
|
-
}),
|
|
643
|
-
},
|
|
644
|
-
{
|
|
645
|
-
name: 'contract.card.action',
|
|
646
|
-
risk: 'local-file-write',
|
|
647
|
-
fixed: { local: true, kind: 'action-card-render' },
|
|
648
|
-
inputSchema: readSchema({
|
|
649
|
-
context: { type: 'object', description: '上下文状态对象(scene / docType / flowKey / reviewed / submitted 等);优先于 contextFile / contextJson' },
|
|
650
|
-
contextFile: { type: 'string', maxLength: 4096, description: '上下文状态 JSON 文件路径;都缺省时按产物目录找 card_context.json / first_screen_result.json' },
|
|
651
|
-
contextJson: { type: 'string', description: '上下文状态 JSON 字符串' },
|
|
652
|
-
fileId: { type: 'string', description: '审查/流程用的 fileId' },
|
|
653
|
-
fileName: { type: 'string', description: '合同文件名(打开审查详情用)' },
|
|
654
|
-
flowKey: { type: 'string', enum: ['契约锁', '新客户', '常规二次销售', '老客户增值'], description: '合同流程类型;决定「发起流程」卡是否生成' },
|
|
655
|
-
companyName: { type: 'string', description: '对方企业全称;决定「查对方资信」卡是否生成' },
|
|
656
|
-
summaryHtml: { type: 'string', maxLength: 4096, description: '摘要 HTML 文件路径(内嵌为「查看合同摘要」内容)' },
|
|
657
|
-
reportHtml: { type: 'string', maxLength: 4096, description: '审查报告 HTML 文件路径(内嵌为「导出审查报告」内容)' },
|
|
658
|
-
compareHtml: { type: 'string', maxLength: 4096, description: '比对报告 HTML 文件路径(内嵌为「生成比对报告」内容)' },
|
|
659
|
-
aiExtraId: { type: 'string', description: '要素预填识别记录 ID;缺省从 context 的 aiExtraId 取' },
|
|
660
|
-
attachmentFieldId: { type: 'string', description: '合同文件在表单上的附件字段 ID;缺省从 context 取' },
|
|
661
|
-
fieldAssignKeys: { type: 'string', description: '赋值字段 ID,逗号拼接字符串(非数组);缺省取合同文件字段或 context 的 fieldAssignKeys' },
|
|
662
|
-
baseUrl: { type: 'string', maxLength: 2048, description: 'E10 地址,默认 https://www.e-cology.com.cn' },
|
|
663
|
-
aiid: { type: 'string', description: '审查助手 id,默认 1326842382967570463' },
|
|
664
|
-
cardId: { type: 'string', description: '卡片唯一 id,默认 card-<YYYYMMDDHHmm>' },
|
|
665
|
-
callId: { type: 'string', description: 'payload callId,默认 contract-card-<stamp>-01' },
|
|
666
|
-
title: { type: 'string', description: '卡片标题,默认「可做的 N 件事」' },
|
|
667
|
-
only: { type: 'string', description: '只输出指定动作,逗号分隔(如 launch-flow);仍由本操作生成' },
|
|
668
|
-
template: { type: 'string', maxLength: 4096, description: '可选:自定义模板路径;缺省用内置模板' },
|
|
669
|
-
out: { type: 'string', maxLength: 4096, description: '可选:写入 browsertool 文件;不传则只在结果中返回' },
|
|
670
|
-
}),
|
|
643
|
+
cardId: { type: 'string', description: '报告根节点 id' },
|
|
644
|
+
}, ['out']),
|
|
671
645
|
},
|
|
672
646
|
{
|
|
673
647
|
name: 'contract.elements.build',
|
|
@@ -690,34 +664,22 @@ const quoteContracts = [
|
|
|
690
664
|
fixed: { local: true, kind: 'first-screen-orchestration' },
|
|
691
665
|
inputSchema: readSchema({
|
|
692
666
|
file: { type: 'string', minLength: 1, maxLength: 4096, description: '主合同文件绝对路径' },
|
|
693
|
-
outDir: { type: 'string', minLength: 1, maxLength: 4096, description: '产物目录(放中间 JSON
|
|
694
|
-
attach: { type: 'array', items: { type: 'string' }, description: '
|
|
667
|
+
outDir: { type: 'string', minLength: 1, maxLength: 4096, description: '产物目录(放中间 JSON 与 first_screen_result.json)' },
|
|
668
|
+
attach: { type: 'array', items: { type: 'string' }, description: '随附文件(协议/补充协议/清单);与主文件一起走流程通道上传并全部挂到表单附件字段' },
|
|
695
669
|
flow: { type: 'string', enum: ['契约锁', '新客户', '常规二次销售', '老客户增值'], description: '留空则从 triage.json 的 flowKey 读取' },
|
|
696
670
|
triage: { type: 'string', maxLength: 4096, description: 'triage.json 路径;缺省取 outDir/triage.json' },
|
|
697
|
-
aiFill: { type: 'string', maxLength: 4096, description: 'ai_fill.json
|
|
698
|
-
summaryData: { type: 'string', maxLength: 4096, description: 'summary_data.json 路径;不传则跳过摘要渲染' },
|
|
671
|
+
aiFill: { type: 'string', maxLength: 4096, description: 'ai_fill.json(只填 elements)' },
|
|
699
672
|
recognizeFile: { type: 'string', maxLength: 4096, description: 'recognizeResult 的 JSON 文件;不传则用内置字段表自动组装,拿不到就降级' },
|
|
700
|
-
companyName: { type: 'string', description: '
|
|
673
|
+
companyName: { type: 'string', description: '对方主体全称,用于资信查询' },
|
|
701
674
|
counterparty: { type: 'boolean', description: '是否存在可查的对方主体' },
|
|
702
|
-
|
|
675
|
+
tab: {
|
|
676
|
+
type: 'string',
|
|
677
|
+
enum: ['Extract', 'Summary', 'RiskReview', 'Credit', 'termComponent'],
|
|
678
|
+
description: '合同智能页页签,按用户本轮行为取值;缺省 Extract(发起流程/要素提取)',
|
|
679
|
+
},
|
|
703
680
|
baseUrl: { type: 'string', maxLength: 2048, description: 'E10 地址,默认 https://www.e-cology.com.cn' },
|
|
704
|
-
aiid: { type: 'string', description: '审查助手 id(透传给卡片)' },
|
|
705
|
-
printCard: { type: 'boolean', description: '把成品卡片 HTML 一并返回(data.cardHtmlContent)' },
|
|
706
681
|
}, ['file', 'outDir']),
|
|
707
682
|
},
|
|
708
|
-
{
|
|
709
|
-
name: 'contract.summary.validate',
|
|
710
|
-
risk: 'local-file-write',
|
|
711
|
-
fixed: { local: true, kind: 'summary-validate' },
|
|
712
|
-
inputSchema: readSchema({
|
|
713
|
-
summary: { type: 'string', minLength: 1, maxLength: 4096, description: '模型生成的 summary_data.json 路径' },
|
|
714
|
-
text: { type: 'string', maxLength: 4096, description: '可选:contract_text.txt,用于金额回查' },
|
|
715
|
-
triage: { type: 'string', maxLength: 4096, description: '可选:triage.json;配合 elements 合流要素' },
|
|
716
|
-
elements: { type: 'string', maxLength: 4096, description: '可选:模型语义提取的 elements.json' },
|
|
717
|
-
outSummary: { type: 'string', maxLength: 4096, description: '可选:校验通过后落地的 summary_data.json 路径' },
|
|
718
|
-
strict: { type: 'boolean', description: '可选:WARN 也视为不通过(仅影响 data.pass,不改变 fails)' },
|
|
719
|
-
}, ['summary']),
|
|
720
|
-
},
|
|
721
683
|
{
|
|
722
684
|
name: 'contract.file.download',
|
|
723
685
|
risk: 'local-file-write',
|
|
@@ -749,6 +711,7 @@ const quoteContracts = [
|
|
|
749
711
|
sheet: { type: 'string' },
|
|
750
712
|
keepRemark: { type: 'boolean' },
|
|
751
713
|
includeZero: { type: 'boolean' },
|
|
714
|
+
out: { type: 'string', maxLength: 4096, description: '可选:把解析结果写成 JSON。落盘后后续可用 {"$quote":"<该文件>#totals.final_total"} 引用真值,金额不经过模型上下文' },
|
|
752
715
|
}, ['path']),
|
|
753
716
|
},
|
|
754
717
|
{
|
|
@@ -764,7 +727,8 @@ const quoteContracts = [
|
|
|
764
727
|
risk: 'read',
|
|
765
728
|
fixed: { local: true, kind: 'quote-normalize' },
|
|
766
729
|
inputSchema: readSchema({
|
|
767
|
-
data: { type: 'string', minLength: 1 },
|
|
730
|
+
data: { type: 'string', minLength: 1, description: '模型产出的报价 JSON 文件路径' },
|
|
731
|
+
out: { type: 'string', maxLength: 4096, description: '可选:把归一化后的解析结果写成 JSON。落盘后后续可用 {"$quote":"<该文件>#totals.final_total"} 引用真值' },
|
|
768
732
|
}, ['data']),
|
|
769
733
|
},
|
|
770
734
|
];
|
|
@@ -797,55 +761,9 @@ export const contractOperations = [
|
|
|
797
761
|
fixed: { method: 'GET', path: '/api/ebd/contract/type/allTypes' },
|
|
798
762
|
inputSchema: readSchema({}),
|
|
799
763
|
},
|
|
800
|
-
{
|
|
801
|
-
name: 'contract.template.tree',
|
|
802
|
-
risk: 'read',
|
|
803
|
-
auth: AUTH,
|
|
804
|
-
fixed: { method: 'GET', path: '/api/ebd/contract/tpltree/queryList' },
|
|
805
|
-
inputSchema: readSchema({
|
|
806
|
-
treeName: { type: 'string' },
|
|
807
|
-
parentId: idString,
|
|
808
|
-
treeType: { type: 'integer' },
|
|
809
|
-
isSystem: { type: 'integer' },
|
|
810
|
-
useType: { type: 'integer' },
|
|
811
|
-
appId: idString,
|
|
812
|
-
}),
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
name: 'contract.template.list',
|
|
816
|
-
risk: 'read',
|
|
817
|
-
auth: AUTH,
|
|
818
|
-
fixed: { method: 'GET', path: '/api/ebd/contract/tplinfo/getListPage', defaults: { pageNo: 1, pageSize: 10 } },
|
|
819
|
-
inputSchema: readSchema({
|
|
820
|
-
templateName: { type: 'string' },
|
|
821
|
-
templateDesc: { type: 'string' },
|
|
822
|
-
belongId: idString,
|
|
823
|
-
contractType: idString,
|
|
824
|
-
templateStatus: { type: 'integer', enum: [0, 1] },
|
|
825
|
-
source: { type: 'integer', enum: [0, 1, 2] },
|
|
826
|
-
sourceType: { type: 'string' },
|
|
827
|
-
templateVersion: { type: 'string' },
|
|
828
|
-
operateType: { type: 'integer' },
|
|
829
|
-
useType: { type: 'integer' },
|
|
830
|
-
code: { type: 'string' },
|
|
831
|
-
appId: idString,
|
|
832
|
-
formId: idString,
|
|
833
|
-
orgId: idString,
|
|
834
|
-
belongSub: { type: 'string' },
|
|
835
|
-
outTime: { type: 'boolean' },
|
|
836
|
-
...pageNoSize,
|
|
837
|
-
}),
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
name: 'contract.template.detail',
|
|
841
|
-
risk: 'read',
|
|
842
|
-
auth: AUTH,
|
|
843
|
-
fixed: { method: 'GET', path: '/api/ebd/contract/tplinfo/getById' },
|
|
844
|
-
inputSchema: readSchema({ id: idString }, ['id']),
|
|
845
|
-
},
|
|
846
764
|
{
|
|
847
765
|
// 范文库(「合同范文管理」EB 表单)。本技能内「模板」== 「范文」,
|
|
848
|
-
// 与合同模板库 tplinfo
|
|
766
|
+
// 与合同模板库 tplinfo 是互不相通的两个对象(tplinfo 的 contract.template.* 已于 2026-11-19 移除)。
|
|
849
767
|
name: 'contract.modeltext.list',
|
|
850
768
|
risk: 'read',
|
|
851
769
|
auth: AUTH,
|
|
@@ -1357,67 +1275,6 @@ export const contractOperations = [
|
|
|
1357
1275
|
otherParams: { type: 'string' },
|
|
1358
1276
|
}, ['requestId']),
|
|
1359
1277
|
},
|
|
1360
|
-
{
|
|
1361
|
-
name: 'contract.review.upload',
|
|
1362
|
-
risk: 'read-with-upload',
|
|
1363
|
-
auth: AUTH,
|
|
1364
|
-
fixed: {
|
|
1365
|
-
method: 'POST',
|
|
1366
|
-
path: '/api/file/preUploadCheck',
|
|
1367
|
-
followUpPath: '/api/file/module/upload',
|
|
1368
|
-
module: 'ebContract',
|
|
1369
|
-
createDoc: true,
|
|
1370
|
-
pagePath: '/sp/contract/business/ai-contract',
|
|
1371
|
-
prewarmPath: '/api/ebd/contract/ai/saveInternalRecord',
|
|
1372
|
-
prewarmFlowId: '1269716062340284522',
|
|
1373
|
-
},
|
|
1374
|
-
inputSchema: readSchema({
|
|
1375
|
-
paths: {
|
|
1376
|
-
type: 'array',
|
|
1377
|
-
minItems: 1,
|
|
1378
|
-
maxItems: 10,
|
|
1379
|
-
items: { type: 'string', minLength: 1, maxLength: 1000 },
|
|
1380
|
-
},
|
|
1381
|
-
prewarm: {
|
|
1382
|
-
type: 'boolean',
|
|
1383
|
-
description: '默认 true:上传成功即触发预审预热;传 false 可关闭',
|
|
1384
|
-
},
|
|
1385
|
-
}, ['paths']),
|
|
1386
|
-
},
|
|
1387
|
-
{
|
|
1388
|
-
name: 'contract.review.prewarm',
|
|
1389
|
-
risk: 'write',
|
|
1390
|
-
auth: AUTH,
|
|
1391
|
-
fixed: {
|
|
1392
|
-
method: 'POST',
|
|
1393
|
-
path: '/api/ebd/contract/ai/saveInternalRecord',
|
|
1394
|
-
flowId: '1269716062340284522',
|
|
1395
|
-
purpose: '合同预审预处理:提前启动预审,打开审查页时结果已就绪',
|
|
1396
|
-
},
|
|
1397
|
-
inputSchema: readSchema({
|
|
1398
|
-
fileId: { ...idString, description: '上传返回的 fileId' },
|
|
1399
|
-
}, ['fileId']),
|
|
1400
|
-
},
|
|
1401
|
-
{
|
|
1402
|
-
name: 'contract.review.prewarm.batch',
|
|
1403
|
-
risk: 'write',
|
|
1404
|
-
auth: AUTH,
|
|
1405
|
-
fixed: {
|
|
1406
|
-
method: 'POST',
|
|
1407
|
-
path: '/api/ebd/contract/ai/saveInternalRecord',
|
|
1408
|
-
flowId: '1269716062340284522',
|
|
1409
|
-
parallel: true,
|
|
1410
|
-
},
|
|
1411
|
-
inputSchema: readSchema({
|
|
1412
|
-
fileIds: {
|
|
1413
|
-
type: 'array',
|
|
1414
|
-
minItems: 1,
|
|
1415
|
-
maxItems: 10,
|
|
1416
|
-
items: idString,
|
|
1417
|
-
description: '批量预热的 fileId 列表',
|
|
1418
|
-
},
|
|
1419
|
-
}, ['fileIds']),
|
|
1420
|
-
},
|
|
1421
1278
|
{
|
|
1422
1279
|
name: 'contract.review.export',
|
|
1423
1280
|
risk: 'read',
|
|
@@ -1430,8 +1287,10 @@ export const contractOperations = [
|
|
|
1430
1287
|
},
|
|
1431
1288
|
inputSchema: readSchema({
|
|
1432
1289
|
fileId: { type: 'string', minLength: 1, maxLength: 64 },
|
|
1290
|
+
// flowId 必须动态传助手 URL 上的那个值(= 本轮 workflowId);CLI 不再有固定兜底。
|
|
1291
|
+
flowId: { ...idString, description: '助手 URL 上的 flowId(= 本轮合同流程 workflowId,取 firstscreen.run / flow.launch 返回的 workflowId),必传' },
|
|
1433
1292
|
sclx: { type: 'string', pattern: '^8$' },
|
|
1434
|
-
}, ['fileId']),
|
|
1293
|
+
}, ['fileId', 'flowId']),
|
|
1435
1294
|
},
|
|
1436
1295
|
{
|
|
1437
1296
|
// 2026-11-16 新增:一条命令完成「取审查记录 → 解析 scnr → 压成约 8KB 摘要」。
|
|
@@ -1446,14 +1305,22 @@ export const contractOperations = [
|
|
|
1446
1305
|
defaults: { sclx: '8' },
|
|
1447
1306
|
postProcess: 'review-digest',
|
|
1448
1307
|
},
|
|
1449
|
-
inputSchema:
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1308
|
+
inputSchema: {
|
|
1309
|
+
...readSchema({
|
|
1310
|
+
fileId: { type: 'string', minLength: 1, maxLength: 64, description: '审查文件 id;给了 ref 时可省略' },
|
|
1311
|
+
flowId: { ...idString, description: '助手 URL 上的 flowId(= 本轮 workflowId);走接口取结果时必传,给 ref 时可省略' },
|
|
1312
|
+
ref: { type: 'string', maxLength: 4096, description: '可选:直接解析已落盘的导出结果 json,不再请求接口' },
|
|
1313
|
+
sclx: { type: 'string', pattern: '^8$', description: '固定 8(风险审查)' },
|
|
1314
|
+
includePass: { type: 'boolean', description: '默认 true:附判定无风险的规则名清单' },
|
|
1315
|
+
includeOriginal: { type: 'boolean', description: '默认 true:风险条目附合同原文片段' },
|
|
1316
|
+
out: { type: 'string', maxLength: 4096, description: '可选:摘要 JSON 落盘路径' },
|
|
1317
|
+
}),
|
|
1318
|
+
// 走接口时必须成对给 fileId + flowId;给 ref 时不打接口,无需 flowId。
|
|
1319
|
+
anyOf: [
|
|
1320
|
+
{ required: ['ref'] },
|
|
1321
|
+
{ required: ['fileId', 'flowId'] },
|
|
1322
|
+
],
|
|
1323
|
+
},
|
|
1457
1324
|
},
|
|
1458
1325
|
{
|
|
1459
1326
|
name: 'contract.flow.page',
|
|
@@ -1486,7 +1353,6 @@ export const contractOperations = [
|
|
|
1486
1353
|
path: '/api/workflow/core/flowPage/loadBaseParam',
|
|
1487
1354
|
followUpPath: '/api/file/module/upload',
|
|
1488
1355
|
module: 'workflow',
|
|
1489
|
-
automaticFormFilling: true,
|
|
1490
1356
|
},
|
|
1491
1357
|
inputSchema: readSchema({
|
|
1492
1358
|
flow: { type: 'string', enum: ['契约锁', '新客户', '老客户增值', '常规二次销售'] },
|
|
@@ -1608,10 +1474,9 @@ export const contractOperations = [
|
|
|
1608
1474
|
}, ['baseFileId', 'compareFileId']),
|
|
1609
1475
|
},
|
|
1610
1476
|
{
|
|
1611
|
-
name: 'contract.
|
|
1612
|
-
risk: '
|
|
1613
|
-
|
|
1614
|
-
fixed: { local: true, kind: 'compare-screen-orchestration' },
|
|
1477
|
+
name: 'contract.compare.report',
|
|
1478
|
+
risk: 'local-file-write',
|
|
1479
|
+
fixed: { local: true, kind: 'compare-report' },
|
|
1615
1480
|
inputSchema: readSchema({
|
|
1616
1481
|
files: {
|
|
1617
1482
|
type: 'array',
|
|
@@ -1620,24 +1485,15 @@ export const contractOperations = [
|
|
|
1620
1485
|
items: { type: 'string', minLength: 1, maxLength: 1000 },
|
|
1621
1486
|
description: '两个本地文件绝对路径:基准文件在前,比对文件在后(与 baseFileId 二选一)',
|
|
1622
1487
|
},
|
|
1623
|
-
baseFileId: {
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
maxLength: 64,
|
|
1627
|
-
description: '已上传的基准文件 fileId(module=docCompared)',
|
|
1628
|
-
},
|
|
1629
|
-
compareFileId: {
|
|
1630
|
-
type: 'string',
|
|
1631
|
-
minLength: 1,
|
|
1632
|
-
maxLength: 64,
|
|
1633
|
-
description: '已上传的比对文件 fileId(module=docCompared)',
|
|
1634
|
-
},
|
|
1488
|
+
baseFileId: { type: 'string', minLength: 1, maxLength: 64, description: '已上传的基准文件 fileId(module=docCompared)' },
|
|
1489
|
+
compareFileId: { type: 'string', minLength: 1, maxLength: 64, description: '已上传的比对文件 fileId(module=docCompared)' },
|
|
1490
|
+
ref: { type: 'string', maxLength: 4096, description: '已落盘的比对结果 JSON 路径(含 compare.diff 的 result);给了就不再调接口' },
|
|
1635
1491
|
baseFileName: { type: 'string', maxLength: 300, description: '基准文件名;缺省取接口或上传返回值' },
|
|
1636
1492
|
compareFileName: { type: 'string', maxLength: 300, description: '比对文件名;缺省取接口或上传返回值' },
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
}, []),
|
|
1493
|
+
out: { type: 'string', minLength: 1, maxLength: 4096, description: '报告 HTML 输出绝对路径(必填;落盘后用 open_web 打开 file:///)' },
|
|
1494
|
+
template: { type: 'string', maxLength: 4096, description: '自定义模板路径;缺省用内嵌模板(与 contract-compare-report-template.html 互为镜像)' },
|
|
1495
|
+
dumpData: { type: 'string', maxLength: 4096, description: '可选:归一化后的报告数据 JSON 输出路径(排查用)' },
|
|
1496
|
+
}, ['out']),
|
|
1641
1497
|
},
|
|
1642
1498
|
{
|
|
1643
1499
|
name: 'contract.credit.page',
|