weaver-work-cli 0.1.71 → 0.1.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -1
- package/dist/chunks/{archive-5P33NAUN.js → archive-OZJ6PYUR.js} +14 -9
- package/dist/chunks/{archive-oa-YTY5D7DG.js → archive-oa-BHL5RK2F.js} +10 -7
- package/dist/chunks/{asset-3Q5MFQBX.js → asset-HKRFRQR2.js} +10 -7
- package/dist/chunks/{asset-idle-PQPNYIS7.js → asset-idle-GGIR4KE7.js} +7 -4
- package/dist/chunks/{attachment-content-7CN7JB6B.js → attachment-content-4OV65NK5.js} +3 -3
- package/dist/chunks/{blog-MFHHK6ZR.js → blog-HYDP4DV3.js} +10 -7
- package/dist/chunks/{caizhilian-OZ435AYW.js → caizhilian-JS4RQZ6Z.js} +10 -7
- package/dist/chunks/{calendar-TNJXS5UC.js → calendar-SWRY4DIT.js} +10 -7
- package/dist/chunks/chunk-257JXJGD.js +30 -0
- package/dist/chunks/{chunk-FRMDHZSN.js → chunk-2AUFKU2D.js} +11 -11
- package/dist/chunks/chunk-2BZ7TY4M.js +49 -0
- package/dist/chunks/{chunk-WM33BSIL.js → chunk-2QCCXPNU.js} +1 -1
- package/dist/chunks/{chunk-X2C5CGGM.js → chunk-4FCBEWNB.js} +74 -68
- package/dist/chunks/{chunk-YN5SD4TX.js → chunk-5D2V7ZAN.js} +2 -2
- package/dist/chunks/{chunk-UPVAQJKS.js → chunk-5QUTQHXF.js} +282 -158
- package/dist/chunks/{chunk-SKWKCLJX.js → chunk-5ZJGPEIB.js} +2 -2
- package/dist/chunks/chunk-7DE3VMZD.js +35 -0
- package/dist/chunks/chunk-BNKUHN4N.js +1346 -0
- package/dist/chunks/{chunk-VMVMEIL3.js → chunk-BSR5TM7U.js} +4 -4
- package/dist/chunks/{chunk-EJLP63UO.js → chunk-ERZY6GYL.js} +7 -3
- package/dist/chunks/{chunk-OFCF23FY.js → chunk-FEZK536Z.js} +25 -9
- package/dist/chunks/{chunk-Q3EXRNB4.js → chunk-I6NOHKEK.js} +1 -1
- package/dist/chunks/{chunk-OZ7CJC7W.js → chunk-J7FAAHWH.js} +2 -2
- package/dist/chunks/{chunk-6MMSLE6K.js → chunk-JJONWB5N.js} +16 -2
- package/dist/chunks/chunk-JOY3HZXL.js +467 -0
- package/dist/chunks/{chunk-2DNCKZRX.js → chunk-JWF2R6EQ.js} +0 -462
- package/dist/chunks/{chunk-ICNUOWLL.js → chunk-KEA4XQPO.js} +4 -4
- package/dist/chunks/chunk-KINXYJXM.js +205 -0
- package/dist/chunks/{chunk-VJWVB55R.js → chunk-KWJEICD4.js} +2 -2
- package/dist/chunks/{chunk-P3AFNAJ6.js → chunk-LJI4N6FV.js} +1 -1
- package/dist/chunks/{chunk-DRJYPXKC.js → chunk-MXCRKXOP.js} +48 -6
- package/dist/chunks/{chunk-OPTJ6IF7.js → chunk-NWYHCZTY.js} +1 -1
- package/dist/chunks/chunk-OJ4JPD25.js +428 -0
- package/dist/chunks/{chunk-B4NINGP2.js → chunk-OQCK5SAU.js} +2 -2
- package/dist/chunks/chunk-PG5YSNYY.js +1166 -0
- package/dist/chunks/{chunk-LU2SPJYY.js → chunk-QJWVYOOV.js} +2 -2
- package/dist/chunks/{chunk-SUWR5QEG.js → chunk-QVKRNL7L.js} +287 -305
- package/dist/chunks/chunk-SU6IJD6D.js +49 -0
- package/dist/chunks/{chunk-MD5RXRI3.js → chunk-TA2RBUTH.js} +2 -2
- package/dist/chunks/{chunk-SSS75WXW.js → chunk-U6Y32KEV.js} +2 -2
- package/dist/chunks/chunk-UUJK76HV.js +209 -0
- package/dist/chunks/{chunk-GB2MCJPG.js → chunk-VOMDD2C5.js} +1 -1
- package/dist/chunks/chunk-Y3C6MDL7.js +28 -0
- package/dist/chunks/chunk-ZM7RN2IM.js +38 -0
- package/dist/chunks/{chunk-G7ZM2VOX.js → chunk-ZUB4M4N3.js} +38 -36
- package/dist/chunks/{chunk-XLSJC6JZ.js → chunk-ZWIMLT6P.js} +8 -7
- package/dist/chunks/cli-FULPXIKJ.js +226 -0
- package/dist/chunks/commands-BNWFNTD3.js +70 -0
- package/dist/chunks/{conflict-Y4PXZ2YQ.js → conflict-5BKCDV2F.js} +2 -2
- package/dist/chunks/{contract-C3BGUMBM.js → contract-WI23OXVC.js} +12446 -5964
- package/dist/chunks/{cowork-2AWG4QLA.js → cowork-DZBBVNMQ.js} +11 -8
- package/dist/chunks/{create-flow-LOUOK46Z.js → create-flow-7ZRBRKX7.js} +6 -6
- package/dist/chunks/{data-BSFYMXVO.js → data-PAZVE6QE.js} +6 -3
- package/dist/chunks/{ebuilder-form-LAAMTD2Y.js → ebuilder-form-5SQXIGXN.js} +9 -6
- package/dist/chunks/{ehr-36KEX5SH.js → ehr-CX5F4ZAU.js} +27 -19
- package/dist/chunks/{entry-mode-6N2IGCS4.js → entry-mode-I2BYNONZ.js} +3 -3
- package/dist/chunks/{env-QYLS3EB3.js → env-ZAQZ7EHN.js} +2 -2
- package/dist/chunks/{esb-PTYS3E67.js → esb-DQTXDIBF.js} +10 -7
- package/dist/chunks/{factory-LPFPKZ4T.js → factory-XRI6KZ7H.js} +1 -1
- package/dist/chunks/{fna-JNHCLRDE.js → fna-FK6HQVJL.js} +13 -8
- package/dist/chunks/{group-chat-QP2WX4QJ.js → group-chat-MLWNYM2P.js} +3 -3
- package/dist/chunks/{host-C2BLBIID.js → host-3EPREGXS.js} +6 -3
- package/dist/chunks/{host-QXFKQXNX.js → host-J74JGYAW.js} +6 -3
- package/dist/chunks/{host-57LSRSE7.js → host-KUMU3DDK.js} +6 -3
- package/dist/chunks/{host-7BVR7CQ3.js → host-MEC4VQZA.js} +6 -3
- package/dist/chunks/{host-NS36QFLR.js → host-T6NNQGVZ.js} +6 -3
- package/dist/chunks/{host-K2ZKNXME.js → host-VI7Q45PM.js} +6 -3
- package/dist/chunks/{hrm-FSGO4NSH.js → hrm-KKVAW4P5.js} +8 -5
- package/dist/chunks/{im-2BFGS2XO.js → im-47CIWQNL.js} +7 -4
- package/dist/chunks/{invoice-JKLTTHSZ.js → invoice-CDYRBNIG.js} +21 -16
- package/dist/chunks/{jiuchuanhui-PTABJE7V.js → jiuchuanhui-M7QTRHZK.js} +17 -10
- package/dist/chunks/{lazy-dispatch-YN2ZP3CS.js → lazy-dispatch-FKQJZFI5.js} +22 -8
- package/dist/chunks/{mail-YNO7ZZUK.js → mail-NRBS5N6Y.js} +11 -8
- package/dist/chunks/{meeting-NIDHDBCB.js → meeting-WC5LD3IO.js} +22 -18
- package/dist/chunks/{minute-doc-G3QAT7DE.js → minute-doc-OQUMDTKG.js} +4 -4
- package/dist/chunks/{okr-QC52G6AJ.js → okr-EHKSKMPL.js} +10 -7
- package/dist/chunks/{operations-MQV32ITT.js → operations-V5VM5MS2.js} +7 -4
- package/dist/chunks/{performance-3MQ3AHDQ.js → performance-ZJADXJPN.js} +6 -3
- package/dist/chunks/{plan-ISINIEPY.js → plan-OTDNBDJ7.js} +10 -7
- package/dist/chunks/{project-IJ6DVKT7.js → project-4XVBQ3HX.js} +10 -7
- package/dist/chunks/{reception-3H5LUG2I.js → reception-3FAHOOH7.js} +118 -45
- package/dist/chunks/{recruit-stage-MIOJXP6W.js → recruit-stage-3WTVWW2K.js} +1056 -191
- package/dist/chunks/register-SQOPIR2G.js +16 -0
- package/dist/chunks/{registry-3S7AVMXR.js → registry-F4YFZLOD.js} +7 -3
- package/dist/chunks/registry-NBTBXR4L.js +30 -0
- package/dist/chunks/{registry-NHHKOEU3.js → registry-TJGCVRCW.js} +7 -4
- package/dist/chunks/{room-recommend-IOKBJVYP.js → room-recommend-KL62XB2Y.js} +4 -4
- package/dist/chunks/root-YZG2TS5W.js +16 -0
- package/dist/chunks/{schedule-IB6EUARH.js → schedule-XOISYUPB.js} +4 -4
- package/dist/chunks/{smart-extract-N2TK3CEF.js → smart-extract-UYGNV3BM.js} +15 -7
- package/dist/chunks/update-AV5VOXGY.js +13 -0
- package/dist/chunks/{workflow-RINBAL2M.js → workflow-V54LJPXL.js} +15 -10
- package/dist/cli.js +40 -0
- package/dist/cmd/action.js +3 -1
- package/dist/cmd/doctor/index.js +1 -1
- package/dist/cmd/e10/index.js +1 -1
- package/dist/cmd/identity/index.js +5 -8
- package/dist/cmd/index.js +2 -0
- package/dist/cmd/setup/index.js +1 -1
- package/dist/cmd/update/index.js +38 -0
- package/dist/core/manifest-view.js +1 -1
- package/dist/core/output.js +12 -1
- package/dist/core/runtime-agent.js +13 -0
- package/dist/core/update-notice.js +23 -0
- package/dist/index.js +105 -198
- package/dist/internal/e10/auth/agent-host-key.js +16 -0
- package/dist/internal/e10/auth/agent-hosts.js +45 -9
- package/dist/internal/e10/auth/commands.js +66 -36
- package/dist/internal/e10/auth/session.js +30 -15
- package/dist/internal/e10/auth/xiaoe.js +4 -20
- package/dist/internal/e10/auth-recovery.js +44 -4
- package/dist/internal/e10/context.js +5 -2
- package/dist/internal/update/bootstrap.js +96 -0
- package/dist/internal/update/npm.js +78 -0
- package/dist/internal/update/service.js +252 -0
- package/dist/internal/update/store.js +135 -0
- package/dist/shortcuts/archive/index.js +2 -2
- package/dist/shortcuts/archive/manifest.js +1 -0
- package/dist/shortcuts/archive/operations/search.js +3 -1
- package/dist/shortcuts/archive-oa/index.js +1 -1
- package/dist/shortcuts/asset/index.js +1 -1
- package/dist/shortcuts/asset-idle/index.js +1 -1
- package/dist/shortcuts/blog/index.js +1 -1
- package/dist/shortcuts/caizhilian/index.js +1 -1
- package/dist/shortcuts/calendar/index.js +1 -1
- package/dist/shortcuts/contract/data/bi-config.js +156 -0
- package/dist/shortcuts/contract/data/collection-ledger-html.js +189 -0
- package/dist/shortcuts/contract/data/collection-node-catalog.js +226 -0
- package/dist/shortcuts/contract/data/metric-catalog.js +154 -20
- package/dist/shortcuts/contract/data/report-renderers.js +414 -0
- package/dist/shortcuts/contract/data/report-spec.js +132 -0
- package/dist/shortcuts/contract/error-actions.js +114 -0
- package/dist/shortcuts/contract/host.js +12 -3
- package/dist/shortcuts/contract/index.js +17 -1
- package/dist/shortcuts/contract/manifest.js +398 -3
- package/dist/shortcuts/contract/ooxml/docx-table.js +48 -0
- package/dist/shortcuts/contract/operations/bi-preview.js +131 -0
- package/dist/shortcuts/contract/operations/bizreview-report.js +496 -0
- package/dist/shortcuts/contract/operations/collection-node.js +229 -0
- package/dist/shortcuts/contract/operations/docx-slots.js +735 -16
- package/dist/shortcuts/contract/operations/draft-build.js +940 -0
- package/dist/shortcuts/contract/operations/draft-submit.js +229 -0
- package/dist/shortcuts/contract/operations/first-screen.js +3 -2
- package/dist/shortcuts/contract/operations/generated-submit.js +175 -0
- package/dist/shortcuts/contract/operations/ledger-report.js +233 -0
- package/dist/shortcuts/contract/operations/ledger-stat.js +1400 -0
- package/dist/shortcuts/contract/operations/ledger.js +4 -1
- package/dist/shortcuts/contract/operations/metrics.js +9 -3
- package/dist/shortcuts/contract/operations/ops-draft.js +527 -0
- package/dist/shortcuts/contract/operations/page.js +9 -0
- package/dist/shortcuts/contract/operations/quote-submit.js +55 -229
- package/dist/shortcuts/contract/operations/registry.js +20 -0
- package/dist/shortcuts/contract/operations/sign-launch.js +256 -0
- package/dist/shortcuts/contract/operations/viewlink.js +334 -0
- package/dist/shortcuts/cowork/index.js +2 -2
- package/dist/shortcuts/ebuilder-form/index.js +1 -1
- package/dist/shortcuts/ehr/index.js +2 -2
- package/dist/shortcuts/ehr/manifest.js +1 -1
- package/dist/shortcuts/ehr/operations/recruit-position.js +11 -5
- package/dist/shortcuts/ehr/operations/recruit-short-cache.js +6 -2
- package/dist/shortcuts/ehr/operations/recruit-write.js +10 -9
- package/dist/shortcuts/ehr/operations/recruit.js +390 -196
- package/dist/shortcuts/ehr/operations/shared.js +51 -0
- package/dist/shortcuts/esb/index.js +1 -1
- package/dist/shortcuts/fna/index.js +1 -1
- package/dist/shortcuts/fna/manifest.js +1 -0
- package/dist/shortcuts/fna/operations/expense-chart.js +3 -1
- package/dist/shortcuts/hrm/index.js +1 -1
- package/dist/shortcuts/invoice/index.js +1 -1
- package/dist/shortcuts/jiuchuanhui/index.js +2 -2
- package/dist/shortcuts/jiuchuanhui/manifest.js +3 -0
- package/dist/shortcuts/mail/index.js +2 -2
- package/dist/shortcuts/meeting/index.js +1 -1
- package/dist/shortcuts/meeting/manifest.js +1 -0
- package/dist/shortcuts/meeting/operations/eb/catalog.js +5 -3
- package/dist/shortcuts/meeting/operations/eb/conflict.js +3 -1
- package/dist/shortcuts/meeting/operations/eb/create-flow.js +10 -9
- package/dist/shortcuts/meeting/operations/eb/factory.js +2 -0
- package/dist/shortcuts/meeting/operations/eb/member-expand.js +3 -2
- package/dist/shortcuts/meeting/operations/invitation-publish.js +3 -3
- package/dist/shortcuts/meeting/operations/invitation.js +4 -4
- package/dist/shortcuts/meeting/operations/link.js +3 -1
- package/dist/shortcuts/okr/index.js +1 -1
- package/dist/shortcuts/performance/index.js +1 -1
- package/dist/shortcuts/plan/index.js +1 -1
- package/dist/shortcuts/project/index.js +1 -1
- package/dist/shortcuts/reception/constants.js +22 -0
- package/dist/shortcuts/reception/index.js +4 -0
- package/dist/shortcuts/reception/manifest.js +16 -2
- package/dist/shortcuts/reception/operations/doc.js +24 -11
- package/dist/shortcuts/reception/operations/docrender.js +18 -1
- package/dist/shortcuts/reception/operations/render-assets.js +93 -22
- package/dist/shortcuts/recruit-stage/context.js +22 -8
- package/dist/shortcuts/recruit-stage/index.js +16 -3
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +20 -11
- package/dist/shortcuts/recruit-stage/operations/interview-feedback.js +1 -1
- package/dist/shortcuts/recruit-stage/operations/jd-create.js +467 -26
- package/dist/shortcuts/recruit-stage/operations/list.js +73 -2
- package/dist/shortcuts/recruit-stage/operations/profile.js +13 -5
- package/dist/shortcuts/recruit-stage/operations/registry.js +18 -2
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +363 -54
- package/dist/shortcuts/recruit-stage/operations/search.js +80 -16
- package/dist/shortcuts/recruit-stage/operations/shortlist.js +124 -0
- package/dist/shortcuts/recruit-stage/shared.js +174 -56
- package/dist/shortcuts/smart-extract/manifest.js +1 -0
- package/dist/shortcuts/smart-extract/operations/fill.js +7 -2
- package/dist/shortcuts/smart-extract/operations/validate.js +4 -1
- package/dist/shortcuts/workflow/index.js +2 -2
- package/dist/shortcuts/workflow/manifest.js +1 -0
- package/dist/shortcuts/workflow/operations/aiDeepRead/render.js +4 -1
- package/dist/shortcuts/workflow/operations/deepRead.js +23 -2
- package/dist/shortcuts/workflow/operations/form.js +44 -4
- package/docs/contract.md +6 -1
- package/docs/e10-auth.md +25 -7
- package/docs/operation-manual.md +15 -0
- package/package.json +2 -2
- package/scripts/pysite/__pycache__/sitecustomize.cpython-314.pyc +0 -0
- package/skill-template/business-info.json +28 -0
- package/skill-template/domains/jinchengda.md +13 -1
- package/skills/weaver-e10-archive-oa/references/source-manifest.json +3 -3
- package/skills/weaver-e10-caizhilian/references/auth-and-install.md +2 -1
- package/skills/weaver-e10-caizhilian/references/source-manifest.json +3 -3
- package/skills/weaver-e10-esb/references/source-manifest.json +3 -3
- package/skills/weaver-e10-jinchengda/SKILL.md +90 -32
- package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +45 -0
- package/skills/weaver-e10-jinchengda/references/contract-bizreview-report-template.html +68 -0
- package/skills/weaver-e10-jinchengda/references/contract-bizreview.md +216 -0
- package/skills/weaver-e10-jinchengda/references/contract-clause-negotiate.md +215 -0
- package/skills/weaver-e10-jinchengda/references/contract-collection-node.md +113 -0
- package/skills/weaver-e10-jinchengda/references/contract-command-index.md +19 -3
- package/skills/weaver-e10-jinchengda/references/contract-decisions.md +114 -0
- package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +53 -44
- package/skills/weaver-e10-jinchengda/references/contract-element-extract.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-firstscreen-guide.md +200 -0
- package/skills/weaver-e10-jinchengda/references/contract-ledger-catalog.md +18 -1
- package/skills/weaver-e10-jinchengda/references/contract-ledger-query-playbook.md +138 -3
- package/skills/weaver-e10-jinchengda/references/contract-ledger-report.md +158 -0
- package/skills/weaver-e10-jinchengda/references/contract-ledger-rules.md +3 -1
- package/skills/weaver-e10-jinchengda/references/contract-material-gap.md +139 -0
- package/skills/weaver-e10-jinchengda/references/contract-object-detect.md +2 -2
- package/skills/weaver-e10-jinchengda/references/contract-open-web-pages.md +10 -3
- package/skills/weaver-e10-jinchengda/references/contract-ops-draft.md +106 -0
- package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +176 -56
- package/skills/weaver-e10-jinchengda/references/contract-sign-launch.md +123 -0
- package/skills/weaver-e10-jinchengda/references/contract-smart-draft.md +410 -0
- package/skills/weaver-e10-jinchengda/references/contract-template-recommend.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-viewlink.md +110 -0
- package/skills/weaver-e10-jinchengda/references/orchestration.md +38 -24
- package/skills/weaver-e10-jucailin/SKILL.md +7 -3
- package/skills/weaver-e10-jucailin/references/recruit-output-links.md +33 -0
- package/skills/weaver-e10-jucailin/references/recruit-write.md +2 -0
- package/skills/weaver-e10-meeting/SKILL.md +13 -0
- package/skills/weaver-e10-okr/SKILL.md +11 -0
- package/skills/weaver-e10-okr/references/source-manifest.json +7 -6
- package/skills/weaver-e10-performance/SKILL.md +131 -39
- package/skills/weaver-e10-performance/agents/openai.yaml +48 -17
- package/skills/weaver-e10-performance/references/default-assembly.md +3 -0
- package/skills/weaver-e10-performance/references/extraction-guide.md +17 -3
- package/skills/weaver-e10-performance/references/flow-assess.md +38 -5
- package/skills/weaver-e10-performance/references/scheme-setting-page.md +20 -3
- package/skills/weaver-e10-performance/scripts/assemble_scheme.py +461 -0
- package/skills/weaver-e10-performance/scripts/parse_appraisal_doc.py +41 -0
- package/skills/weaver-e10-plan/SKILL.md +10 -0
- package/skills/weaver-e10-plan/references/source-manifest.json +13 -13
- package/skills/weaver-e10-qiyecheng/SKILL.md +2 -2
- package/skills/weaver-e10-qiyecheng/references/source-manifest.json +9 -9
- package/skills/weaver-e10-reception-flow/SKILL.md +97 -41
- package/skills/weaver-e10-reception-flow/references/guide.md +3 -1
- package/skills/weaver-e10-recruit-stage/SKILL.md +533 -137
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +103 -62
- package/skills/weaver-e10-recruit-stage/lib/interview-conflict.mjs +282 -0
- package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +331 -0
- package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +865 -0
- package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +162 -11
- package/skills/weaver-e10-recruit-stage/lib/recruit-xiaoe-file.mjs +15 -1
- package/skills/weaver-e10-recruit-stage/lib/report-attachment.mjs +38 -0
- package/skills/weaver-e10-recruit-stage/lib/xiaoe-session.mjs +5 -1
- package/skills/weaver-e10-recruit-stage/references/env-fixed-values.md +6 -2
- package/skills/weaver-e10-recruit-stage/references/env-ziyong.md +4 -0
- package/skills/weaver-e10-recruit-stage/references/position-templates.md +26 -21
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +33 -27
- package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +11 -7
- package/skills/weaver-e10-recruit-stage/references/recruit-check-install.md +5 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-detail-process.md +5 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +22 -5
- package/skills/weaver-e10-recruit-stage/references/recruit-failure-fallback.md +42 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +11 -7
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +87 -50
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-template.md +4 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-list-candidate.md +4 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +48 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-maint.md +45 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +17 -11
- package/skills/weaver-e10-recruit-stage/references/recruit-my-positions.md +8 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +162 -31
- package/skills/weaver-e10-recruit-stage/references/recruit-platform-compat.md +55 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +75 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resolve-creator.md +4 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +12 -8
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +8 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +80 -46
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +11 -7
- package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +12 -8
- package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +10 -6
- package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +15 -11
- package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +7 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +7 -3
- package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +119 -0
- package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +322 -0
- package/skills/weaver-e10-recruit-stage/templates/match-report.html +166 -76
- package/skills/weaver-e10-shared/SKILL.md +40 -5
- package/skills/weaver-e10-shared/references/e10-auth-and-session.md +11 -1
- package/skills/weaver-e10-shared/references/json-output-contract.md +144 -8
- package/skills/weaver-e10-shared/references/weaver-e10-installation.md +11 -0
- package/skills/weaver-e10-shijingran/references/source-manifest.json +3 -3
- package/skills/weaver-e10-wenshuding/references/source-manifest.json +3 -3
- package/skills/weaver-e10-workflow/references/source-manifest.json +3 -3
- package/skills/weaver-e10-yepiaotong/references/source-manifest.json +5 -5
- package/dist/chunks/chunk-MZVQKQP5.js +0 -2849
- package/dist/chunks/registry-3GQRYP2R.js +0 -27
- package/skills/weaver-e10-jucailin/references/source-manifest.json +0 -152
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
2
|
+
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
registerCommands,
|
|
5
|
+
registerModules
|
|
6
|
+
} from "./chunk-KINXYJXM.js";
|
|
7
|
+
import "./chunk-JJONWB5N.js";
|
|
8
|
+
import "./chunk-257JXJGD.js";
|
|
9
|
+
import "./chunk-AJ62BGAW.js";
|
|
10
|
+
import "./chunk-MD5CW4B6.js";
|
|
11
|
+
import "./chunk-UG5G54VL.js";
|
|
12
|
+
import "./chunk-BUSC6UAE.js";
|
|
13
|
+
export {
|
|
14
|
+
registerCommands,
|
|
15
|
+
registerModules
|
|
16
|
+
};
|
|
@@ -4,14 +4,18 @@ import {
|
|
|
4
4
|
getWorkflowOperation,
|
|
5
5
|
hasWorkflowOperation,
|
|
6
6
|
workflowOperationDefinitions
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FEZK536Z.js";
|
|
8
8
|
import "./chunk-HP7JIYMT.js";
|
|
9
9
|
import "./chunk-WRXSAVKO.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-JJONWB5N.js";
|
|
11
|
+
import "./chunk-257JXJGD.js";
|
|
11
12
|
import "./chunk-AJ62BGAW.js";
|
|
12
13
|
import "./chunk-7BDPM5ST.js";
|
|
13
14
|
import "./chunk-IZCQU5D5.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-QVKRNL7L.js";
|
|
16
|
+
import "./chunk-Y3C6MDL7.js";
|
|
17
|
+
import "./chunk-7DE3VMZD.js";
|
|
18
|
+
import "./chunk-2BZ7TY4M.js";
|
|
15
19
|
import "./chunk-UG5G54VL.js";
|
|
16
20
|
import "./chunk-BUSC6UAE.js";
|
|
17
21
|
export {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
2
|
+
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
getMeetingOperation,
|
|
5
|
+
hasMeetingOperation,
|
|
6
|
+
meetingOperationDefinitions
|
|
7
|
+
} from "./chunk-4FCBEWNB.js";
|
|
8
|
+
import "./chunk-KWJEICD4.js";
|
|
9
|
+
import "./chunk-WMRNO6IU.js";
|
|
10
|
+
import "./chunk-2AUFKU2D.js";
|
|
11
|
+
import "./chunk-QJWVYOOV.js";
|
|
12
|
+
import "./chunk-KEA4XQPO.js";
|
|
13
|
+
import "./chunk-ZUB4M4N3.js";
|
|
14
|
+
import "./chunk-ZWIMLT6P.js";
|
|
15
|
+
import "./chunk-BSR5TM7U.js";
|
|
16
|
+
import "./chunk-NWYHCZTY.js";
|
|
17
|
+
import "./chunk-I6NOHKEK.js";
|
|
18
|
+
import "./chunk-ERZY6GYL.js";
|
|
19
|
+
import "./chunk-7BDPM5ST.js";
|
|
20
|
+
import "./chunk-QVKRNL7L.js";
|
|
21
|
+
import "./chunk-Y3C6MDL7.js";
|
|
22
|
+
import "./chunk-7DE3VMZD.js";
|
|
23
|
+
import "./chunk-2BZ7TY4M.js";
|
|
24
|
+
import "./chunk-UG5G54VL.js";
|
|
25
|
+
import "./chunk-BUSC6UAE.js";
|
|
26
|
+
export {
|
|
27
|
+
getMeetingOperation,
|
|
28
|
+
hasMeetingOperation,
|
|
29
|
+
meetingOperationDefinitions
|
|
30
|
+
};
|
|
@@ -4,13 +4,16 @@ import {
|
|
|
4
4
|
esbOperationDefinitions,
|
|
5
5
|
getEsbOperation,
|
|
6
6
|
hasEsbOperation
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-VOMDD2C5.js";
|
|
8
|
+
import "./chunk-OQCK5SAU.js";
|
|
9
9
|
import "./chunk-TXUG266F.js";
|
|
10
10
|
import "./chunk-7BDPM5ST.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-MXCRKXOP.js";
|
|
12
12
|
import "./chunk-IZCQU5D5.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-QVKRNL7L.js";
|
|
14
|
+
import "./chunk-Y3C6MDL7.js";
|
|
15
|
+
import "./chunk-7DE3VMZD.js";
|
|
16
|
+
import "./chunk-2BZ7TY4M.js";
|
|
14
17
|
import "./chunk-UG5G54VL.js";
|
|
15
18
|
import "./chunk-BUSC6UAE.js";
|
|
16
19
|
export {
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
loadRooms,
|
|
8
8
|
recommendRooms,
|
|
9
9
|
rememberFrequentRoom
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-BSR5TM7U.js";
|
|
11
|
+
import "./chunk-NWYHCZTY.js";
|
|
12
|
+
import "./chunk-I6NOHKEK.js";
|
|
13
|
+
import "./chunk-ERZY6GYL.js";
|
|
14
14
|
import "./chunk-7BDPM5ST.js";
|
|
15
15
|
import "./chunk-UG5G54VL.js";
|
|
16
16
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
2
|
+
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
createProgram
|
|
5
|
+
} from "./chunk-UUJK76HV.js";
|
|
6
|
+
import "./chunk-JJONWB5N.js";
|
|
7
|
+
import "./chunk-257JXJGD.js";
|
|
8
|
+
import "./chunk-AJ62BGAW.js";
|
|
9
|
+
import "./chunk-JWF2R6EQ.js";
|
|
10
|
+
import "./chunk-Y3C6MDL7.js";
|
|
11
|
+
import "./chunk-2BZ7TY4M.js";
|
|
12
|
+
import "./chunk-UG5G54VL.js";
|
|
13
|
+
import "./chunk-BUSC6UAE.js";
|
|
14
|
+
export {
|
|
15
|
+
createProgram
|
|
16
|
+
};
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
resolveMeetingScheduleTypeIds,
|
|
9
9
|
resolveMemberIdsByName,
|
|
10
10
|
runScheduleConflictFlow
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-KEA4XQPO.js";
|
|
12
|
+
import "./chunk-NWYHCZTY.js";
|
|
13
|
+
import "./chunk-I6NOHKEK.js";
|
|
14
|
+
import "./chunk-ERZY6GYL.js";
|
|
15
15
|
import "./chunk-7BDPM5ST.js";
|
|
16
16
|
import "./chunk-UG5G54VL.js";
|
|
17
17
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -2,7 +2,8 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
defaultResultThresholdChars
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JJONWB5N.js";
|
|
6
|
+
import "./chunk-257JXJGD.js";
|
|
6
7
|
import {
|
|
7
8
|
stateRoot
|
|
8
9
|
} from "./chunk-AJ62BGAW.js";
|
|
@@ -10,7 +11,7 @@ import {
|
|
|
10
11
|
MANIFEST_LIST_COMPACT_PATHS,
|
|
11
12
|
manifestView,
|
|
12
13
|
schemaOptionsOf
|
|
13
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2QCCXPNU.js";
|
|
14
15
|
import {
|
|
15
16
|
CONTINUATION_TTL_MS,
|
|
16
17
|
CONTINUATION_TTL_SECONDS
|
|
@@ -20,11 +21,14 @@ import {
|
|
|
20
21
|
createE10RequestRuntime,
|
|
21
22
|
isE10SessionExpiredResponse,
|
|
22
23
|
requireE10Session
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MXCRKXOP.js";
|
|
24
25
|
import "./chunk-IZCQU5D5.js";
|
|
25
26
|
import {
|
|
26
27
|
getActiveProfile
|
|
27
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QVKRNL7L.js";
|
|
29
|
+
import "./chunk-Y3C6MDL7.js";
|
|
30
|
+
import "./chunk-7DE3VMZD.js";
|
|
31
|
+
import "./chunk-2BZ7TY4M.js";
|
|
28
32
|
import {
|
|
29
33
|
CliError,
|
|
30
34
|
isCliError,
|
|
@@ -1593,7 +1597,8 @@ function validateExtraction(result, structureRaw, options = {}) {
|
|
|
1593
1597
|
var resultValidate = {
|
|
1594
1598
|
name: "smart-extract.result.validate",
|
|
1595
1599
|
risk: "read",
|
|
1596
|
-
summary: "\u6309\u8868\u5355\u7ED3\u6784\u6821\u9A8C\u62BD\u53D6\u7ED3\u679C\uFF1A\u5B57\u6BB5 ID
|
|
1600
|
+
summary: "\u6309\u8868\u5355\u7ED3\u6784\u6821\u9A8C\u62BD\u53D6\u7ED3\u679C\uFF1A\u5B57\u6BB5 ID\u3001\u9009\u9879\u503C\u3001\u5355\u503C/\u591A\u503C\u3001\u65E5\u671F\u6570\u5B57\u683C\u5F0F\u3001\u660E\u7EC6\u5BF9\u9F50\u3001origin\uFF1Bok=true \u624D\u80FD\u4FDD\u5B58\u3002",
|
|
1601
|
+
notes: "\u6821\u9A8C\u9879\uFF1A\u5B57\u6BB5 ID \u662F\u5426\u5B58\u5728\u3001\u9009\u9879\u503C\u662F\u5426\u5408\u6CD5\u3001\u5355\u503C\u5B57\u6BB5\u662F\u5426\u591A\u503C\u3001\u65E5\u671F/\u6570\u5B57\u683C\u5F0F\u3001\u660E\u7EC6\u4E09\u6570\u7EC4\u957F\u5EA6\u662F\u5426\u5BF9\u9F50\u3001origin \u683C\u5F0F\u3002\u8FD4\u56DE errors/warnings\uFF0Cok=true \u624D\u5141\u8BB8\u4FDD\u5B58\u3002fill.save \u5DF2\u5185\u7F6E\u540C\u4E00\u5957\u6821\u9A8C\uFF0C\u5355\u72EC\u8C03\u8BD5\u65F6\u7528\u672C\u547D\u4EE4\u3002",
|
|
1597
1602
|
inputSchema: schemaOf({
|
|
1598
1603
|
result: { type: "object", description: "\u62BD\u53D6\u7ED3\u679C\uFF08\u5185\u8054\uFF09" },
|
|
1599
1604
|
resultPath: { type: "string", description: "\u62BD\u53D6\u7ED3\u679C JSON \u6587\u4EF6\u8DEF\u5F84\uFF08\u4E0E result \u4E8C\u9009\u4E00\uFF09" },
|
|
@@ -2164,7 +2169,8 @@ async function extractText(item) {
|
|
|
2164
2169
|
var fill = {
|
|
2165
2170
|
name: "smart-extract.fill",
|
|
2166
2171
|
risk: "read",
|
|
2167
|
-
summary: "\u4E00\u6B21\
|
|
2172
|
+
summary: "\u4E00\u6B21\u53D6\u9F50\u62BD\u53D6\u6240\u9700\u5165\u53C2\uFF1A\u8868\u5355\u7ED3\u6784\u3001\u8BC6\u522B\u89C4\u5219\u3001\u9644\u4EF6\u6B63\u6587\uFF1B\u8FD4\u56DE\u7CBE\u7B80\u5185\u5BB9 + sessionFile\uFF0C\u4F9B\u6A21\u578B\u62BD\u53D6\u540E\u4EA4\u7ED9 fill.save\u3002",
|
|
2173
|
+
notes: "\u6D41\u7A0B\u8282\u70B9\u8868\u5355\u7ED3\u6784\uFF08\u538B\u7F29\u4E32\uFF09\u3001\u8BC6\u522B\u89C4\u5219\u3001\u9644\u4EF6\u6B63\u6587\uFF08docx \u672C\u5730\u62BD\u6587\u672C\uFF09\u4E00\u6B21\u53D6\u56DE\uFF1B\u8FD4\u56DE\u7CBE\u7B80\u540E\u53EA\u542B\u6A21\u578B\u9700\u8981\u7684\u5185\u5BB9 + sessionFile\uFF1B\u6A21\u578B\u636E\u6B64\u76F4\u63A5\u62BD\u53D6\uFF0C\u518D\u8C03 smart-extract.fill.save \u4E00\u6B65\u843D\u5E93\u3002",
|
|
2168
2174
|
inputSchema: schemaOf({
|
|
2169
2175
|
workflowId: { ...SCHEMA_ID, description: "\u6D41\u7A0B\u6A21\u677F ID\uFF08\u5FC5\u586B\uFF09" },
|
|
2170
2176
|
nodeId: { ...SCHEMA_ID, description: "\u6D41\u7A0B\u8282\u70B9 ID\uFF1B\u4E0D\u4F20\u81EA\u52A8\u53D6\u53D1\u8D77\u8282\u70B9" },
|
|
@@ -2303,7 +2309,8 @@ var fill = {
|
|
|
2303
2309
|
var fillSave = {
|
|
2304
2310
|
name: "smart-extract.fill.save",
|
|
2305
2311
|
risk: "high-risk-write",
|
|
2306
|
-
summary: "\u4E00\u6B65\u6536\u5C3E\uFF1A\u6309 sessionFile \
|
|
2312
|
+
summary: "\u4E00\u6B65\u6536\u5C3E\uFF1A\u6309 sessionFile \u81EA\u52A8\u6574\u7406\u5E76\u786E\u5B9A\u6027\u6821\u9A8C\u62BD\u53D6\u7ED3\u679C\uFF0C\u901A\u8FC7\u540E\u5199\u6279\u6B21\u8BB0\u5F55\u3001\u56DE\u67E5\u9A8C\u8BC1\u5E76\u8FD4\u56DE aiExtraId\u3002",
|
|
2313
|
+
notes: "\u6309 sessionFile \u53D6\u56DE\u7ED3\u6784\u4E0E\u89C4\u5219 \u2192 \u81EA\u52A8\u6574\u7406\u7ED3\u679C\uFF08\u4E3B\u8868\u5254\u9664\u7A7A\u503C\u5E76\u6309 fields.main \u6392\u5E8F\u3001\u660E\u7EC6\u5220\u5168\u7A7A\u884C\uFF09\u2192 \u786E\u5B9A\u6027\u6821\u9A8C\uFF08\u4E0D\u901A\u8FC7\u76F4\u63A5\u62D2\u5199\u5E76\u56DE\u9519\u8BEF\u6E05\u5355\uFF09\u2192 \u5199\u6279\u6B21\u8BB0\u5F55 \u2192 \u56DE\u67E5\u9A8C\u8BC1\uFF0C\u8FD4\u56DE aiExtraId\u3002\u6BCF\u6B21\u90FD\u65B0\u5EFA\u4E00\u6761\u8BB0\u5F55\uFF0C\u4E0D\u5224\u65AD\u662F\u5426\u5DF2\u5B58\u5728\uFF1B\u4E0D\u9700\u8981\u9884\u89C8\u4E0E\u4EBA\u5DE5\u786E\u8BA4\u3002",
|
|
2307
2314
|
inputSchema: schemaOf({
|
|
2308
2315
|
sessionFile: { type: "string", description: "smart-extract.fill \u8FD4\u56DE\u7684 sessionFile \u8DEF\u5F84" },
|
|
2309
2316
|
result: { type: "object", description: "\u62BD\u53D6\u7ED3\u679C\uFF08\u5185\u8054\uFF09" },
|
|
@@ -2791,6 +2798,7 @@ var smartExtractOperations = smartExtractOperationDefinitions.map((definition) =
|
|
|
2791
2798
|
name: definition.name,
|
|
2792
2799
|
risk: definition.risk,
|
|
2793
2800
|
summary: definition.summary,
|
|
2801
|
+
...definition.notes ? { notes: definition.notes } : {},
|
|
2794
2802
|
...definition.requiresConfirmation ? { requiresConfirmation: true } : {},
|
|
2795
2803
|
inputSchema: definition.inputSchema
|
|
2796
2804
|
}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
2
|
+
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
updateCommand
|
|
5
|
+
} from "./chunk-SU6IJD6D.js";
|
|
6
|
+
import "./chunk-OJ4JPD25.js";
|
|
7
|
+
import "./chunk-7DE3VMZD.js";
|
|
8
|
+
import "./chunk-2BZ7TY4M.js";
|
|
9
|
+
import "./chunk-UG5G54VL.js";
|
|
10
|
+
import "./chunk-BUSC6UAE.js";
|
|
11
|
+
export {
|
|
12
|
+
updateCommand
|
|
13
|
+
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
createWorkflowHost
|
|
5
|
-
} from "./chunk-MD5RXRI3.js";
|
|
6
3
|
import {
|
|
7
4
|
USER_INTENT_RULE_FILE,
|
|
8
5
|
aigroupUserDir,
|
|
@@ -17,10 +14,13 @@ import {
|
|
|
17
14
|
validateRuleFile,
|
|
18
15
|
workflowOperationDefinitions,
|
|
19
16
|
workflowSuccess
|
|
20
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FEZK536Z.js";
|
|
21
18
|
import {
|
|
22
19
|
createWorkflowContinuationSigner
|
|
23
20
|
} from "./chunk-HP7JIYMT.js";
|
|
21
|
+
import {
|
|
22
|
+
createWorkflowHost
|
|
23
|
+
} from "./chunk-TA2RBUTH.js";
|
|
24
24
|
import {
|
|
25
25
|
CLARIFICATION_SUBTYPE,
|
|
26
26
|
WorkflowCliError,
|
|
@@ -29,15 +29,19 @@ import {
|
|
|
29
29
|
} from "./chunk-WRXSAVKO.js";
|
|
30
30
|
import {
|
|
31
31
|
charsOf
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JJONWB5N.js";
|
|
33
|
+
import "./chunk-257JXJGD.js";
|
|
33
34
|
import "./chunk-AJ62BGAW.js";
|
|
35
|
+
import "./chunk-7BDPM5ST.js";
|
|
34
36
|
import {
|
|
35
37
|
reportPlatformError
|
|
36
38
|
} from "./chunk-MD5CW4B6.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-DRJYPXKC.js";
|
|
39
|
+
import "./chunk-MXCRKXOP.js";
|
|
39
40
|
import "./chunk-IZCQU5D5.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-QVKRNL7L.js";
|
|
42
|
+
import "./chunk-Y3C6MDL7.js";
|
|
43
|
+
import "./chunk-7DE3VMZD.js";
|
|
44
|
+
import "./chunk-2BZ7TY4M.js";
|
|
41
45
|
import {
|
|
42
46
|
isCliError,
|
|
43
47
|
toErrorEnvelope
|
|
@@ -54,6 +58,7 @@ function buildOperations() {
|
|
|
54
58
|
name: definition.name,
|
|
55
59
|
resource: definition.resource,
|
|
56
60
|
summary: definition.summary,
|
|
61
|
+
...definition.notes ? { notes: definition.notes } : {},
|
|
57
62
|
...definition.capability ? { capability: definition.capability } : {},
|
|
58
63
|
risk: definition.risk,
|
|
59
64
|
...definition.requiresConfirmation ? { requiresConfirmation: true } : {},
|
|
@@ -359,7 +364,7 @@ async function executeAndPrint(ctx, operation, input) {
|
|
|
359
364
|
printWorkflowResult(ctx, operation, result);
|
|
360
365
|
} catch (error) {
|
|
361
366
|
reportPlatformError(error);
|
|
362
|
-
|
|
367
|
+
ctx.output.error(failureEnvelope(error));
|
|
363
368
|
process.exitCode = isCliError(error) ? error.exitCode : 1 /* GeneralError */;
|
|
364
369
|
}
|
|
365
370
|
}
|
|
@@ -407,7 +412,7 @@ function manifestIndex() {
|
|
|
407
412
|
...requiredHints(definition.inputSchema)
|
|
408
413
|
})),
|
|
409
414
|
withheldOperations: [...workflowManifest.withheldOperations, ...hostWithheldOperations()],
|
|
410
|
-
operationsHint: "\u9ED8\u8BA4\u53EA\u5217 operation \u4E0E\u5B57\u6BB5\u540D\uFF1B\u5B57\u6BB5\u7C7B\u578B\u3001\u679A\u4E3E\
|
|
415
|
+
operationsHint: "\u9ED8\u8BA4\u53EA\u5217 operation \u4E0E\u5B57\u6BB5\u540D\uFF1B\u5B57\u6BB5\u7C7B\u578B\u3001\u679A\u4E3E\u3001\u586B\u5199\u53E3\u5F84\u4E0E\u5B8C\u6574\u8BF4\u660E\uFF08notes\uFF09\u7528 `workflow schema --operation <name>` \u5355\u53D6\uFF0C\u6574\u4EFD\u5B8C\u6574 manifest \u7528 `workflow schema --full`\u3002"
|
|
411
416
|
};
|
|
412
417
|
}
|
|
413
418
|
function manifestFull() {
|
package/dist/cli.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { firstPositionalToken, toCommandMetadata } from './cmd/argv.js';
|
|
3
|
+
import { builtinCommands } from './cmd/index.js';
|
|
4
|
+
import { registerCommands } from './cmd/register.js';
|
|
5
|
+
import { createProgram } from './cmd/root.js';
|
|
6
|
+
import { applyE10TlsPolicy } from './internal/e10/tls-policy.js';
|
|
7
|
+
import { builtinShortcuts, loadAllShortcuts, loadShortcuts, shortcutMetadata } from './shortcuts/index.js';
|
|
8
|
+
// 证书注入必须发生在任何请求之前(`setDefaultCACertificates` 只影响之后创建的
|
|
9
|
+
// TLS 上下文)。放在入口而不是某个命令里,是为了让业务请求、`doctor`、`auth`
|
|
10
|
+
// 三条链路共用同一份信任策略,也避免漏掉某个调用点。没配 `WEAVER_E10_CA_FILE`
|
|
11
|
+
// 时它什么也不做。
|
|
12
|
+
applyE10TlsPolicy();
|
|
13
|
+
const BUILTIN_NAMES = new Set(builtinCommands.map((command) => command.name));
|
|
14
|
+
/**
|
|
15
|
+
* 只把**本次真的要跑**的那个 shortcut 实现加载进来(2026-10-28 A 方案)。
|
|
16
|
+
*
|
|
17
|
+
* 三条分支:
|
|
18
|
+
* 1. argv 里没有位置参数(`--version` / `--help` / 空跑)⇒ 只注册元数据占位,一个实现都不加载;
|
|
19
|
+
* 2. 命中了某个 shortcut ⇒ 只加载它(`workflow` 命令从 348 个模块降到 ~40 个);
|
|
20
|
+
* 3. 命中内建命令 ⇒ 同样只注册占位;**没命中任何已知名字** ⇒ 全量加载兜底
|
|
21
|
+
* (这样"命令名拼错"时的报错与改造前完全一致,不会因为我们少加载而变形)。
|
|
22
|
+
*/
|
|
23
|
+
async function selectShortcuts(wanted) {
|
|
24
|
+
if (!wanted)
|
|
25
|
+
return builtinShortcuts;
|
|
26
|
+
if (builtinShortcuts.some((shortcut) => shortcut.name === wanted))
|
|
27
|
+
return loadShortcuts([wanted]);
|
|
28
|
+
if (BUILTIN_NAMES.has(wanted))
|
|
29
|
+
return builtinShortcuts;
|
|
30
|
+
return loadAllShortcuts();
|
|
31
|
+
}
|
|
32
|
+
const { program, ctx } = createProgram();
|
|
33
|
+
await registerCommands(program, ctx, [
|
|
34
|
+
...builtinCommands,
|
|
35
|
+
...(await selectShortcuts(firstPositionalToken(process.argv.slice(2)))),
|
|
36
|
+
]);
|
|
37
|
+
// `commands list` / 顶层 help 要看的是**全部**命令:元数据不需要加载实现,直接补齐。
|
|
38
|
+
ctx.commands = toCommandMetadata([...builtinCommands, ...shortcutMetadata()]);
|
|
39
|
+
ctx.modules = ctx.commands;
|
|
40
|
+
await program.parseAsync();
|
package/dist/cmd/action.js
CHANGED
|
@@ -3,6 +3,7 @@ import { ExitCode, isCliError, toErrorEnvelope } from '../core/errors.js';
|
|
|
3
3
|
import { guardFileInput } from '../core/input.js';
|
|
4
4
|
import { RefError, pruneRefs, resolveRefInput } from '../core/refs.js';
|
|
5
5
|
import { refMaxBytes, refMaxCount } from '../core/output.js';
|
|
6
|
+
import { emitUpdateNotice, withUpdateNotice } from '../core/update-notice.js';
|
|
6
7
|
function commandFromArgs(args) {
|
|
7
8
|
const last = args[args.length - 1];
|
|
8
9
|
return last && typeof last === 'object' && 'name' in last && 'opts' in last ? last : undefined;
|
|
@@ -99,11 +100,12 @@ export function createAction(ctx) {
|
|
|
99
100
|
env.code = pe.code;
|
|
100
101
|
env.message = pe.message;
|
|
101
102
|
}
|
|
102
|
-
console.error(JSON.stringify(env, null, 2));
|
|
103
|
+
console.error(JSON.stringify(withUpdateNotice(env), null, 2));
|
|
103
104
|
process.exitCode = isCliError(error) ? error.exitCode : ExitCode.GeneralError;
|
|
104
105
|
return;
|
|
105
106
|
}
|
|
106
107
|
// 平台型连接器(千问办公等)要求 stderr 有统一的 {"code":"E-XXXX","message":"…"}。
|
|
108
|
+
emitUpdateNotice();
|
|
107
109
|
// 非 --json 模式仍单独追加一行,既有的错误消息与退出码一律不变。
|
|
108
110
|
if (shouldReportPlatformError(error)) {
|
|
109
111
|
process.stderr.write(JSON.stringify(toPlatformError(error)) + '\n');
|
package/dist/cmd/doctor/index.js
CHANGED
|
@@ -31,7 +31,7 @@ export const doctorCommand = {
|
|
|
31
31
|
},
|
|
32
32
|
];
|
|
33
33
|
if (opts.e10) {
|
|
34
|
-
const authFile = findAuthFile(ctx.cwd);
|
|
34
|
+
const authFile = findAuthFile(ctx.cwd, ctx.getGlobalOptions(), ctx.env);
|
|
35
35
|
checks.push({
|
|
36
36
|
name: 'e10AuthFile',
|
|
37
37
|
ok: Boolean(authFile && existsSync(authFile)),
|
package/dist/cmd/e10/index.js
CHANGED
|
@@ -11,7 +11,7 @@ export const e10Command = {
|
|
|
11
11
|
registerE10AuthCommands(e10, action);
|
|
12
12
|
ctx.hooks.register({
|
|
13
13
|
beforeRun(runCtx) {
|
|
14
|
-
const authFile = findAuthFile(runCtx.cwd);
|
|
14
|
+
const authFile = findAuthFile(runCtx.cwd, ctx.getGlobalOptions(), runCtx.env);
|
|
15
15
|
const session = authFile ? E10AuthSession.fromFile(authFile) : null;
|
|
16
16
|
if (!session)
|
|
17
17
|
return;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { resolveActiveProfileForHost } from '../../internal/e10/auth/session.js';
|
|
2
|
+
import { requireE10Session } from '../../internal/e10/context.js';
|
|
3
3
|
/**
|
|
4
4
|
* 身份信息脱敏:只保留业务可读字段。
|
|
5
5
|
*
|
|
@@ -32,13 +32,10 @@ export const identityCommand = {
|
|
|
32
32
|
.description('Connector contract: report who the current credential belongs to');
|
|
33
33
|
identity.command('whoami')
|
|
34
34
|
.description('Print the signed-in E10 identity as JSON without any credential material')
|
|
35
|
-
.action(action((ctx) => {
|
|
35
|
+
.action(action(async (ctx) => {
|
|
36
36
|
const opts = ctx.getGlobalOptions();
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
if (!session)
|
|
40
|
-
throw new CliError('E10 auth not found.', ExitCode.AuthError);
|
|
41
|
-
const profile = opts.profile || getActiveProfile();
|
|
37
|
+
const session = await requireE10Session(ctx, { skipProfileEnrichment: true });
|
|
38
|
+
const profile = opts.profile || resolveActiveProfileForHost(ctx.env, opts);
|
|
42
39
|
ctx.output.raw(JSON.stringify(safeIdentity(session, profile)));
|
|
43
40
|
}));
|
|
44
41
|
},
|
package/dist/cmd/index.js
CHANGED
|
@@ -9,6 +9,7 @@ import { refsCommand } from './refs/index.js';
|
|
|
9
9
|
import { runCommand } from './run/index.js';
|
|
10
10
|
import { setupCommand } from './setup/index.js';
|
|
11
11
|
import { skillsCommand } from './skills/index.js';
|
|
12
|
+
import { updateCommand } from './update/index.js';
|
|
12
13
|
export const builtinCommands = [
|
|
13
14
|
configCommand,
|
|
14
15
|
docsCommand,
|
|
@@ -21,4 +22,5 @@ export const builtinCommands = [
|
|
|
21
22
|
identityCommand,
|
|
22
23
|
setupCommand,
|
|
23
24
|
skillsCommand,
|
|
25
|
+
updateCommand,
|
|
24
26
|
];
|
package/dist/cmd/setup/index.js
CHANGED
|
@@ -22,7 +22,7 @@ export const setupCommand = {
|
|
|
22
22
|
const opts = options && typeof options === 'object'
|
|
23
23
|
? options
|
|
24
24
|
: {};
|
|
25
|
-
const authFile = findAuthFile(ctx.cwd, ctx.getGlobalOptions());
|
|
25
|
+
const authFile = findAuthFile(ctx.cwd, ctx.getGlobalOptions(), ctx.env);
|
|
26
26
|
const packagedSkills = resolvePackagedSkillNames(SKILLS_DIR, 'yepiaotong');
|
|
27
27
|
const checks = [
|
|
28
28
|
{
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CliError } from '../../core/errors.js';
|
|
2
|
+
import { packageRootDir } from '../../core/package-paths.js';
|
|
3
|
+
import { UpdateService } from '../../internal/update/service.js';
|
|
4
|
+
function service(ctx) {
|
|
5
|
+
return new UpdateService({
|
|
6
|
+
packageRoot: packageRootDir(), currentVersion: ctx.packageInfo.version,
|
|
7
|
+
env: ctx.env, runtimeAgent: ctx.getGlobalOptions().runtimeAgent,
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
function confirmation(options) {
|
|
11
|
+
const token = options?.confirm;
|
|
12
|
+
if (typeof token !== 'string' || !token)
|
|
13
|
+
throw new CliError('请先向用户确认更新,再传入待更新提示中的 --confirm 标识。');
|
|
14
|
+
return token;
|
|
15
|
+
}
|
|
16
|
+
export const updateCommand = {
|
|
17
|
+
name: 'update', description: 'Check CLI updates and install a user-confirmed version', category: 'system',
|
|
18
|
+
register({ program, action }) {
|
|
19
|
+
const update = program.command('update').description('Manage CLI updates (XiaoE is host-managed)');
|
|
20
|
+
update.command('status').description('Read cached update status without accessing npm')
|
|
21
|
+
.action(action((ctx) => ctx.output.write({ ok: true, ...service(ctx).status() })));
|
|
22
|
+
update.command('check').description('Explicitly check npm now, bypassing the automatic 24-hour cooldown')
|
|
23
|
+
.action(action(async (ctx) => {
|
|
24
|
+
const updater = service(ctx);
|
|
25
|
+
const result = await updater.check(true);
|
|
26
|
+
ctx.output.write({ ok: true, ...result, cliUpdate: updater.notice(true) });
|
|
27
|
+
}));
|
|
28
|
+
update.command('defer').description('After the user chooses later, snooze this version for 24 hours')
|
|
29
|
+
.requiredOption('--confirm <token>', 'confirmation token from the update notice')
|
|
30
|
+
.action(action((ctx, options) => ctx.output.write({ ok: true, ...service(ctx).defer(confirmation(options)) })));
|
|
31
|
+
update.command('apply').description('After user approval, update this global npm installation in place')
|
|
32
|
+
.requiredOption('--confirm <token>', 'confirmation token from the user-approved update notice')
|
|
33
|
+
.action(action(async (ctx, options) => {
|
|
34
|
+
const result = await service(ctx).apply(confirmation(options));
|
|
35
|
+
ctx.output.write({ ok: true, ...result });
|
|
36
|
+
}));
|
|
37
|
+
},
|
|
38
|
+
};
|
|
@@ -111,7 +111,7 @@ function suggestionsOf(manifest, wanted) {
|
|
|
111
111
|
}
|
|
112
112
|
function schemaHintOf(manifest) {
|
|
113
113
|
const domain = domainOf(manifest) || '<domain>';
|
|
114
|
-
return `本清单只含 name/summary/risk
|
|
114
|
+
return `本清单只含 name/summary/risk(summary 限 120 字,完整说明在 notes)。取单个操作的完整入参契约(含 inputSchema 与 notes):`
|
|
115
115
|
+ `weaver-work-cli ${domain} schema --operation <name>`;
|
|
116
116
|
}
|
|
117
117
|
function operationHintOf(manifest) {
|
package/dist/core/output.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { mkdirSync, writeFileSync } from 'node:fs';
|
|
2
2
|
import { dirname, resolve } from 'node:path';
|
|
3
|
+
import { emitUpdateNotice, withUpdateNotice } from './update-notice.js';
|
|
3
4
|
import { pruneRefs, writeRef } from './refs.js';
|
|
4
5
|
export function writeRawJson(outputPath, value) {
|
|
5
6
|
const absolutePath = resolve(outputPath);
|
|
@@ -165,6 +166,10 @@ function isIntegrityField(key) {
|
|
|
165
166
|
'hash', 'sha256',
|
|
166
167
|
'hasmore', 'offset', 'limit', 'pagesize', 'pageno',
|
|
167
168
|
'nextoffset', 'nextpagetoken',
|
|
169
|
+
// continuation(2026-11-27 实证):prepare 两段式写通道的签名令牌,被 stdout 预览截断后
|
|
170
|
+
// helper/Agent 存下坏 token,apply 必报 continuation_invalid(HMAC 校验失败)。
|
|
171
|
+
// 它与 id/code 同级——一个字符都不能错,永不参与字符串截断;信封超预算走骨架+ref 兜底。
|
|
172
|
+
'continuation',
|
|
168
173
|
].some((suffix) => normalized === suffix || normalized.endsWith(suffix));
|
|
169
174
|
}
|
|
170
175
|
function childPath(path, key) {
|
|
@@ -581,10 +586,15 @@ export class Output {
|
|
|
581
586
|
const globalOptions = this.ctx.getGlobalOptions();
|
|
582
587
|
const useJson = globalOptions.json || options.json || !options.text;
|
|
583
588
|
if (!useJson) {
|
|
589
|
+
emitUpdateNotice();
|
|
584
590
|
console.log(options.text);
|
|
585
591
|
return;
|
|
586
592
|
}
|
|
587
|
-
console.log(stringifyForStdout(this.prepare(value, options), options.compactPaths));
|
|
593
|
+
console.log(stringifyForStdout(withUpdateNotice(this.prepare(value, options)), options.compactPaths));
|
|
594
|
+
}
|
|
595
|
+
/** Keep stderr a single JSON envelope, even when a version reminder is pending. */
|
|
596
|
+
error(value, spaces = 2) {
|
|
597
|
+
console.error(JSON.stringify(withUpdateNotice(value), null, spaces));
|
|
588
598
|
}
|
|
589
599
|
prepare(value, options) {
|
|
590
600
|
const threshold = resultThresholdChars(this.ctx);
|
|
@@ -663,6 +673,7 @@ export class Output {
|
|
|
663
673
|
};
|
|
664
674
|
}
|
|
665
675
|
raw(message) {
|
|
676
|
+
emitUpdateNotice();
|
|
666
677
|
console.log(message);
|
|
667
678
|
}
|
|
668
679
|
/**
|
|
@@ -17,3 +17,16 @@ export function isXiaoERuntimeAgent(value) {
|
|
|
17
17
|
export function isXiaoERuntime(options) {
|
|
18
18
|
return isXiaoERuntimeAgent(options?.runtimeAgent);
|
|
19
19
|
}
|
|
20
|
+
/** Runtime identity only: installed clients and saved login sessions are not host evidence. */
|
|
21
|
+
export function isXiaoEHostEnvironment(env, options = {}) {
|
|
22
|
+
if (isXiaoERuntime(options))
|
|
23
|
+
return true;
|
|
24
|
+
if (Object.keys(env).some((key) => key.startsWith('XIAOE_')))
|
|
25
|
+
return true;
|
|
26
|
+
const explicitHost = env.WORKBUDDY_AGENT_TYPE?.trim() || env.CODEX_AGENT_TYPE?.trim();
|
|
27
|
+
if (explicitHost)
|
|
28
|
+
return isXiaoERuntimeAgent(explicitHost);
|
|
29
|
+
if (Object.keys(env).some((key) => key.startsWith('WORKBUDDY_') || key.startsWith('CODEX_')))
|
|
30
|
+
return false;
|
|
31
|
+
return isXiaoERuntimeAgent(env.WEAVER_AGENT_TYPE);
|
|
32
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
let notice;
|
|
2
|
+
let delivered = false;
|
|
3
|
+
export function setUpdateNotice(value) {
|
|
4
|
+
notice = value;
|
|
5
|
+
delivered = false;
|
|
6
|
+
}
|
|
7
|
+
export function withUpdateNotice(value) {
|
|
8
|
+
if (!notice)
|
|
9
|
+
return value;
|
|
10
|
+
if (value && typeof value === 'object' && !Array.isArray(value)) {
|
|
11
|
+
delivered = true;
|
|
12
|
+
return { ...value, cliUpdate: notice };
|
|
13
|
+
}
|
|
14
|
+
emitUpdateNotice();
|
|
15
|
+
return value;
|
|
16
|
+
}
|
|
17
|
+
/** Raw/text commands keep stdout byte-compatible; send their hint to stderr once. */
|
|
18
|
+
export function emitUpdateNotice() {
|
|
19
|
+
if (!notice || delivered)
|
|
20
|
+
return;
|
|
21
|
+
delivered = true;
|
|
22
|
+
process.stderr.write('[weaver-work-cli:update] ' + JSON.stringify(notice) + '\n');
|
|
23
|
+
}
|