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
|
@@ -2,33 +2,33 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
meetingEbGroupChatOperations
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OAE3AZBQ.js";
|
|
6
6
|
import {
|
|
7
7
|
meetingEbCreateFlowOperations
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LGKWL4OH.js";
|
|
9
9
|
import {
|
|
10
10
|
ebRoomRecommendOperation,
|
|
11
11
|
recommendRooms,
|
|
12
12
|
rememberFrequentRoom
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4EXOIQDI.js";
|
|
14
14
|
import {
|
|
15
15
|
meetingEbScheduleOperations
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VIMCY4DI.js";
|
|
17
17
|
import {
|
|
18
18
|
ebMeetingWritePreflight,
|
|
19
19
|
meetingEbConflictOperations
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LXFVWZLM.js";
|
|
21
21
|
import {
|
|
22
22
|
PENDING_MARK,
|
|
23
23
|
listMeetingAttachments,
|
|
24
24
|
meetingAttachmentContentOperations,
|
|
25
25
|
renderDocx
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3WBIQLMB.js";
|
|
27
27
|
import {
|
|
28
28
|
meetingEnvOperations,
|
|
29
29
|
meetingStateDir,
|
|
30
30
|
resolveMeetingEnvMode
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-77YP6I52.js";
|
|
32
32
|
import {
|
|
33
33
|
EB_BASE,
|
|
34
34
|
EB_ENDPOINTS,
|
|
@@ -60,7 +60,10 @@ import {
|
|
|
60
60
|
toIdString,
|
|
61
61
|
verifyLease,
|
|
62
62
|
writeBody
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-JWWTI63L.js";
|
|
64
|
+
import {
|
|
65
|
+
CONTINUATION_TTL_SECONDS
|
|
66
|
+
} from "./chunk-7BDPM5ST.js";
|
|
64
67
|
|
|
65
68
|
// src/shortcuts/meeting/operations/meetings.ts
|
|
66
69
|
function overlapsDate(beginDatetime, endDatetime, date) {
|
|
@@ -429,7 +432,6 @@ var meetingConflictOperations = [
|
|
|
429
432
|
|
|
430
433
|
// src/shortcuts/meeting/operations/change.ts
|
|
431
434
|
import { createHash } from "node:crypto";
|
|
432
|
-
var CONTINUATION_TTL_SECONDS = 600;
|
|
433
435
|
var LIST_PATH = "/api/meeting/search/getMeetingList";
|
|
434
436
|
function fingerprint2(value) {
|
|
435
437
|
return createHash("sha256").update(JSON.stringify(value ?? null)).digest("hex").slice(0, 32);
|
|
@@ -669,7 +671,6 @@ var meetingChangeOperations = [
|
|
|
669
671
|
|
|
670
672
|
// src/shortcuts/meeting/operations/create.ts
|
|
671
673
|
import { createHash as createHash2 } from "node:crypto";
|
|
672
|
-
var CONTINUATION_TTL_SECONDS2 = 600;
|
|
673
674
|
function fingerprint3(value) {
|
|
674
675
|
return createHash2("sha256").update(JSON.stringify(value ?? null)).digest("hex").slice(0, 32);
|
|
675
676
|
}
|
|
@@ -903,13 +904,13 @@ var meetingCreatePrepare = {
|
|
|
903
904
|
payload: body,
|
|
904
905
|
fingerprint: fingerprint3(body)
|
|
905
906
|
},
|
|
906
|
-
|
|
907
|
+
CONTINUATION_TTL_SECONDS * 1e3
|
|
907
908
|
);
|
|
908
909
|
return meetingSuccess("meeting.create.prepare", {
|
|
909
910
|
status: "AWAITING_CONFIRMATION",
|
|
910
911
|
preview: body,
|
|
911
912
|
continuation: token,
|
|
912
|
-
expiresInSeconds:
|
|
913
|
+
expiresInSeconds: CONTINUATION_TTL_SECONDS
|
|
913
914
|
}, { warnings });
|
|
914
915
|
}
|
|
915
916
|
};
|
|
@@ -999,7 +1000,6 @@ var meetingCreateOperations = [
|
|
|
999
1000
|
|
|
1000
1001
|
// src/shortcuts/meeting/operations/lifecycle.ts
|
|
1001
1002
|
import { createHash as createHash3 } from "node:crypto";
|
|
1002
|
-
var CONTINUATION_TTL_SECONDS3 = 600;
|
|
1003
1003
|
function fingerprint4(value) {
|
|
1004
1004
|
return createHash3("sha256").update(JSON.stringify(value ?? null)).digest("hex").slice(0, 32);
|
|
1005
1005
|
}
|
|
@@ -1053,13 +1053,13 @@ function lifecyclePair(spec) {
|
|
|
1053
1053
|
payload: { id },
|
|
1054
1054
|
fingerprint: fingerprint4({ id })
|
|
1055
1055
|
},
|
|
1056
|
-
|
|
1056
|
+
CONTINUATION_TTL_SECONDS * 1e3
|
|
1057
1057
|
);
|
|
1058
1058
|
return meetingSuccess(prepareName, {
|
|
1059
1059
|
status: "AWAITING_CONFIRMATION",
|
|
1060
1060
|
preview: { action: spec.action, id, body: spec.bodyOf(id), note: spec.note },
|
|
1061
1061
|
continuation: token,
|
|
1062
|
-
expiresInSeconds:
|
|
1062
|
+
expiresInSeconds: CONTINUATION_TTL_SECONDS
|
|
1063
1063
|
});
|
|
1064
1064
|
}
|
|
1065
1065
|
};
|
|
@@ -1138,7 +1138,6 @@ var meetingLifecycleOperations = [
|
|
|
1138
1138
|
|
|
1139
1139
|
// src/shortcuts/meeting/operations/receipts.ts
|
|
1140
1140
|
import { createHash as createHash4 } from "node:crypto";
|
|
1141
|
-
var CONTINUATION_TTL_SECONDS4 = 600;
|
|
1142
1141
|
function fingerprint5(value) {
|
|
1143
1142
|
return createHash4("sha256").update(JSON.stringify(value ?? null)).digest("hex").slice(0, 32);
|
|
1144
1143
|
}
|
|
@@ -1276,13 +1275,13 @@ var meetingReceiptUpdatePrepare = {
|
|
|
1276
1275
|
payload,
|
|
1277
1276
|
fingerprint: fingerprint5(normalized)
|
|
1278
1277
|
},
|
|
1279
|
-
|
|
1278
|
+
CONTINUATION_TTL_SECONDS * 1e3
|
|
1280
1279
|
);
|
|
1281
1280
|
return meetingSuccess("meeting.receipt.update.prepare", {
|
|
1282
1281
|
status: "AWAITING_CONFIRMATION",
|
|
1283
1282
|
preview: payload,
|
|
1284
1283
|
continuation: token,
|
|
1285
|
-
expiresInSeconds:
|
|
1284
|
+
expiresInSeconds: CONTINUATION_TTL_SECONDS
|
|
1286
1285
|
});
|
|
1287
1286
|
}
|
|
1288
1287
|
};
|
|
@@ -1351,7 +1350,6 @@ var meetingReceiptOperations = [
|
|
|
1351
1350
|
|
|
1352
1351
|
// src/shortcuts/meeting/operations/signs.ts
|
|
1353
1352
|
import { createHash as createHash5 } from "node:crypto";
|
|
1354
|
-
var CONTINUATION_TTL_SECONDS5 = 600;
|
|
1355
1353
|
function fingerprint6(value) {
|
|
1356
1354
|
return createHash5("sha256").update(JSON.stringify(value ?? null)).digest("hex").slice(0, 32);
|
|
1357
1355
|
}
|
|
@@ -1505,7 +1503,7 @@ function signWritePair(spec) {
|
|
|
1505
1503
|
payload,
|
|
1506
1504
|
fingerprint: fingerprint6(payload)
|
|
1507
1505
|
},
|
|
1508
|
-
|
|
1506
|
+
CONTINUATION_TTL_SECONDS * 1e3
|
|
1509
1507
|
);
|
|
1510
1508
|
const record = target.record;
|
|
1511
1509
|
const alreadySigned = record.signtime !== void 0 && record.signtime !== null && record.signtime !== "";
|
|
@@ -1536,7 +1534,7 @@ function signWritePair(spec) {
|
|
|
1536
1534
|
note: spec.note
|
|
1537
1535
|
},
|
|
1538
1536
|
continuation: token,
|
|
1539
|
-
expiresInSeconds:
|
|
1537
|
+
expiresInSeconds: CONTINUATION_TTL_SECONDS
|
|
1540
1538
|
});
|
|
1541
1539
|
}
|
|
1542
1540
|
};
|
|
@@ -2226,7 +2224,7 @@ var meetingAttachmentAttach = {
|
|
|
2226
2224
|
if (mode === "append" && existingIds.length === 0) {
|
|
2227
2225
|
existingIds.push(...beforeIds);
|
|
2228
2226
|
}
|
|
2229
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2227
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XPWPGHYE.js");
|
|
2230
2228
|
const list = getMeetingOperation2("meeting.eb.meeting.list");
|
|
2231
2229
|
let fileId = incomingFileId;
|
|
2232
2230
|
let name = String(args.name ?? "").trim();
|
|
@@ -2314,7 +2312,7 @@ function textOf(value) {
|
|
|
2314
2312
|
return value === void 0 || value === null ? "" : String(value);
|
|
2315
2313
|
}
|
|
2316
2314
|
async function readMinute(env, id) {
|
|
2317
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2315
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XPWPGHYE.js");
|
|
2318
2316
|
const detail = getMeetingOperation2("meeting.eb.minute.detail");
|
|
2319
2317
|
const result = await detail.handler({ id }, env);
|
|
2320
2318
|
const row = result?.data?.data;
|
|
@@ -2393,7 +2391,7 @@ var meetingMinuteWriteContent = {
|
|
|
2393
2391
|
} else {
|
|
2394
2392
|
statusReason = "\u4EC5\u6E05\u7A7A\u5185\u5BB9\uFF0C\u672A\u6539\u72B6\u6001";
|
|
2395
2393
|
}
|
|
2396
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2394
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XPWPGHYE.js");
|
|
2397
2395
|
const prepare = getMeetingOperation2("meeting.eb.minute.update.prepare");
|
|
2398
2396
|
const apply = getMeetingOperation2("meeting.eb.minute.update.apply");
|
|
2399
2397
|
const prepared = await prepare.handler({ id, mt_id: mtId, ...patch }, env);
|
|
@@ -2752,7 +2750,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2752
2750
|
const mtId = textOf2(args.mt_id).trim();
|
|
2753
2751
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
2754
2752
|
const pipeline = ["text", "minutes", "document"].includes(args.pipeline) ? args.pipeline : "text";
|
|
2755
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2753
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XPWPGHYE.js");
|
|
2756
2754
|
const ctx = env.ctx;
|
|
2757
2755
|
let stepStart = Date.now();
|
|
2758
2756
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
@@ -2776,9 +2774,9 @@ var meetingMinuteFromGroupChat = {
|
|
|
2776
2774
|
}
|
|
2777
2775
|
mark("readMeeting", stepStart);
|
|
2778
2776
|
const pullStart = Date.now();
|
|
2779
|
-
const { createImHost } = await import("./host-
|
|
2780
|
-
const { createImContinuationSigner } = await import("./continuation-
|
|
2781
|
-
const { getImOperation } = await import("./registry-
|
|
2777
|
+
const { createImHost } = await import("./host-M4XP5URR.js");
|
|
2778
|
+
const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
|
|
2779
|
+
const { getImOperation } = await import("./registry-PVUZQDDQ.js");
|
|
2782
2780
|
const imEnv = { ctx, host: createImHost(ctx), continuation: createImContinuationSigner(ctx) };
|
|
2783
2781
|
const syncOp = getImOperation("im.msg.sync.group");
|
|
2784
2782
|
const chatWindow = computeChatWindow(meeting);
|
|
@@ -2846,7 +2844,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2846
2844
|
try {
|
|
2847
2845
|
const { readFile: readFile4 } = await import("node:fs/promises");
|
|
2848
2846
|
const buffer = await readFile4(file);
|
|
2849
|
-
const { extractText } = await import("./attachment-content-
|
|
2847
|
+
const { extractText } = await import("./attachment-content-CE3GMWTS.js");
|
|
2850
2848
|
const extracted = extractText(buffer, file, "");
|
|
2851
2849
|
if (extracted.text.trim()) {
|
|
2852
2850
|
extraSections.push(`\u3010\u6750\u6599\uFF1A${file.split(/[\\/]/).pop() ?? file}\u3011
|
|
@@ -2975,9 +2973,9 @@ ${groupTranscript}` : ""
|
|
|
2975
2973
|
if (!employeeId) {
|
|
2976
2974
|
warnings.push("\u672A\u53D6\u5230 ESB \u89E6\u53D1\u4EBA id\uFF08employeeId\uFF09\uFF0C\u5DF2\u8DF3\u8FC7\u540E\u7EED ESB \u8C03\u7528");
|
|
2977
2975
|
} else {
|
|
2978
|
-
const { createEsbHost } = await import("./host-
|
|
2979
|
-
const { createEsbContinuationSigner } = await import("./continuation-
|
|
2980
|
-
const { getEsbOperation } = await import("./registry-
|
|
2976
|
+
const { createEsbHost } = await import("./host-3TNBMDTR.js");
|
|
2977
|
+
const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
|
|
2978
|
+
const { getEsbOperation } = await import("./registry-QJCZ2GVG.js");
|
|
2981
2979
|
const esbEnv = { ctx, host: createEsbHost(ctx), continuation: createEsbContinuationSigner(ctx) };
|
|
2982
2980
|
const prepareOp = getEsbOperation("esb.trigger.prepare");
|
|
2983
2981
|
const applyOp = getEsbOperation("esb.trigger.apply");
|
|
@@ -3165,7 +3163,7 @@ var meetingDecisionNotifyGroup = {
|
|
|
3165
3163
|
const warnings = [];
|
|
3166
3164
|
const mtId = textOf3(args.mt_id).trim();
|
|
3167
3165
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
3168
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3166
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XPWPGHYE.js");
|
|
3169
3167
|
const ctx = env.ctx;
|
|
3170
3168
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
3171
3169
|
{ mt_id: mtId, pageNo: 1, pageSize: 1 },
|
|
@@ -3229,7 +3227,7 @@ var meetingDecisionNotifyGroup = {
|
|
|
3229
3227
|
charCount: formatted.text.length,
|
|
3230
3228
|
text: formatted.text
|
|
3231
3229
|
};
|
|
3232
|
-
const { createImHost } = await import("./host-
|
|
3230
|
+
const { createImHost } = await import("./host-M4XP5URR.js");
|
|
3233
3231
|
const imHost = createImHost(ctx);
|
|
3234
3232
|
let displayText = formatted.text;
|
|
3235
3233
|
let wireText = formatted.text;
|
|
@@ -3237,7 +3235,7 @@ var meetingDecisionNotifyGroup = {
|
|
|
3237
3235
|
const mentioned = [];
|
|
3238
3236
|
if (args.mention !== false) {
|
|
3239
3237
|
try {
|
|
3240
|
-
const { getImOperation } = await import("./registry-
|
|
3238
|
+
const { getImOperation } = await import("./registry-PVUZQDDQ.js");
|
|
3241
3239
|
const membersResult = await getImOperation("im.group.users").handler(
|
|
3242
3240
|
{ groupId },
|
|
3243
3241
|
{ ctx, host: imHost }
|
|
@@ -3467,7 +3465,7 @@ var meetingPipelineRun = {
|
|
|
3467
3465
|
const needsConfirm = level === "tasks" || level === "notify";
|
|
3468
3466
|
const confirmed = args.confirm === true;
|
|
3469
3467
|
const executedLevel = needsConfirm && !confirmed ? "document" : level;
|
|
3470
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3468
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XPWPGHYE.js");
|
|
3471
3469
|
const ctx = env.ctx;
|
|
3472
3470
|
let stepStart = Date.now();
|
|
3473
3471
|
const reuseMinuteId = textOf4(args.minuteId).trim();
|
|
@@ -3536,8 +3534,8 @@ var meetingPipelineRun = {
|
|
|
3536
3534
|
]);
|
|
3537
3535
|
}
|
|
3538
3536
|
stepStart = Date.now();
|
|
3539
|
-
const { createHrmHost } = await import("./host-
|
|
3540
|
-
const { getHrmOperation } = await import("./registry-
|
|
3537
|
+
const { createHrmHost } = await import("./host-G3VU7SDW.js");
|
|
3538
|
+
const { getHrmOperation } = await import("./registry-VWXWPVAG.js");
|
|
3541
3539
|
const hrmEnv = { ctx, host: createHrmHost(ctx) };
|
|
3542
3540
|
const queryOp = getHrmOperation("hrm.employee.query");
|
|
3543
3541
|
const resolved = [];
|
|
@@ -3839,7 +3837,7 @@ function formatTimeRange(start, end) {
|
|
|
3839
3837
|
}
|
|
3840
3838
|
async function loadAgendaFromTopics(env, mtId) {
|
|
3841
3839
|
try {
|
|
3842
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3840
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XPWPGHYE.js");
|
|
3843
3841
|
const operation = getMeetingOperation2("meeting.eb.topic.list");
|
|
3844
3842
|
const result = await operation.handler({ mt_id: mtId, pageNo: 1, pageSize: 200 }, env);
|
|
3845
3843
|
const rows = result.data?.rows ?? [];
|
|
@@ -3919,7 +3917,7 @@ function flattenFieldValue(raw) {
|
|
|
3919
3917
|
}
|
|
3920
3918
|
async function resolveIssuerOrganization(env, creatorId) {
|
|
3921
3919
|
try {
|
|
3922
|
-
const { hrmEmployeeOperations } = await import("./employee-
|
|
3920
|
+
const { hrmEmployeeOperations } = await import("./employee-NOHNXC46.js");
|
|
3923
3921
|
const batch = hrmEmployeeOperations.find((operation) => operation.name === "hrm.employee.batch");
|
|
3924
3922
|
if (!batch) return null;
|
|
3925
3923
|
const result = await batch.handler({ ids: [creatorId] }, env);
|
|
@@ -3941,7 +3939,7 @@ async function resolveSessionUserName(env) {
|
|
|
3941
3939
|
const session = await env.host.getSession();
|
|
3942
3940
|
const userId = String(session?.userId ?? "").trim();
|
|
3943
3941
|
if (!userId) return "";
|
|
3944
|
-
const { hrmEmployeeOperations } = await import("./employee-
|
|
3942
|
+
const { hrmEmployeeOperations } = await import("./employee-NOHNXC46.js");
|
|
3945
3943
|
const batch = hrmEmployeeOperations.find((operation) => operation.name === "hrm.employee.batch");
|
|
3946
3944
|
if (!batch) return "";
|
|
3947
3945
|
const result = await batch.handler({ ids: [userId] }, env);
|
|
@@ -3977,7 +3975,7 @@ async function supplementRowFromDetail(row, mtId, env) {
|
|
|
3977
3975
|
const missing = DETAIL_FALLBACK_KEYS.filter((key) => isBlank(row[key]));
|
|
3978
3976
|
if (missing.length === 0) return { row, filled: [] };
|
|
3979
3977
|
try {
|
|
3980
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3978
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XPWPGHYE.js");
|
|
3981
3979
|
const detailOperation = getMeetingOperation2("meeting.eb.meeting.detail");
|
|
3982
3980
|
const result = await detailOperation.handler({ id: mtId }, env);
|
|
3983
3981
|
const flat = result?.data?.data ?? result?.data ?? {};
|
|
@@ -4151,7 +4149,7 @@ var meetingInvitationRender = {
|
|
|
4151
4149
|
};
|
|
4152
4150
|
dataSource = "payload";
|
|
4153
4151
|
} else {
|
|
4154
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4152
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XPWPGHYE.js");
|
|
4155
4153
|
const listOperation = getMeetingOperation2("meeting.eb.meeting.list");
|
|
4156
4154
|
try {
|
|
4157
4155
|
const listed = await listOperation.handler({ mt_id: mtId, pageNo: 1, pageSize: 1 }, env);
|
|
@@ -4268,6 +4266,133 @@ var meetingInvitationRender = {
|
|
|
4268
4266
|
};
|
|
4269
4267
|
var meetingInvitationOperations = [meetingInvitationRender];
|
|
4270
4268
|
|
|
4269
|
+
// src/shortcuts/meeting/operations/invitation-publish.ts
|
|
4270
|
+
import { win32 } from "node:path";
|
|
4271
|
+
var DEFAULT_FOLDER_ID = "300";
|
|
4272
|
+
var DEFAULT_FOLDER_TYPE = "company";
|
|
4273
|
+
function normalizeWinPath(path) {
|
|
4274
|
+
return win32.normalize(path);
|
|
4275
|
+
}
|
|
4276
|
+
var meetingInvitationPublish = {
|
|
4277
|
+
name: "meeting.invitation.publish",
|
|
4278
|
+
resource: "invitation",
|
|
4279
|
+
method: "publish",
|
|
4280
|
+
action: "meeting.invitation.publish",
|
|
4281
|
+
summary: '\u751F\u6210\u9080\u8BF7\u51FD\u5E76**\u53D1\u5E03\u6210 E10 \u6587\u6863**\uFF1A\u6A21\u677F\u586B\u5145 \u2192 \u4E0A\u4F20\u5230\u6587\u6863\u4E2D\u5FC3\uFF08\u9ED8\u8BA4\u76EE\u5F55 300\uFF09\u2192 \u8FD4\u56DE docId\u3002\u62FF\u5230\u540E\u628A `extraFields: {"\u9080\u8BF7\u51FD":[{"id":docId,"name":\u6587\u6863\u540D}]}` \u4F20\u7ED9\u5EFA\u4F1A\u63A5\u53E3\u5373\u53EF\u5199\u8FDB\u8868\u5355\u3002\u4F1A\u771F\u5B9E\u521B\u5EFA\u6587\u6863\uFF08\u9700 confirm: true\uFF09\u3002',
|
|
4282
|
+
capability: "invitation",
|
|
4283
|
+
risk: "high-risk-write",
|
|
4284
|
+
inputSchema: {
|
|
4285
|
+
type: "object",
|
|
4286
|
+
additionalProperties: false,
|
|
4287
|
+
properties: {
|
|
4288
|
+
mtId: { ...SCHEMA_ID, description: "\u4F1A\u8BAE id\uFF08\u4E0E\u4E0B\u9762\u5B57\u6BB5\u4E8C\u9009\u4E00\uFF09\uFF1A\u6709\u5219\u6309\u771F\u5B9E\u4F1A\u8BAE\u6570\u636E\u751F\u6210" },
|
|
4289
|
+
mt_name: { type: "string", description: "\u4F1A\u8BAE\u540D\u79F0\uFF08\u65E0 mtId \u65F6\u5FC5\u586B\uFF09" },
|
|
4290
|
+
begin_datetime: { type: "string", description: "\u5F00\u59CB\u65F6\u95F4 yyyy-MM-dd HH:mm" },
|
|
4291
|
+
end_datetime: { type: "string", description: "\u7ED3\u675F\u65F6\u95F4 yyyy-MM-dd HH:mm" },
|
|
4292
|
+
address: { type: "string", description: "\u4F1A\u8BAE\u5730\u70B9\uFF08\u540D\u79F0\uFF09" },
|
|
4293
|
+
hrm_members: { type: "string", description: "\u53C2\u4F1A\u4EBA\u59D3\u540D\uFF08\u9017\u53F7/\u987F\u53F7\u5206\u9694\uFF09" },
|
|
4294
|
+
mt_desc: { type: "string", description: "\u4F1A\u8BAE\u5185\u5BB9" },
|
|
4295
|
+
org_members: { type: "string", description: "\u843D\u6B3E\u5355\u4F4D" },
|
|
4296
|
+
caller: { type: "string", description: "\u53EC\u96C6\u4EBA" },
|
|
4297
|
+
contacter: { type: "string", description: "\u8054\u7CFB\u4EBA" },
|
|
4298
|
+
total_member: { type: "string", description: "\u53C2\u4F1A\u4EBA\u6570" },
|
|
4299
|
+
extra: {
|
|
4300
|
+
type: "object",
|
|
4301
|
+
additionalProperties: { type: "string" },
|
|
4302
|
+
description: "\u81EA\u5B9A\u4E49\u5B57\u6BB5\uFF08\u5982 guest_org=\u5BA2\u6237\u5355\u4F4D\uFF1Bagenda=\u8BAE\u7A0B\uFF09"
|
|
4303
|
+
},
|
|
4304
|
+
doc_name: { type: "string", description: "\u6587\u6863\u540D\uFF0C\u9ED8\u8BA4\u300C\u9080\u8BF7\u51FD-<\u4F1A\u8BAE\u540D>-<\u65E5\u671F>\u300D" },
|
|
4305
|
+
folder_id: { type: "string", description: `\u6587\u6863\u4E2D\u5FC3\u76EE\u5F55 id\uFF0C\u9ED8\u8BA4 ${DEFAULT_FOLDER_ID}` },
|
|
4306
|
+
folder_type: { type: "string", enum: ["company", "privy", "sys"], description: `\u76EE\u5F55\u7C7B\u578B\uFF0C\u9ED8\u8BA4 ${DEFAULT_FOLDER_TYPE}` },
|
|
4307
|
+
confirm: { type: "boolean", description: "\u5FC5\u987B\u663E\u5F0F\u4F20 true \u2014\u2014 \u4F1A\u771F\u5B9E\u521B\u5EFA\u4E00\u7BC7\u6587\u6863" }
|
|
4308
|
+
},
|
|
4309
|
+
required: ["confirm"]
|
|
4310
|
+
},
|
|
4311
|
+
handler: async (args, env) => {
|
|
4312
|
+
if (args.confirm !== true) {
|
|
4313
|
+
throw meetingValidationError(
|
|
4314
|
+
"confirm_required",
|
|
4315
|
+
"\u4F1A\u771F\u5B9E\u521B\u5EFA\u6587\u6863\uFF0C\u5FC5\u987B\u663E\u5F0F\u4F20 confirm: true\uFF08\u53EF\u5148\u4E0D\u5E26 confirm \u8C03 meeting.invitation.render \u9884\u89C8\u6B63\u6587\uFF09"
|
|
4316
|
+
);
|
|
4317
|
+
}
|
|
4318
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XPWPGHYE.js");
|
|
4319
|
+
const render = getMeetingOperation2("meeting.invitation.render");
|
|
4320
|
+
const rendered = await render.handler(
|
|
4321
|
+
{
|
|
4322
|
+
...args.mtId !== void 0 ? { mtId: args.mtId } : {},
|
|
4323
|
+
...args.mt_name !== void 0 ? { mt_name: args.mt_name } : {},
|
|
4324
|
+
...args.begin_datetime !== void 0 ? { begin_datetime: args.begin_datetime } : {},
|
|
4325
|
+
...args.end_datetime !== void 0 ? { end_datetime: args.end_datetime } : {},
|
|
4326
|
+
...args.address !== void 0 ? { address: args.address } : {},
|
|
4327
|
+
...args.hrm_members !== void 0 ? { hrm_members: args.hrm_members } : {},
|
|
4328
|
+
...args.mt_desc !== void 0 ? { mt_desc: args.mt_desc } : {},
|
|
4329
|
+
...args.org_members !== void 0 ? { org_members: args.org_members } : {},
|
|
4330
|
+
...args.caller !== void 0 ? { caller: args.caller } : {},
|
|
4331
|
+
...args.contacter !== void 0 ? { contacter: args.contacter } : {},
|
|
4332
|
+
...args.total_member !== void 0 ? { total_member: args.total_member } : {},
|
|
4333
|
+
...args.extra !== void 0 ? { extra: args.extra } : {}
|
|
4334
|
+
},
|
|
4335
|
+
env
|
|
4336
|
+
);
|
|
4337
|
+
const filePath = String(rendered?.data?.filePath ?? "").trim();
|
|
4338
|
+
if (!filePath) throw meetingValidationError("render_failed", "\u9080\u8BF7\u51FD docx \u672A\u751F\u6210\uFF08render \u672A\u8FD4\u56DE filePath\uFF09");
|
|
4339
|
+
const session = await env.host.getSession();
|
|
4340
|
+
const authorId = String(session?.userId ?? "").trim();
|
|
4341
|
+
if (!authorId) throw meetingValidationError("session_missing", "\u62FF\u4E0D\u5230\u5F53\u524D\u767B\u5F55\u4EBA\uFF0C\u65E0\u6CD5\u521B\u5EFA\u6587\u6863");
|
|
4342
|
+
const docName = String(args.doc_name ?? "").trim() || String(rendered?.data?.fileName ?? "").replace(/\.docx$/i, "") || "\u9080\u8BF7\u51FD";
|
|
4343
|
+
const caizhilianArgs = {
|
|
4344
|
+
file_path: normalizeWinPath(filePath),
|
|
4345
|
+
name: docName,
|
|
4346
|
+
folder_id: String(args.folder_id ?? DEFAULT_FOLDER_ID),
|
|
4347
|
+
folder_type: String(args.folder_type ?? DEFAULT_FOLDER_TYPE),
|
|
4348
|
+
author_id: authorId
|
|
4349
|
+
};
|
|
4350
|
+
const { executeCaizhilianOperation } = await import("./operations-J7PUIVWZ.js");
|
|
4351
|
+
const { createCaizhilianHost } = await import("./host-7NTIBSPK.js");
|
|
4352
|
+
const { createCaizhilianContinuationSigner } = await import("./continuation-GW6PRWK3.js");
|
|
4353
|
+
const caizhilianEnv = {
|
|
4354
|
+
ctx: env.ctx,
|
|
4355
|
+
host: createCaizhilianHost(env.ctx),
|
|
4356
|
+
continuation: createCaizhilianContinuationSigner(env.ctx)
|
|
4357
|
+
};
|
|
4358
|
+
const prepared = await executeCaizhilianOperation(
|
|
4359
|
+
"caizhilian.document.create-office.prepare",
|
|
4360
|
+
caizhilianArgs,
|
|
4361
|
+
caizhilianEnv
|
|
4362
|
+
);
|
|
4363
|
+
const continuation = String(prepared?.data?.continuation ?? "");
|
|
4364
|
+
if (!continuation) {
|
|
4365
|
+
throw meetingValidationError("publish_prepare_failed", "create-office.prepare \u672A\u8FD4\u56DE continuation");
|
|
4366
|
+
}
|
|
4367
|
+
const applied = await executeCaizhilianOperation(
|
|
4368
|
+
"caizhilian.document.create-office.apply",
|
|
4369
|
+
{ ...caizhilianArgs, continuation, confirm: true },
|
|
4370
|
+
caizhilianEnv
|
|
4371
|
+
);
|
|
4372
|
+
const docId = String(applied?.data?.doc_id ?? "").trim();
|
|
4373
|
+
if (!docId) throw meetingValidationError("publish_failed", "create-office.apply \u672A\u8FD4\u56DE doc_id");
|
|
4374
|
+
return meetingSuccess(
|
|
4375
|
+
"meeting.invitation.publish",
|
|
4376
|
+
{
|
|
4377
|
+
docId,
|
|
4378
|
+
docName,
|
|
4379
|
+
filePath,
|
|
4380
|
+
folderId: caizhilianArgs.folder_id,
|
|
4381
|
+
folderType: caizhilianArgs.folder_type,
|
|
4382
|
+
// 直接可用的表单字段值(建会时放进 extraFields.邀请函)
|
|
4383
|
+
formFieldValue: [{ id: docId, name: docName }],
|
|
4384
|
+
// 对话里要贴正文,别只给 id
|
|
4385
|
+
text: rendered?.data?.text ?? "",
|
|
4386
|
+
pendingFields: rendered?.data?.pendingFields ?? []
|
|
4387
|
+
},
|
|
4388
|
+
{
|
|
4389
|
+
...Array.isArray(applied?.warnings) && applied.warnings.length > 0 ? { warnings: applied.warnings } : {}
|
|
4390
|
+
}
|
|
4391
|
+
);
|
|
4392
|
+
}
|
|
4393
|
+
};
|
|
4394
|
+
var meetingInvitationPublishOperations = [meetingInvitationPublish];
|
|
4395
|
+
|
|
4271
4396
|
// src/shortcuts/meeting/operations/qrcode.ts
|
|
4272
4397
|
import { mkdir as mkdir3, writeFile as writeFile3 } from "node:fs/promises";
|
|
4273
4398
|
import { dirname as dirname2, isAbsolute, join as join2, resolve as resolve4 } from "node:path";
|
|
@@ -4905,7 +5030,7 @@ var meetingSummaryGet = {
|
|
|
4905
5030
|
const mtId = textOf5(args.mt_id).trim();
|
|
4906
5031
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
4907
5032
|
const ctx = env.ctx;
|
|
4908
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
5033
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XPWPGHYE.js");
|
|
4909
5034
|
const warnings = [];
|
|
4910
5035
|
const timings = {};
|
|
4911
5036
|
const include = Array.isArray(args.include) && args.include.length > 0 ? args.include.filter((item) => ALL_SECTIONS.includes(item)) : ALL_SECTIONS;
|
|
@@ -5041,9 +5166,9 @@ var meetingSummaryGet = {
|
|
|
5041
5166
|
warnings.push("\u8BE5\u4F1A\u8BAE\u6CA1\u6709\u5173\u8054\u7FA4\u804A\uFF08imchat_groupid \u4E3A\u7A7A\uFF09\uFF0Cchat \u6BB5\u4E3A null");
|
|
5042
5167
|
} else {
|
|
5043
5168
|
try {
|
|
5044
|
-
const { createImHost } = await import("./host-
|
|
5045
|
-
const { createImContinuationSigner } = await import("./continuation-
|
|
5046
|
-
const { getImOperation } = await import("./registry-
|
|
5169
|
+
const { createImHost } = await import("./host-M4XP5URR.js");
|
|
5170
|
+
const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
|
|
5171
|
+
const { getImOperation } = await import("./registry-PVUZQDDQ.js");
|
|
5047
5172
|
const imEnv = {
|
|
5048
5173
|
ctx,
|
|
5049
5174
|
// 测试环境靠 env.imHost 注入假实现,否则会真的打到线上群聊
|
|
@@ -5167,9 +5292,9 @@ var meetingFormFields = {
|
|
|
5167
5292
|
hint: "\u6CA1\u89E3\u6790\u5230\u8BE5\u8868\u7684 objId\uFF08\u53EF\u80FD\u5F53\u524D\u73AF\u5883\u6CA1\u6709\u8FD9\u5F20\u8868\uFF0C\u6216\u8D26\u53F7\u65E0\u6743\u9650\uFF09"
|
|
5168
5293
|
}, { warnings: resolved.warnings });
|
|
5169
5294
|
}
|
|
5170
|
-
const { createEbuilderFormHost } = await import("./host-
|
|
5171
|
-
const { createEbuilderFormContinuationSigner } = await import("./continuation-
|
|
5172
|
-
const { executeEbuilderFormOperation } = await import("./operations-
|
|
5295
|
+
const { createEbuilderFormHost } = await import("./host-7OWWPLM4.js");
|
|
5296
|
+
const { createEbuilderFormContinuationSigner } = await import("./continuation-3XLYYTKV.js");
|
|
5297
|
+
const { executeEbuilderFormOperation } = await import("./operations-62N6EP3C.js");
|
|
5173
5298
|
const formEnv = {
|
|
5174
5299
|
ctx: env.ctx,
|
|
5175
5300
|
host: createEbuilderFormHost(env.ctx),
|
|
@@ -5215,7 +5340,6 @@ var meetingFormFields = {
|
|
|
5215
5340
|
var meetingFormFieldOperations = [meetingFormFields];
|
|
5216
5341
|
|
|
5217
5342
|
// src/shortcuts/meeting/operations/eb/decision.ts
|
|
5218
|
-
var CONTINUATION_TTL_SECONDS6 = 600;
|
|
5219
5343
|
var DATE_PATTERN = "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}$";
|
|
5220
5344
|
function formatSecondNow() {
|
|
5221
5345
|
const now = /* @__PURE__ */ new Date();
|
|
@@ -5227,7 +5351,7 @@ var MT_STATUS_OVER = "8";
|
|
|
5227
5351
|
var CANCELLED_MARK_DELAY_MS = 800;
|
|
5228
5352
|
async function isCancelledMeeting(env, mtId) {
|
|
5229
5353
|
try {
|
|
5230
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
5354
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XPWPGHYE.js");
|
|
5231
5355
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
5232
5356
|
// withCount:false —— 这里只要一行状态,不必额外请求 count(少一次往返,也便于测试替身)
|
|
5233
5357
|
{ mt_id: mtId, pageNo: 1, pageSize: 1, withCount: false },
|
|
@@ -5345,7 +5469,7 @@ var decisionPublishPrepare = {
|
|
|
5345
5469
|
payload,
|
|
5346
5470
|
fingerprint: fingerprint(payload)
|
|
5347
5471
|
},
|
|
5348
|
-
|
|
5472
|
+
CONTINUATION_TTL_SECONDS * 1e3
|
|
5349
5473
|
);
|
|
5350
5474
|
return meetingSuccess("meeting.eb.decision.publish.prepare", {
|
|
5351
5475
|
status: "AWAITING_CONFIRMATION",
|
|
@@ -5367,7 +5491,7 @@ var decisionPublishPrepare = {
|
|
|
5367
5491
|
decisionCount: (create.details.detail1 ?? []).length
|
|
5368
5492
|
},
|
|
5369
5493
|
continuation: token,
|
|
5370
|
-
expiresInSeconds:
|
|
5494
|
+
expiresInSeconds: CONTINUATION_TTL_SECONDS
|
|
5371
5495
|
}, {
|
|
5372
5496
|
meta: {
|
|
5373
5497
|
notes: [
|
|
@@ -5553,7 +5677,7 @@ var signMarkPrepare = {
|
|
|
5553
5677
|
payload,
|
|
5554
5678
|
fingerprint: fingerprint(payload)
|
|
5555
5679
|
},
|
|
5556
|
-
|
|
5680
|
+
CONTINUATION_TTL_SECONDS * 1e3
|
|
5557
5681
|
);
|
|
5558
5682
|
return meetingSuccess("meeting.eb.sign.mark.prepare", {
|
|
5559
5683
|
status: "AWAITING_CONFIRMATION",
|
|
@@ -5566,7 +5690,7 @@ var signMarkPrepare = {
|
|
|
5566
5690
|
after: update.mainTable
|
|
5567
5691
|
},
|
|
5568
5692
|
continuation: token,
|
|
5569
|
-
expiresInSeconds:
|
|
5693
|
+
expiresInSeconds: CONTINUATION_TTL_SECONDS
|
|
5570
5694
|
}, {
|
|
5571
5695
|
warnings,
|
|
5572
5696
|
meta: {
|
|
@@ -6040,9 +6164,9 @@ async function runCrmSearchFlow(env, input) {
|
|
|
6040
6164
|
if (!employeeId) {
|
|
6041
6165
|
throw meetingValidationError("crm_employee_required", "\u53D6\u4E0D\u5230\u5F53\u524D\u767B\u5F55\u7528\u6237 id\uFF0C\u65E0\u6CD5\u89E6\u53D1 ESB \u5BA2\u6237\u67E5\u8BE2");
|
|
6042
6166
|
}
|
|
6043
|
-
const { createEsbHost } = await import("./host-
|
|
6044
|
-
const { createEsbContinuationSigner } = await import("./continuation-
|
|
6045
|
-
const { getEsbOperation } = await import("./registry-
|
|
6167
|
+
const { createEsbHost } = await import("./host-3TNBMDTR.js");
|
|
6168
|
+
const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
|
|
6169
|
+
const { getEsbOperation } = await import("./registry-QJCZ2GVG.js");
|
|
6046
6170
|
const esbEnv = {
|
|
6047
6171
|
ctx: env.ctx,
|
|
6048
6172
|
host: createEsbHost(env.ctx),
|
|
@@ -6252,7 +6376,7 @@ var ebAutoInvitationAfterWrite = async (context) => {
|
|
|
6252
6376
|
const mtId = String(context.dataIds?.[0] ?? "").trim();
|
|
6253
6377
|
if (!isCreate || !enabled || !mtId) return association;
|
|
6254
6378
|
try {
|
|
6255
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
6379
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-XPWPGHYE.js");
|
|
6256
6380
|
const render = getMeetingOperation2("meeting.invitation.render");
|
|
6257
6381
|
const result = await render.handler({ mtId }, context.env);
|
|
6258
6382
|
return { ...association ?? {}, invitation: result?.data ?? null };
|
|
@@ -6303,6 +6427,7 @@ function buildRegistry() {
|
|
|
6303
6427
|
...meetingDecisionNotifyOperations,
|
|
6304
6428
|
...meetingPipelineOperations,
|
|
6305
6429
|
...meetingInvitationOperations,
|
|
6430
|
+
...meetingInvitationPublishOperations,
|
|
6306
6431
|
...meetingQrOperations,
|
|
6307
6432
|
...meetingSummaryOperations,
|
|
6308
6433
|
...meetingFormFieldOperations,
|