weaver-work-cli 0.1.49 → 0.1.52
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 +1 -1
- package/dist/chunks/{attachment-content-MU2LPI5P.js → attachment-content-MBYYSQIX.js} +3 -3
- package/dist/chunks/{chunk-ZKEUGS2U.js → chunk-7UOXOGFL.js} +4 -4
- package/dist/chunks/{chunk-72MI3MBX.js → chunk-ATEXBEPD.js} +55 -15
- package/dist/chunks/{chunk-3NV2ETZR.js → chunk-D3TDNRFE.js} +8 -8
- package/dist/chunks/{chunk-6GWU63YF.js → chunk-DZOC77ZD.js} +1 -1
- package/dist/chunks/{chunk-K3BT54CU.js → chunk-IRMA3GVP.js} +1 -1
- package/dist/chunks/{chunk-3X7VOSBA.js → chunk-KLZ3ULQQ.js} +1 -1
- package/dist/chunks/{chunk-YLCYX7LE.js → chunk-KMRT7NAT.js} +18 -5
- package/dist/chunks/{chunk-NBEWUR7L.js → chunk-LALWNK6M.js} +167 -44
- package/dist/chunks/{chunk-BRRW7CWA.js → chunk-LM2H7SZI.js} +26 -26
- package/dist/chunks/{chunk-KV5SOWMS.js → chunk-LTRLF6MM.js} +4 -4
- package/dist/chunks/{chunk-D2QRZUW4.js → chunk-RPRFIG6I.js} +35 -28
- package/dist/chunks/{chunk-GEOMANP7.js → chunk-RWFRZSIP.js} +2 -2
- package/dist/chunks/{chunk-EJVA5ZVB.js → chunk-ZRHKGQRQ.js} +2 -2
- package/dist/chunks/{conflict-6347A7YK.js → conflict-D2HYKBMH.js} +2 -2
- package/dist/chunks/{contract-N6P2HIIE.js → contract-MFOFMM2J.js} +4284 -254
- package/dist/chunks/{create-flow-7WG7LVX5.js → create-flow-7ZATJVTM.js} +6 -6
- package/dist/chunks/{data-QO7QWOIV.js → data-WK5CQXNF.js} +17 -32
- package/dist/chunks/{env-LHRKSLG6.js → env-5DO4YENS.js} +2 -2
- package/dist/chunks/{factory-2H7Z4RWJ.js → factory-3M7D7WJC.js} +1 -1
- package/dist/chunks/{fna-ZVB2IILI.js → fna-ECOYBQYL.js} +328 -5
- package/dist/chunks/{group-chat-EW6PNDDT.js → group-chat-B2HT5NEO.js} +3 -3
- package/dist/chunks/{im-3RCNL5GT.js → im-TN2JYVGJ.js} +2 -2
- package/dist/chunks/{invoice-FXWH5GPO.js → invoice-V7ZTITUO.js} +726 -206
- package/dist/chunks/{meeting-N2FQBHXI.js → meeting-HZOX3CBB.js} +10 -10
- package/dist/chunks/{msg-parse-4GSQ2WTO.js → msg-parse-FPFVPMYI.js} +5 -1
- package/dist/chunks/{reception-MYOKJULO.js → reception-QGPNTGHG.js} +98 -82
- package/dist/chunks/{recruit-stage-FKWS5UQF.js → recruit-stage-XCMVEQA2.js} +718 -131
- package/dist/chunks/{registry-BUTEDK3C.js → registry-E5RQJVWN.js} +2 -2
- package/dist/chunks/{registry-7VZ6YJUF.js → registry-KYPFFQIH.js} +1 -1
- package/dist/chunks/{registry-CKUVBS53.js → registry-SJHSBO5G.js} +10 -10
- package/dist/chunks/{room-recommend-MBCYENQ2.js → room-recommend-5AHR4YQV.js} +4 -4
- package/dist/chunks/{schedule-5IFMCXME.js → schedule-KZPJUPC2.js} +4 -4
- package/dist/chunks/smart-extract-IXHCZE4R.js +2846 -0
- package/dist/chunks/{workflow-2TRU2ZSP.js → workflow-UHKCZJMY.js} +1 -1
- package/dist/index.js +14 -9
- package/dist/shortcuts/contract/host.js +11 -0
- package/dist/shortcuts/contract/index.js +13 -0
- package/dist/shortcuts/contract/manifest.js +204 -0
- package/dist/shortcuts/contract/operations/card-action.js +585 -0
- package/dist/shortcuts/contract/operations/card-ebdf-list.js +315 -0
- package/dist/shortcuts/contract/operations/card-plan.js +327 -0
- package/dist/shortcuts/contract/operations/card-risk-report.js +565 -0
- package/dist/shortcuts/contract/operations/elements-build.js +714 -0
- package/dist/shortcuts/contract/operations/elements-spec.js +216 -0
- package/dist/shortcuts/contract/operations/first-screen.js +563 -0
- package/dist/shortcuts/contract/operations/flow.js +81 -25
- package/dist/shortcuts/contract/operations/modeltext.js +132 -0
- package/dist/shortcuts/contract/operations/op-resolver.js +22 -0
- package/dist/shortcuts/contract/operations/performance.js +58 -7
- package/dist/shortcuts/contract/operations/quote.js +410 -22
- package/dist/shortcuts/contract/operations/registry.js +22 -0
- package/dist/shortcuts/contract/operations/review.js +73 -58
- package/dist/shortcuts/contract/operations/save-recognize.js +151 -0
- package/dist/shortcuts/contract/operations/summary-validate.js +293 -0
- package/dist/shortcuts/contract/operations/summary.js +4 -2
- package/dist/shortcuts/contract/operations/upload.js +48 -7
- package/dist/shortcuts/contract/prewarm-cache.js +90 -0
- package/dist/shortcuts/contract/prewarm.js +88 -0
- package/dist/shortcuts/contract/upload-cache.js +49 -4
- package/dist/shortcuts/data/index.js +1 -6
- package/dist/shortcuts/data/manifest.js +2 -2
- package/dist/shortcuts/data/operations/index.js +1 -1
- package/dist/shortcuts/data/operations/query.js +23 -46
- package/dist/shortcuts/fna/host.js +4 -2
- package/dist/shortcuts/fna/manifest.js +14 -5
- package/dist/shortcuts/fna/operations/audit.js +334 -0
- package/dist/shortcuts/fna/operations/registry.js +2 -0
- package/dist/shortcuts/im/operations/at-mention.js +6 -3
- package/dist/shortcuts/im/operations/msg-parse.js +35 -5
- package/dist/shortcuts/im/operations/msg-sync.js +3 -1
- package/dist/shortcuts/im/operations/msg-write.js +57 -9
- package/dist/shortcuts/index.js +5 -0
- package/dist/shortcuts/invoice/index.js +0 -12
- package/dist/shortcuts/invoice/manifest.js +201 -50
- package/dist/shortcuts/invoice/operations/registry.js +4 -2
- package/dist/shortcuts/invoice/operations/reim-relation.js +438 -0
- package/dist/shortcuts/invoice/operations/shared.js +3 -19
- package/dist/shortcuts/invoice/operations/upload-and-validate.js +109 -73
- package/dist/shortcuts/meeting/operations/from-group-chat.js +16 -2
- package/dist/shortcuts/reception/constants.js +3 -7
- package/dist/shortcuts/reception/operations/leads.js +30 -6
- package/dist/shortcuts/reception/operations/panels.js +3 -2
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +4 -2
- package/dist/shortcuts/recruit-stage/operations/jd-create.js +6 -2
- package/dist/shortcuts/recruit-stage/operations/list.js +217 -1
- package/dist/shortcuts/recruit-stage/operations/resume-import.js +144 -158
- package/dist/shortcuts/recruit-stage/operations/search.js +348 -0
- package/dist/shortcuts/recruit-stage/shared.js +5 -0
- package/dist/shortcuts/recruit-stage/tag-lookup.js +136 -0
- package/dist/shortcuts/smart-extract/constants.js +79 -0
- package/dist/shortcuts/smart-extract/continuation.js +71 -0
- package/dist/shortcuts/smart-extract/errors.js +68 -0
- package/dist/shortcuts/smart-extract/host.js +191 -0
- package/dist/shortcuts/smart-extract/index.js +105 -0
- package/dist/shortcuts/smart-extract/ledger.js +70 -0
- package/dist/shortcuts/smart-extract/manifest.js +35 -0
- package/dist/shortcuts/smart-extract/operations/attachment.js +212 -0
- package/dist/shortcuts/smart-extract/operations/batch.js +67 -0
- package/dist/shortcuts/smart-extract/operations/config.js +118 -0
- package/dist/shortcuts/smart-extract/operations/fill.js +489 -0
- package/dist/shortcuts/smart-extract/operations/preview.js +174 -0
- package/dist/shortcuts/smart-extract/operations/registry.js +34 -0
- package/dist/shortcuts/smart-extract/operations/save.js +355 -0
- package/dist/shortcuts/smart-extract/operations/shared.js +191 -0
- package/dist/shortcuts/smart-extract/operations/structure.js +401 -0
- package/dist/shortcuts/smart-extract/operations/target.js +167 -0
- package/dist/shortcuts/smart-extract/operations/types.js +22 -0
- package/dist/shortcuts/smart-extract/operations/validate.js +408 -0
- package/dist/shortcuts/workflow/operations/read.js +77 -15
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.collect.js +140 -24
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.core.js +42 -14
- package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.js +4 -6
- package/docs/SKILL.md +1 -1
- package/docs/_catalog.md +4 -1
- package/docs/agent-invoice.md +5 -7
- package/docs/data.md +5 -1
- package/docs/fna.md +24 -4
- package/docs/invoice.md +7 -5
- package/docs/smart-extract.md +156 -0
- package/package.json +1 -1
- package/skill-template/business-info.json +21 -1
- package/skill-template/domains/qiyecheng.md +6 -2
- package/skill-template/domains/smart-extract.md +16 -0
- package/skill-template/domains/yepiaotong.md +2 -2
- package/skills/weaver-e10-data/references/scene-and-misc.md +4 -3
- package/skills/weaver-e10-jinchengda/SKILL.md +159 -11
- package/skills/weaver-e10-jinchengda/references/contract-action-card.md +13 -8
- package/skills/weaver-e10-jinchengda/references/contract-action-engine.md +5 -4
- package/skills/weaver-e10-jinchengda/references/contract-clause-library-crud.md +44 -2
- package/skills/weaver-e10-jinchengda/references/contract-command-index.md +2 -2
- package/skills/weaver-e10-jinchengda/references/contract-element-save-record.md +220 -0
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-new-customer.md +68 -33
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +26 -15
- package/skills/weaver-e10-jinchengda/references/contract-flow-launch.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-modeltext-library.md +128 -0
- package/skills/weaver-e10-jinchengda/references/contract-multi-file.md +90 -0
- package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +96 -2
- package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +167 -5
- package/skills/weaver-e10-jinchengda/scripts/contract_first_screen.py +200 -0
- package/skills/weaver-e10-jinchengda/scripts/fill_contract_from_quote.py +572 -0
- package/skills/weaver-e10-jinchengda/scripts/fill_plan.py +997 -0
- package/skills/weaver-e10-jinchengda/scripts/quote_screen.py +560 -0
- package/skills/weaver-e10-jinchengda/scripts/triage_contract.py +894 -0
- package/skills/weaver-e10-jinchengda/scripts/validate_action_card.py +93 -0
- package/skills/weaver-e10-jinchengda/scripts/verify_docx_placeholders.py +118 -0
- package/skills/weaver-e10-qiyecheng/SKILL.md +58 -7
- package/skills/weaver-e10-qiyecheng/references/ai-check-audit.md +118 -0
- package/skills/weaver-e10-qiyecheng/references/budget.md +14 -0
- package/skills/weaver-e10-qiyecheng/references/catalog.md +42 -3
- package/skills/weaver-e10-qiyecheng/references/expense-center.md +8 -0
- package/skills/weaver-e10-qiyecheng/references/expense-chart.md +9 -0
- package/skills/weaver-e10-qiyecheng/references/invoice-writeoff.md +13 -0
- package/skills/weaver-e10-qiyecheng/references/loan-management.md +14 -0
- package/skills/weaver-e10-qiyecheng/references/self-hosted-mode.md +239 -0
- package/skills/weaver-e10-qiyecheng/references/source-manifest.json +153 -40
- package/skills/weaver-e10-reception-flow/SKILL.md +43 -6
- package/skills/weaver-e10-reception-flow/references/guide.md +1 -1
- package/skills/weaver-e10-recruit-stage/SKILL.md +62 -4
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +42 -8
- package/skills/weaver-e10-recruit-stage/references/env-ziyong.md +79 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +11 -3
- package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +3 -2
- package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +153 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +7 -4
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-my-positions.md +66 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +156 -40
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +122 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +36 -8
- package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +157 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +35 -0
- package/skills/weaver-e10-smart-extract/SKILL.md +169 -0
- package/skills/weaver-e10-smart-extract/references/api-contract.md +71 -0
- package/skills/weaver-e10-smart-extract/references/result-format.md +102 -0
- package/skills/weaver-e10-smart-extract/references/troubleshooting.md +105 -0
- package/skills/weaver-e10-workflow/SKILL.md +2 -1
- package/skills/weaver-e10-workflow/references/todo-smart-convert.md +29 -6
- package/skills/weaver-e10-workflow/references/workflow-query.md +1 -1
- package/skills/weaver-e10-workflow/references/workflow-view.md +1 -1
- package/skills/weaver-e10-workflow/tools/todo-summary.cjs +162 -10
- package/skills/weaver-e10-yepiaotong/SKILL.md +53 -35
- package/skills/weaver-e10-yepiaotong/references/invoice-add.md +2 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-file-upload.md +1 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-import.md +19 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-issuing-workflow.md +19 -32
- package/skills/weaver-e10-yepiaotong/references/invoice-ocr-preview.md +8 -2
- package/skills/weaver-e10-yepiaotong/references/invoice-reim-relation.md +407 -0
- package/skills/weaver-e10-yepiaotong/references/invoice-reim.md +18 -53
- package/skills/weaver-e10-yepiaotong/references/invoice-upload-and-validate.md +97 -39
- package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +96 -7
- package/skills/weaver-e10-yepiaotong/references/reim-examples.md +5 -38
- package/skills/weaver-e10-yepiaotong/references/reim-form-fill-rules.md +14 -14
- package/skills/weaver-e10-yepiaotong/references/reim-matching-rules.md +8 -4
- package/skills/weaver-e10-yepiaotong/references/reim-phone-subsidy-rules.md +139 -94
- package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +131 -58
- package/skills/weaver-e10-yepiaotong/references/source-manifest.json +110 -43
- package/skills/weaver-e10-yimiaoban/SKILL.md +8 -6
- package/skills/weaver-e10-yimiaoban/references/msg-read.md +20 -0
- package/skills/weaver-e10-yimiaoban/references/msg-write.md +7 -0
- package/skills/weaver-e10-yimiaoban/references/source-manifest.json +18 -15
- package/dist/shortcuts/invoice/operations/validate-preview.js +0 -40
- package/skills/weaver-e10-jinchengda/scripts/plan_actions.py +0 -279
- package/skills/weaver-e10-jinchengda/scripts/render_action_card.py +0 -450
- package/skills/weaver-e10-jinchengda/scripts/render_risk_report.py +0 -358
- package/skills/weaver-e10-yepiaotong/references/invoice-validation-preview.md +0 -40
|
@@ -5,35 +5,35 @@ import {
|
|
|
5
5
|
listMeetingAttachments,
|
|
6
6
|
meetingAttachmentContentOperations,
|
|
7
7
|
renderDocx
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZRHKGQRQ.js";
|
|
9
9
|
import {
|
|
10
10
|
meetingEbGroupChatOperations
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-D3TDNRFE.js";
|
|
12
12
|
import {
|
|
13
13
|
meetingEbCreateFlowOperations
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LM2H7SZI.js";
|
|
15
15
|
import {
|
|
16
16
|
ebMeetingWritePreflight,
|
|
17
17
|
meetingEbConflictOperations
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7UOXOGFL.js";
|
|
19
19
|
import {
|
|
20
20
|
meetingEbScheduleOperations
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RWFRZSIP.js";
|
|
22
22
|
import {
|
|
23
23
|
ebRoomRecommendOperation,
|
|
24
24
|
recommendRooms,
|
|
25
25
|
rememberFrequentRoom
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LTRLF6MM.js";
|
|
27
27
|
import {
|
|
28
28
|
cacheScopeSuffix,
|
|
29
29
|
readCache,
|
|
30
30
|
writeCache
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-KLZ3ULQQ.js";
|
|
32
32
|
import {
|
|
33
33
|
meetingEnvOperations,
|
|
34
34
|
meetingStateDir,
|
|
35
35
|
resolveMeetingEnvMode
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-DZOC77ZD.js";
|
|
37
37
|
import {
|
|
38
38
|
EB_BASE,
|
|
39
39
|
EB_ENDPOINTS,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
toIdString,
|
|
66
66
|
verifyLease,
|
|
67
67
|
writeBody
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-IRMA3GVP.js";
|
|
69
69
|
import {
|
|
70
70
|
CONTINUATION_TTL_SECONDS
|
|
71
71
|
} from "./chunk-7BDPM5ST.js";
|
|
@@ -2229,7 +2229,7 @@ var meetingAttachmentAttach = {
|
|
|
2229
2229
|
if (mode === "append" && existingIds.length === 0) {
|
|
2230
2230
|
existingIds.push(...beforeIds);
|
|
2231
2231
|
}
|
|
2232
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2232
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
|
|
2233
2233
|
const list = getMeetingOperation2("meeting.eb.meeting.list");
|
|
2234
2234
|
let fileId = incomingFileId;
|
|
2235
2235
|
let name = String(args.name ?? "").trim();
|
|
@@ -2317,7 +2317,7 @@ function textOf(value) {
|
|
|
2317
2317
|
return value === void 0 || value === null ? "" : String(value);
|
|
2318
2318
|
}
|
|
2319
2319
|
async function readMinute(env, id) {
|
|
2320
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2320
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
|
|
2321
2321
|
const detail = getMeetingOperation2("meeting.eb.minute.detail");
|
|
2322
2322
|
const result = await detail.handler({ id }, env);
|
|
2323
2323
|
const row = result?.data?.data;
|
|
@@ -2396,7 +2396,7 @@ var meetingMinuteWriteContent = {
|
|
|
2396
2396
|
} else {
|
|
2397
2397
|
statusReason = "\u4EC5\u6E05\u7A7A\u5185\u5BB9\uFF0C\u672A\u6539\u72B6\u6001";
|
|
2398
2398
|
}
|
|
2399
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2399
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
|
|
2400
2400
|
const prepare = getMeetingOperation2("meeting.eb.minute.update.prepare");
|
|
2401
2401
|
const apply = getMeetingOperation2("meeting.eb.minute.update.apply");
|
|
2402
2402
|
const prepared = await prepare.handler({ id, mt_id: mtId, ...patch }, env);
|
|
@@ -2518,6 +2518,13 @@ var DEFAULT_AI_MINUTE_PAGE = "1250830691712172036";
|
|
|
2518
2518
|
function textOf2(value) {
|
|
2519
2519
|
return value === void 0 || value === null ? "" : String(value);
|
|
2520
2520
|
}
|
|
2521
|
+
var SYSTEM_NOTICE_TYPES = /* @__PURE__ */ new Set(["9", "14"]);
|
|
2522
|
+
var SYSTEM_NOTICE_TYPE_NAMES = /* @__PURE__ */ new Set(["\u7CFB\u7EDF", "\u901A\u77E5", "\u5C45\u4E2D"]);
|
|
2523
|
+
function isSystemNotice(message) {
|
|
2524
|
+
const type = textOf2(message.type).trim();
|
|
2525
|
+
if (type) return SYSTEM_NOTICE_TYPES.has(type);
|
|
2526
|
+
return SYSTEM_NOTICE_TYPE_NAMES.has(textOf2(message.typeName));
|
|
2527
|
+
}
|
|
2521
2528
|
var DAY_MS = 24 * 36e5;
|
|
2522
2529
|
function parseLocalTime(value) {
|
|
2523
2530
|
const text = textOf2(value).trim();
|
|
@@ -2619,7 +2626,7 @@ function formatLine(message, nameByUid) {
|
|
|
2619
2626
|
}
|
|
2620
2627
|
function composeTranscript(messages, nameByUid, keepSystem) {
|
|
2621
2628
|
const ordered = [...messages].sort((a, b) => Number(a.msgtime ?? 0) - Number(b.msgtime ?? 0));
|
|
2622
|
-
const keptMessages = keepSystem ? ordered : ordered.filter((m) =>
|
|
2629
|
+
const keptMessages = keepSystem ? ordered : ordered.filter((m) => !isSystemNotice(m));
|
|
2623
2630
|
const ignoredSystem = ordered.length - keptMessages.length;
|
|
2624
2631
|
return {
|
|
2625
2632
|
transcript: keptMessages.map((message) => formatLine(message, nameByUid)).join("\n"),
|
|
@@ -2630,7 +2637,7 @@ function composeTranscript(messages, nameByUid, keepSystem) {
|
|
|
2630
2637
|
var DIGEST_PATTERN = /(@|负责|分工|安排|决定|结论|确定|定稿|通过|不同意|同意|截止|完成|上线|提测|排期|汇报|跟进|待办|风险|问题|方案|需求|下周|本周|明天|后天|月底|之前|号前)/;
|
|
2631
2638
|
function buildDigest(messages, nameByUid, keepSystem, maxChars) {
|
|
2632
2639
|
const ordered = [...messages].sort((a, b) => Number(a.msgtime ?? 0) - Number(b.msgtime ?? 0));
|
|
2633
|
-
const base = keepSystem ? ordered : ordered.filter((m) =>
|
|
2640
|
+
const base = keepSystem ? ordered : ordered.filter((m) => !isSystemNotice(m));
|
|
2634
2641
|
const essence = base.filter((message) => {
|
|
2635
2642
|
const content = textOf2(message.content).trim();
|
|
2636
2643
|
if (!content) return false;
|
|
@@ -2755,7 +2762,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2755
2762
|
const mtId = textOf2(args.mt_id).trim();
|
|
2756
2763
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
2757
2764
|
const pipeline = ["text", "minutes", "document"].includes(args.pipeline) ? args.pipeline : "text";
|
|
2758
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2765
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
|
|
2759
2766
|
const ctx = env.ctx;
|
|
2760
2767
|
let stepStart = Date.now();
|
|
2761
2768
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
@@ -2781,7 +2788,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2781
2788
|
const pullStart = Date.now();
|
|
2782
2789
|
const { createImHost } = await import("./host-M4XP5URR.js");
|
|
2783
2790
|
const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
|
|
2784
|
-
const { getImOperation } = await import("./registry-
|
|
2791
|
+
const { getImOperation } = await import("./registry-E5RQJVWN.js");
|
|
2785
2792
|
const imEnv = { ctx, host: createImHost(ctx), continuation: createImContinuationSigner(ctx) };
|
|
2786
2793
|
const syncOp = getImOperation("im.msg.sync.group");
|
|
2787
2794
|
const chatWindow = computeChatWindow(meeting);
|
|
@@ -2849,7 +2856,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2849
2856
|
try {
|
|
2850
2857
|
const { readFile: readFile4 } = await import("node:fs/promises");
|
|
2851
2858
|
const buffer = await readFile4(file);
|
|
2852
|
-
const { extractText } = await import("./attachment-content-
|
|
2859
|
+
const { extractText } = await import("./attachment-content-MBYYSQIX.js");
|
|
2853
2860
|
const extracted = extractText(buffer, file, "");
|
|
2854
2861
|
if (extracted.text.trim()) {
|
|
2855
2862
|
extraSections.push(`\u3010\u6750\u6599\uFF1A${file.split(/[\\/]/).pop() ?? file}\u3011
|
|
@@ -3168,7 +3175,7 @@ var meetingDecisionNotifyGroup = {
|
|
|
3168
3175
|
const warnings = [];
|
|
3169
3176
|
const mtId = textOf3(args.mt_id).trim();
|
|
3170
3177
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
3171
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3178
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
|
|
3172
3179
|
const ctx = env.ctx;
|
|
3173
3180
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
3174
3181
|
{ mt_id: mtId, pageNo: 1, pageSize: 1 },
|
|
@@ -3240,7 +3247,7 @@ var meetingDecisionNotifyGroup = {
|
|
|
3240
3247
|
const mentioned = [];
|
|
3241
3248
|
if (args.mention !== false) {
|
|
3242
3249
|
try {
|
|
3243
|
-
const { getImOperation } = await import("./registry-
|
|
3250
|
+
const { getImOperation } = await import("./registry-E5RQJVWN.js");
|
|
3244
3251
|
const membersResult = await getImOperation("im.group.users").handler(
|
|
3245
3252
|
{ groupId },
|
|
3246
3253
|
{ ctx, host: imHost }
|
|
@@ -3470,7 +3477,7 @@ var meetingPipelineRun = {
|
|
|
3470
3477
|
const needsConfirm = level === "tasks" || level === "notify";
|
|
3471
3478
|
const confirmed = args.confirm === true;
|
|
3472
3479
|
const executedLevel = needsConfirm && !confirmed ? "document" : level;
|
|
3473
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3480
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
|
|
3474
3481
|
const ctx = env.ctx;
|
|
3475
3482
|
let stepStart = Date.now();
|
|
3476
3483
|
const reuseMinuteId = textOf4(args.minuteId).trim();
|
|
@@ -3842,7 +3849,7 @@ function formatTimeRange(start, end) {
|
|
|
3842
3849
|
}
|
|
3843
3850
|
async function loadAgendaFromTopics(env, mtId) {
|
|
3844
3851
|
try {
|
|
3845
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3852
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
|
|
3846
3853
|
const operation = getMeetingOperation2("meeting.eb.topic.list");
|
|
3847
3854
|
const result = await operation.handler({ mt_id: mtId, pageNo: 1, pageSize: 200 }, env);
|
|
3848
3855
|
const rows = result.data?.rows ?? [];
|
|
@@ -3993,7 +4000,7 @@ async function supplementRowFromDetail(row, mtId, env) {
|
|
|
3993
4000
|
const missing = DETAIL_FALLBACK_KEYS.filter((key) => isBlank(row[key]));
|
|
3994
4001
|
if (missing.length === 0) return { row, filled: [] };
|
|
3995
4002
|
try {
|
|
3996
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4003
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
|
|
3997
4004
|
const detailOperation = getMeetingOperation2("meeting.eb.meeting.detail");
|
|
3998
4005
|
const result = await detailOperation.handler({ id: mtId }, env);
|
|
3999
4006
|
const flat = result?.data?.data ?? result?.data ?? {};
|
|
@@ -4167,7 +4174,7 @@ var meetingInvitationRender = {
|
|
|
4167
4174
|
};
|
|
4168
4175
|
dataSource = "payload";
|
|
4169
4176
|
} else {
|
|
4170
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4177
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
|
|
4171
4178
|
const listOperation = getMeetingOperation2("meeting.eb.meeting.list");
|
|
4172
4179
|
try {
|
|
4173
4180
|
const listed = await listOperation.handler({ mt_id: mtId, pageNo: 1, pageSize: 1 }, env);
|
|
@@ -4511,7 +4518,7 @@ var meetingInvitationPublish = {
|
|
|
4511
4518
|
"\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"
|
|
4512
4519
|
);
|
|
4513
4520
|
}
|
|
4514
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4521
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
|
|
4515
4522
|
const render = getMeetingOperation2("meeting.invitation.render");
|
|
4516
4523
|
const rendered = await render.handler(
|
|
4517
4524
|
{
|
|
@@ -5226,7 +5233,7 @@ var meetingSummaryGet = {
|
|
|
5226
5233
|
const mtId = textOf5(args.mt_id).trim();
|
|
5227
5234
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
5228
5235
|
const ctx = env.ctx;
|
|
5229
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
5236
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
|
|
5230
5237
|
const warnings = [];
|
|
5231
5238
|
const timings = {};
|
|
5232
5239
|
const include = Array.isArray(args.include) && args.include.length > 0 ? args.include.filter((item) => ALL_SECTIONS.includes(item)) : ALL_SECTIONS;
|
|
@@ -5364,7 +5371,7 @@ var meetingSummaryGet = {
|
|
|
5364
5371
|
try {
|
|
5365
5372
|
const { createImHost } = await import("./host-M4XP5URR.js");
|
|
5366
5373
|
const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
|
|
5367
|
-
const { getImOperation } = await import("./registry-
|
|
5374
|
+
const { getImOperation } = await import("./registry-E5RQJVWN.js");
|
|
5368
5375
|
const imEnv = {
|
|
5369
5376
|
ctx,
|
|
5370
5377
|
// 测试环境靠 env.imHost 注入假实现,否则会真的打到线上群聊
|
|
@@ -5547,7 +5554,7 @@ var MT_STATUS_OVER = "8";
|
|
|
5547
5554
|
var CANCELLED_MARK_DELAY_MS = 800;
|
|
5548
5555
|
async function isCancelledMeeting(env, mtId) {
|
|
5549
5556
|
try {
|
|
5550
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
5557
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
|
|
5551
5558
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
5552
5559
|
// withCount:false —— 这里只要一行状态,不必额外请求 count(少一次往返,也便于测试替身)
|
|
5553
5560
|
{ mt_id: mtId, pageNo: 1, pageSize: 1, withCount: false },
|
|
@@ -6572,7 +6579,7 @@ var ebAutoInvitationAfterWrite = async (context) => {
|
|
|
6572
6579
|
const mtId = String(context.dataIds?.[0] ?? "").trim();
|
|
6573
6580
|
if (!isCreate || !enabled || !mtId) return association;
|
|
6574
6581
|
try {
|
|
6575
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
6582
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-SJHSBO5G.js");
|
|
6576
6583
|
const render = getMeetingOperation2("meeting.invitation.render");
|
|
6577
6584
|
const result = await render.handler({ mtId }, context.env);
|
|
6578
6585
|
return { ...association ?? {}, invitation: result?.data ?? null };
|
|
@@ -3,13 +3,13 @@ const require = __esbuildCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
readCache,
|
|
5
5
|
writeCache
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KLZ3ULQQ.js";
|
|
7
7
|
import {
|
|
8
8
|
SCHEMA_DATETIME_MINUTE,
|
|
9
9
|
meetingSuccess,
|
|
10
10
|
meetingValidationError,
|
|
11
11
|
schemaOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IRMA3GVP.js";
|
|
13
13
|
|
|
14
14
|
// src/shortcuts/meeting/operations/eb/schedule.ts
|
|
15
15
|
var SCHEDULE_TYPE_PATH = "/api/ebuilder/form/formdata/v2/getFormDataList/queryAgendaType";
|
|
@@ -2,13 +2,13 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
meetingStateDir
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DZOC77ZD.js";
|
|
6
6
|
import {
|
|
7
7
|
SCHEMA_ID,
|
|
8
8
|
meetingSuccess,
|
|
9
9
|
meetingValidationError,
|
|
10
10
|
schemaOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IRMA3GVP.js";
|
|
12
12
|
|
|
13
13
|
// src/shortcuts/meeting/operations/attachment-content.ts
|
|
14
14
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
findCommonFreeSlots,
|
|
8
8
|
meetingEbConflictOperations,
|
|
9
9
|
runEbConflictCheck
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-7UOXOGFL.js";
|
|
11
|
+
import "./chunk-IRMA3GVP.js";
|
|
12
12
|
import "./chunk-7BDPM5ST.js";
|
|
13
13
|
import "./chunk-UG5G54VL.js";
|
|
14
14
|
import "./chunk-BUSC6UAE.js";
|