weaver-work-cli 0.1.40 → 0.1.44
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 +17 -0
- package/dist/chunks/{archive-JHTONRST.js → archive-P6TBQGKL.js} +13 -5
- package/dist/chunks/{archive-oa-FCHLCPHC.js → archive-oa-7TQ2NXOH.js} +12 -5
- package/dist/chunks/{asset-RLIHC7DB.js → asset-3ELRG37G.js} +11 -4
- package/dist/chunks/{asset-idle-KVOFTLCP.js → asset-idle-WIGMUFMD.js} +7 -3
- package/dist/chunks/{attachment-content-RZYDB3MB.js → attachment-content-E3276UOV.js} +5 -4
- package/dist/chunks/{blog-42OZTJNP.js → blog-C5NMZAAC.js} +11 -4
- package/dist/chunks/{caizhilian-KRK547K5.js → caizhilian-5XSM2DFP.js} +13 -6
- package/dist/chunks/{calendar-RTWAMKHD.js → calendar-FI2WNSBO.js} +71 -26
- package/dist/chunks/{chunk-CXRQWOZ5.js → chunk-3YBDYOC4.js} +3 -3
- package/dist/chunks/{chunk-OOUTBLZ4.js → chunk-56EZERK4.js} +1 -1
- package/dist/chunks/chunk-6N4JPNFL.js +76 -0
- package/dist/chunks/{chunk-ZUX3P6BQ.js → chunk-727FH2NI.js} +1 -1
- package/dist/chunks/chunk-7BDPM5ST.js +11 -0
- package/dist/chunks/{chunk-LN447PY2.js → chunk-BCVYBYYT.js} +432 -2247
- package/dist/chunks/{chunk-7E6MUOEK.js → chunk-CWYGFU5B.js} +2 -2
- package/dist/chunks/{chunk-NOODWMCL.js → chunk-D4ADSZ7H.js} +1 -1
- package/dist/chunks/{chunk-WFFNM65B.js → chunk-ETNJSKMM.js} +281 -29
- package/dist/chunks/{chunk-CAQNBBQA.js → chunk-F4E4EM35.js} +3 -3
- package/dist/chunks/{chunk-4CTESSKI.js → chunk-FAZTGX7S.js} +6 -6
- package/dist/chunks/chunk-FRZKBMSW.js +2562 -0
- package/dist/chunks/{chunk-BYBSCN4X.js → chunk-G7PQWD4L.js} +6 -3
- package/dist/chunks/{chunk-NJKREDA3.js → chunk-GAMZLAG2.js} +1 -1
- package/dist/chunks/{chunk-FLS4DPGP.js → chunk-GM6J7Q4B.js} +28 -15
- package/dist/chunks/{chunk-NETCCARD.js → chunk-GRDRG6HP.js} +3 -3
- package/dist/chunks/chunk-HIT4Y6OI.js +1238 -0
- package/dist/chunks/{chunk-EZALDOQH.js → chunk-HP7JIYMT.js} +5 -2
- package/dist/chunks/{chunk-IZSSVYAG.js → chunk-IAZ3UPY6.js} +3 -3
- package/dist/chunks/{chunk-ZEDWSH32.js → chunk-IC62NFM5.js} +1 -1
- package/dist/chunks/{chunk-P26ZWSKU.js → chunk-KIHNAS25.js} +5 -2
- package/dist/chunks/{chunk-57IECMWX.js → chunk-N4M2DDFE.js} +29 -15
- package/dist/chunks/{chunk-JWRZM2H2.js → chunk-OF4S23UB.js} +4 -4
- package/dist/chunks/{chunk-VNBU55SL.js → chunk-PC7VKEB5.js} +80 -2458
- package/dist/chunks/{chunk-G2JSIUWF.js → chunk-PUQS5MWL.js} +91 -2
- package/dist/chunks/{chunk-E7OK5WD5.js → chunk-Q4OYAQYH.js} +5 -5
- package/dist/chunks/{chunk-7BRU4EFH.js → chunk-QVSWRLLU.js} +35 -6
- package/dist/chunks/{chunk-T6EGVBKU.js → chunk-TA7FXXJD.js} +6 -3
- package/dist/chunks/{chunk-GPMFD4RD.js → chunk-TXUG266F.js} +1 -1
- package/dist/chunks/{chunk-4TEDNCON.js → chunk-UFIT2UU3.js} +354 -56
- package/dist/chunks/{chunk-LUSPKZKY.js → chunk-UG5G54VL.js} +1 -0
- package/dist/chunks/{chunk-NIAJ5ZCG.js → chunk-UL5XUQ25.js} +5 -2
- package/dist/chunks/{chunk-FMPJJYYI.js → chunk-WRXSAVKO.js} +1 -1
- package/dist/chunks/{chunk-7U577Q7U.js → chunk-WSF4NNMR.js} +3 -3
- package/dist/chunks/chunk-XHK4MDR5.js +2497 -0
- package/dist/chunks/{chunk-LFMSDBZN.js → chunk-XNIK66I4.js} +326 -161
- package/dist/chunks/{chunk-3SO6QL6U.js → chunk-YWX377BY.js} +5 -2
- package/dist/chunks/{chunk-BYATLLEF.js → chunk-Z3GDFVJR.js} +1 -1
- package/dist/chunks/{chunk-I566ZYNF.js → chunk-Z7VYWPZV.js} +1 -1
- package/dist/chunks/{conflict-VR55AOOO.js → conflict-ARLSZJ6V.js} +4 -3
- package/dist/chunks/{continuation-2CKSBLA6.js → continuation-3S37AUSH.js} +4 -3
- package/dist/chunks/{continuation-RN6PZN2M.js → continuation-3XLYYTKV.js} +4 -3
- package/dist/chunks/{continuation-HZIZRZBX.js → continuation-HFW2YT5S.js} +4 -3
- package/dist/chunks/{continuation-NLECEJPX.js → continuation-KI7DRRZN.js} +4 -3
- package/dist/chunks/{contract-HI4FNPYE.js → contract-DNIIW5VJ.js} +13 -5
- package/dist/chunks/{cowork-HJLI353D.js → cowork-GMLRGVIW.js} +31 -14
- package/dist/chunks/create-flow-J22BO65E.js +56 -0
- package/dist/chunks/{ebuilder-form-HTGI63UU.js → ebuilder-form-ANV2FHYV.js} +12 -7
- package/dist/chunks/{ehr-GYXIYH3A.js → ehr-GSTGAIY3.js} +695 -1255
- package/dist/chunks/{employee-SAK2QYXX.js → employee-22BGJ3QS.js} +3 -3
- package/dist/chunks/{env-DW3G4HUO.js → env-BX3VRFS7.js} +4 -3
- package/dist/chunks/{esb-I5INCEFE.js → esb-ATAIASX2.js} +12 -7
- package/dist/chunks/{factory-TKXGXS6L.js → factory-PETTFME6.js} +3 -2
- package/dist/chunks/{fna-K2MHTQ24.js → fna-YEKBSFSX.js} +14 -8
- package/dist/chunks/{group-chat-VYBNMJLG.js → group-chat-BFVXAYFX.js} +7 -4
- package/dist/chunks/{host-D5SERMAJ.js → host-HRBXEPDQ.js} +5 -5
- package/dist/chunks/{host-JM4YVHFM.js → host-LR55CTHP.js} +5 -5
- package/dist/chunks/{host-L3VLITMT.js → host-SUOY6VYQ.js} +5 -5
- package/dist/chunks/{host-ZUQTJYYK.js → host-SZGV4UNT.js} +5 -5
- package/dist/chunks/{host-256GVCAH.js → host-WIKN2EJ5.js} +5 -5
- package/dist/chunks/{hrm-VLRBKTZB.js → hrm-NRDO4W5G.js} +11 -7
- package/dist/chunks/{im-QK3VTLXK.js → im-IQ2HN23S.js} +11 -10
- package/dist/chunks/{invoice-T5JTA32H.js → invoice-MNRW76PP.js} +636 -1768
- package/dist/chunks/{jiuchuanhui-P2FNEQVZ.js → jiuchuanhui-DTRBAX4N.js} +14 -6
- package/dist/chunks/{lazy-dispatch-XRRI46M6.js → lazy-dispatch-ZVWAI25B.js} +7 -6
- package/dist/chunks/{mail-3Y7MJ6PS.js → mail-ZVAUXOJA.js} +16 -14
- package/dist/chunks/{meeting-M7LTXGJE.js → meeting-FEVPZ67S.js} +21 -13
- package/dist/chunks/{okr-OBC6S67L.js → okr-SDH3E5RA.js} +12 -5
- package/dist/chunks/{operations-5QL3AECO.js → operations-62N6EP3C.js} +4 -3
- package/dist/chunks/{plan-5H6I53SK.js → plan-E35JFDI7.js} +12 -5
- package/dist/chunks/{project-L75QZV4S.js → project-73QXBAB2.js} +49 -25
- package/dist/chunks/reception-UWZVACBN.js +1899 -0
- package/dist/chunks/recruit-stage-4MAOCKFY.js +4770 -0
- package/dist/chunks/registry-IM5G23LS.js +24 -0
- package/dist/chunks/{registry-UGRBCBHO.js → registry-JDUS4E7D.js} +7 -6
- package/dist/chunks/{registry-RXPN6BBT.js → registry-KNKSCJNT.js} +7 -6
- package/dist/chunks/{registry-NYPYMZXG.js → registry-PO7SI256.js} +4 -4
- package/dist/chunks/{registry-QGHFNUWS.js → registry-PVUZQDDQ.js} +3 -3
- package/dist/chunks/{room-recommend-A3UDC3CA.js → room-recommend-H7KLXA5R.js} +6 -5
- package/dist/chunks/{schedule-5GCACCK7.js → schedule-ESZIBAUO.js} +6 -5
- package/dist/chunks/{workflow-M5ZJ7DWF.js → workflow-CWJFJLQU.js} +15 -10
- package/dist/cmd/action.js +6 -0
- package/dist/cmd/identity/index.js +45 -0
- package/dist/cmd/index.js +2 -0
- package/dist/core/continuation-ttl.js +18 -0
- package/dist/core/error-codes.js +85 -0
- package/dist/core/logger.js +11 -0
- package/dist/index.js +41 -30
- package/dist/internal/e10/auth/commands.js +164 -8
- package/dist/internal/e10/auth/error-log.js +182 -0
- package/dist/internal/e10/auth/messages.js +6 -0
- package/dist/internal/e10/auth/session.js +34 -3
- package/dist/internal/e10/auth/xiaoe.js +286 -44
- package/dist/internal/e10/auth-recovery.js +72 -14
- package/dist/internal/e10/context.js +72 -13
- package/dist/internal/e10/index.js +1 -1
- package/dist/internal/e10/network-error.js +93 -0
- package/dist/internal/e10/request-runtime.js +6 -0
- package/dist/internal/skills/install.js +9 -1
- package/dist/shortcuts/archive/continuation.js +2 -1
- package/dist/shortcuts/archive/index.js +3 -0
- package/dist/shortcuts/archive/operations/confirm.js +2 -1
- package/dist/shortcuts/archive-oa/continuation.js +2 -1
- package/dist/shortcuts/archive-oa/index.js +2 -0
- package/dist/shortcuts/archive-oa/operations/confirm.js +2 -1
- package/dist/shortcuts/asset/continuation.js +2 -1
- package/dist/shortcuts/asset/index.js +2 -0
- package/dist/shortcuts/asset-idle/index.js +2 -0
- package/dist/shortcuts/blog/continuation.js +2 -1
- package/dist/shortcuts/blog/index.js +2 -0
- package/dist/shortcuts/caizhilian/continuation.js +2 -1
- package/dist/shortcuts/caizhilian/index.js +2 -0
- package/dist/shortcuts/caizhilian/operations/confirm.js +3 -2
- package/dist/shortcuts/calendar/continuation.js +2 -1
- package/dist/shortcuts/calendar/index.js +2 -0
- package/dist/shortcuts/calendar/operations/read.js +31 -22
- package/dist/shortcuts/calendar/operations/write.js +46 -2
- package/dist/shortcuts/contract/continuation.js +2 -1
- package/dist/shortcuts/contract/index.js +2 -0
- package/dist/shortcuts/contract/operations/write.js +2 -1
- package/dist/shortcuts/cowork/continuation.js +2 -1
- package/dist/shortcuts/cowork/index.js +2 -0
- package/dist/shortcuts/cowork/operations/discuss-write.js +5 -1
- package/dist/shortcuts/cowork/operations/item-write.js +1 -7
- package/dist/shortcuts/cowork/operations/member-write.js +3 -1
- package/dist/shortcuts/cowork/operations/permission-write.js +5 -1
- package/dist/shortcuts/cowork/operations/shared.js +7 -0
- package/dist/shortcuts/ebuilder-form/continuation.js +2 -1
- package/dist/shortcuts/ebuilder-form/index.js +2 -0
- package/dist/shortcuts/ebuilder-form/operations/write.js +3 -2
- package/dist/shortcuts/ehr/continuation.js +2 -1
- package/dist/shortcuts/ehr/index.js +2 -0
- package/dist/shortcuts/ehr/operations/attend-write.js +44 -2
- package/dist/shortcuts/ehr/operations/hr-contact.js +7 -4
- package/dist/shortcuts/ehr/operations/hr-report.js +13 -7
- package/dist/shortcuts/ehr/operations/recruit-candidate-import.js +317 -63
- package/dist/shortcuts/ehr/operations/recruit-position.js +134 -2
- package/dist/shortcuts/ehr/operations/recruit-write.js +263 -18
- package/dist/shortcuts/ehr/operations/recruit.js +10 -4
- package/dist/shortcuts/ehr/operations/shared.js +47 -0
- package/dist/shortcuts/esb/continuation.js +2 -1
- package/dist/shortcuts/esb/index.js +2 -0
- package/dist/shortcuts/esb/operations/trigger.js +2 -1
- package/dist/shortcuts/fna/continuation.js +2 -1
- package/dist/shortcuts/fna/index.js +2 -0
- package/dist/shortcuts/fna/operations/invoice-writeoff.js +1 -1
- package/dist/shortcuts/fna/operations/loan.js +1 -1
- package/dist/shortcuts/hrm/index.js +2 -0
- package/dist/shortcuts/hrm/operations/org.js +118 -0
- package/dist/shortcuts/im/continuation.js +2 -1
- package/dist/shortcuts/index.js +10 -0
- package/dist/shortcuts/invoice/continuation.js +2 -1
- package/dist/shortcuts/invoice/index.js +14 -15
- package/dist/shortcuts/invoice/invoice-record.js +93 -0
- package/dist/shortcuts/invoice/manifest.js +190 -393
- package/dist/shortcuts/invoice/operations/add.js +2 -1
- package/dist/shortcuts/invoice/operations/delete.js +2 -1
- package/dist/shortcuts/invoice/operations/import.js +2 -1
- package/dist/shortcuts/invoice/operations/issuing-contract-detail.js +86 -0
- package/dist/shortcuts/invoice/operations/issuing-contracts.js +210 -0
- package/dist/shortcuts/invoice/operations/registry.js +17 -17
- package/dist/shortcuts/invoice/operations/reim-auto.js +4 -569
- package/dist/shortcuts/invoice/operations/reim.js +52 -341
- package/dist/shortcuts/invoice/operations/shared.js +21 -4
- package/dist/shortcuts/invoice/operations/update.js +2 -1
- package/dist/shortcuts/invoice/projection.js +10 -62
- package/dist/shortcuts/jiuchuanhui/continuation.js +2 -1
- package/dist/shortcuts/jiuchuanhui/index.js +2 -0
- package/dist/shortcuts/jiuchuanhui/operations/datajson.js +2 -1
- package/dist/shortcuts/jiuchuanhui/operations/esb.js +2 -1
- package/dist/shortcuts/mail/continuation.js +2 -1
- package/dist/shortcuts/mail/index.js +2 -0
- package/dist/shortcuts/mail/operations/mail-blacklist.js +1 -1
- package/dist/shortcuts/mail/operations/mail-contacts.js +1 -1
- package/dist/shortcuts/mail/operations/mail-send.js +1 -1
- package/dist/shortcuts/mail/operations/mail-sign.js +1 -1
- package/dist/shortcuts/mail/operations/mail-template.js +1 -1
- package/dist/shortcuts/meeting/continuation.js +2 -1
- package/dist/shortcuts/meeting/index.js +2 -0
- package/dist/shortcuts/meeting/operations/change.js +1 -1
- package/dist/shortcuts/meeting/operations/create.js +1 -1
- package/dist/shortcuts/meeting/operations/eb/catalog.js +4 -1
- package/dist/shortcuts/meeting/operations/eb/create-flow.js +101 -35
- package/dist/shortcuts/meeting/operations/eb/decision.js +1 -1
- package/dist/shortcuts/meeting/operations/eb/factory.js +34 -1
- package/dist/shortcuts/meeting/operations/eb/group-chat.js +25 -3
- package/dist/shortcuts/meeting/operations/eb/person-cache.js +96 -0
- package/dist/shortcuts/meeting/operations/eb/room-recommend.js +33 -11
- package/dist/shortcuts/meeting/operations/lifecycle.js +1 -1
- package/dist/shortcuts/meeting/operations/receipts.js +1 -1
- package/dist/shortcuts/meeting/operations/signs.js +1 -1
- package/dist/shortcuts/okr/continuation.js +2 -1
- package/dist/shortcuts/okr/index.js +2 -0
- package/dist/shortcuts/okr/operations/write.js +1 -1
- package/dist/shortcuts/plan/continuation.js +2 -1
- package/dist/shortcuts/plan/index.js +2 -0
- package/dist/shortcuts/plan/operations/write.js +1 -1
- package/dist/shortcuts/project/continuation.js +2 -1
- package/dist/shortcuts/project/index.js +2 -0
- package/dist/shortcuts/project/operations/read.js +6 -25
- package/dist/shortcuts/project/operations/shared.js +22 -0
- package/dist/shortcuts/project/operations/write.js +28 -2
- package/dist/shortcuts/reception/constants.js +53 -0
- package/dist/shortcuts/reception/errors.js +54 -0
- package/dist/shortcuts/reception/host.js +125 -0
- package/dist/shortcuts/reception/index.js +198 -0
- package/dist/shortcuts/reception/manifest.js +177 -0
- package/dist/shortcuts/reception/operations/ask.js +71 -0
- package/dist/shortcuts/reception/operations/browsertool.js +58 -0
- package/dist/shortcuts/reception/operations/compose.js +129 -0
- package/dist/shortcuts/reception/operations/customparams.js +74 -0
- package/dist/shortcuts/reception/operations/doc.js +238 -0
- package/dist/shortcuts/reception/operations/docrender.js +36 -0
- package/dist/shortcuts/reception/operations/panels.js +179 -0
- package/dist/shortcuts/reception/operations/registry.js +26 -0
- package/dist/shortcuts/reception/operations/render-assets.js +184 -0
- package/dist/shortcuts/reception/operations/render.js +123 -0
- package/dist/shortcuts/reception/operations/runs.js +38 -0
- package/dist/shortcuts/reception/operations/schedule.js +127 -0
- package/dist/shortcuts/reception/operations/shared.js +196 -0
- package/dist/shortcuts/reception/operations/snapshot.js +68 -0
- package/dist/shortcuts/reception/operations/types.js +1 -0
- package/dist/shortcuts/reception/operations.js +33 -0
- package/dist/shortcuts/reception/upload.js +218 -0
- package/dist/shortcuts/recruit-stage/context.js +231 -0
- package/dist/shortcuts/recruit-stage/continuation.js +74 -0
- package/dist/shortcuts/recruit-stage/errors.js +65 -0
- package/dist/shortcuts/recruit-stage/host.js +109 -0
- package/dist/shortcuts/recruit-stage/index.js +115 -0
- package/dist/shortcuts/recruit-stage/manifest.js +29 -0
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +722 -0
- package/dist/shortcuts/recruit-stage/operations/interview-feedback.js +269 -0
- package/dist/shortcuts/recruit-stage/operations/jd-create.js +719 -0
- package/dist/shortcuts/recruit-stage/operations/list.js +431 -0
- package/dist/shortcuts/recruit-stage/operations/registry.js +38 -0
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +1354 -0
- package/dist/shortcuts/recruit-stage/operations/search.js +158 -0
- package/dist/shortcuts/recruit-stage/operations/types.js +25 -0
- package/dist/shortcuts/recruit-stage/school-tiers.json +318 -0
- package/dist/shortcuts/recruit-stage/shared.js +608 -0
- package/dist/shortcuts/workflow/continuation.js +2 -1
- package/dist/shortcuts/workflow/index.js +2 -0
- package/dist/shortcuts/workflow/operations/form.js +32 -8
- package/dist/shortcuts/workflow/operations/todoSmartConvert/detailFieldRules.js +4 -2
- package/dist/shortcuts/workflow/operations/todoSmartConvert/summaryCache.js +13 -6
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoDetailCache.js +17 -24
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoDetailFetcher.js +14 -9
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.collect.js +50 -8
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.core.js +2 -1
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.detail.js +17 -11
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.group.js +7 -39
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.groupSummary.js +3 -2
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.js +51 -15
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.pipeline.js +16 -1
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.smartGroup.js +151 -63
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.subGroup.js +56 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.summary.js +39 -14
- package/dist/shortcuts/workflow/operations/write.js +1 -1
- package/docs/_catalog.md +3 -0
- package/docs/agent-invoice.md +1 -1
- package/docs/archive-oa.md +1 -1
- package/docs/caizhilian.md +1 -1
- package/docs/calendar.md +1 -1
- package/docs/contract.md +1 -1
- package/docs/e10-auth.md +23 -1
- package/docs/ehr.md +2 -2
- package/docs/esb.md +1 -1
- package/docs/im.md +1 -1
- package/docs/invoice.md +8 -12
- package/docs/okr.md +1 -1
- package/docs/operation-manual.md +8 -0
- package/docs/reception.md +119 -0
- package/package.json +1 -1
- package/scripts/clean.mjs +43 -2
- package/scripts/install-skill-to-xiaoe.mjs +105 -0
- package/scripts/package-skill.mjs +4 -2
- package/skill-template/business-info.json +42 -2
- package/skill-template/domains/caizhilian.md +1 -1
- package/skill-template/domains/reception-flow.md +18 -0
- package/skill-template/domains/recruit-stage.md +29 -0
- package/skill-template/domains/yepiaotong.md +4 -7
- package/skills/weaver-e10-archive-oa/references/source-manifest.json +14 -14
- package/skills/weaver-e10-blog/references/blog-publish.md +1 -1
- package/skills/weaver-e10-blog/references/source-manifest.json +7 -7
- package/skills/weaver-e10-caizhilian/references/source-manifest.json +21 -21
- package/skills/weaver-e10-caizhilian/references/write-protocol.md +2 -2
- package/skills/weaver-e10-calendar/SKILL.md +2 -1
- package/skills/weaver-e10-calendar/references/calendar-write.md +55 -1
- package/skills/weaver-e10-cowork/SKILL.md +1 -1
- package/skills/weaver-e10-cowork/references/cowork-write.md +3 -1
- package/skills/weaver-e10-ebuilder-form/SKILL.md +1 -1
- package/skills/weaver-e10-ebuilder-form/references/custom-api.md +1 -1
- package/skills/weaver-e10-ebuilder-form/references/openapi-write.md +1 -1
- package/skills/weaver-e10-esb/SKILL.md +2 -2
- package/skills/weaver-e10-esb/references/source-manifest.json +22 -22
- package/skills/weaver-e10-esb/references/trigger.md +2 -2
- package/skills/weaver-e10-jinchengda/references/contract-clause-library-crud.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-clause-reference-save.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-request-write.md +1 -1
- package/skills/weaver-e10-jinchengda/references/source-manifest.json +29 -29
- package/skills/weaver-e10-jucailin/SKILL.md +1 -1
- package/skills/weaver-e10-jucailin/references/attend-write.md +10 -2
- package/skills/weaver-e10-jucailin/references/hr-contact.md +8 -0
- package/skills/weaver-e10-jucailin/references/hr-report.md +8 -0
- package/skills/weaver-e10-jucailin/references/recruit-create.md +14 -5
- package/skills/weaver-e10-jucailin/references/recruit-read.md +1 -1
- package/skills/weaver-e10-jucailin/references/recruit-write.md +5 -4
- package/skills/weaver-e10-mail/SKILL.md +1 -1
- package/skills/weaver-e10-meeting/SKILL.md +39 -7
- package/skills/weaver-e10-meeting/references/meeting-change.md +1 -1
- package/skills/weaver-e10-meeting/references/meeting-create.md +1 -1
- package/skills/weaver-e10-meeting/references/meeting-lifecycle.md +1 -1
- package/skills/weaver-e10-meeting/references/meeting-verification.md +1 -1
- package/skills/weaver-e10-okr/references/okr-align.md +1 -1
- package/skills/weaver-e10-okr/references/okr-keyresult.md +1 -1
- package/skills/weaver-e10-okr/references/okr-write.md +1 -1
- package/skills/weaver-e10-okr/references/source-manifest.json +8 -8
- package/skills/weaver-e10-plan/references/plan-report-write.md +1 -1
- package/skills/weaver-e10-plan/references/source-manifest.json +20 -20
- package/skills/weaver-e10-qiyecheng/references/loan-management.md +1 -1
- package/skills/weaver-e10-qiyecheng/references/source-manifest.json +18 -18
- package/skills/weaver-e10-reception-flow/SKILL.md +173 -0
- package/skills/weaver-e10-reception-flow/assets//350/241/214/347/250/213/345/215/225/346/250/241/346/235/277-/346/263/233/345/276/256.docx +0 -0
- package/skills/weaver-e10-reception-flow/data/fields-snapshot.json +213 -0
- package/skills/weaver-e10-reception-flow/references/browsertool.md +68 -0
- package/skills/weaver-e10-reception-flow/references/env-pitfalls.md +51 -0
- package/skills/weaver-e10-reception-flow/references/fields-snapshot.md +227 -0
- package/skills/weaver-e10-reception-flow/references/guide.md +179 -0
- package/skills/weaver-e10-reception-flow/scripts/locate.sh +14 -0
- package/skills/weaver-e10-reception-flow/scripts/render.py +724 -0
- package/skills/weaver-e10-recruit-stage/SKILL.md +230 -0
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +119 -0
- package/skills/weaver-e10-recruit-stage/lib/recruit-xiaoe-file.mjs +188 -0
- package/skills/weaver-e10-recruit-stage/lib/xiaoe-session.mjs +66 -0
- package/skills/weaver-e10-recruit-stage/references/position-templates.md +202 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +322 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +127 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-check-install.md +65 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-detail-process.md +63 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +142 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +95 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-template.md +56 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-list-candidate.md +101 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +148 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +77 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +59 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resolve-creator.md +69 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +241 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +451 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +128 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +146 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +69 -0
- package/skills/weaver-e10-shared/SKILL.md +1 -1
- package/skills/weaver-e10-shared/references/e10-auth-and-session.md +10 -2
- package/skills/weaver-e10-shijingran/SKILL.md +7 -6
- package/skills/weaver-e10-shijingran/references/operations.md +3 -1
- package/skills/weaver-e10-shijingran/references/source-manifest.json +30 -28
- package/skills/weaver-e10-shijingran/references/write-operations.md +2 -0
- package/skills/weaver-e10-skill-maker/references/module-cli-generation.md +2 -0
- package/skills/weaver-e10-wenshuding/references/source-manifest.json +3 -3
- package/skills/weaver-e10-workflow/SKILL.md +4 -2
- package/skills/weaver-e10-workflow/aigroup/default.json +11 -9
- package/skills/weaver-e10-workflow/references/source-manifest.json +32 -32
- package/skills/weaver-e10-workflow/references/todo-smart-convert.md +23 -13
- package/skills/weaver-e10-workflow/tools/todo-summary.cjs +62 -20
- package/skills/weaver-e10-yepiaotong/SKILL.md +28 -36
- package/skills/weaver-e10-yepiaotong/references/invoice-agent-entry.md +6 -3
- package/skills/weaver-e10-yepiaotong/references/invoice-detail.md +13 -10
- package/skills/weaver-e10-yepiaotong/references/invoice-enterprise-list.md +2 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-issuing-workflow.md +194 -155
- package/skills/weaver-e10-yepiaotong/references/invoice-output-view.md +28 -32
- package/skills/weaver-e10-yepiaotong/references/invoice-personal-list.md +5 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-reim.md +8 -10
- package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +211 -616
- package/skills/weaver-e10-yepiaotong/references/reim-examples.md +149 -117
- package/skills/weaver-e10-yepiaotong/references/reim-expense-subject-rules.md +17 -20
- package/skills/weaver-e10-yepiaotong/references/reim-form-fill-rules.md +20 -39
- package/skills/weaver-e10-yepiaotong/references/reim-matching-rules.md +55 -22
- package/skills/weaver-e10-yepiaotong/references/reim-phone-subsidy-rules.md +7 -17
- package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +88 -92
- package/skills/weaver-e10-yepiaotong/references/source-manifest.json +144 -354
- package/skills/weaver-e10-yimiaoban/SKILL.md +1 -1
- package/skills/weaver-e10-yimiaoban/references/msg-write.md +1 -1
- package/skills/weaver-e10-yimiaoban/references/safety-boundaries.md +1 -1
- package/skills/weaver-e10-yimiaoban/references/source-manifest.json +7 -7
- package/dist/chunks/chunk-SPRHHSVC.js +0 -465
- package/dist/chunks/registry-KMHCPAAD.js +0 -22
- package/dist/shortcuts/invoice/markdown.js +0 -172
- package/dist/shortcuts/invoice/operations/issuing-qys.js +0 -424
- package/skills/weaver-e10-meeting.zip +0 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-issuing-examples.md +0 -131
- package/skills/weaver-e10-yepiaotong/references/invoice-issuing-form-fill-rules.md +0 -179
|
@@ -67,4 +67,4 @@ weaver-work-cli --json contract run contract.request.supervise.prepare --input-j
|
|
|
67
67
|
|
|
68
68
|
- 不要连续重复提交同一个 `.apply`;提交审批最容易因重复提交造成重复流转。
|
|
69
69
|
- 12 类合同审批流程共用这组接口,不要为某一类流程假设特殊参数。
|
|
70
|
-
- `continuation` 有效期
|
|
70
|
+
- `continuation` 有效期 24 小时,由 CLI 生成,禁止手工构造或跨操作复用。
|
|
@@ -1132,22 +1132,22 @@
|
|
|
1132
1132
|
}
|
|
1133
1133
|
],
|
|
1134
1134
|
"artifactBaseline": {
|
|
1135
|
-
"aggregateSha256": "
|
|
1135
|
+
"aggregateSha256": "7ed85baa9b76ce0ec7d36a2d5c87c312d561f2eff3bfaaa8d33aa0d0a77b7d7f",
|
|
1136
1136
|
"files": [
|
|
1137
1137
|
{
|
|
1138
1138
|
"path": "src/shortcuts/contract/host.ts",
|
|
1139
|
-
"size":
|
|
1140
|
-
"sha256": "
|
|
1139
|
+
"size": 12278,
|
|
1140
|
+
"sha256": "6305af9c93dff618800d1d733b236e13804896435197a5493f21f5d62d21a097"
|
|
1141
1141
|
},
|
|
1142
1142
|
{
|
|
1143
1143
|
"path": "src/shortcuts/contract/index.ts",
|
|
1144
|
-
"size":
|
|
1145
|
-
"sha256": "
|
|
1144
|
+
"size": 36836,
|
|
1145
|
+
"sha256": "6124c54d22cf94e053afb4fcdcbb317509e93181b49d9ba39d7af90e81e136da"
|
|
1146
1146
|
},
|
|
1147
1147
|
{
|
|
1148
1148
|
"path": "src/shortcuts/contract/manifest.ts",
|
|
1149
|
-
"size":
|
|
1150
|
-
"sha256": "
|
|
1149
|
+
"size": 56004,
|
|
1150
|
+
"sha256": "699f4a426a5831005c3c01dafccda4cdb593da01549a3d1c17db3c2a73b81a6b"
|
|
1151
1151
|
},
|
|
1152
1152
|
{
|
|
1153
1153
|
"path": "src/shortcuts/contract/operations.ts",
|
|
@@ -1156,8 +1156,8 @@
|
|
|
1156
1156
|
},
|
|
1157
1157
|
{
|
|
1158
1158
|
"path": "src/shortcuts/contract/operations/registry.ts",
|
|
1159
|
-
"size":
|
|
1160
|
-
"sha256": "
|
|
1159
|
+
"size": 2714,
|
|
1160
|
+
"sha256": "5adbdb1ecd01f1b2eb095c9736effa36eb90f054a8e713aece91f5c305d5283c"
|
|
1161
1161
|
},
|
|
1162
1162
|
{
|
|
1163
1163
|
"path": "src/shortcuts/contract/operations/page.ts",
|
|
@@ -1196,33 +1196,33 @@
|
|
|
1196
1196
|
},
|
|
1197
1197
|
{
|
|
1198
1198
|
"path": "skills/weaver-e10-jinchengda/SKILL.md",
|
|
1199
|
-
"size":
|
|
1200
|
-
"sha256": "
|
|
1199
|
+
"size": 31773,
|
|
1200
|
+
"sha256": "7e550316b78274cf3b90d1fa6c3a2538405bcfcd1f2e282e30b326717193df20"
|
|
1201
1201
|
},
|
|
1202
1202
|
{
|
|
1203
1203
|
"path": "skills/weaver-e10-jinchengda/references/contract-ai-review.md",
|
|
1204
|
-
"size":
|
|
1205
|
-
"sha256": "
|
|
1204
|
+
"size": 4274,
|
|
1205
|
+
"sha256": "1a358bbb9905cd7e6de9b8f3cc43c73f839c546490dcaab25394cade915ec497"
|
|
1206
1206
|
},
|
|
1207
1207
|
{
|
|
1208
1208
|
"path": "skills/weaver-e10-jinchengda/references/contract-flow-launch.md",
|
|
1209
|
-
"size":
|
|
1210
|
-
"sha256": "
|
|
1209
|
+
"size": 3672,
|
|
1210
|
+
"sha256": "a1ff28940f1ee9d439b08e5222ac928c24fef991334b6feb4191d6ead769cb94"
|
|
1211
1211
|
},
|
|
1212
1212
|
{
|
|
1213
1213
|
"path": "skills/weaver-e10-jinchengda/references/contract-template-recommend.md",
|
|
1214
|
-
"size":
|
|
1215
|
-
"sha256": "
|
|
1214
|
+
"size": 3105,
|
|
1215
|
+
"sha256": "3221ed0f5846e3a8d881b445641b257f0cec6813e983c74f1151b340dcdc7a65"
|
|
1216
1216
|
},
|
|
1217
1217
|
{
|
|
1218
1218
|
"path": "skills/weaver-e10-jinchengda/references/contract-doc-compare.md",
|
|
1219
|
-
"size":
|
|
1220
|
-
"sha256": "
|
|
1219
|
+
"size": 4294,
|
|
1220
|
+
"sha256": "49ba569114493c3d79d3fdde5cb9f2ddaffba2c42a470acc7433b93a0f434307"
|
|
1221
1221
|
},
|
|
1222
1222
|
{
|
|
1223
1223
|
"path": "skills/weaver-e10-jinchengda/references/contract-credit-page.md",
|
|
1224
|
-
"size":
|
|
1225
|
-
"sha256": "
|
|
1224
|
+
"size": 1836,
|
|
1225
|
+
"sha256": "1801a0e40cfb29f83b60d158af914c08106a2d7916f00cfed35cd8fe8c5dbadb"
|
|
1226
1226
|
},
|
|
1227
1227
|
{
|
|
1228
1228
|
"path": "test/business/contract-host.test.ts",
|
|
@@ -1241,18 +1241,18 @@
|
|
|
1241
1241
|
},
|
|
1242
1242
|
{
|
|
1243
1243
|
"path": "docs/contract.md",
|
|
1244
|
-
"size":
|
|
1245
|
-
"sha256": "
|
|
1244
|
+
"size": 10215,
|
|
1245
|
+
"sha256": "fe2d895c5b36ccd25c77be19346670ad7a31c5b4537b678c9d1197f7b6a93183"
|
|
1246
1246
|
},
|
|
1247
1247
|
{
|
|
1248
1248
|
"path": "skill-template/domains/jinchengda.md",
|
|
1249
|
-
"size":
|
|
1250
|
-
"sha256": "
|
|
1249
|
+
"size": 4181,
|
|
1250
|
+
"sha256": "8a6df88f1dbb3da67157967fd524c962548bf8acdd2c4b46b0b02ddd66072478"
|
|
1251
1251
|
},
|
|
1252
1252
|
{
|
|
1253
1253
|
"path": "src/shortcuts/contract/operations/clause-library.ts",
|
|
1254
|
-
"size":
|
|
1255
|
-
"sha256": "
|
|
1254
|
+
"size": 24299,
|
|
1255
|
+
"sha256": "26375d560cd9607f36b13e1622487060ae05b795277c129c4d438e087902ebf3"
|
|
1256
1256
|
},
|
|
1257
1257
|
{
|
|
1258
1258
|
"path": "test/business/contract-clause-library.test.ts",
|
|
@@ -1261,8 +1261,8 @@
|
|
|
1261
1261
|
},
|
|
1262
1262
|
{
|
|
1263
1263
|
"path": "skills/weaver-e10-jinchengda/references/contract-clause-library-crud.md",
|
|
1264
|
-
"size":
|
|
1265
|
-
"sha256": "
|
|
1264
|
+
"size": 6747,
|
|
1265
|
+
"sha256": "b08c6ca243316fe2df7b5788d0e4aaf4cffeacb165a13c099af479140b69830c"
|
|
1266
1266
|
}
|
|
1267
1267
|
]
|
|
1268
1268
|
},
|
|
@@ -7,7 +7,7 @@ description: 泛微E10聚才林人事管理,帮您处理人事日常事宜:[
|
|
|
7
7
|
description_zh: 泛微E10聚才林人事管理,帮您处理人事日常事宜:[出勤]-查考勤数据做报表统计、考勤打卡(PC端签到签退)、发考勤流程处理考勤异常;[薪酬]-查工资、社保公积金、调薪记录;[招聘]-帮您找人才、管招聘需求、生成职位JD、导入简历建人才、查应聘者台账、安排面试、发Offer、办入职、看招聘统计;[人事基础]-查员工信息、组织编制及从不同维度汇总人事报表。
|
|
8
8
|
description_en: "Weaver E10 Jucailin HR Management: your assistant for daily HR tasks. [Attendance] Check attendance data, generate reports & statistics, clock in/out on PC, and start attendance workflows to handle attendance exceptions. [Payroll] View pay slips, social security & housing fund, and salary adjustment records. [Recruitment] Find candidates, manage recruitment requisitions, generate job descriptions (JD), import resumes to build candidate profiles, view candidate pipeline records, arrange interviews, send offers, handle onboarding, and view recruitment statistics. [HR Basics] Look up employee information, organizational headcount, and compile HR reports from various dimensions."
|
|
9
9
|
category: business
|
|
10
|
-
version: 2.0.
|
|
10
|
+
version: 2.0.7
|
|
11
11
|
author: 泛微网络科技股份有限公司
|
|
12
12
|
permissions: [network]
|
|
13
13
|
execution:
|
|
@@ -53,7 +53,7 @@ printf '%s\n' '{"type":"CHECKIN","continuation":"<prepare 返回的 token>","con
|
|
|
53
53
|
## 确认链要求
|
|
54
54
|
|
|
55
55
|
1. `prepare` 只预览和生成 continuation,**不会发送任何写请求**。
|
|
56
|
-
2. 向用户摘要目标、影响范围、风险和 continuation 绑定含义(continuation 与当前租户与登录账号绑定,
|
|
56
|
+
2. 向用户摘要目标、影响范围、风险和 continuation 绑定含义(continuation 与当前租户与登录账号绑定,24 小时有效)。
|
|
57
57
|
3. 用户**明确确认**后才调用 `apply`,并传入 `confirm=true` 与 `prepare` 返回的 continuation。
|
|
58
58
|
4. `apply` 不可盲目重试。遇到不确定结果先停止,再做一次只读回查。
|
|
59
59
|
|
|
@@ -77,6 +77,14 @@ printf '%s\n' '{"type":"CHECKIN","continuation":"<prepare 返回的 token>","con
|
|
|
77
77
|
- `confirmation/required`:缺少 `confirm=true`,必须回到确认链第 2 步。
|
|
78
78
|
- `target_changed`:提交参数与 `prepare` 快照不一致,必须重新执行 `prepare`。
|
|
79
79
|
- `context_mismatch`:租户或登录账号在 prepare 之后发生变化,必须重新执行 `prepare`。
|
|
80
|
-
- `continuation_expired`:continuation 超过
|
|
80
|
+
- `continuation_expired`:continuation 超过 24 小时,重新执行 `prepare`。
|
|
81
81
|
- `appeal_not_allowed`:`stillShowAppeal=false`,当前不可申诉,不要继续提交。
|
|
82
82
|
- `partial/write_uncertain`:请求已发出但结果不确定。立即停止,禁止自动重试,先做只读回查再向用户报告。
|
|
83
|
+
|
|
84
|
+
## 产物链接(CLI 0.1.41+)
|
|
85
|
+
|
|
86
|
+
`ehr.attend.appeal.save.apply` 成功后返回:
|
|
87
|
+
- `appealListUrl`:考勤异常/申诉页面地址(`{baseUrl}/sp/attend/abnormal`,真实环境取证路由,禁止改拼);
|
|
88
|
+
- `appeal`:回查定位到的新建申诉记录(含申诉 ID,处理申诉时用其 id);未定位到时给 `locateWarning`。
|
|
89
|
+
|
|
90
|
+
展示时把 `appealListUrl` 作为可点击链接给用户。
|
|
@@ -90,3 +90,11 @@ printf '%s\n' '{"resourceId":123,"changeDateStart":"2026-01-01","changeDateEnd":
|
|
|
90
90
|
- `date_range_incomplete`:`empchange.list` 的起止日期只提供了一个。
|
|
91
91
|
- `date_range_invalid`:开始日期晚于结束日期。
|
|
92
92
|
- 认证类错误:停止查询并执行入口 `SKILL.md` 的登录失效强制分流;XiaoE 只走 `auth xiaoe`,非 XiaoE 只走 `auth login`,禁止其他登录 Skill。
|
|
93
|
+
|
|
94
|
+
## 产物链接(CLI 0.1.41+)
|
|
95
|
+
|
|
96
|
+
查询类操作的 `meta` 增加两个字段:
|
|
97
|
+
- `viewUrl`:该查询对应的 EHR 页面地址(如在职员工名册 `/sp/hrm/hr/employeeManager`);
|
|
98
|
+
- `profileUrlTemplate`:人员详情卡片模板 `{baseUrl}/sp/hrm/profileInfo/{人员id}`,把 `{人员id}` 替换为结果中的人员 id 即可点击。
|
|
99
|
+
|
|
100
|
+
只对已取证路由输出这两个字段;未见字段表示该接口无对应页面。
|
|
@@ -74,3 +74,11 @@ printf '%s\n' '{"startDate":"2026-01-01","endDate":"2026-03-31","dataType":"join
|
|
|
74
74
|
- `date_range_invalid`:`turn.emp.table` 的 `startDate` 晚于 `endDate`。
|
|
75
75
|
- `enum_invalid`:`type`、`dataType`、`calcLevel` 取值不在允许集合内。
|
|
76
76
|
- 权限不足返回业务失败,先确认账号是否具备对应报表的查看权限。
|
|
77
|
+
|
|
78
|
+
## 产物链接(CLI 0.1.41+)
|
|
79
|
+
|
|
80
|
+
查询类操作的 `meta` 增加两个字段:
|
|
81
|
+
- `viewUrl`:该查询对应的 EHR 页面地址(如在职员工名册 `/sp/hrm/hr/employeeManager`);
|
|
82
|
+
- `profileUrlTemplate`:人员详情卡片模板 `{baseUrl}/sp/hrm/profileInfo/{人员id}`,把 `{人员id}` 替换为结果中的人员 id 即可点击。
|
|
83
|
+
|
|
84
|
+
只对已取证路由输出这两个字段;未见字段表示该接口无对应页面。
|
|
@@ -36,9 +36,12 @@ weaver-work-cli ehr run ehr.recruit.position.create.apply --input-json '{"positi
|
|
|
36
36
|
**要点**
|
|
37
37
|
|
|
38
38
|
- JD 正文由你(大模型)写:`duty` 写岗位职责、`requirement` 写任职要求,各写入对应的多行文本字段。
|
|
39
|
-
- 可选覆盖:`education` / `workYears` / `jobCategory` / `positionNature`(按**数据字典名称**)、`salaryType` / `recruitType`(按枚举名称)、`recruitCount` / `salaryMin` / `salaryMax` / `numberOfPayMonths`(数字)、`recruitPrincipal` / `employManager` / `interviewer` / `recruitHelper`(按**姓名**)。
|
|
39
|
+
- 可选覆盖:`education` / `workYears` / `jobCategory` / `positionNature`(按**数据字典名称**)、`salaryType` / `recruitType`(按枚举名称)、`recruitCount` / `salaryMin` / `salaryMax` / `numberOfPayMonths`(数字)、`workLocation`(办公地点名称或详细地址,如「上海」)、`recruitPrincipal` / `employManager` / `interviewer` / `recruitHelper`(按**姓名**)。
|
|
40
40
|
- 字典同名多项或找不到 → 该字段**跳过**并在 `preview.explicitSkipped` 列明,不会写脏值;不要为了"凑齐"而换别的名称重试。
|
|
41
|
-
-
|
|
41
|
+
- 🔴 **薪资必须沿用现值(`salary_min` / `salary_max` 是表单必填项)**:不传就会留空,导致后端必填校验失败、整个建职位流程直接报错。因此这两个字段**必须**沿用「环境内在册职位」的现值(或显式传 `salaryMin` / `salaryMax`,元/月数值),**不能留空**。但历史薪资可能是脏数据(实测抓到过 300 元月薪),所以不静默使用:`preview.inheritedFromRef` 会列出薪资的继承值,`preview.inheritedSalaryWarnings` 对明显偏低(<1000)的值追加提示——**这两项都必须写进确认摘要,提示用户核对后再提交**。
|
|
42
|
+
- **工作地点可显式指定(2026-11-05 起)**:传 `workLocation`(办公地点名称或详细地址),CLI 按「办公地点」菜单三级来源(`lists.all_search` → `cache.menus` → `allMenus` 接口)解析成记录 id;解析不到会进 `preview.explicitSkipped`,不会瞎写 id。
|
|
43
|
+
- 其余未指定的关联型字段(职位属性/序列/学历/工作年限/招聘流程)沿用**环境内在册职位的现值**,保证引用有效;`preview.noReferenceValue` 列出没取到值的字段。
|
|
44
|
+
- 🔴 **`preview.inheritedFromRef` 必须逐项列进确认摘要**(字段 + 值),不得因为是默认值就略过——历史上这里静默带出过重复地点这类脏数据。
|
|
42
45
|
- apply 成功返回 `formDataId`、`positionPostId`、`cardUrl`(职位单页)、`listLocateUrl`(职位列表定位)。`rpaChecked=false` 时把 `rpaValidMsg` 如实转告。
|
|
43
46
|
|
|
44
47
|
---
|
|
@@ -49,7 +52,7 @@ weaver-work-cli ehr run ehr.recruit.position.create.apply --input-json '{"positi
|
|
|
49
52
|
|
|
50
53
|
```
|
|
51
54
|
① 你读懂简历(对话里已解析的内容 / 原件文本)→ 按下面 schema 整理成 JSON
|
|
52
|
-
② prepare:手机号查重 + 主表映射 + 6 张明细行数 +
|
|
55
|
+
② prepare:手机号查重 + 主表映射 + 6 张明细行数 + 标签预检(按名核验,输出 `tagCheck.found/missing`,不写入)
|
|
53
56
|
③ 摘给用户确认
|
|
54
57
|
④ apply:主表+明细一次写入 → 人才批次 → 智能标签 → 平台标签 → 双链接
|
|
55
58
|
```
|
|
@@ -80,8 +83,14 @@ weaver-work-cli ehr run ehr.recruit.candidate.import.apply --input-json '{"candi
|
|
|
80
83
|
- 手机号已存在 → apply 直接阻断,`preview.duplicate` 会带出已存在的人才 id;**不要重复建档**,改为告知用户走更新或在人才卡片补充。
|
|
81
84
|
- 明细表在 `getTableMapping` 中无对应节点 → 该表整表跳过(主表照常建档),`preview.warnings` 会写明。
|
|
82
85
|
- 批次初始化失败 → 人才仍已建档,`batch.note` 说明原因,不要重试建档。
|
|
83
|
-
- 平台标签不在本环境清单 → `tagsSkipped`
|
|
84
|
-
- apply
|
|
86
|
+
- 平台标签不在本环境清单 → `tagsSkipped` 列出,**不要自动新建标签**。标签按名精确解析(并行 type0/type1,N 个名字一轮请求),不再受环境标签总量影响;prepare 的 `tagCheck.missing` 就是 apply 会跳过的那些,可在确认摘要里先提示用户。
|
|
87
|
+
- 🔴 **apply 的 `result` 不恒为 `success`(2026-11-05 起,三态看 `detailsState`)**:
|
|
88
|
+
| `detailsState` | `result` | 含义 | 该怎么跟用户说 |
|
|
89
|
+
|---|---|---|---|
|
|
90
|
+
| `complete` | `success` | 明细读回行数 ≥ 期望 | 正常报告建档成功 |
|
|
91
|
+
| `missing` | **`partial`** | 主表已写入,明细读回不足 | **必须说「人才已建,但教育/工作等经历明细未完整落库」**,提示走更新补明细;**不得**说"建档成功" |
|
|
92
|
+
| `unverified` | **`partial`** | 明细回读校验本身失败 | 说「写入结果未经验证」,建议到人才卡片人工核对 |
|
|
93
|
+
- apply 返回错误 `partial/write_uncertain` → 先用人才库按手机号核对是否已建档,**禁止直接重试**。
|
|
85
94
|
|
|
86
95
|
**产物**:`talentCardUrl`(人才卡片单页)+ `talentListLocateUrl`(人才库列表并滑出该人才)。两个都以 Markdown 链接放回答正文;自用系统会自动追加 `recruitType=useSelf`,不要手拼。
|
|
87
96
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
| operation | 必填 | 说明 |
|
|
10
10
|
| --- | --- | --- |
|
|
11
11
|
| `ehr.recruit.candidate.search` | 无 | 按姓名/手机号模糊搜索人才库;都不传时列出全部人才用于浏览 |
|
|
12
|
-
| `ehr.recruit.candidate.list` | `type` | 查询招聘业务列表,`type` 取 `demand`(招聘需求)/`position`(招聘职位)/`entry`(入职管理)/`offer
|
|
12
|
+
| `ehr.recruit.candidate.list` | `type` | 查询招聘业务列表,`type` 取 `demand`(招聘需求)/`position`(招聘职位)/`entry`(入职管理)/`offer`(录用管理)/`interview`(面试管理)/`candidate`(应聘者)之一 |
|
|
13
13
|
| `ehr.recruit.candidate.card` | `talentId` | 人才详情卡片:基本信息 + 应聘进展 + 面试安排 + 沟通备注 |
|
|
14
14
|
| `ehr.recruit.context.resolve` | 无 | 返回当前环境的招聘模块运行时参数(appId/表单/列表),仅用于调试与兜底 |
|
|
15
15
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
| operation(prepare/apply 成对) | 用途 | 关键校验 |
|
|
16
16
|
| --- | --- | --- |
|
|
17
17
|
| `ehr.recruit.candidate.create.*` | 新建人才 | 手机号建前查重(apply 二次查重强制拦截);渠道须在数据字典中 |
|
|
18
|
-
| `ehr.recruit.candidate.interview.arrange.*` | 安排面试 | 候选人 READ
|
|
18
|
+
| `ehr.recruit.candidate.interview.arrange.*` | 安排面试 | 候选人 READ 权限;面试方式/轮次须在枚举内;面试官可省略(默认当前登录人),显式指定时姓名须解析到 userId |
|
|
19
19
|
| `ehr.recruit.offer.send.*` | 发送 Offer 邮件(L3) | Offer 状态必须「未发送」;邮箱必填;模板须存在于 uf_rcrt_notify_mould |
|
|
20
20
|
| `ehr.recruit.entry.process.*` | 办理入职(落账号不可逆) | estValidateEntry 校验;已办理(status=2)拒绝;department/positionRank 必填 |
|
|
21
21
|
| `ehr.recruit.candidate.interview.feedback.edit.*` | 提交/修改面试反馈 | 已失效(INVALID)面试拒绝;结果须在枚举内;全字段集保存防清空 + 乐观锁 |
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
## 协议细节
|
|
25
25
|
|
|
26
|
-
1. `prepare` 返回 `status: AWAITING_CONFIRMATION`、`preview`(人类可读摘要)、`continuation`(
|
|
26
|
+
1. `prepare` 返回 `status: AWAITING_CONFIRMATION`、`preview`(人类可读摘要)、`continuation`(24 小时有效)与 `expiresInSeconds`。
|
|
27
27
|
2. `apply` 入参 = prepare 相同业务参数 + `confirm: true` + `continuation`。**apply 会校验指纹**:业务参数与 prepare 快照不一致时报 `target_changed`,须重新 prepare。
|
|
28
28
|
3. continuation 与当前 CLI 登录环境绑定(由 `weaver-work-cli auth` 托管),切换租户或账号后报 `context_mismatch`,此时须重新 prepare。登录与认证细节见共享规则 [`../../weaver-e10-shared/SKILL.md`](../../weaver-e10-shared/SKILL.md)。
|
|
29
29
|
4. 多步写入(saveFormData → initTalentBatch / sendOffer / saveEstPreEntry / runEsb)中途网络中断时报 `partial/write_uncertain` 并给出已落地的记录 id——**禁止自动重试**,先按提示回查(`candidate.search` / `candidate.card`)确认实际状态。
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
## 参数要点
|
|
33
33
|
|
|
34
34
|
- `create`:`name` + `mobile` 必填,`channel` 传中文名(如「BOSS直聘」),CLI 负责解析为字典 optionId,查不到报 `channel_not_found`。
|
|
35
|
-
- `arrange`:`talentId`
|
|
35
|
+
- `arrange`:`talentId` 必填;`interviewer`(姓名)**可选,不填默认当前登录人**(teamsCheck 取姓名 → 同一人员解析通道);`type`(现场/视频/电话/AI面试)、`session`(初试/复试等,须在该环境枚举内);`positionId` 不填时从人才当前应聘批次继承,继承不到报错要求显式提供。
|
|
36
|
+
- **AI 面试**(`type=AI面试`):`aiPlan` 默认「大模型面试」(按名匹配,环境无此方案时错误详情 `candidates` 列出可选方案,不自动取第一条);`email` 不填则取人才资料里的邮箱,两者都缺会报 `email_required`。prepare 会把 `aiPlan`/`email`/`mobile` 一并写进 `willSubmit`。
|
|
36
37
|
- `offer.send`:`talentId` 必填;`email`/`deadline` 缺省时从 Offer 记录继承;`template` 默认「offer通知」。
|
|
37
38
|
- `entry.process`:`departmentId`/`positionRankId` 必填(Offer 记录无此字段);`subcompanyId`/`positionId`/`entryTime` 缺省时从 Offer 记录继承。
|
|
38
39
|
- `feedback.edit`:`talentId` 必填;`feedbackId` 最稳定位,或 `feedbackIndex`(默认第 0 场含反馈的面试);`result`/`comment` 至少一项。
|
|
@@ -60,7 +61,7 @@ weaver-work-cli --json ehr run ehr.recruit.candidate.interview.arrange.apply --i
|
|
|
60
61
|
|
|
61
62
|
## 错误形状(稳定 subtype)
|
|
62
63
|
|
|
63
|
-
`duplicate_blocked`(查重命中)/ `duplicate_ambiguous`(多条重复)/ `target_changed`(指纹不一致)/ `context_mismatch`(会话变化)/ `channel_not_found` / `interviewer_not_found` / `result_not_in_enum` / `offer_status_invalid` / `entry_already_processed` / `interview_invalid_status` / `esb_action_unresolved`(按钮/动作流解析不到,禁止编造 esbActionIds)/ `partial` + `write_uncertain`(多步写入中断)。
|
|
64
|
+
`duplicate_blocked`(查重命中)/ `duplicate_ambiguous`(多条重复)/ `target_changed`(指纹不一致)/ `context_mismatch`(会话变化)/ `channel_not_found` / `interviewer_not_found` / `interviewer_unresolved`(未指定面试官且当前登录人解析不到)/ `ai_plan_unavailable` / `ai_plan_not_found`(详情 `candidates` 列可选方案)/ `ai_plan_ambiguous` / `email_required` / `email_invalid` / `result_not_in_enum` / `offer_status_invalid` / `entry_already_processed` / `interview_invalid_status` / `esb_action_unresolved`(按钮/动作流解析不到,禁止编造 esbActionIds)/ `partial` + `write_uncertain`(多步写入中断)。
|
|
64
65
|
|
|
65
66
|
## 产物链接(apply 输出直接含 URL 字段,按「[标题](url)」Markdown 链接放回答正文)
|
|
66
67
|
|
|
@@ -7,7 +7,7 @@ description: 泛微E10邮件管理技能:帮你查询、阅读和管理 OA 邮
|
|
|
7
7
|
description_zh: 泛微E10邮件管理技能:帮你查询、阅读和管理 OA 邮件。支持查看邮件列表与详情、写新邮件、回复、转发、保存草稿、上传附件、定时发送、标星、设待办、标记已读、删除,以及撤回和重发邮件。同时支持文件夹管理、联系人/分组管理、附件中心、模板/签名管理、黑名单设置等高级功能。当用户提出与邮件相关的操作需求时触发。
|
|
8
8
|
description_en: "Weaver E10 Mail Management skill: helps you query, read and manage OA emails. Supports viewing mail lists and details, composing new mails, replying, forwarding, saving drafts, uploading attachments, scheduled sending, starring, setting todos, marking read, deleting, recalling and resending mails. Also supports folder management, contacts/group management, attachment center, template/signature management, blacklist settings and more advanced features. Triggered when the user asks for mail-related operations."
|
|
9
9
|
category: business
|
|
10
|
-
version: 3.0.
|
|
10
|
+
version: 3.0.1
|
|
11
11
|
author: 泛微网络科技股份有限公司
|
|
12
12
|
permissions: [network]
|
|
13
13
|
execution:
|
|
@@ -5,7 +5,7 @@ display_name_en: Weaver E10 Meeting Management
|
|
|
5
5
|
description: "泛微 E10 会议管理:查会议、预约建会(推荐会议室、查冲突与空闲时段)、改期/改地点/改参会人、取消删除、流程建会、会议室查询与推荐、生成邀请函、读取会议附件、回执签到、纪要与决议任务、参会二维码。详见 description_zh。"
|
|
6
6
|
description_zh: "泛微 E10 会议管理,帮您处理会议日常事务:[会议]-查询今天/本周/我的会议与会议详情,预约建会(自动推荐会议室、检测参会人会议冲突与日程空闲、冲突时给出当天可选时段),改期/换地点/改参会人、取消、删除;受限环境可走审批流程建会,提交后必出邀请函;[会议室]-查询会议室与占用,按人数/设备/常用程度智能推荐;[邀请函]-生成邀请函文档(有会议 id 用真实数据;没有也能按会议名+时间出预置函);[资料]-读取会议与议题的附件、抽取文档正文;参会回执、签到与补签、纪要、议题、决议与决议任务;[二维码]-把文本渲染成参会码/签到码图片。认证与会话由 weaver-e10-shared 提供。"
|
|
7
7
|
description_en: "Weaver E10 meeting management: [Meetings] query today/week/my meetings and details, book meetings with automatic room recommendation, attendee conflict and calendar-availability checks (plus same-day alternative slots), reschedule / change room / change attendees, cancel, delete; flow-based booking with automatic invitation when the app only allows workflow creation; [Rooms] occupancy queries and smart recommendation by capacity, equipment and personal usage; [Invitation] generate invitation docx from real meeting data; [Content] list and read meeting/topic attachments and extract document text; receipts, sign-in, minutes, topics, decisions and decision tasks; [QR] render text into attendee/sign-in QR images. Auth and session are provided by weaver-e10-shared."
|
|
8
|
-
version: 2.
|
|
8
|
+
version: 2.49.1
|
|
9
9
|
author: 泛微网络科技股份有限公司
|
|
10
10
|
agent_created: true
|
|
11
11
|
requires:
|
|
@@ -148,8 +148,10 @@ cliHelp: "weaver-work-cli meeting --help"
|
|
|
148
148
|
`[{"name":"利明","mobile":"11111111111","dept":"信息部"}]`(同人已去重,字段 id 换租户也能按值认)。
|
|
149
149
|
- **有联系人** → 什么都不用问。`crm_members` 一传,CLI 就会把**全部联系人**写成「参会客户明细」行(一人一行);
|
|
150
150
|
⛔ 不许做"本次参会客户联系人选哪位"这类选择框,也不许只带其中一位。
|
|
151
|
-
- **没有联系人**(`contacts` 为空 / 该客户没建档)→
|
|
152
|
-
|
|
151
|
+
- **没有联系人**(`contacts` 为空 / 该客户没建档)→ ⛔ **什么都不用问,直接继续建会**。
|
|
152
|
+
建会和邀请函都**不依赖客户联系人**(2026-11-05 用户明确:「不需要联系人,只要有客户默认就发送邀请函」)。
|
|
153
|
+
以前这里要求的"要不要补一下联系人姓名和手机号"已被删除 —— 那属于多余的一轮。
|
|
154
|
+
- 用户**主动**给了联系人姓名/手机号,才用 `crm_member_details` 补进去;**不许编**。
|
|
153
155
|
- ⛔ **不要传 `crm_member_details` 来"挑人"**:CLI 默认按 CRM 全量补全,传了也只当补充字段用。
|
|
154
156
|
只有用户**明确说"只写某某"**时,才传 `crm_detail_mode:"only"` + `crm_member_details`:
|
|
155
157
|
```json
|
|
@@ -223,6 +225,8 @@ cliHelp: "weaver-work-cli meeting --help"
|
|
|
223
225
|
|
|
224
226
|
- 「今天的会议 / 下一个会」→ `meeting.eb.meeting.list`(`filterDate` 客户端过滤;接口 body 过滤实测不生效,不要现场试 body)。
|
|
225
227
|
- 「会议室占用 / 空闲 / 推荐」→ `meeting.eb.room.recommend`(按人数/常用/时段占用排序,带理由);
|
|
228
|
+
**带客户时**(用户话里出现「接待/招待/贵宾/客户来访」或传了 `crm_members`)会自动给接待类会议室
|
|
229
|
+
(名称或描述含「接待/招待/贵宾/商务」)+35 分优先推荐;只有「客户」二字不算接待类(避免培训室误判)。
|
|
226
230
|
只想看全部房间用 `meeting.eb.room.list`(`statusText=正常` 才是可用)。
|
|
227
231
|
- **⛔ 建会只走这三步,不要再加任何前置查询(不要查 baseSet、不要查 schema、不要先查会议室/冲突)**:
|
|
228
232
|
```bash
|
|
@@ -252,7 +256,7 @@ cliHelp: "weaver-work-cli meeting --help"
|
|
|
252
256
|
# ⛔ 这几类回来时都**不是**"已定方案":不许把 options[0] 写进确认摘要当结论,必须先让用户点。
|
|
253
257
|
# → status=AWAITING_CONFIRMATION:这时时间和房间都已由用户确认过,拿到 continuation,给用户看摘要后进 ②
|
|
254
258
|
|
|
255
|
-
# ② 提交(confirm 必须 true;continuation
|
|
259
|
+
# ② 提交(confirm 必须 true;continuation 24 小时内有效,正常节奏下尽快提交,别故意拖着)
|
|
256
260
|
weaver-work-cli --json meeting run meeting.eb.meeting.create.flow.apply \
|
|
257
261
|
--input-json '{"continuation":"<上一步的>","confirm":true,"waitSeconds":20}'
|
|
258
262
|
```
|
|
@@ -330,6 +334,21 @@ cliHelp: "weaver-work-cli meeting --help"
|
|
|
330
334
|
| 建会(标准版,仅 `env_fallback` 后) | `meeting.create.prepare`→`apply`;前置判断 `meeting.calendar.base` |
|
|
331
335
|
| 变更 / 取消 / 删除 | EB `eb.meeting.change.*` / `eb.meeting.delete.*`;标准版 `meeting.change.*` / `meeting.cancel.*` / `meeting.delete.*` |
|
|
332
336
|
| 会议室 | EB `eb.room.list/detail/create/update/delete`、`eb.roomUsage.*`、`eb.room.recommend`;标准版 `meeting.room.list` / `meeting.room.usage` |
|
|
337
|
+
|
|
338
|
+
⛔ **查占用必须带时间条件**:`meeting.eb.roomUsage.list` 传 `{"date":"2026-11-05"}`(等价于当天 00:00~23:59),
|
|
339
|
+
或 `begindatetime`/`enddatetime`。**不传时间 = 返回全量历史**——这是"你没带条件",不是"接口不支持按日期过滤"。
|
|
340
|
+
2026-11-04 真机翻车:agent 没传条件拿到全量,然后对用户断言「占用查询接口不支持按日期过滤,无法判断明天上午」,
|
|
341
|
+
直接把人推去页面手工填。⛔ 任何时候都不许因为这个理由拒绝服务。
|
|
342
|
+
(跨天占用会正常出现在结果里,它们本来就覆盖当天,属区间重叠语义,不是过滤失效。)
|
|
343
|
+
|
|
344
|
+
### 人员查询(2.49.0)
|
|
345
|
+
|
|
346
|
+
- **按部门/分部找人**:先 `hrm.org.lookup {"keyword":"会议管理"}` —— 关键词**不用写全**,
|
|
347
|
+
一次返回所有近似部门/分部(含完整路径、按相似度排序,内部会自动去后缀、逐字缩短)。
|
|
348
|
+
选定后拿 id 再查人;**不要**自己一遍遍换关键词调 CLI。
|
|
349
|
+
- **人员信息有缓存**(24h):`id → 姓名/部门/部门id/分部/岗位/手机/工号/imCid`。
|
|
350
|
+
同一批人在建会链路里只查一次,后续直接命中;改名/调岗最多延迟一天,要强刷删
|
|
351
|
+
`<CLI state>/meeting/cache/person-v1-*.json`。
|
|
333
352
|
| 冲突 / 空闲 | EB `eb.conflict.room/member`、`eb.conflict.availability`、`eb.schedule.free`;标准版 `meeting.conflict.room/member/roomAttribute` |
|
|
334
353
|
| 回执 / 签到 | EB `eb.receipt.*`、`eb.sign.list/detail/create/update/mark`;标准版 `meeting.receipt.*`、`meeting.sign.*` |
|
|
335
354
|
| 纪要 / 附件 | `eb.minute.list/detail/create/update/delete`、`meeting.minute.fromGroupChat` / `.writeContent` / `.parseStatus`、`meeting.attachment.upload/list/download/extract/attach` |
|
|
@@ -356,7 +375,7 @@ cliHelp: "weaver-work-cli meeting --help"
|
|
|
356
375
|
1. **只允许流程建会时,不许直连建会**
|
|
357
376
|
`only_flow_create=1` / `open_mt_approve=1` → `conflict_rejected`,改走 `meeting.eb.meeting.create.flow`(prepare→apply),不要绕。
|
|
358
377
|
补充两点:应用设置**存在多条记录时管控开关取最严**(任意一条开了就走流程,不是只按最新一条 —— 曾因此被绕过);
|
|
359
|
-
`apply` 会**重新校验一次**闸门,不认 prepare
|
|
378
|
+
`apply` 会**重新校验一次**闸门,不认 prepare 时的判定。
|
|
360
379
|
|
|
361
380
|
2. **参会人时间冲突必须让用户拍板**
|
|
362
381
|
即使应用设置只是"提醒"而非"禁止",CLI 也**照样拦下来**(`conflict_rejected`,不返回 continuation),
|
|
@@ -472,13 +491,13 @@ cliHelp: "weaver-work-cli meeting --help"
|
|
|
472
491
|
## 处理链:变更 / 取消 / 删除会议(高风险写,强制确认链)
|
|
473
492
|
|
|
474
493
|
1. 先用 `meeting.list`(或用户给出的会议 id)定位目标会议,必要时用 `meeting.link` 生成 `[名称](url)` 给用户核对(EB 环境会议也在 `meeting.eb.meeting.list`)。
|
|
475
|
-
2. `meeting.change.prepare`(变更)/ `meeting.cancel.prepare` / `meeting.delete.prepare`(入参 `id`):CLI 先**回查会议存在性**;`change` 还会按会议状态自动决定 `operateType`(草稿=UPDATE、正常=CHANGE)。**权限判定交给服务端**,CLI 不做权限预判。成功返回 `preview` + `continuation`(
|
|
494
|
+
2. `meeting.change.prepare`(变更)/ `meeting.cancel.prepare` / `meeting.delete.prepare`(入参 `id`):CLI 先**回查会议存在性**;`change` 还会按会议状态自动决定 `operateType`(草稿=UPDATE、正常=CHANGE)。**权限判定交给服务端**,CLI 不做权限预判。成功返回 `preview` + `continuation`(24 小时有效)。
|
|
476
495
|
3. 向用户摘要动作与后果(变更=覆盖所提交字段、当前状态与分流类型;取消=会议进入取消状态、占用/回执/签到失效;删除=**移入回收站**、不再出现在正常列表),**取得明确确认**。变更只提交 preview 中列出的字段。
|
|
477
496
|
4. 用户确认 → `meeting.*.apply`(`confirm: true` + continuation;**只传这两个参数即可**,业务字段取 prepare 快照;改动内容会报 `target_changed`)。
|
|
478
497
|
5. 结果回读:`meeting.list` 确认状态(取消/删除后该会议不应再出现在正常列表)。
|
|
479
498
|
6. **禁止**跳过 prepare 直接 apply;**禁止**在未确认目标存在时执行写操作。
|
|
480
499
|
|
|
481
|
-
## 处理链:生成邀请函(docx +
|
|
500
|
+
## 处理链:生成邀请函(docx + 对话内正文,自动发群)
|
|
482
501
|
|
|
483
502
|
⛔ **邀请函要在对话里「贴出来」,不是丢个文件让人自己下载**(2026-10-31 用户明确要求:
|
|
484
503
|
「不是发文件,是直接在智能体对话中展示」)。`meeting.invitation.render` 与建会返回的
|
|
@@ -486,6 +505,12 @@ cliHelp: "weaver-work-cli meeting --help"
|
|
|
486
505
|
正确做法:**把 `text` 原样作为回复正文的一部分贴出来**(不要包在代码块里,不要省略),
|
|
487
506
|
再附一句"docx 已生成在 `<filePath>`,可下载打印/外发"。
|
|
488
507
|
|
|
508
|
+
✅ **建会时邀请函会自动发到会议群**(2.48.6):`create.flow.quick/apply` 建群成功、
|
|
509
|
+
邀请函 docx 生成后,CLI 会自动把 **docx 文件**发进群里(返回 `invitation.sentToGroup = {groupId, ok}`)。
|
|
510
|
+
**两种提交档都会发**:服务端直提(有会议号,发完整版邀请函);浏览器填单(BROWSER_FILL,无会议号,发预置函)。
|
|
511
|
+
你不用再手动转发;发失败只是 warning(会议和邀请函本身不受影响),如实说明即可。
|
|
512
|
+
另外群里的会议信息消息现在显示的是**会议室名称**,开始/结束时间也一定有值(之前用 `time_slot` 时会空,已修)。
|
|
513
|
+
|
|
489
514
|
**两种用法**:
|
|
490
515
|
|
|
491
516
|
| 场景 | 入参 | 说明 |
|
|
@@ -620,6 +645,13 @@ weaver-work-cli --json meeting run meeting.attachment.extract --input-json '{"mt
|
|
|
620
645
|
|
|
621
646
|
## 冲突了要给出可选项(`decisions` 里能直接挑)
|
|
622
647
|
|
|
648
|
+
⛔ **不许把活推回给用户**(2026-11-04 真实翻车):会议室查不到/推荐失败时,**不要**说
|
|
649
|
+
「你去系统里自己发起吧,表单里点选会自动过滤占用」——这是 CLI 该做的事。
|
|
650
|
+
正确做法:① 重跑一次 `create.flow.quick/prepare`(不传 address,让 CLI 推荐);
|
|
651
|
+
② 仍失败就把 `options` 给用户挑,或传 `autoRoom: true` 让 CLI 沿用首选;
|
|
652
|
+
③ 真查不到候选时如实说"该时段没有可用会议室",并给 3 个替代时段。
|
|
653
|
+
**任何情况下都不许让用户自己去页面填会议室/自己发起流程**。
|
|
654
|
+
|
|
623
655
|
`create.prepare` / `change.prepare` / **流程建会 `create.flow.prepare`** 的返回里都有 `data.decisions`
|
|
624
656
|
(流程建会在 `data.preview.decisions`),**一律用选项方式给用户挑,不要文字罗列**:
|
|
625
657
|
|
|
@@ -40,7 +40,7 @@ weaver-work-cli --json meeting run meeting.change.apply --input-json '{"confirm"
|
|
|
40
40
|
- `prepare` 返回 `AWAITING_CONFIRMATION` + `preview`:
|
|
41
41
|
- `currentStatus`(会议当前状态原文)、`operateType`(`UPDATE`/`CHANGE`)与 `operateTypeReason`(分流原因);
|
|
42
42
|
- `changedFields`(本次将提交的字段)与 `body`(完整提交体);
|
|
43
|
-
- `continuation`(
|
|
43
|
+
- `continuation`(24 小时有效)。
|
|
44
44
|
- 向用户摘要「会议名 + 当前状态 + 走的是更新还是变更 + 改了哪些字段」后再确认。
|
|
45
45
|
- `apply` 返回 `COMPLETE` + `operateType`;随后 `meeting.list` 回查新时间/地点。
|
|
46
46
|
|
|
@@ -37,7 +37,7 @@ weaver-work-cli --json meeting run meeting.create.apply --input-json '{"confirm"
|
|
|
37
37
|
## 输出处理
|
|
38
38
|
|
|
39
39
|
- 冲突检测结果 `verdict`:`ok`(无冲突)/ `warn`(可提交但有冲突描述 → warnings 建议换时间/地点)/ `rejected`(`cansub=false`)/ `unknown`(接口未返回 cansub,人工复核)。
|
|
40
|
-
- `create.prepare` 返回 `AWAITING_CONFIRMATION` + `preview` + `continuation`(
|
|
40
|
+
- `create.prepare` 返回 `AWAITING_CONFIRMATION` + `preview` + `continuation`(24 小时有效);向用户摘要后再 apply。
|
|
41
41
|
- `create.apply` 成功返回 `meetingId`;用 `meeting.list` 回读确认。
|
|
42
42
|
|
|
43
43
|
## 注意
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
- 两个动作都只需会议 `id`(长 id 用字符串)。
|
|
12
12
|
- prepare 阶段 CLI 会**回查会议存在性**(`getMeetingDetailField`);回查失败直接报 `meeting_not_operable`,不做任何写入。
|
|
13
13
|
- **权限判定由服务端负责**(按会议状态 + 会议基础设置 + 召集人/监控权限):无权限时服务端返回原文提示,CLI 原样透传,**必须完整转达用户**——`您没有取消权限!` / `您没有删除权限!` / `您没有提前结束权限!` / `您没有读取权限!`。不要改写成"操作失败"这类模糊说法。
|
|
14
|
-
- `continuation` 有效期
|
|
14
|
+
- `continuation` 有效期 24 小时,过期需重新 prepare。
|
|
15
15
|
- 传参方式按源码签名区分(已核对 `com.weaver.meeting.controller`):
|
|
16
16
|
- `cancel` → `operateMeetingByType`(`@RequestBody`,body 传 JSON);
|
|
17
17
|
- `delete` → `deleteMeetingDetail(Long id)`(**表单绑定,必须 query 传参**)。
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
| 失败也是结论 | FAIL 必须原文给出 `error.type/subtype` 与报错文案,**禁止**把失败写成"没有数据" |
|
|
27
27
|
| EB 写失败 ≠ 没写入 | EB 接口报校验错误时数据可能已落库 → **先回查再决定重试**(否则产生重复数据) |
|
|
28
28
|
| 每条留证据 | 记录 `operation` + 入参摘要 + 关键输出片段(id / status / count),便于复核 |
|
|
29
|
-
| continuation | 默认
|
|
29
|
+
| continuation | 默认 24 小时有效;过期返回 `continuation_expired` → 重新 prepare,**不要**重用旧 token |
|
|
30
30
|
|
|
31
31
|
## 3. 判据代号(下文表格中引用)
|
|
32
32
|
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
1. `okr.align.create.prepare` 返回 `preview` 与 `continuation`。
|
|
27
27
|
2. 用户明确确认后调 `okr.align.create.apply`,传 `current_id`、`align_obj_id`、`confirm=true`、`continuation`。
|
|
28
|
-
3. continuation 绑定 `baseUrl`/`profile`/`userId`,
|
|
28
|
+
3. continuation 绑定 `baseUrl`/`profile`/`userId`,24 小时有效;`current_id` 或内容指纹变化返回 `validation/target_changed`,需重新 prepare。
|
|
29
29
|
|
|
30
30
|
## 调用示例
|
|
31
31
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
1. `okr.kr.save.prepare` 返回 `preview`(关键成果名称、所属目标、责任人、目标值/实际值、权重、起止日期、操作=新建或修改)与 `continuation`。
|
|
36
36
|
2. 用户明确确认后调 `okr.kr.save.apply`,传 `confirm=true`、`continuation`,以及 `object_id` 与 `name`(schema 必需)。
|
|
37
|
-
3. continuation 绑定 `baseUrl`/`profile`/`userId`,
|
|
37
|
+
3. continuation 绑定 `baseUrl`/`profile`/`userId`,24 小时有效;内容指纹变化返回 `validation/target_changed`,需重新 prepare。
|
|
38
38
|
|
|
39
39
|
## 调用示例
|
|
40
40
|
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
1. 调 `okr.create.prepare` / `okr.update.prepare`,向用户展示 `preview`(含目标名称、级别、周期、责任人、参与人、状态等)与 `expiresInSeconds`。
|
|
52
52
|
2. 用户明确同意后调 `okr.create.apply` / `okr.update.apply`,传 `confirm=true` 与 prepare 返回的 `continuation`。
|
|
53
|
-
3. continuation 绑定 `baseUrl`/`profile`/`userId`,
|
|
53
|
+
3. continuation 绑定 `baseUrl`/`profile`/`userId`,24 小时有效;登录上下文变化会返回 `validation/context_mismatch`,写入内容指纹变化会返回 `validation/target_changed`,两种情况都必须重新 prepare。
|
|
54
54
|
|
|
55
55
|
`apply` 成功后返回 `status=COMPLETE`、`goalId`、`path` 与 `detailUrl`(可点击的绝对地址)。
|
|
56
56
|
|
|
@@ -573,7 +573,7 @@
|
|
|
573
573
|
}
|
|
574
574
|
},
|
|
575
575
|
"artifactBaseline": {
|
|
576
|
-
"aggregateSha256": "
|
|
576
|
+
"aggregateSha256": "3f6f615420b763a55f7ff5e256885261102c29efdc8b3fa8c7c2e780484c8e26",
|
|
577
577
|
"files": [
|
|
578
578
|
{
|
|
579
579
|
"path": "src/shortcuts/okr/errors.ts",
|
|
@@ -582,8 +582,8 @@
|
|
|
582
582
|
},
|
|
583
583
|
{
|
|
584
584
|
"path": "src/shortcuts/okr/continuation.ts",
|
|
585
|
-
"size":
|
|
586
|
-
"sha256": "
|
|
585
|
+
"size": 3320,
|
|
586
|
+
"sha256": "cc5e94db97ace3b87f52c3fe8c241c652b1a6b9144f7faa24440ee1c4849a556"
|
|
587
587
|
},
|
|
588
588
|
{
|
|
589
589
|
"path": "src/shortcuts/okr/host.ts",
|
|
@@ -592,8 +592,8 @@
|
|
|
592
592
|
},
|
|
593
593
|
{
|
|
594
594
|
"path": "src/shortcuts/okr/index.ts",
|
|
595
|
-
"size":
|
|
596
|
-
"sha256": "
|
|
595
|
+
"size": 7046,
|
|
596
|
+
"sha256": "3a7b4f51e18c2b6e81e1fd1c638caea7599048ebfb2b117401863e1da5ada139"
|
|
597
597
|
},
|
|
598
598
|
{
|
|
599
599
|
"path": "src/shortcuts/okr/manifest.ts",
|
|
@@ -627,8 +627,8 @@
|
|
|
627
627
|
},
|
|
628
628
|
{
|
|
629
629
|
"path": "src/shortcuts/okr/operations/write.ts",
|
|
630
|
-
"size":
|
|
631
|
-
"sha256": "
|
|
630
|
+
"size": 39268,
|
|
631
|
+
"sha256": "d53774922fa0dbf640a0c02571990734356d49de02aefe4205813684692d1446"
|
|
632
632
|
},
|
|
633
633
|
{
|
|
634
634
|
"path": "src/shortcuts/okr/operations/registry.ts",
|
|
@@ -653,7 +653,7 @@
|
|
|
653
653
|
{
|
|
654
654
|
"path": "docs/okr.md",
|
|
655
655
|
"size": 7724,
|
|
656
|
-
"sha256": "
|
|
656
|
+
"sha256": "664ed13fd5b6c9e638a2ef2f3f9ab9259e8cfd646d071c6b9dc47f775c8dcac9"
|
|
657
657
|
},
|
|
658
658
|
{
|
|
659
659
|
"path": "skill-template/domains/okr.md",
|
|
@@ -131,7 +131,7 @@ weaver-work-cli --json plan run plan.report.create.prepare --input "/path/to/pla
|
|
|
131
131
|
|
|
132
132
|
- `status`:`AWAITING_CONFIRMATION`(可继续确认执行)或 `ALREADY_EXISTS`(该周期报告已存在,不签发 continuation)。
|
|
133
133
|
- `preview`:将要写入的业务内容(新建为完整内容,修改为 `before` / `after` / `changedFields`)。
|
|
134
|
-
- `continuation` + `expiresInSeconds`:确认凭据,默认
|
|
134
|
+
- `continuation` + `expiresInSeconds`:确认凭据,默认 24 小时有效。
|
|
135
135
|
- `link`:本次生效的链路(`standard` / `eb`)。
|
|
136
136
|
|
|
137
137
|
`*.apply` 返回:
|