weaver-work-cli 0.1.42 → 0.1.45
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 +21 -0
- package/dist/chunks/{archive-J4I6MCKF.js → archive-ZQ4A4TV6.js} +399 -47
- package/dist/chunks/{archive-oa-BRZKKTO4.js → archive-oa-BBDP7AKJ.js} +12 -5
- package/dist/chunks/{asset-L7D4FAOZ.js → asset-ZOJVBWZH.js} +11 -4
- package/dist/chunks/{asset-idle-DADLLV75.js → asset-idle-XGB5IPGT.js} +7 -3
- package/dist/chunks/{attachment-content-K4C7VLWQ.js → attachment-content-CE3GMWTS.js} +5 -4
- package/dist/chunks/{blog-BVGQ7NZL.js → blog-QSHLZSFW.js} +11 -4
- package/dist/chunks/caizhilian-KCQYFH72.js +204 -0
- package/dist/chunks/{calendar-Q7NQY5Z2.js → calendar-DLGMRJQA.js} +12 -5
- package/dist/chunks/{chunk-W7BEHOSR.js → chunk-3WBIQLMB.js} +2 -2
- package/dist/chunks/{chunk-4PD5NWAX.js → chunk-3YV7PKRL.js} +2 -2
- package/dist/chunks/{chunk-JPRO6ER2.js → chunk-3ZMAQQ3W.js} +185 -60
- package/dist/chunks/{chunk-R4CHUSKC.js → chunk-4EXOIQDI.js} +40 -10
- package/dist/chunks/{chunk-OOUTBLZ4.js → chunk-56EZERK4.js} +1 -1
- package/dist/chunks/chunk-6N4JPNFL.js +76 -0
- package/dist/chunks/{chunk-SA6VBIHY.js → chunk-6NXT4ICB.js} +342 -17
- package/dist/chunks/{chunk-ZUX3P6BQ.js → chunk-727FH2NI.js} +1 -1
- package/dist/chunks/chunk-762M5XJS.js +215 -0
- package/dist/chunks/{chunk-GEWYMQME.js → chunk-77YP6I52.js} +1 -1
- package/dist/chunks/chunk-7BDPM5ST.js +11 -0
- package/dist/chunks/{chunk-G4UR6NXN.js → chunk-CZNZKOHR.js} +3 -3
- package/dist/chunks/{chunk-GHXCDPTM.js → chunk-DGMYACGJ.js} +1 -1
- package/dist/chunks/{chunk-4RAE6JXP.js → chunk-DLY5GUXX.js} +6 -3
- package/dist/chunks/{chunk-BYBSCN4X.js → chunk-G7PQWD4L.js} +6 -3
- package/dist/chunks/{chunk-EKWAQSLU.js → chunk-GR76ZDDX.js} +432 -2248
- package/dist/chunks/{chunk-APVFJUQH.js → chunk-HFXK54M4.js} +3 -3
- package/dist/chunks/{chunk-EZALDOQH.js → chunk-HP7JIYMT.js} +5 -2
- package/dist/chunks/{chunk-ZEDWSH32.js → chunk-IC62NFM5.js} +1 -1
- package/dist/chunks/{chunk-3KTFS4IA.js → chunk-JB34OE7R.js} +808 -85
- package/dist/chunks/{chunk-72CKAUAG.js → chunk-JWWTI63L.js} +59 -7
- package/dist/chunks/{chunk-P26ZWSKU.js → chunk-KIHNAS25.js} +5 -2
- package/dist/chunks/{chunk-NKZRQXST.js → chunk-LGKWL4OH.js} +200 -47
- package/dist/chunks/chunk-LRCPNDZA.js +2529 -0
- package/dist/chunks/{chunk-QKNKR4RH.js → chunk-LXFVWZLM.js} +4 -4
- package/dist/chunks/{chunk-NOODWMCL.js → chunk-O6CMPO65.js} +25 -2
- package/dist/chunks/{chunk-BIPYLLVS.js → chunk-OAE3AZBQ.js} +15 -15
- package/dist/chunks/chunk-P5GQRWDC.js +60 -0
- package/dist/chunks/{caizhilian-SAADNFD6.js → chunk-PGO4ILMQ.js} +44 -517
- package/dist/chunks/{chunk-2LV74IWP.js → chunk-Q4OYAQYH.js} +1 -1
- package/dist/chunks/{chunk-LDZQPUIA.js → chunk-T4MWQAQB.js} +8 -6
- package/dist/chunks/{chunk-BBKDXQEC.js → chunk-TGAGQV4I.js} +3 -3
- package/dist/chunks/{chunk-GPMFD4RD.js → chunk-TXUG266F.js} +1 -1
- package/dist/chunks/{chunk-FOAA27U5.js → chunk-U6R6FZHD.js} +184 -18
- 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-IZ7S7QUS.js → chunk-VIMCY4DI.js} +6 -6
- package/dist/chunks/chunk-VRPH24IC.js +76 -0
- package/dist/chunks/{chunk-FMPJJYYI.js → chunk-WRXSAVKO.js} +1 -1
- package/dist/chunks/{chunk-YRSZQUD2.js → chunk-YIKSL36S.js} +3 -3
- 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-LADPYOWC.js → chunk-Z6UUBY37.js} +3 -3
- package/dist/chunks/{conflict-F2OMZRTO.js → conflict-IYJETSGT.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-GW6PRWK3.js +12 -0
- 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-5BETHRSG.js → contract-3QLAGYQL.js} +5803 -4593
- package/dist/chunks/{cowork-3MN6EQQO.js → cowork-3ACICHDQ.js} +11 -4
- package/dist/chunks/{create-flow-5FQNNMVO.js → create-flow-7JLC7UID.js} +8 -7
- package/dist/chunks/{ebuilder-form-SBHOYBUD.js → ebuilder-form-GWDTKEI2.js} +14 -9
- package/dist/chunks/{ehr-KMOJULKG.js → ehr-MYRDCHZ4.js} +357 -43
- package/dist/chunks/{employee-SAK2QYXX.js → employee-NOHNXC46.js} +3 -3
- package/dist/chunks/{env-LB7NBL2O.js → env-3MBHAWBL.js} +4 -3
- package/dist/chunks/{esb-W2PJCFCX.js → esb-4BQHNP5C.js} +12 -7
- package/dist/chunks/{factory-6ZFQXQ46.js → factory-TZEVU4DU.js} +3 -2
- package/dist/chunks/{fna-ZQPCUV4R.js → fna-ZVB2IILI.js} +14 -8
- package/dist/chunks/{group-chat-2HHAJN46.js → group-chat-KL3HFKRM.js} +5 -4
- package/dist/chunks/{host-YTODKMSL.js → host-3TNBMDTR.js} +5 -5
- package/dist/chunks/host-7NTIBSPK.js +25 -0
- package/dist/chunks/{host-4CBHGOHT.js → host-7OWWPLM4.js} +5 -5
- package/dist/chunks/{host-ATKVNZAT.js → host-G3VU7SDW.js} +5 -5
- package/dist/chunks/{host-BQH22NTQ.js → host-M4XP5URR.js} +5 -5
- package/dist/chunks/{host-X2CSLFM6.js → host-TUOIOEMC.js} +5 -5
- package/dist/chunks/{hrm-FFM4UJFS.js → hrm-UNKCCCGP.js} +11 -7
- package/dist/chunks/{im-VEHKDQPB.js → im-NJB7ZYMH.js} +8 -7
- package/dist/chunks/{invoice-LVIKSIIF.js → invoice-OQP3TMKQ.js} +636 -1768
- package/dist/chunks/{jiuchuanhui-X6DINO5P.js → jiuchuanhui-ASFZBMPU.js} +14 -6
- package/dist/chunks/{lazy-dispatch-KSWTN5L6.js → lazy-dispatch-UH6HGK2I.js} +7 -6
- package/dist/chunks/{mail-VDKRGUD3.js → mail-M3HJF5ER.js} +16 -14
- package/dist/chunks/{meeting-CLC6HP3Z.js → meeting-C67EHQ4Z.js} +21 -14
- package/dist/chunks/{okr-CHG4OO3U.js → okr-EVX7FB5G.js} +12 -5
- package/dist/chunks/{operations-5QL3AECO.js → operations-62N6EP3C.js} +4 -3
- package/dist/chunks/operations-J7PUIVWZ.js +15 -0
- package/dist/chunks/{plan-XWR75667.js → plan-2QJQEPBO.js} +12 -5
- package/dist/chunks/{project-5BXOOKMG.js → project-XELELW2T.js} +11 -4
- package/dist/chunks/reception-5WITA44R.js +1899 -0
- package/dist/chunks/{recruit-stage-DGMFNNDE.js → recruit-stage-AHY5QAMF.js} +745 -149
- package/dist/chunks/{registry-RHMW6ANW.js → registry-AQVGHUM6.js} +7 -6
- package/dist/chunks/{registry-OZSMDVPP.js → registry-PVUZQDDQ.js} +3 -3
- package/dist/chunks/{registry-7FFOXIAW.js → registry-QJCZ2GVG.js} +7 -6
- package/dist/chunks/{registry-Z43434VG.js → registry-VWXWPVAG.js} +4 -4
- package/dist/chunks/registry-XPWPGHYE.js +24 -0
- package/dist/chunks/{room-recommend-62H7ZQQ6.js → room-recommend-CNWE5WQK.js} +8 -5
- package/dist/chunks/{schedule-FNXKH3DQ.js → schedule-YYNYBQIE.js} +6 -5
- package/dist/chunks/{workflow-ADHKCAJK.js → workflow-BSYT5TGL.js} +15 -8
- 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 +37 -31
- package/dist/internal/e10/auth/commands.js +195 -8
- package/dist/internal/e10/auth/error-log.js +312 -0
- package/dist/internal/e10/auth/session.js +17 -3
- package/dist/internal/e10/auth/xiaoe.js +176 -13
- package/dist/internal/e10/auth-recovery.js +39 -12
- package/dist/internal/e10/context.js +29 -3
- 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/borrow-list.js +105 -14
- package/dist/shortcuts/archive/operations/confirm.js +2 -1
- package/dist/shortcuts/archive/operations/flow-url.js +182 -22
- package/dist/shortcuts/archive/operations/getPageUrl.js +75 -0
- package/dist/shortcuts/archive/operations/prelib.js +33 -4
- package/dist/shortcuts/archive/operations/shared.js +52 -0
- 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/write.js +1 -1
- package/dist/shortcuts/contract/continuation.js +2 -1
- package/dist/shortcuts/contract/host.js +111 -4
- package/dist/shortcuts/contract/index.js +21 -0
- package/dist/shortcuts/contract/manifest.js +125 -0
- package/dist/shortcuts/contract/ooxml/clause-insert.js +249 -0
- package/dist/shortcuts/contract/operations/clause-insert.js +56 -0
- package/dist/shortcuts/contract/operations/customer.js +192 -0
- package/dist/shortcuts/contract/operations/file-download.js +75 -0
- package/dist/shortcuts/contract/operations/flow.js +44 -2
- package/dist/shortcuts/contract/operations/form-info.js +162 -62
- package/dist/shortcuts/contract/operations/registry.js +8 -0
- package/dist/shortcuts/contract/operations/review.js +116 -1
- package/dist/shortcuts/contract/operations/summary.js +177 -0
- package/dist/shortcuts/contract/operations/upload.js +64 -4
- package/dist/shortcuts/contract/operations/write.js +2 -1
- package/dist/shortcuts/contract/upload-cache.js +104 -0
- package/dist/shortcuts/cowork/continuation.js +2 -1
- package/dist/shortcuts/cowork/index.js +2 -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 +1 -1
- package/dist/shortcuts/ehr/operations/recruit-candidate-import.js +186 -5
- package/dist/shortcuts/ehr/operations/recruit-position.js +239 -6
- package/dist/shortcuts/ehr/operations/recruit-write.js +18 -19
- package/dist/shortcuts/ehr/operations/recruit.js +17 -5
- 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/employee.js +29 -1
- package/dist/shortcuts/im/continuation.js +2 -1
- package/dist/shortcuts/index.js +5 -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/create-flow.js +198 -65
- package/dist/shortcuts/meeting/operations/eb/decision.js +1 -1
- package/dist/shortcuts/meeting/operations/eb/draft-memory.js +56 -0
- package/dist/shortcuts/meeting/operations/eb/factory.js +59 -4
- package/dist/shortcuts/meeting/operations/eb/person-cache.js +2 -2
- package/dist/shortcuts/meeting/operations/eb/room-recommend.js +47 -5
- package/dist/shortcuts/meeting/operations/invitation-publish.js +132 -0
- package/dist/shortcuts/meeting/operations/lifecycle.js +1 -1
- package/dist/shortcuts/meeting/operations/receipts.js +1 -1
- package/dist/shortcuts/meeting/operations/registry.js +2 -0
- 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/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 +145 -33
- package/dist/shortcuts/recruit-stage/continuation.js +2 -1
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +86 -16
- package/dist/shortcuts/recruit-stage/operations/interview-feedback.js +6 -4
- package/dist/shortcuts/recruit-stage/operations/jd-create.js +289 -48
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +207 -25
- package/dist/shortcuts/recruit-stage/shared.js +161 -18
- package/dist/shortcuts/workflow/continuation.js +2 -1
- package/dist/shortcuts/workflow/index.js +4 -0
- package/dist/shortcuts/workflow/operations/form.js +32 -8
- package/dist/shortcuts/workflow/operations/read.js +8 -3
- package/dist/shortcuts/workflow/operations/todoSmartConvert/aigroupRules.js +92 -5
- package/dist/shortcuts/workflow/operations/todoSmartConvert/priorityExpr.js +509 -0
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoListRows.js +22 -1
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.collect.js +32 -6
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.core.js +57 -11
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.group.js +165 -52
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.js +57 -14
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.smartGroup.js +44 -18
- 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 +2 -1
- package/docs/e10-auth.md +19 -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/reception.md +119 -0
- package/docs/todo-smart-convert/data-contract.md +7 -0
- package/package.json +1 -1
- package/scripts/clean.mjs +43 -2
- package/skill-template/business-info.json +18 -2
- package/skill-template/domains/caizhilian.md +1 -1
- package/skill-template/domains/jinchengda.md +2 -0
- package/skill-template/domains/reception-flow.md +18 -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/references/calendar-write.md +1 -1
- package/skills/weaver-e10-cowork/SKILL.md +1 -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/SKILL.md +198 -205
- package/skills/weaver-e10-jinchengda/references/contract-action-card.md +759 -0
- package/skills/weaver-e10-jinchengda/references/contract-action-engine.md +250 -0
- package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +146 -7
- package/skills/weaver-e10-jinchengda/references/contract-clause-insert.md +178 -0
- 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-command-index.md +75 -0
- package/skills/weaver-e10-jinchengda/references/contract-compare-report-template.html +137 -0
- package/skills/weaver-e10-jinchengda/references/contract-compare-report.md +163 -0
- package/skills/weaver-e10-jinchengda/references/contract-credit-page.md +52 -3
- package/skills/weaver-e10-jinchengda/references/contract-doc-compare.md +92 -5
- package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +602 -0
- package/skills/weaver-e10-jinchengda/references/contract-element-extract.md +209 -0
- package/skills/weaver-e10-jinchengda/references/contract-execution-rules.md +126 -0
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-new-customer.md +312 -0
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +555 -0
- package/skills/weaver-e10-jinchengda/references/contract-flow-launch.md +47 -12
- package/skills/weaver-e10-jinchengda/references/contract-object-detect.md +469 -0
- package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +154 -1
- package/skills/weaver-e10-jinchengda/references/contract-request-write.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-type-fingerprints.md +224 -0
- package/skills/weaver-e10-jinchengda/references/orchestration.md +355 -0
- 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 +2 -2
- package/skills/weaver-e10-jucailin/references/recruit-create.md +15 -4
- package/skills/weaver-e10-jucailin/references/recruit-write.md +3 -3
- package/skills/weaver-e10-meeting/SKILL.md +64 -14
- 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 +19 -10
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +10 -2
- package/skills/weaver-e10-recruit-stage/lib/recruit-xiaoe-file.mjs +1 -1
- package/skills/weaver-e10-recruit-stage/lib/xiaoe-session.mjs +66 -0
- package/skills/weaver-e10-recruit-stage/references/position-templates.md +204 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +13 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +29 -6
- package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +27 -14
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +21 -2
- package/skills/weaver-e10-shared/references/e10-auth-and-session.md +9 -1
- package/skills/weaver-e10-shijingran/SKILL.md +5 -5
- package/skills/weaver-e10-shijingran/references/source-manifest.json +37 -36
- package/skills/weaver-e10-skill-maker/references/module-cli-generation.md +2 -0
- package/skills/weaver-e10-wenshuding/SKILL.md +17 -7
- package/skills/weaver-e10-wenshuding/references/archive-borrow-list.md +28 -0
- package/skills/weaver-e10-wenshuding/references/archive-flow.md +24 -8
- package/skills/weaver-e10-wenshuding/references/archive-prelib-list.md +3 -0
- package/skills/weaver-e10-wenshuding/references/archive-prelib-open.md +4 -0
- package/skills/weaver-e10-wenshuding/references/archive-search.md +3 -1
- package/skills/weaver-e10-wenshuding/references/source-manifest.json +3 -3
- package/skills/weaver-e10-workflow/SKILL.md +19 -17
- package/skills/weaver-e10-workflow/aigroup/default.json +10 -6
- package/skills/weaver-e10-workflow/references/source-manifest.json +32 -32
- package/skills/weaver-e10-workflow/references/todo-smart-convert.md +36 -3
- package/skills/weaver-e10-workflow/references/workflow-memory.md +1 -1
- package/skills/weaver-e10-workflow/references/workflow-query.md +9 -6
- package/skills/weaver-e10-workflow/tools/todo-summary.cjs +152 -1
- package/skills/weaver-e10-yepiaotong/SKILL.md +19 -26
- 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 +18 -6
- package/skills/weaver-e10-yimiaoban/references/msg-write.md +31 -1
- package/skills/weaver-e10-yimiaoban/references/safety-boundaries.md +1 -1
- package/skills/weaver-e10-yimiaoban/references/session-sysmsg.md +72 -0
- package/skills/weaver-e10-yimiaoban/references/source-manifest.json +11 -11
- package/dist/chunks/chunk-TTPJJJC4.js +0 -465
- package/dist/chunks/registry-BKBZPBAJ.js +0 -23
- 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
|
@@ -1178,7 +1178,7 @@
|
|
|
1178
1178
|
"source": "scripts/publish-blog.mjs(无 continuation 概念)",
|
|
1179
1179
|
"inputSchema": "continuation",
|
|
1180
1180
|
"status": "converted",
|
|
1181
|
-
"facts": "CLI 新增:prepare 签发、apply 校验,
|
|
1181
|
+
"facts": "CLI 新增:prepare 签发、apply 校验,24 小时有效"
|
|
1182
1182
|
},
|
|
1183
1183
|
{
|
|
1184
1184
|
"parameter": "显式确认",
|
|
@@ -1493,14 +1493,14 @@
|
|
|
1493
1493
|
{
|
|
1494
1494
|
"path": "docs/blog.md",
|
|
1495
1495
|
"type": "file",
|
|
1496
|
-
"size":
|
|
1497
|
-
"sha256": "
|
|
1496
|
+
"size": 7981,
|
|
1497
|
+
"sha256": "fb64f97fbd75d0e0481411fe2c154825ebe77473c71e741ca76b1f1c7eb9ba20"
|
|
1498
1498
|
},
|
|
1499
1499
|
{
|
|
1500
1500
|
"path": "test/business/blog-operations.test.ts",
|
|
1501
1501
|
"type": "file",
|
|
1502
|
-
"size":
|
|
1503
|
-
"sha256": "
|
|
1502
|
+
"size": 40498,
|
|
1503
|
+
"sha256": "c8696c027fc9245274876182abc8f76a908bc1addf7883f51debc357dd94ae8b"
|
|
1504
1504
|
},
|
|
1505
1505
|
{
|
|
1506
1506
|
"path": "test/business/blog-host.test.ts",
|
|
@@ -1511,8 +1511,8 @@
|
|
|
1511
1511
|
{
|
|
1512
1512
|
"path": "skill-template/business-info.json",
|
|
1513
1513
|
"type": "file",
|
|
1514
|
-
"size":
|
|
1515
|
-
"sha256": "
|
|
1514
|
+
"size": 10383,
|
|
1515
|
+
"sha256": "a7f3fbedf68c9ec9f460c917ff2870da64540030eea3529c905792ca15bd4758"
|
|
1516
1516
|
},
|
|
1517
1517
|
{
|
|
1518
1518
|
"path": "skill-template/domains/blog.md",
|
|
@@ -6056,27 +6056,27 @@
|
|
|
6056
6056
|
}
|
|
6057
6057
|
],
|
|
6058
6058
|
"artifactBaseline": {
|
|
6059
|
-
"aggregateSha256": "
|
|
6059
|
+
"aggregateSha256": "d9cb101d708ecdb491fd55beb3ea7b8f8d7ff27b0d3ef74940207e616ff970a8",
|
|
6060
6060
|
"files": [
|
|
6061
6061
|
{
|
|
6062
6062
|
"path": "docs/_catalog.md",
|
|
6063
|
-
"size":
|
|
6064
|
-
"sha256": "
|
|
6063
|
+
"size": 6236,
|
|
6064
|
+
"sha256": "3ffe3896fbecc4586aac19ebb7fa6e11ab6ad1090a78fbfe4f1313614ce034cb"
|
|
6065
6065
|
},
|
|
6066
6066
|
{
|
|
6067
6067
|
"path": "docs/caizhilian.md",
|
|
6068
6068
|
"size": 26779,
|
|
6069
|
-
"sha256": "
|
|
6069
|
+
"sha256": "7ac6eedca701199f9c2e8810f4cf304d52cb81e6a6e40461cb944da171c84a76"
|
|
6070
6070
|
},
|
|
6071
6071
|
{
|
|
6072
6072
|
"path": "skill-template/business-info.json",
|
|
6073
|
-
"size":
|
|
6074
|
-
"sha256": "
|
|
6073
|
+
"size": 10383,
|
|
6074
|
+
"sha256": "a7f3fbedf68c9ec9f460c917ff2870da64540030eea3529c905792ca15bd4758"
|
|
6075
6075
|
},
|
|
6076
6076
|
{
|
|
6077
6077
|
"path": "skill-template/domains/caizhilian.md",
|
|
6078
6078
|
"size": 3575,
|
|
6079
|
-
"sha256": "
|
|
6079
|
+
"sha256": "9bff99e5337acbb5ca8d888933f62fd82d1a9bf4cc1dcc27da4b75e9e21fb968"
|
|
6080
6080
|
},
|
|
6081
6081
|
{
|
|
6082
6082
|
"path": "skills/weaver-e10-caizhilian/references/agent-entry.md",
|
|
@@ -6120,8 +6120,8 @@
|
|
|
6120
6120
|
},
|
|
6121
6121
|
{
|
|
6122
6122
|
"path": "skills/weaver-e10-caizhilian/references/write-protocol.md",
|
|
6123
|
-
"size":
|
|
6124
|
-
"sha256": "
|
|
6123
|
+
"size": 10715,
|
|
6124
|
+
"sha256": "7ae9f6f852ba11f6d8124e6bbed0555402bbdf3eac949b0d51e719d4c8feff4d"
|
|
6125
6125
|
},
|
|
6126
6126
|
{
|
|
6127
6127
|
"path": "skills/weaver-e10-caizhilian/SKILL.md",
|
|
@@ -6130,13 +6130,13 @@
|
|
|
6130
6130
|
},
|
|
6131
6131
|
{
|
|
6132
6132
|
"path": "src/internal/e10/request-runtime.ts",
|
|
6133
|
-
"size":
|
|
6134
|
-
"sha256": "
|
|
6133
|
+
"size": 25852,
|
|
6134
|
+
"sha256": "8287790d7d2bb2d9e283dcbd413252151f9c75ef8198cb81ccc6910b7c2bd48a"
|
|
6135
6135
|
},
|
|
6136
6136
|
{
|
|
6137
6137
|
"path": "src/shortcuts/caizhilian/continuation.ts",
|
|
6138
|
-
"size":
|
|
6139
|
-
"sha256": "
|
|
6138
|
+
"size": 3377,
|
|
6139
|
+
"sha256": "e05375ee4fe6385c86ba85a9b3b04ad7ae5e50159d3712f576204a2b4aee26b6"
|
|
6140
6140
|
},
|
|
6141
6141
|
{
|
|
6142
6142
|
"path": "src/shortcuts/caizhilian/errors.ts",
|
|
@@ -6165,13 +6165,13 @@
|
|
|
6165
6165
|
},
|
|
6166
6166
|
{
|
|
6167
6167
|
"path": "src/shortcuts/caizhilian/host.ts",
|
|
6168
|
-
"size":
|
|
6169
|
-
"sha256": "
|
|
6168
|
+
"size": 11858,
|
|
6169
|
+
"sha256": "5a87e7411fa0d67d01afc048a40d3c2440bcd3d7a6768dd4a40af7fec0898097"
|
|
6170
6170
|
},
|
|
6171
6171
|
{
|
|
6172
6172
|
"path": "src/shortcuts/caizhilian/index.ts",
|
|
6173
|
-
"size":
|
|
6174
|
-
"sha256": "
|
|
6173
|
+
"size": 8454,
|
|
6174
|
+
"sha256": "42df4f02bbffce1d4f019b60ea7d83cd6b1d60ed82065ac2d9b276fea6ff5c19"
|
|
6175
6175
|
},
|
|
6176
6176
|
{
|
|
6177
6177
|
"path": "src/shortcuts/caizhilian/manifest.ts",
|
|
@@ -6190,8 +6190,8 @@
|
|
|
6190
6190
|
},
|
|
6191
6191
|
{
|
|
6192
6192
|
"path": "src/shortcuts/caizhilian/operations/confirm.ts",
|
|
6193
|
-
"size":
|
|
6194
|
-
"sha256": "
|
|
6193
|
+
"size": 4701,
|
|
6194
|
+
"sha256": "e26af204811035953ffa6de121801708e640976a60d0b98dd0504c8940407397"
|
|
6195
6195
|
},
|
|
6196
6196
|
{
|
|
6197
6197
|
"path": "src/shortcuts/caizhilian/operations/files.ts",
|
|
@@ -6260,8 +6260,8 @@
|
|
|
6260
6260
|
},
|
|
6261
6261
|
{
|
|
6262
6262
|
"path": "src/shortcuts/index.ts",
|
|
6263
|
-
"size":
|
|
6264
|
-
"sha256": "
|
|
6263
|
+
"size": 8426,
|
|
6264
|
+
"sha256": "d1b5fe76045aa2532c859f20ceeb7a5c415cc34b7a36bda0a2699c1cac34eee3"
|
|
6265
6265
|
},
|
|
6266
6266
|
{
|
|
6267
6267
|
"path": "test/business/caizhilian-command.test.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
### 票据(continuation)约束
|
|
19
19
|
|
|
20
|
-
- 有效期 **
|
|
20
|
+
- 有效期 **24 小时**(`expires_in_ms`,86400000),过期报 `continuation_expired`,必须重新 prepare。
|
|
21
21
|
- 票据里绑定了 **baseUrl + 登录账号**:换环境或换账号后复用会报 `continuation_context_mismatch`。
|
|
22
22
|
- 票据绑定 **目标 apply 操作名**:把 A 操作的票据用于 B 操作报 `continuation_mismatch`。
|
|
23
23
|
- 票据里存了 prepare 时的**入参指纹**(排除 `confirm` / `continuation`):apply 入参与 prepare 不一致报 `continuation_args_changed`;关键字段(如 `doc_id`)单独漂移报 `continuation_target_changed`。
|
|
@@ -114,7 +114,7 @@ weaver-work-cli --json caizhilian run caizhilian.share.add.apply --input-json '{
|
|
|
114
114
|
| `confirmation/required` | apply 缺 `confirm: true` | 先向用户摘要并取得确认,再加 `--yes` 重跑 apply |
|
|
115
115
|
| `validation/continuation_required` | apply 缺 `continuation` | 先跑 prepare 拿票据 |
|
|
116
116
|
| `validation/continuation_invalid` | 票据签名校验失败或无法解析 | 重新 prepare;不要修改票据字符串 |
|
|
117
|
-
| `validation/continuation_expired` | 超过
|
|
117
|
+
| `validation/continuation_expired` | 超过 24 小时有效期 | 重新 prepare |
|
|
118
118
|
| `validation/continuation_mismatch` | 票据被用于别的 apply 操作 | 用对应操作的 prepare 重新签发 |
|
|
119
119
|
| `validation/continuation_context_mismatch` | 环境(baseUrl)或登录账号已变 | 确认目标环境后重新 prepare |
|
|
120
120
|
| `validation/continuation_target_changed` | 关键字段(如 `doc_id`)与 prepare 不一致 | 重新 prepare |
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
3. 用户明确确认后调用 `apply`,必须带 `confirm=true` 和 prepare 返回的 continuation。
|
|
20
20
|
4. `apply` 校验 session、目标 ID 和字段指纹未变化;网络中断返回 `partial/write_uncertain`,**禁止自动重试**,先做只读回查。
|
|
21
21
|
|
|
22
|
-
continuation 绑定当前登录环境与操作人,
|
|
22
|
+
continuation 绑定当前登录环境与操作人,24 小时有效。租户或账号变化触发 `context_mismatch`,字段与 prepare 快照不一致触发 `target_changed`,均需重新 `prepare`。
|
|
23
23
|
|
|
24
24
|
## 时间冲突检查(创建 / 修改时间前必做)
|
|
25
25
|
|
|
@@ -7,7 +7,7 @@ description: E10协作模块技能,认证由weaver-e10-shared与weaver-work-cl
|
|
|
7
7
|
description_zh: E10协作模块技能,经weaver-e10-shared托管的CLI会话直调协作REST接口,支持按主题查询协作列表、查询协作详情,以及审批与退出、共享权限、行为等操作;秒级返回结构化结果;禁用浏览器自动化路径,所有接口地址与会话凭证由weaver-work-cli统一提供。
|
|
8
8
|
description_en: E10 Cowork skill that calls cowork REST APIs directly with a CLI-managed session described by weaver-e10-shared, supporting list-by-topic, detail queries, approval/quit, share-permission and behavior operations in seconds; browser automation disabled; all endpoint URLs and credentials are provided by weaver-work-cli.
|
|
9
9
|
category: business
|
|
10
|
-
version: 2.0.
|
|
10
|
+
version: 2.0.4
|
|
11
11
|
author: 泛微网络科技股份有限公司
|
|
12
12
|
permissions: [network]
|
|
13
13
|
execution:
|
|
@@ -67,7 +67,7 @@ weaver-work-cli --json ebuilder-form run <operation> --input-json '<json>'
|
|
|
67
67
|
3. 页面列表查询必须按 `context.listKind` 分流:`List` 用 `list.*`,`NList` 用 `nlist.*`。不要把两套接口互相试跑。
|
|
68
68
|
4. 表单级数据查询或写入必须先确认接口族:有 `objId` 走 OpenAPI;有 `interfacePk` 且用户明确是已发布自定义接口时走 `custom.*`;两者同时出现且用户没有指定时先消歧。
|
|
69
69
|
5. 字段显示名(`text`)不能直接当写入键:通常用字段的 `name`;自定义字段若 `name == id`,或目标接口明确要求组件数据键时,改用 `config.dataKey`。写入前用 `fields.get` 核对真实字段。选择类字段写入选项 `id`,不写选项名称。
|
|
70
|
-
6. 新增、修改、删除必须先 prepare。prepare 返回 `requestPreview` 和
|
|
70
|
+
6. 新增、修改、删除必须先 prepare。prepare 返回 `requestPreview` 和 24 小时有效的 `continuation`;向用户摘要目标、字段、数量和风险,得到明确确认后 apply。
|
|
71
71
|
|
|
72
72
|
## 写操作失败决策树
|
|
73
73
|
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
| `pageNo` / `pageSize` | 分页 |
|
|
36
36
|
| `operationinfo` | 操作备注(可选) |
|
|
37
37
|
|
|
38
|
-
写操作同样遵循 prepare → 用户确认 → apply 两段式,continuation 有效期
|
|
38
|
+
写操作同样遵循 prepare → 用户确认 → apply 两段式,continuation 有效期 24 小时,规则与 [`openapi-write.md`](openapi-write.md) 一致。
|
|
39
39
|
|
|
40
40
|
## 处理链
|
|
41
41
|
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
### apply 参数
|
|
35
35
|
|
|
36
|
-
`confirm` 必须显式为 `true`;`continuation` 必须原样回传 prepare 的返回值。continuation 有效期 **
|
|
36
|
+
`confirm` 必须显式为 `true`;`continuation` 必须原样回传 prepare 的返回值。continuation 有效期 **24 小时**,绑定 operation 与提交内容。
|
|
37
37
|
|
|
38
38
|
## 处理链(缺一步即失败)
|
|
39
39
|
|
|
@@ -50,7 +50,7 @@ weaver-work-cli --json esb run <operation> --input-json '<json>'
|
|
|
50
50
|
|
|
51
51
|
1. **确认目标动作流**:用户给的是动作流 ID。只给名称时向用户索取 ID(或 `primary_key`),不要猜测。
|
|
52
52
|
2. **取模板(推荐)**:`esb.input-format` 取回 `customParams` 模板,按模板组装业务字段;模板中的 `#可选` 占位替换为真实值或删除。
|
|
53
|
-
3. **prepare**:`esb.trigger.prepare` 做只读回查与请求体组装,返回 `requestPreview` 与 `continuation`(有效期
|
|
53
|
+
3. **prepare**:`esb.trigger.prepare` 做只读回查与请求体组装,返回 `requestPreview` 与 `continuation`(有效期 24 小时)。此步不触发动作流。
|
|
54
54
|
4. **向用户确认**:把目标动作流、触发人员、请求体摘要和副作用风险展示给用户,取得明确确认。
|
|
55
55
|
5. **apply**:`esb.trigger.apply` 传 `continuation` 与 `confirm: true` 执行。`confirm` 必须显式为 `true`。
|
|
56
56
|
6. **结果判读**:`resultCode=200` 为成功,按 `followUp` 与 `actionData` 处理页面动作、提醒与返回数据。
|
|
@@ -81,7 +81,7 @@ weaver-work-cli --json esb run <operation> --input-json '<json>'
|
|
|
81
81
|
|
|
82
82
|
## 安全边界
|
|
83
83
|
|
|
84
|
-
- **🔴 写操作必须走确认链**:`esb.trigger.apply` 需要 `confirm: true` 且 continuation 有效期
|
|
84
|
+
- **🔴 写操作必须走确认链**:`esb.trigger.apply` 需要 `confirm: true` 且 continuation 有效期 24 小时,禁止跳过 prepare 直接触发。
|
|
85
85
|
- **🔴 `write_uncertain` 不重试**:触发请求发出后网络中断时结果不可判定,自动重试可能造成重复执行。
|
|
86
86
|
- **唯一值触发有歧义**:同一租户下存在相同唯一值的多条动作流时,系统只执行 `create_time` 最新的一条;需要精确控制时改用 `esbFlowId`。
|
|
87
87
|
- **认证由 CLI 托管**:禁止自行拼接 Cookie / ETEAMSID / User-Agent,禁止绕过 `weaver-work-cli` 直接调用 E10 接口。
|
|
@@ -104,27 +104,27 @@
|
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
"artifactBaseline": {
|
|
107
|
-
"aggregateSha256": "
|
|
107
|
+
"aggregateSha256": "0d0a53429763f85cb890982c9d511fb8b1e87bd7afd2f7a1986040a73d9f4546",
|
|
108
108
|
"files": [
|
|
109
109
|
{
|
|
110
110
|
"path": "docs/_catalog.md",
|
|
111
|
-
"size":
|
|
112
|
-
"sha256": "
|
|
111
|
+
"size": 6236,
|
|
112
|
+
"sha256": "3ffe3896fbecc4586aac19ebb7fa6e11ab6ad1090a78fbfe4f1313614ce034cb"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"path": "docs/esb.md",
|
|
116
116
|
"size": 4001,
|
|
117
|
-
"sha256": "
|
|
117
|
+
"sha256": "eaab366a39ce99451a14f5e418e08b0196206440e0c2dfac5b5165a5eb25f42c"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
"path": "docs/SKILL.md",
|
|
121
|
-
"size":
|
|
122
|
-
"sha256": "
|
|
121
|
+
"size": 5009,
|
|
122
|
+
"sha256": "9ff7f21bd833e7e18856bb46a3af1667740c1ab743c448184f72286ea27447df"
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
"path": "skill-template/business-info.json",
|
|
126
|
-
"size":
|
|
127
|
-
"sha256": "
|
|
126
|
+
"size": 10383,
|
|
127
|
+
"sha256": "a7f3fbedf68c9ec9f460c917ff2870da64540030eea3529c905792ca15bd4758"
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"path": "skill-template/domains/esb.md",
|
|
@@ -144,18 +144,18 @@
|
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
"path": "skills/weaver-e10-esb/references/trigger.md",
|
|
147
|
-
"size":
|
|
148
|
-
"sha256": "
|
|
147
|
+
"size": 5116,
|
|
148
|
+
"sha256": "ca527e120d64698612e07b0e68ad10785e2cd8f5a5aa6fe93ca6b50d4f0ea98d"
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
"path": "skills/weaver-e10-esb/SKILL.md",
|
|
152
|
-
"size":
|
|
153
|
-
"sha256": "
|
|
152
|
+
"size": 9274,
|
|
153
|
+
"sha256": "fe8fff4725eb410c82be978cd9dbfb6528338cfbbdabc547ab6d0c4e67d03a0c"
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
"path": "src/shortcuts/esb/continuation.ts",
|
|
157
|
-
"size":
|
|
158
|
-
"sha256": "
|
|
157
|
+
"size": 3307,
|
|
158
|
+
"sha256": "c7b0d9c2ae5927282e580e20f54eb55ac7dbc677c92d7e6e7f2afa19d2919ff2"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
"path": "src/shortcuts/esb/errors.ts",
|
|
@@ -164,13 +164,13 @@
|
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
"path": "src/shortcuts/esb/host.ts",
|
|
167
|
-
"size":
|
|
168
|
-
"sha256": "
|
|
167
|
+
"size": 9221,
|
|
168
|
+
"sha256": "6c8b14be10fc996b9d0dca99d5bb99d9bf801d868487c51a0f7ebd776a5cd106"
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
"path": "src/shortcuts/esb/index.ts",
|
|
172
|
-
"size":
|
|
173
|
-
"sha256": "
|
|
172
|
+
"size": 4664,
|
|
173
|
+
"sha256": "32021e988f7fd4d5b09ee8d070f7c0281e5f924a7b405cce24ec0eaa62fc72bf"
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
"path": "src/shortcuts/esb/manifest.ts",
|
|
@@ -199,8 +199,8 @@
|
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
"path": "src/shortcuts/esb/operations/trigger.ts",
|
|
202
|
-
"size":
|
|
203
|
-
"sha256": "
|
|
202
|
+
"size": 4528,
|
|
203
|
+
"sha256": "6334c08530e5449f216c95e952d57104bb465132200fe0139dce3b55fb205a87"
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
206
|
"path": "src/shortcuts/esb/operations/types.ts",
|
|
@@ -209,8 +209,8 @@
|
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
"path": "src/shortcuts/index.ts",
|
|
212
|
-
"size":
|
|
213
|
-
"sha256": "
|
|
212
|
+
"size": 8426,
|
|
213
|
+
"sha256": "d1b5fe76045aa2532c859f20ceeb7a5c415cc34b7a36bda0a2699c1cac34eee3"
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
216
|
"path": "test/business/esb-command.test.ts",
|
|
@@ -53,7 +53,7 @@ JSON
|
|
|
53
53
|
weaver-work-cli --json esb run esb.trigger.prepare --input ./esb-params.json
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
`data` 返回 `target`(触发方式与标识)、`requestPreview`(即将发出的请求体)、`templateFields` 与 `continuation`(有效期
|
|
56
|
+
`data` 返回 `target`(触发方式与标识)、`requestPreview`(即将发出的请求体)、`templateFields` 与 `continuation`(有效期 86400 秒,即 24 小时)。
|
|
57
57
|
|
|
58
58
|
### 2. apply(真实触发)
|
|
59
59
|
|
|
@@ -84,7 +84,7 @@ weaver-work-cli --json esb run esb.trigger.apply --input-json '{"continuation":"
|
|
|
84
84
|
## 注意
|
|
85
85
|
|
|
86
86
|
- **副作用**:触发动作流会真实执行业务逻辑,可能修改业务数据、发送通知或触发下游流程。执行前必须把目标动作流、触发人员、`requestPreview` 和风险摘要展示给用户,并取得明确确认。
|
|
87
|
-
- **continuation 绑定**:continuation 与签发时的登录身份绑定,有效期
|
|
87
|
+
- **continuation 绑定**:continuation 与签发时的登录身份绑定,有效期 24 小时;过期或身份变化需重新 prepare。
|
|
88
88
|
- **唯一值触发**:同一租户下多条动作流可能有相同唯一值,系统只执行 `create_time` 最新的一条;需要精确控制时改用 `esbFlowId`。
|
|
89
89
|
- **限流**:短时间重复触发可能被幂等限流(`throttled`)拒绝,禁止高频重试。
|
|
90
90
|
|