weaver-work-cli 0.1.73 → 0.1.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -1
- package/dist/chunks/{archive-THZV4ND4.js → archive-OZJ6PYUR.js} +14 -9
- package/dist/chunks/{archive-oa-PQ23OLEV.js → archive-oa-BHL5RK2F.js} +10 -7
- package/dist/chunks/{asset-RGPROZYH.js → asset-HKRFRQR2.js} +10 -7
- package/dist/chunks/{asset-idle-Z2PDX7NA.js → asset-idle-GGIR4KE7.js} +7 -4
- package/dist/chunks/{attachment-content-R3RPVOYE.js → attachment-content-4OV65NK5.js} +3 -3
- package/dist/chunks/{blog-7U3QZPIF.js → blog-HYDP4DV3.js} +10 -7
- package/dist/chunks/{caizhilian-3AB42GCV.js → caizhilian-JS4RQZ6Z.js} +10 -7
- package/dist/chunks/{calendar-KINM64E4.js → calendar-SWRY4DIT.js} +10 -7
- package/dist/chunks/chunk-257JXJGD.js +30 -0
- package/dist/chunks/{chunk-LLCMOZ5L.js → chunk-2AUFKU2D.js} +11 -11
- package/dist/chunks/chunk-2BZ7TY4M.js +49 -0
- package/dist/chunks/{chunk-WM33BSIL.js → chunk-2QCCXPNU.js} +1 -1
- package/dist/chunks/{chunk-TV46Q4NY.js → chunk-4FCBEWNB.js} +74 -68
- package/dist/chunks/{chunk-NUP4RYZK.js → chunk-5D2V7ZAN.js} +2 -2
- package/dist/chunks/{chunk-DRUND2PJ.js → chunk-5QUTQHXF.js} +225 -152
- package/dist/chunks/{chunk-4BXR6CNB.js → chunk-5ZJGPEIB.js} +2 -2
- package/dist/chunks/chunk-7DE3VMZD.js +35 -0
- package/dist/chunks/chunk-BNKUHN4N.js +1346 -0
- package/dist/chunks/{chunk-2CHGUYMG.js → chunk-BSR5TM7U.js} +4 -4
- package/dist/chunks/{chunk-4I26YMBY.js → chunk-ERZY6GYL.js} +7 -3
- package/dist/chunks/{chunk-4YXAK6OA.js → chunk-FEZK536Z.js} +12 -7
- package/dist/chunks/{chunk-F4HM25K4.js → chunk-I6NOHKEK.js} +1 -1
- package/dist/chunks/{chunk-JMJBPP4B.js → chunk-J7FAAHWH.js} +2 -2
- package/dist/chunks/{chunk-54ST55IJ.js → chunk-JJONWB5N.js} +11 -1
- package/dist/chunks/chunk-JOY3HZXL.js +467 -0
- package/dist/chunks/{chunk-GWJLAF6B.js → chunk-JWF2R6EQ.js} +0 -462
- package/dist/chunks/{chunk-BWYVS62Z.js → chunk-KEA4XQPO.js} +4 -4
- package/dist/chunks/chunk-KINXYJXM.js +205 -0
- package/dist/chunks/{chunk-IBSJJGXL.js → chunk-KWJEICD4.js} +2 -2
- package/dist/chunks/{chunk-GAMGDNTF.js → chunk-LJI4N6FV.js} +1 -1
- package/dist/chunks/{chunk-IU6UB2TD.js → chunk-MXCRKXOP.js} +48 -6
- package/dist/chunks/{chunk-PAFOLIYQ.js → chunk-NWYHCZTY.js} +1 -1
- package/dist/chunks/chunk-OJ4JPD25.js +428 -0
- package/dist/chunks/{chunk-L7TYG5SN.js → chunk-OQCK5SAU.js} +2 -2
- package/dist/chunks/chunk-PG5YSNYY.js +1166 -0
- package/dist/chunks/{chunk-XZBYRYWX.js → chunk-QJWVYOOV.js} +2 -2
- package/dist/chunks/{chunk-AMAPQVBT.js → chunk-QVKRNL7L.js} +286 -305
- package/dist/chunks/chunk-SU6IJD6D.js +49 -0
- package/dist/chunks/{chunk-ZWLWXHJC.js → chunk-TA2RBUTH.js} +2 -2
- package/dist/chunks/{chunk-6HT73VOI.js → chunk-U6Y32KEV.js} +2 -2
- package/dist/chunks/chunk-UUJK76HV.js +209 -0
- package/dist/chunks/{chunk-R3MK2RBN.js → chunk-VOMDD2C5.js} +1 -1
- package/dist/chunks/chunk-Y3C6MDL7.js +28 -0
- package/dist/chunks/chunk-ZM7RN2IM.js +38 -0
- package/dist/chunks/{chunk-2XED2FKY.js → chunk-ZUB4M4N3.js} +38 -36
- package/dist/chunks/{chunk-7QFVXP2X.js → chunk-ZWIMLT6P.js} +8 -7
- package/dist/chunks/cli-FULPXIKJ.js +226 -0
- package/dist/chunks/commands-BNWFNTD3.js +70 -0
- package/dist/chunks/{conflict-VPAR7E6F.js → conflict-5BKCDV2F.js} +2 -2
- package/dist/chunks/{contract-DDXAO2DZ.js → contract-WI23OXVC.js} +12446 -5964
- package/dist/chunks/{cowork-34QCHMDD.js → cowork-DZBBVNMQ.js} +11 -8
- package/dist/chunks/{create-flow-52PU2OBI.js → create-flow-7ZRBRKX7.js} +6 -6
- package/dist/chunks/{data-CLQ62QGD.js → data-PAZVE6QE.js} +6 -3
- package/dist/chunks/{ebuilder-form-W5R7Q22S.js → ebuilder-form-5SQXIGXN.js} +9 -6
- package/dist/chunks/{ehr-LCNAVMK5.js → ehr-CX5F4ZAU.js} +23 -16
- package/dist/chunks/{entry-mode-6Z3ZV3DE.js → entry-mode-I2BYNONZ.js} +3 -3
- package/dist/chunks/{env-RDKWAARB.js → env-ZAQZ7EHN.js} +2 -2
- package/dist/chunks/{esb-ANKPUU65.js → esb-DQTXDIBF.js} +10 -7
- package/dist/chunks/{factory-434B7RAT.js → factory-XRI6KZ7H.js} +1 -1
- package/dist/chunks/{fna-AKBSG5HI.js → fna-FK6HQVJL.js} +13 -8
- package/dist/chunks/{group-chat-PROTW22R.js → group-chat-MLWNYM2P.js} +3 -3
- package/dist/chunks/{host-WO4L5G5I.js → host-3EPREGXS.js} +6 -3
- package/dist/chunks/{host-XIYG4F4B.js → host-J74JGYAW.js} +6 -3
- package/dist/chunks/{host-7FJW4E7R.js → host-KUMU3DDK.js} +6 -3
- package/dist/chunks/{host-5R2SNFWD.js → host-MEC4VQZA.js} +6 -3
- package/dist/chunks/{host-PDJAKCT7.js → host-T6NNQGVZ.js} +6 -3
- package/dist/chunks/{host-CGXUFQO4.js → host-VI7Q45PM.js} +6 -3
- package/dist/chunks/{hrm-WGODDTEH.js → hrm-KKVAW4P5.js} +8 -5
- package/dist/chunks/{im-YKTKAJU3.js → im-47CIWQNL.js} +7 -4
- package/dist/chunks/{invoice-PVYCCCVM.js → invoice-CDYRBNIG.js} +21 -16
- package/dist/chunks/{jiuchuanhui-RKOQW7BY.js → jiuchuanhui-M7QTRHZK.js} +17 -10
- package/dist/chunks/{lazy-dispatch-DW45AFQ5.js → lazy-dispatch-FKQJZFI5.js} +22 -8
- package/dist/chunks/{mail-BNB5S4NW.js → mail-NRBS5N6Y.js} +11 -8
- package/dist/chunks/{meeting-O2KDJH66.js → meeting-WC5LD3IO.js} +22 -18
- package/dist/chunks/{minute-doc-JUCG56GY.js → minute-doc-OQUMDTKG.js} +4 -4
- package/dist/chunks/{okr-LWFGWOE7.js → okr-EHKSKMPL.js} +10 -7
- package/dist/chunks/{operations-532PN5OB.js → operations-V5VM5MS2.js} +7 -4
- package/dist/chunks/{performance-7W5COCFU.js → performance-ZJADXJPN.js} +6 -3
- package/dist/chunks/{plan-ZVY3IYTL.js → plan-OTDNBDJ7.js} +10 -7
- package/dist/chunks/{project-SA62B7MH.js → project-4XVBQ3HX.js} +10 -7
- package/dist/chunks/{reception-NGIONPQ3.js → reception-3FAHOOH7.js} +8 -4
- package/dist/chunks/{recruit-stage-WOSN6MGP.js → recruit-stage-3WTVWW2K.js} +199 -74
- package/dist/chunks/register-SQOPIR2G.js +16 -0
- package/dist/chunks/{registry-R72GWXOG.js → registry-F4YFZLOD.js} +7 -3
- package/dist/chunks/registry-NBTBXR4L.js +30 -0
- package/dist/chunks/{registry-N7P3W2RD.js → registry-TJGCVRCW.js} +7 -4
- package/dist/chunks/{room-recommend-KCGIVUFR.js → room-recommend-KL62XB2Y.js} +4 -4
- package/dist/chunks/root-YZG2TS5W.js +16 -0
- package/dist/chunks/{schedule-6UP27HQ4.js → schedule-XOISYUPB.js} +4 -4
- package/dist/chunks/{smart-extract-DDOQSPRB.js → smart-extract-UYGNV3BM.js} +15 -7
- package/dist/chunks/update-AV5VOXGY.js +13 -0
- package/dist/chunks/{workflow-V5ALD6QZ.js → workflow-V54LJPXL.js} +15 -10
- package/dist/cli.js +40 -0
- package/dist/cmd/action.js +3 -1
- package/dist/cmd/doctor/index.js +1 -1
- package/dist/cmd/e10/index.js +1 -1
- package/dist/cmd/identity/index.js +5 -8
- package/dist/cmd/index.js +2 -0
- package/dist/cmd/setup/index.js +1 -1
- package/dist/cmd/update/index.js +38 -0
- package/dist/core/manifest-view.js +1 -1
- package/dist/core/output.js +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/index.js +1 -1
- package/dist/shortcuts/jiuchuanhui/index.js +2 -2
- package/dist/shortcuts/jiuchuanhui/manifest.js +3 -0
- package/dist/shortcuts/mail/index.js +2 -2
- package/dist/shortcuts/meeting/index.js +1 -1
- package/dist/shortcuts/meeting/manifest.js +1 -0
- package/dist/shortcuts/meeting/operations/eb/catalog.js +5 -3
- package/dist/shortcuts/meeting/operations/eb/conflict.js +3 -1
- package/dist/shortcuts/meeting/operations/eb/create-flow.js +10 -9
- package/dist/shortcuts/meeting/operations/eb/factory.js +2 -0
- package/dist/shortcuts/meeting/operations/eb/member-expand.js +3 -2
- package/dist/shortcuts/meeting/operations/invitation-publish.js +3 -3
- package/dist/shortcuts/meeting/operations/invitation.js +4 -4
- package/dist/shortcuts/meeting/operations/link.js +3 -1
- package/dist/shortcuts/okr/index.js +1 -1
- package/dist/shortcuts/performance/index.js +1 -1
- package/dist/shortcuts/plan/index.js +1 -1
- package/dist/shortcuts/project/index.js +1 -1
- package/dist/shortcuts/reception/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/contract.md +6 -1
- package/docs/e10-auth.md +25 -7
- package/docs/operation-manual.md +15 -0
- package/package.json +2 -2
- package/scripts/pysite/__pycache__/sitecustomize.cpython-314.pyc +0 -0
- package/skill-template/business-info.json +28 -0
- package/skill-template/domains/jinchengda.md +13 -1
- package/skills/weaver-e10-archive-oa/references/source-manifest.json +3 -3
- package/skills/weaver-e10-caizhilian/references/auth-and-install.md +2 -1
- package/skills/weaver-e10-caizhilian/references/source-manifest.json +3 -3
- package/skills/weaver-e10-esb/references/source-manifest.json +3 -3
- package/skills/weaver-e10-jinchengda/SKILL.md +90 -32
- package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +45 -0
- package/skills/weaver-e10-jinchengda/references/contract-bizreview-report-template.html +68 -0
- package/skills/weaver-e10-jinchengda/references/contract-bizreview.md +216 -0
- package/skills/weaver-e10-jinchengda/references/contract-clause-negotiate.md +215 -0
- package/skills/weaver-e10-jinchengda/references/contract-collection-node.md +113 -0
- package/skills/weaver-e10-jinchengda/references/contract-command-index.md +19 -3
- package/skills/weaver-e10-jinchengda/references/contract-decisions.md +114 -0
- package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +53 -44
- package/skills/weaver-e10-jinchengda/references/contract-element-extract.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-firstscreen-guide.md +200 -0
- package/skills/weaver-e10-jinchengda/references/contract-ledger-catalog.md +18 -1
- package/skills/weaver-e10-jinchengda/references/contract-ledger-query-playbook.md +138 -3
- package/skills/weaver-e10-jinchengda/references/contract-ledger-report.md +158 -0
- package/skills/weaver-e10-jinchengda/references/contract-ledger-rules.md +3 -1
- package/skills/weaver-e10-jinchengda/references/contract-material-gap.md +139 -0
- package/skills/weaver-e10-jinchengda/references/contract-object-detect.md +2 -2
- package/skills/weaver-e10-jinchengda/references/contract-open-web-pages.md +10 -3
- package/skills/weaver-e10-jinchengda/references/contract-ops-draft.md +106 -0
- package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +176 -56
- package/skills/weaver-e10-jinchengda/references/contract-sign-launch.md +123 -0
- package/skills/weaver-e10-jinchengda/references/contract-smart-draft.md +410 -0
- package/skills/weaver-e10-jinchengda/references/contract-template-recommend.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-viewlink.md +110 -0
- package/skills/weaver-e10-jinchengda/references/orchestration.md +38 -24
- package/skills/weaver-e10-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 +188 -169
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +55 -37
- package/skills/weaver-e10-recruit-stage/lib/interview-conflict.mjs +3 -0
- package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +168 -35
- package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +175 -7
- 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 +16 -11
- package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +10 -6
- 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 +7 -3
- 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 +31 -23
- 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 +147 -34
- package/skills/weaver-e10-recruit-stage/references/recruit-platform-compat.md +4 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +16 -4
- 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 +24 -15
- 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 +32 -30
- package/skills/weaver-e10-shared/SKILL.md +40 -5
- package/skills/weaver-e10-shared/references/e10-auth-and-session.md +11 -1
- package/skills/weaver-e10-shared/references/json-output-contract.md +144 -8
- package/skills/weaver-e10-shared/references/weaver-e10-installation.md +11 -0
- package/skills/weaver-e10-shijingran/references/source-manifest.json +3 -3
- package/skills/weaver-e10-wenshuding/references/source-manifest.json +3 -3
- package/skills/weaver-e10-workflow/references/source-manifest.json +3 -3
- package/skills/weaver-e10-yepiaotong/references/source-manifest.json +5 -5
- package/dist/chunks/chunk-ICP53R52.js +0 -2849
- package/dist/chunks/registry-RIQ67ZT7.js +0 -27
|
@@ -49,17 +49,26 @@
|
|
|
49
49
|
|
|
50
50
|
## 退出码
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
|
55
|
-
|
|
|
56
|
-
| `
|
|
57
|
-
| `
|
|
58
|
-
| `
|
|
59
|
-
| `
|
|
52
|
+
CLI 自身只用下面 9 个退出码;`124` / `127` 不是 CLI 给的,是 shell、宿主或系统层面的结果,但排查时同样要认。
|
|
53
|
+
|
|
54
|
+
| 退出码 | 含义 | 典型来源 | 推荐处理动作 |
|
|
55
|
+
| --- | --- | --- | --- |
|
|
56
|
+
| `0` | 成功 | 任何 operation 正常结束 | 仍要同时确认 `ok === true`;成功 envelope 没有 `code/msg` |
|
|
57
|
+
| `1` | 未分类错误 `GeneralError` | 未预期异常、脚本包装层兜底 | **不重试**。把 stderr 的 `error.type/subtype/message/stage` 反馈给用户 |
|
|
58
|
+
| `2` | 参数或业务输入错误 `UsageError` | 选项拼错、缺必填、`--offset` 非整数、`ref_missing`、`ref_pick_failed`、`--limit` 与 `--char-limit` 混用 | **不重试同样命令**。先 `--help` 或 `<domain> schema --operation <name>` 确认入参,改对再跑 |
|
|
59
|
+
| `3` | 认证错误 `AuthError` | 未登录、会话失效 | 按认证规则处理(见 `e10-auth-and-session.md`);**写入不得复用旧 continuation** |
|
|
60
|
+
| `4` | 网络错误 `NetworkError` | 连不上、超时、上游 5xx | 只读操作最多重试 1 次;写入先只读回查,不重放 |
|
|
61
|
+
| `5` | 内部错误 `InternalError` | 业务 Skill 的未分类异常(`errors.ts` 的默认退出码) | **不重试**。带 `error.stage` 和 operation 名反馈 |
|
|
62
|
+
| `6` | 策略或数据状态拒绝 `PolicyError` | `ref_expired` / `ref_corrupt`、文件 JSON 输入被策略拒绝、策略禁止的操作 | **不重试**。按 subtype 处理:ref 过期就重查业务接口,被策略拒就换合规写法 |
|
|
63
|
+
| `10` | 需要明确确认 `ConfirmationRequired` | `prepare` 后等待确认、高风险写入 | 走确认流程:把影响面说清,取得用户明确同意后再 `apply` |
|
|
64
|
+
| `11` | 部分完成或结果不确定 `Partial` | `partial` / `write_uncertain` | **立即停止写流程**,只做一次只读回查,交用户判断 |
|
|
65
|
+
| `124` | (系统)进程被超时掐断 | Agent / shell / CI 的超时设置 | 视为超时失败,**不得静默重跑**;按 `SKILL.md` 的超时预算反馈 |
|
|
66
|
+
| `127` | (系统)命令不存在 | 未安装,或已安装但全局 bin 不在 `PATH` | 按 `weaver-e10-installation.md` 先区分「不在 PATH」与「未安装」,不要直接重装 |
|
|
60
67
|
|
|
61
68
|
`retryable=true` 只表示读操作或准备阶段可能可以重试;写入请求已经发出后,遇到 `partial/write_uncertain` 必须停止并交给用户判断。
|
|
62
69
|
|
|
70
|
+
判断顺序:**先看退出码定大类,再看 `error.type/subtype` 定具体动作**。同一个退出码可能对应多个 subtype(例如 `2` 既可能是参数错也可能是 `ref_missing`),只看退出码会误判。
|
|
71
|
+
|
|
63
72
|
## JSON 输入兼容
|
|
64
73
|
|
|
65
74
|
简单 JSON 优先使用 `--input-json`,两端都可用,能避开 Windows PowerShell 对 `printf`、管道、转义和续行的差异:
|
|
@@ -102,6 +111,133 @@ weaver-work-cli --json invoice run invoice.get --input-ref "$ref_id" --pick 'ite
|
|
|
102
111
|
|
|
103
112
|
Windows/PowerShell 下不要使用 `printf`、bash 反斜杠续行、`$HOME/...` 或 `~/...` 路径、`rm/ls/diff/python3` 等 Unix-only 写法;目录查看用 `Get-ChildItem`,删除用 `Remove-Item`,文件比对用 `Get-FileHash`,Python 启动器优先用 `py -3`。
|
|
104
113
|
|
|
114
|
+
## ref 文件结构与读取
|
|
115
|
+
|
|
116
|
+
结果超过 stdout 预算时,CLI 把**完整 envelope** 落盘成一个 ref 文件,stdout 只回摘要 + `refId`。**Agent 一律通过 `refs` 子命令读,不要打开文件、不要 `head`/`tail` 截取。**
|
|
117
|
+
|
|
118
|
+
### 顶层结构(最容易看错的地方)
|
|
119
|
+
|
|
120
|
+
ref 文件是「文件元信息 + 一层包装」,**不是业务数据本身**:
|
|
121
|
+
|
|
122
|
+
| 顶层字段 | 说明 |
|
|
123
|
+
| --- | --- |
|
|
124
|
+
| `schemaVersion` | ref 文件格式版本,当前为 `1` |
|
|
125
|
+
| `refId` | 引用 ID,与 stdout 里返回的一致 |
|
|
126
|
+
| `operation` | 产生它的业务 operation,可能缺省 |
|
|
127
|
+
| `createdAt` / `expiresAt` / `ttlMs` | 生命周期,默认 TTL 30 分钟 |
|
|
128
|
+
| `envelope` | **真正的数据**:与当时 stdout 上是同一个 envelope(`ok` / `operation` / `meta` / `warnings` / `error` / `data`) |
|
|
129
|
+
|
|
130
|
+
由此得出两条硬结论:
|
|
131
|
+
|
|
132
|
+
- 业务数据在 `envelope.data`,**不在顶层**。看到 `schemaVersion` / `refId` / `expiresAt` 就当「结果只有这些」是错的。
|
|
133
|
+
- `refs get <refId> <path>` 的 `path` **从 `envelope` 起算**,写成 `data.items`。不要写成 `envelope.data.items` —— `envelope` 只是文件里的字段名,不是取值路径的前缀。
|
|
134
|
+
|
|
135
|
+
同一个数组的几种合法路径写法(等价):
|
|
136
|
+
|
|
137
|
+
| 写法 | 结果 |
|
|
138
|
+
| --- | --- |
|
|
139
|
+
| `data.items` | 推荐。显式从 envelope 的 `data` 下钻 |
|
|
140
|
+
| `items` | 首段在 envelope 根上不存在时自动下钻 `data`,等价 |
|
|
141
|
+
| `$.data.items` | 支持 `$` 前缀 |
|
|
142
|
+
| `data.items[0].fid` | 支持下标,取单值 |
|
|
143
|
+
| `envelope.data.items` | **错误**,会报 `ref_pick_failed` |
|
|
144
|
+
|
|
145
|
+
### 最小可跑示例
|
|
146
|
+
|
|
147
|
+
先跑一条会超预算的列表查询,从 stdout 顶层拿 `refId`(超预算时 `previewTruncated: true` 同时出现):
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
weaver-work-cli --json invoice run invoice.list --input-json '{"page_size":50}'
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
再按 `--offset` / `--limit` 分页取数组(每批都是**完整条目**,不是截断后的预览):
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
# 第 1 批
|
|
157
|
+
weaver-work-cli --json refs get <refId> data.items --offset 0 --limit 20
|
|
158
|
+
# 第 2 批:--offset 用上一批返回的 nextOffset
|
|
159
|
+
weaver-work-cli --json refs get <refId> data.items --offset 20 --limit 20
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
```powershell
|
|
163
|
+
# 注意:PowerShell 里 <...> 是重定向/保留符号,不能当占位符,必须先放进变量
|
|
164
|
+
$refId = "ref_abc123" # 换成上一步 stdout 里的 refId 值
|
|
165
|
+
weaver-work-cli --json refs get $refId data.items --offset 0 --limit 20
|
|
166
|
+
weaver-work-cli --json refs get $refId data.items --offset 20 --limit 20
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
其余参数两端完全一致(`--input-json` 用单引号字面量,PowerShell 不会解析里面的 `$`)。
|
|
170
|
+
|
|
171
|
+
数组分页的返回结构:
|
|
172
|
+
|
|
173
|
+
| 字段 | 说明 |
|
|
174
|
+
| --- | --- |
|
|
175
|
+
| `total` | **数组真实总条数**,唯一可信的总数 |
|
|
176
|
+
| `offset` | 本批起始下标 |
|
|
177
|
+
| `returned` | 本批实际返回条数,不等于 `total` |
|
|
178
|
+
| `hasMore` | 是否还有后续,`false` 即读完 |
|
|
179
|
+
| `nextOffset` | 下一批的 `--offset` |
|
|
180
|
+
| `data` | 本批条目数组 |
|
|
181
|
+
| `largeOutputNotice` | 还有剩余时给出的续读命令提示,直接照抄执行 |
|
|
182
|
+
|
|
183
|
+
配套命令:
|
|
184
|
+
|
|
185
|
+
- `refs list`:列出未过期 ref(`refId` / `operation` / `bytes` / `createdAt` / `expiresAt`),找不到 `refId` 时先跑它。
|
|
186
|
+
- `refs show <refId>`:整份查看。**结果仍超预算时会直接报错**并提示改用 `refs get`,这是预期行为。
|
|
187
|
+
- `refs path`:ref 目录位置(排障用,不是给人读数据的)。
|
|
188
|
+
- `refs prune --all` / `--older-than 7d`:手动清理。
|
|
189
|
+
|
|
190
|
+
### 长文本要按字符分段
|
|
191
|
+
|
|
192
|
+
字段被截短时(`previewTruncatedFields` 给出 `{ unit:"chars", total, shown }`),用文本窗口参数取原文:
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
weaver-work-cli --json refs get <refId> data.items[0].content --char-offset 0 --char-limit 2000
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
返回 `{ unit:"chars", totalChars, charOffset, returnedChars, hasMore, nextCharOffset, data }`,按 `nextCharOffset` 续读到 `hasMore:false`。
|
|
199
|
+
|
|
200
|
+
以下三条违反任意一条即报退出码 `2`:
|
|
201
|
+
|
|
202
|
+
- `--offset` / `--limit` 只能用于**数组**字段;
|
|
203
|
+
- `--char-offset` / `--char-limit` 只能用于**字符串**字段;
|
|
204
|
+
- 两组参数不能同时出现。
|
|
205
|
+
|
|
206
|
+
### 读取 ref 的报错对照
|
|
207
|
+
|
|
208
|
+
| 退出码 | subtype | 含义与动作 |
|
|
209
|
+
| --- | --- | --- |
|
|
210
|
+
| `2` | `ref_missing` | `refId` 不存在或已被清理。先 `refs list` 确认;确实没了才重查业务接口 |
|
|
211
|
+
| `2` | `ref_pick_failed` | 路径写错(最常见是把 `envelope.data.items` 当路径)。改路径重试 |
|
|
212
|
+
| `2` | `ref_pick_as_object` | `--pick-as` 只能把单值映射到字段,选出的已经是对象 |
|
|
213
|
+
| `6` | `ref_expired` | 超过 TTL。重新请求业务接口拿新 ref |
|
|
214
|
+
| `6` | `ref_corrupt` | 文件损坏或校验失败。不要手工修复,重查业务接口 |
|
|
215
|
+
|
|
216
|
+
## 跨平台调用形态(Windows 两个高频坑)
|
|
217
|
+
|
|
218
|
+
**坑一:脚本里 `execFile('weaver-work-cli', args)` 在 Windows 上直接 `ENOENT`。** 全局安装出来的是 `weaver-work-cli.cmd`,不是无扩展名的可执行文件,也不是 `.exe`。
|
|
219
|
+
|
|
220
|
+
```js
|
|
221
|
+
// ❌ Windows 上 ENOENT
|
|
222
|
+
execFile('weaver-work-cli', args);
|
|
223
|
+
|
|
224
|
+
// ✅ 交给 shell 解析 .cmd;注意含空格的参数要自己加引号
|
|
225
|
+
spawn('weaver-work-cli', args, { shell: true, windowsHide: true });
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
判断「装没装」用 `where weaver-work-cli`(Windows)/ `which weaver-work-cli`(macOS/Linux),不要靠抛错猜。
|
|
229
|
+
|
|
230
|
+
**坑二:PowerShell 里拼参数。** 以下写法都会把参数拼坏,改成固定形态:
|
|
231
|
+
|
|
232
|
+
| 不要这样写 | 改成 |
|
|
233
|
+
| --- | --- |
|
|
234
|
+
| `@params` splatting 拼 `--input-json` | 直接写字面量:`--input-json '{"page_size":10}'` |
|
|
235
|
+
| 双引号 + `\"` 转义 | 单引号包 JSON,PowerShell 不解析里面的 `$` 和引号 |
|
|
236
|
+
| 反引号续行多行 JSON | 先 `$body = @'...'@` here-string,再 `$body \| ConvertTo-Json -Compress` |
|
|
237
|
+
| `... \| ConvertFrom-Csv` 解析输出 | CLI **没有 CSV 输出**,也不支持 `--format`;只解析 `--json` 的 JSON |
|
|
238
|
+
|
|
239
|
+
另外 `printf`、bash 反斜杠续行、`$HOME/...`、`~/...`、`rm/ls/diff/python3` 在 Windows 下都不可用;目录用 `Get-ChildItem`,删除用 `Remove-Item`,文件比对用 `Get-FileHash`,Python 用 `py -3`。
|
|
240
|
+
|
|
105
241
|
## 大结果渲染与提效规则
|
|
106
242
|
|
|
107
243
|
当前 `weaver-work-cli` 输出层是轻量封装:JSON 模式对普通结果写完整 envelope,超预算结果会写入 CLI state 并返回摘要和 `refId`;文本模式写人类可读文本。CLI 不像飞书 CLI 已内置 `--format table/pretty/ndjson`、`--jq` 或通用 `--page-all`。Agent 仍需在调用和回复阶段主动控量,避免把超长接口响应原样渲染给用户。
|
|
@@ -8,6 +8,17 @@
|
|
|
8
8
|
|
|
9
9
|
## 检查命令
|
|
10
10
|
|
|
11
|
+
非 XiaoE 的 npm 全局安装会在 CLI 统一入口每 24 小时最多自动检查一次新版,失败不阻断业务且进入同样的冷却。不要在每次业务或安装 Skill 前手动查询 npm 版本。`--version` / `--help` 不触发自动检查;源码与 `npm link` 环境不自动升级。
|
|
12
|
+
|
|
13
|
+
出现 `cliUpdate` 时,由 Agent 调用宿主确认工具询问用户,确认后才执行提示中的 `commands.update`;选择稍后则执行 `commands.later`,延后 24 小时。业务结果不受提示影响,不要重跑已经完成的业务。CLI 无法通过 shell 直接调用宿主的 ask。需要排查更新状态时:
|
|
14
|
+
|
|
15
|
+
```text
|
|
16
|
+
weaver-work-cli update status
|
|
17
|
+
weaver-work-cli update check
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
`status` 仅读取缓存;`check` 是用户主动要求时的立即联网检查。首次安装旧版本需要先升级一次才具备该机制;原地更新不保留旧版,更新中断时需要用原安装方式修复。
|
|
21
|
+
|
|
11
22
|
```text
|
|
12
23
|
weaver-work-cli --version
|
|
13
24
|
weaver-work-cli setup invoice
|
|
@@ -1241,7 +1241,7 @@
|
|
|
1241
1241
|
}
|
|
1242
1242
|
},
|
|
1243
1243
|
"artifactBaseline": {
|
|
1244
|
-
"aggregateSha256": "
|
|
1244
|
+
"aggregateSha256": "69c6dd0db9838e578e077cdf319883982307b97de1ecdb78a87463b6762b6ec8",
|
|
1245
1245
|
"files": [
|
|
1246
1246
|
{
|
|
1247
1247
|
"path": "docs/_catalog.md",
|
|
@@ -1318,8 +1318,8 @@
|
|
|
1318
1318
|
{
|
|
1319
1319
|
"path": "src/shortcuts/project/index.ts",
|
|
1320
1320
|
"role": "generated-cli",
|
|
1321
|
-
"size":
|
|
1322
|
-
"sha256": "
|
|
1321
|
+
"size": 5243,
|
|
1322
|
+
"sha256": "c41e15dfd760866e55a2b8e087352dd2bef05d61d059880c084477ef8a3256b2"
|
|
1323
1323
|
},
|
|
1324
1324
|
{
|
|
1325
1325
|
"path": "src/shortcuts/project/manifest.ts",
|
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
}
|
|
342
342
|
},
|
|
343
343
|
"artifactBaseline": {
|
|
344
|
-
"aggregateSha256": "
|
|
344
|
+
"aggregateSha256": "b1ba77ed33f3934e1793c997f87184e3f35435cda06461864f3748d59e36775a",
|
|
345
345
|
"files": [
|
|
346
346
|
{
|
|
347
347
|
"path": "docs/wenshuding.md",
|
|
@@ -430,8 +430,8 @@
|
|
|
430
430
|
},
|
|
431
431
|
{
|
|
432
432
|
"path": "src/shortcuts/archive/index.ts",
|
|
433
|
-
"size":
|
|
434
|
-
"sha256": "
|
|
433
|
+
"size": 17825,
|
|
434
|
+
"sha256": "1d2dbae3a6840f3ac0a798d308129a3c196958e28894de1cdcb6661a1ef4ec6e"
|
|
435
435
|
},
|
|
436
436
|
{
|
|
437
437
|
"path": "src/shortcuts/archive/manifest.ts",
|
|
@@ -887,7 +887,7 @@
|
|
|
887
887
|
}
|
|
888
888
|
},
|
|
889
889
|
"artifactBaseline": {
|
|
890
|
-
"aggregateSha256": "
|
|
890
|
+
"aggregateSha256": "5480c17178e584c20bfda75fbdddba801e4cce30548eb723e38a56cd1c9c0f85",
|
|
891
891
|
"files": [
|
|
892
892
|
{
|
|
893
893
|
"path": "skills/weaver-e10-workflow/references/workflow-agent-entry.md",
|
|
@@ -961,8 +961,8 @@
|
|
|
961
961
|
},
|
|
962
962
|
{
|
|
963
963
|
"path": "src/shortcuts/workflow/index.ts",
|
|
964
|
-
"size":
|
|
965
|
-
"sha256": "
|
|
964
|
+
"size": 16750,
|
|
965
|
+
"sha256": "8acdabb8cc2e413d34e4451ef60822bfcc2ed798d96b0e080dbd10449529a590"
|
|
966
966
|
},
|
|
967
967
|
{
|
|
968
968
|
"path": "src/shortcuts/workflow/manifest.ts",
|
|
@@ -1583,7 +1583,7 @@
|
|
|
1583
1583
|
}
|
|
1584
1584
|
],
|
|
1585
1585
|
"artifactBaseline": {
|
|
1586
|
-
"aggregateSha256": "
|
|
1586
|
+
"aggregateSha256": "e2fd93feb7cc91ba0a56da8480b9daf37e325087160098695519537fca284c04",
|
|
1587
1587
|
"files": [
|
|
1588
1588
|
{
|
|
1589
1589
|
"path": "docs/_catalog.md",
|
|
@@ -1737,8 +1737,8 @@
|
|
|
1737
1737
|
},
|
|
1738
1738
|
{
|
|
1739
1739
|
"path": "src/shortcuts/invoice/index.ts",
|
|
1740
|
-
"size":
|
|
1741
|
-
"sha256": "
|
|
1740
|
+
"size": 16637,
|
|
1741
|
+
"sha256": "cc75c9e1b0627a90f7d4575c9cc34e3226575176927daab177cced6754981a71"
|
|
1742
1742
|
},
|
|
1743
1743
|
{
|
|
1744
1744
|
"path": "src/shortcuts/invoice/invoice-record.ts",
|
|
@@ -1867,8 +1867,8 @@
|
|
|
1867
1867
|
},
|
|
1868
1868
|
{
|
|
1869
1869
|
"path": "test/skills/layout.test.ts",
|
|
1870
|
-
"size":
|
|
1871
|
-
"sha256": "
|
|
1870
|
+
"size": 37167,
|
|
1871
|
+
"sha256": "eaa6026ef64e7e1c4b8fc4ca38f6dab695d7f3f4a63173e3e84a4c7bf5f2727c"
|
|
1872
1872
|
}
|
|
1873
1873
|
]
|
|
1874
1874
|
},
|