weaver-work-cli 0.1.47 → 0.1.48
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/dist/chunks/{archive-oa-BBDP7AKJ.js → archive-oa-EDJDU3V4.js} +454 -5
- package/dist/chunks/{attachment-content-MCXQBD6N.js → attachment-content-4KSNBPRO.js} +3 -3
- package/dist/chunks/{chunk-J2VEB5K3.js → chunk-2BQESR2U.js} +2 -2
- package/dist/chunks/{chunk-727FH2NI.js → chunk-2IGZUMNG.js} +15 -2
- package/dist/chunks/{chunk-76H3IKH6.js → chunk-5B5JXTY2.js} +35 -35
- package/dist/chunks/{chunk-Q4OYAQYH.js → chunk-72MI3MBX.js} +4 -0
- package/dist/chunks/{chunk-4RWS2YYL.js → chunk-BCACE6VV.js} +2 -2
- package/dist/chunks/{chunk-AD46OMQK.js → chunk-EFOUMXIX.js} +119 -44
- package/dist/chunks/{chunk-IRMIEDXN.js → chunk-FEP6ELMR.js} +1 -1
- package/dist/chunks/{chunk-LIEQJIGM.js → chunk-GR76ZDDX.js} +0 -3
- package/dist/chunks/{chunk-JB34OE7R.js → chunk-NBEWUR7L.js} +1 -1
- package/dist/chunks/{chunk-6V5ZPKHV.js → chunk-NK74RE5F.js} +2 -2
- package/dist/chunks/{chunk-GSZTA43P.js → chunk-OCYRVZGN.js} +2 -2
- package/dist/chunks/{chunk-OXHHJWNC.js → chunk-PSPOFLSU.js} +1 -1
- package/dist/chunks/{chunk-6AXKWFKG.js → chunk-R2HHLJNN.js} +4 -4
- package/dist/chunks/{chunk-PSOMGA3U.js → chunk-SVFG6EMV.js} +35 -6
- package/dist/chunks/{chunk-IP4CWQCF.js → chunk-WMSAWAWZ.js} +8 -8
- package/dist/chunks/{conflict-H7EHQXYY.js → conflict-APGSD5E7.js} +2 -2
- package/dist/chunks/{contract-3QLAGYQL.js → contract-N6P2HIIE.js} +425 -187
- package/dist/chunks/{create-flow-VRVJEOBX.js → create-flow-5TXFOC7X.js} +6 -6
- package/dist/chunks/{ehr-SH2LM3NK.js → ehr-XI4BIVR2.js} +16 -5
- package/dist/chunks/{env-66FPSJDV.js → env-B6GKA2J3.js} +2 -2
- package/dist/chunks/{factory-UH2TZBVA.js → factory-MFCKLUT6.js} +1 -1
- package/dist/chunks/{group-chat-CAKMMV7K.js → group-chat-YE7WIBFO.js} +3 -3
- package/dist/chunks/{im-NJB7ZYMH.js → im-3RCNL5GT.js} +107 -1
- package/dist/chunks/{invoice-UEAHSYAE.js → invoice-FXWH5GPO.js} +2 -71
- package/dist/chunks/{lazy-dispatch-25XGTXLM.js → lazy-dispatch-XSAHDK6Z.js} +3 -3
- package/dist/chunks/{meeting-VTBFW4HI.js → meeting-RYZV2JTQ.js} +10 -10
- package/dist/chunks/{reception-5WITA44R.js → reception-VL6TKVAW.js} +480 -26
- package/dist/chunks/{recruit-stage-CAKZTUA7.js → recruit-stage-ERZD3ZNB.js} +52 -16
- package/dist/chunks/{registry-JVQBLFQ5.js → registry-22O6UG4I.js} +10 -10
- package/dist/chunks/{registry-AQVGHUM6.js → registry-7VZ6YJUF.js} +2 -2
- package/dist/chunks/{registry-PVUZQDDQ.js → registry-BUTEDK3C.js} +1 -1
- package/dist/chunks/{room-recommend-5U55FMXZ.js → room-recommend-IMZPJMYB.js} +4 -4
- package/dist/chunks/{schedule-IDETODCA.js → schedule-SPPAHER2.js} +4 -4
- package/dist/chunks/{workflow-BSYT5TGL.js → workflow-WVEFJ6KC.js} +2 -2
- package/dist/core/refs.js +19 -2
- package/dist/index.js +14 -14
- package/dist/shortcuts/archive-oa/constants.js +42 -0
- package/dist/shortcuts/archive-oa/host.js +2 -2
- package/dist/shortcuts/archive-oa/index.js +38 -0
- package/dist/shortcuts/archive-oa/operations/borrow-car.js +117 -3
- package/dist/shortcuts/archive-oa/operations/my-borrow-contract.js +271 -0
- package/dist/shortcuts/archive-oa/operations/registry.js +5 -3
- package/dist/shortcuts/contract/index.js +9 -1
- package/dist/shortcuts/contract/manifest.js +14 -2
- package/dist/shortcuts/contract/operations/card.js +231 -0
- package/dist/shortcuts/contract/operations/registry.js +2 -0
- package/dist/shortcuts/contract/operations/review.js +16 -5
- package/dist/shortcuts/contract/operations/summary.js +25 -17
- package/dist/shortcuts/ehr/operations/recruit-write.js +22 -5
- package/dist/shortcuts/ehr/recruit-stage/operations/interview-arrange.js +17 -8
- package/dist/shortcuts/ehr/recruit-stage/shared.js +33 -8
- package/dist/shortcuts/im/index.js +128 -0
- package/dist/shortcuts/im/operations/session.js +6 -0
- package/dist/shortcuts/invoice/host.js +0 -3
- package/dist/shortcuts/invoice/manifest.js +0 -1
- package/dist/shortcuts/invoice/operations/reim-subsidy.js +1 -71
- package/dist/shortcuts/meeting/operations/eb/conflict.js +26 -3
- package/dist/shortcuts/meeting/operations/eb/continuation-alias.js +63 -0
- package/dist/shortcuts/meeting/operations/eb/create-flow.js +71 -12
- package/dist/shortcuts/meeting/operations/eb/factory.js +5 -3
- package/dist/shortcuts/reception/host.js +33 -1
- package/dist/shortcuts/reception/index.js +19 -0
- package/dist/shortcuts/reception/manifest.js +53 -1
- package/dist/shortcuts/reception/operations/ask.js +18 -0
- package/dist/shortcuts/reception/operations/compose.js +113 -3
- package/dist/shortcuts/reception/operations/leads.js +245 -0
- package/dist/shortcuts/reception/operations/markdown.js +22 -0
- package/dist/shortcuts/reception/operations/registry.js +2 -0
- package/dist/shortcuts/reception/operations/render.js +36 -3
- package/dist/shortcuts/reception/operations/restaurant-rooms.js +118 -0
- package/dist/shortcuts/reception/operations/restaurant.js +251 -0
- package/dist/shortcuts/reception/operations/restaurantrooms.js +42 -0
- package/dist/shortcuts/reception/operations/schedule.js +7 -1
- package/dist/shortcuts/reception/upload.js +22 -6
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +17 -8
- package/dist/shortcuts/recruit-stage/shared.js +42 -14
- package/docs/archive-oa.md +4 -2
- package/package.json +1 -1
- package/skill-template/domains/archive-oa.md +2 -1
- package/skill-template/master-skill-template.md +1 -0
- package/skill-template/skill-template.md +1 -0
- package/skills/weaver-e10-archive-oa/SKILL.md +33 -6
- package/skills/weaver-e10-archive-oa/references/borrow-car.md +32 -7
- package/skills/weaver-e10-archive-oa/references/contract-search.md +32 -0
- package/skills/weaver-e10-archive-oa/references/disabled-capabilities.md +1 -1
- package/skills/weaver-e10-archive-oa/references/my-borrow-contract.md +97 -0
- package/skills/weaver-e10-archive-oa/references/my-borrow.md +6 -1
- package/skills/weaver-e10-archive-oa/references/qys-contract-search.md +22 -0
- package/skills/weaver-e10-calendar/SKILL.md +1 -1
- package/skills/weaver-e10-calendar/references/calendar-query.md +1 -1
- package/skills/weaver-e10-calendar/references/calendar-write.md +9 -9
- package/skills/weaver-e10-cowork/SKILL.md +9 -6
- package/skills/weaver-e10-jinchengda/SKILL.md +10 -7
- package/skills/weaver-e10-jinchengda/references/contract-action-card-template.html +17 -0
- package/skills/weaver-e10-jinchengda/references/contract-action-card.md +263 -35
- package/skills/weaver-e10-jinchengda/references/contract-action-engine.md +8 -5
- package/skills/weaver-e10-jinchengda/references/contract-ai-assistant.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +175 -22
- package/skills/weaver-e10-jinchengda/references/contract-command-index.md +2 -2
- package/skills/weaver-e10-jinchengda/references/contract-credit-page.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-doc-compare.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +124 -19
- package/skills/weaver-e10-jinchengda/references/contract-element-extract.md +2 -2
- package/skills/weaver-e10-jinchengda/references/contract-execution-rules.md +4 -4
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +6 -0
- package/skills/weaver-e10-jinchengda/references/contract-flow-launch.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-risk-report-template.html +178 -0
- package/skills/weaver-e10-jinchengda/references/contract-template-recommend.md +1 -1
- package/skills/weaver-e10-jinchengda/references/orchestration.md +7 -7
- package/skills/weaver-e10-jinchengda/scripts/plan_actions.py +279 -0
- package/skills/weaver-e10-jinchengda/scripts/render_action_card.py +450 -0
- package/skills/weaver-e10-jinchengda/scripts/render_risk_report.py +358 -0
- package/skills/weaver-e10-jinchengda/scripts/validate_action_card.py +505 -0
- package/skills/weaver-e10-jucailin/SKILL.md +7 -4
- package/skills/weaver-e10-jucailin/references/recruit-create.md +3 -2
- package/skills/weaver-e10-jucailin/references/recruit-read.md +2 -1
- package/skills/weaver-e10-jucailin/references/recruit-stage-ops.md +3 -3
- package/skills/weaver-e10-jucailin/references/safety-boundaries.md +30 -2
- package/skills/weaver-e10-mail/SKILL.md +17 -4
- package/skills/weaver-e10-meeting/SKILL.md +94 -409
- package/skills/weaver-e10-meeting/references/create-flow.md +188 -0
- package/skills/weaver-e10-meeting/references/create-guardrails.md +234 -0
- package/skills/weaver-e10-meeting/references/pitfalls.md +40 -0
- package/skills/weaver-e10-reception-flow/SKILL.md +62 -18
- package/skills/weaver-e10-reception-flow/data/fields-snapshot.json +628 -26
- package/skills/weaver-e10-reception-flow/references/fields-snapshot.md +96 -26
- package/skills/weaver-e10-reception-flow/scripts/render.py +81 -2
- package/skills/weaver-e10-recruit-stage/SKILL.md +45 -12
- package/skills/weaver-e10-recruit-stage/agents/openai.yaml +58 -8
- package/skills/weaver-e10-recruit-stage/references/position-templates.md +5 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +40 -11
- package/skills/weaver-e10-recruit-stage/references/recruit-list-candidate.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +16 -0
- package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +1 -1
- package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +127 -0
- package/skills/weaver-e10-shijingran/SKILL.md +6 -2
- package/skills/weaver-e10-shijingran/references/source-manifest.json +5 -4
- package/skills/weaver-e10-workflow/SKILL.md +1 -1
- package/skills/weaver-e10-yepiaotong/SKILL.md +8 -4
- package/skills/weaver-e10-yepiaotong/references/invoice-issuing-workflow.md +1 -1
- package/skills/weaver-e10-yepiaotong/references/invoice-reim.md +1 -1
- package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +2 -2
- package/skills/weaver-e10-yepiaotong/references/reim-form-fill-rules.md +1 -1
- package/skills/weaver-e10-yepiaotong/references/reim-phone-subsidy-rules.md +1 -1
- package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +1 -0
- package/skills/weaver-e10-yimiaoban/SKILL.md +2 -1
- package/skills/weaver-e10-yimiaoban/references/msg-write.md +32 -0
- package/skills/weaver-e10-yimiaoban/references/session-sysmsg.md +3 -0
- package/skills/weaver-e10-yimiaoban/references/source-manifest.json +11 -11
- package/dist/chunks/{ebuilder-form-GWDTKEI2.js → ebuilder-form-I5ZIX4WO.js} +3 -3
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-README.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-SKILL.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-openai.yaml +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-position-templates.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-arrange-interview.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-capability-check.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-check-install.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-detail-process.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-edit-interview-feedback.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-jd-create.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-jd-template.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-list-candidate.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-list-interview.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-match-candidates.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-output-links.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-resolve-creator.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-resolve-metadata.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-resume-import.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-resume-parse.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-search-candidate.md +0 -0
- /package/{skills → docs/legacy}/weaver-e10-jucailin/archive/LEGACY-recruit-urge-feedback.md +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
PENDING_MARK,
|
|
5
|
+
listMeetingAttachments,
|
|
6
|
+
meetingAttachmentContentOperations,
|
|
7
|
+
renderDocx
|
|
8
|
+
} from "./chunk-OCYRVZGN.js";
|
|
3
9
|
import {
|
|
4
10
|
meetingEbGroupChatOperations
|
|
5
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WMSAWAWZ.js";
|
|
6
12
|
import {
|
|
7
13
|
meetingEbCreateFlowOperations
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
ebRoomRecommendOperation,
|
|
11
|
-
recommendRooms,
|
|
12
|
-
rememberFrequentRoom
|
|
13
|
-
} from "./chunk-6AXKWFKG.js";
|
|
14
|
-
import {
|
|
15
|
-
meetingEbScheduleOperations
|
|
16
|
-
} from "./chunk-4RWS2YYL.js";
|
|
14
|
+
} from "./chunk-EFOUMXIX.js";
|
|
17
15
|
import {
|
|
18
16
|
ebMeetingWritePreflight,
|
|
19
17
|
meetingEbConflictOperations
|
|
20
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SVFG6EMV.js";
|
|
21
19
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
meetingEbScheduleOperations
|
|
21
|
+
} from "./chunk-BCACE6VV.js";
|
|
22
|
+
import {
|
|
23
|
+
ebRoomRecommendOperation,
|
|
24
|
+
recommendRooms,
|
|
25
|
+
rememberFrequentRoom
|
|
26
|
+
} from "./chunk-R2HHLJNN.js";
|
|
27
27
|
import {
|
|
28
28
|
meetingEnvOperations,
|
|
29
29
|
meetingStateDir,
|
|
30
30
|
resolveMeetingEnvMode
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FEP6ELMR.js";
|
|
32
32
|
import {
|
|
33
33
|
EB_BASE,
|
|
34
34
|
EB_ENDPOINTS,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
toIdString,
|
|
61
61
|
verifyLease,
|
|
62
62
|
writeBody
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-NK74RE5F.js";
|
|
64
64
|
import {
|
|
65
65
|
CONTINUATION_TTL_SECONDS
|
|
66
66
|
} from "./chunk-7BDPM5ST.js";
|
|
@@ -2224,7 +2224,7 @@ var meetingAttachmentAttach = {
|
|
|
2224
2224
|
if (mode === "append" && existingIds.length === 0) {
|
|
2225
2225
|
existingIds.push(...beforeIds);
|
|
2226
2226
|
}
|
|
2227
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2227
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-22O6UG4I.js");
|
|
2228
2228
|
const list = getMeetingOperation2("meeting.eb.meeting.list");
|
|
2229
2229
|
let fileId = incomingFileId;
|
|
2230
2230
|
let name = String(args.name ?? "").trim();
|
|
@@ -2312,7 +2312,7 @@ function textOf(value) {
|
|
|
2312
2312
|
return value === void 0 || value === null ? "" : String(value);
|
|
2313
2313
|
}
|
|
2314
2314
|
async function readMinute(env, id) {
|
|
2315
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2315
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-22O6UG4I.js");
|
|
2316
2316
|
const detail = getMeetingOperation2("meeting.eb.minute.detail");
|
|
2317
2317
|
const result = await detail.handler({ id }, env);
|
|
2318
2318
|
const row = result?.data?.data;
|
|
@@ -2391,7 +2391,7 @@ var meetingMinuteWriteContent = {
|
|
|
2391
2391
|
} else {
|
|
2392
2392
|
statusReason = "\u4EC5\u6E05\u7A7A\u5185\u5BB9\uFF0C\u672A\u6539\u72B6\u6001";
|
|
2393
2393
|
}
|
|
2394
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2394
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-22O6UG4I.js");
|
|
2395
2395
|
const prepare = getMeetingOperation2("meeting.eb.minute.update.prepare");
|
|
2396
2396
|
const apply = getMeetingOperation2("meeting.eb.minute.update.apply");
|
|
2397
2397
|
const prepared = await prepare.handler({ id, mt_id: mtId, ...patch }, env);
|
|
@@ -2750,7 +2750,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2750
2750
|
const mtId = textOf2(args.mt_id).trim();
|
|
2751
2751
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
2752
2752
|
const pipeline = ["text", "minutes", "document"].includes(args.pipeline) ? args.pipeline : "text";
|
|
2753
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
2753
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-22O6UG4I.js");
|
|
2754
2754
|
const ctx = env.ctx;
|
|
2755
2755
|
let stepStart = Date.now();
|
|
2756
2756
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
@@ -2776,7 +2776,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2776
2776
|
const pullStart = Date.now();
|
|
2777
2777
|
const { createImHost } = await import("./host-M4XP5URR.js");
|
|
2778
2778
|
const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
|
|
2779
|
-
const { getImOperation } = await import("./registry-
|
|
2779
|
+
const { getImOperation } = await import("./registry-BUTEDK3C.js");
|
|
2780
2780
|
const imEnv = { ctx, host: createImHost(ctx), continuation: createImContinuationSigner(ctx) };
|
|
2781
2781
|
const syncOp = getImOperation("im.msg.sync.group");
|
|
2782
2782
|
const chatWindow = computeChatWindow(meeting);
|
|
@@ -2844,7 +2844,7 @@ var meetingMinuteFromGroupChat = {
|
|
|
2844
2844
|
try {
|
|
2845
2845
|
const { readFile: readFile4 } = await import("node:fs/promises");
|
|
2846
2846
|
const buffer = await readFile4(file);
|
|
2847
|
-
const { extractText } = await import("./attachment-content-
|
|
2847
|
+
const { extractText } = await import("./attachment-content-4KSNBPRO.js");
|
|
2848
2848
|
const extracted = extractText(buffer, file, "");
|
|
2849
2849
|
if (extracted.text.trim()) {
|
|
2850
2850
|
extraSections.push(`\u3010\u6750\u6599\uFF1A${file.split(/[\\/]/).pop() ?? file}\u3011
|
|
@@ -3163,7 +3163,7 @@ var meetingDecisionNotifyGroup = {
|
|
|
3163
3163
|
const warnings = [];
|
|
3164
3164
|
const mtId = textOf3(args.mt_id).trim();
|
|
3165
3165
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
3166
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3166
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-22O6UG4I.js");
|
|
3167
3167
|
const ctx = env.ctx;
|
|
3168
3168
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
3169
3169
|
{ mt_id: mtId, pageNo: 1, pageSize: 1 },
|
|
@@ -3235,7 +3235,7 @@ var meetingDecisionNotifyGroup = {
|
|
|
3235
3235
|
const mentioned = [];
|
|
3236
3236
|
if (args.mention !== false) {
|
|
3237
3237
|
try {
|
|
3238
|
-
const { getImOperation } = await import("./registry-
|
|
3238
|
+
const { getImOperation } = await import("./registry-BUTEDK3C.js");
|
|
3239
3239
|
const membersResult = await getImOperation("im.group.users").handler(
|
|
3240
3240
|
{ groupId },
|
|
3241
3241
|
{ ctx, host: imHost }
|
|
@@ -3465,7 +3465,7 @@ var meetingPipelineRun = {
|
|
|
3465
3465
|
const needsConfirm = level === "tasks" || level === "notify";
|
|
3466
3466
|
const confirmed = args.confirm === true;
|
|
3467
3467
|
const executedLevel = needsConfirm && !confirmed ? "document" : level;
|
|
3468
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3468
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-22O6UG4I.js");
|
|
3469
3469
|
const ctx = env.ctx;
|
|
3470
3470
|
let stepStart = Date.now();
|
|
3471
3471
|
const reuseMinuteId = textOf4(args.minuteId).trim();
|
|
@@ -3837,7 +3837,7 @@ function formatTimeRange(start, end) {
|
|
|
3837
3837
|
}
|
|
3838
3838
|
async function loadAgendaFromTopics(env, mtId) {
|
|
3839
3839
|
try {
|
|
3840
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3840
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-22O6UG4I.js");
|
|
3841
3841
|
const operation = getMeetingOperation2("meeting.eb.topic.list");
|
|
3842
3842
|
const result = await operation.handler({ mt_id: mtId, pageNo: 1, pageSize: 200 }, env);
|
|
3843
3843
|
const rows = result.data?.rows ?? [];
|
|
@@ -3988,7 +3988,7 @@ async function supplementRowFromDetail(row, mtId, env) {
|
|
|
3988
3988
|
const missing = DETAIL_FALLBACK_KEYS.filter((key) => isBlank(row[key]));
|
|
3989
3989
|
if (missing.length === 0) return { row, filled: [] };
|
|
3990
3990
|
try {
|
|
3991
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
3991
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-22O6UG4I.js");
|
|
3992
3992
|
const detailOperation = getMeetingOperation2("meeting.eb.meeting.detail");
|
|
3993
3993
|
const result = await detailOperation.handler({ id: mtId }, env);
|
|
3994
3994
|
const flat = result?.data?.data ?? result?.data ?? {};
|
|
@@ -4162,7 +4162,7 @@ var meetingInvitationRender = {
|
|
|
4162
4162
|
};
|
|
4163
4163
|
dataSource = "payload";
|
|
4164
4164
|
} else {
|
|
4165
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4165
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-22O6UG4I.js");
|
|
4166
4166
|
const listOperation = getMeetingOperation2("meeting.eb.meeting.list");
|
|
4167
4167
|
try {
|
|
4168
4168
|
const listed = await listOperation.handler({ mt_id: mtId, pageNo: 1, pageSize: 1 }, env);
|
|
@@ -4328,7 +4328,7 @@ var meetingInvitationPublish = {
|
|
|
4328
4328
|
"\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"
|
|
4329
4329
|
);
|
|
4330
4330
|
}
|
|
4331
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
4331
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-22O6UG4I.js");
|
|
4332
4332
|
const render = getMeetingOperation2("meeting.invitation.render");
|
|
4333
4333
|
const rendered = await render.handler(
|
|
4334
4334
|
{
|
|
@@ -5043,7 +5043,7 @@ var meetingSummaryGet = {
|
|
|
5043
5043
|
const mtId = textOf5(args.mt_id).trim();
|
|
5044
5044
|
if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
|
|
5045
5045
|
const ctx = env.ctx;
|
|
5046
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
5046
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-22O6UG4I.js");
|
|
5047
5047
|
const warnings = [];
|
|
5048
5048
|
const timings = {};
|
|
5049
5049
|
const include = Array.isArray(args.include) && args.include.length > 0 ? args.include.filter((item) => ALL_SECTIONS.includes(item)) : ALL_SECTIONS;
|
|
@@ -5181,7 +5181,7 @@ var meetingSummaryGet = {
|
|
|
5181
5181
|
try {
|
|
5182
5182
|
const { createImHost } = await import("./host-M4XP5URR.js");
|
|
5183
5183
|
const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
|
|
5184
|
-
const { getImOperation } = await import("./registry-
|
|
5184
|
+
const { getImOperation } = await import("./registry-BUTEDK3C.js");
|
|
5185
5185
|
const imEnv = {
|
|
5186
5186
|
ctx,
|
|
5187
5187
|
// 测试环境靠 env.imHost 注入假实现,否则会真的打到线上群聊
|
|
@@ -5364,7 +5364,7 @@ var MT_STATUS_OVER = "8";
|
|
|
5364
5364
|
var CANCELLED_MARK_DELAY_MS = 800;
|
|
5365
5365
|
async function isCancelledMeeting(env, mtId) {
|
|
5366
5366
|
try {
|
|
5367
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
5367
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-22O6UG4I.js");
|
|
5368
5368
|
const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
|
|
5369
5369
|
// withCount:false —— 这里只要一行状态,不必额外请求 count(少一次往返,也便于测试替身)
|
|
5370
5370
|
{ mt_id: mtId, pageNo: 1, pageSize: 1, withCount: false },
|
|
@@ -6389,7 +6389,7 @@ var ebAutoInvitationAfterWrite = async (context) => {
|
|
|
6389
6389
|
const mtId = String(context.dataIds?.[0] ?? "").trim();
|
|
6390
6390
|
if (!isCreate || !enabled || !mtId) return association;
|
|
6391
6391
|
try {
|
|
6392
|
-
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-
|
|
6392
|
+
const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-22O6UG4I.js");
|
|
6393
6393
|
const render = getMeetingOperation2("meeting.invitation.render");
|
|
6394
6394
|
const result = await render.handler({ mtId }, context.env);
|
|
6395
6395
|
return { ...association ?? {}, invitation: result?.data ?? null };
|
|
@@ -2934,6 +2934,10 @@ var sessionList = {
|
|
|
2934
2934
|
sessionType: type,
|
|
2935
2935
|
sessionTypeName: typeName,
|
|
2936
2936
|
name,
|
|
2937
|
+
// 目标 id:单聊对方 uid/cid、群聊 group_id、系统消息分组 group(直接可用于发消息/查消息,不用再按名字反查)
|
|
2938
|
+
...[1, 6, 9].includes(type) && s?.fuser ? { toUid: str(s.fuser.uid), toCid: str(s.fuser.cid) } : {},
|
|
2939
|
+
...[2, 3, 7, 11].includes(type) && s?.group_id ? { groupId: str(s.group_id) } : {},
|
|
2940
|
+
...[4, 10].includes(type) && s?.group ? { group: str(s.group) } : {},
|
|
2937
2941
|
unread: Number(unread),
|
|
2938
2942
|
dontDisturb,
|
|
2939
2943
|
unreadLabel: Number(unread) > 0 ? dontDisturb ? `${unread}\uFF08\u514D\u6253\u6270\uFF09` : String(unread) : "",
|
|
@@ -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-PSPOFLSU.js";
|
|
7
7
|
import {
|
|
8
8
|
SCHEMA_DATETIME_MINUTE,
|
|
9
9
|
meetingSuccess,
|
|
10
10
|
meetingValidationError,
|
|
11
11
|
schemaOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NK74RE5F.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";
|