weaver-work-cli 0.1.67 → 0.1.68
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-WUZKAEZ6.js → archive-SJTC5265.js} +12 -8
- package/dist/chunks/{asset-ZPC5VWZM.js → asset-XM3Y4FVU.js} +12 -7
- package/dist/chunks/{attachment-content-7SDA6WER.js → attachment-content-IXIBOET6.js} +3 -3
- package/dist/chunks/{chunk-JU5OPHSY.js → chunk-3NJQTG6X.js} +36 -27
- package/dist/chunks/{chunk-IN6NXQ26.js → chunk-3Q5F4C5B.js} +47 -27
- package/dist/chunks/{chunk-DTJZOAO6.js → chunk-6OK4LW76.js} +7 -7
- package/dist/chunks/{chunk-5QYE52LG.js → chunk-7M5OYRK2.js} +18 -9
- package/dist/chunks/{chunk-6ZOSVKMT.js → chunk-BJNSTCJK.js} +1 -1
- package/dist/chunks/{chunk-RU7ZZQQQ.js → chunk-C5IIIT4D.js} +4 -4
- package/dist/chunks/{chunk-G7PQWD4L.js → chunk-DVFA3ODS.js} +38 -10
- package/dist/chunks/{chunk-ATEXBEPD.js → chunk-LCM5SSGJ.js} +4 -1
- package/dist/chunks/{chunk-KS6LXSCA.js → chunk-LXXR2RRE.js} +73 -69
- package/dist/chunks/{chunk-MRYKV5HN.js → chunk-O7KPHPXQ.js} +35 -35
- package/dist/chunks/{chunk-LNWFHNVK.js → chunk-OKUJY5YB.js} +318 -37
- package/dist/chunks/{chunk-C4YQJFZV.js → chunk-PAWXVT6H.js} +22 -11
- package/dist/chunks/{chunk-TXXO4TJT.js → chunk-QHKY4WZA.js} +2 -2
- package/dist/chunks/{chunk-33ANTJWB.js → chunk-QO6JYDIW.js} +3 -3
- package/dist/chunks/{chunk-R6GGDZ2C.js → chunk-X7ZTM4XG.js} +1 -1
- package/dist/chunks/{chunk-XARLZK6C.js → chunk-Y7RGBRLG.js} +3 -3
- package/dist/chunks/{chunk-4PYLZORW.js → chunk-YSEHTSHS.js} +8 -8
- package/dist/chunks/{conflict-DYCSX7CN.js → conflict-CEXRX2KP.js} +2 -2
- package/dist/chunks/{contract-N5WNHKHI.js → contract-PM3EUPZC.js} +38 -20
- package/dist/chunks/{create-flow-PABAGCK2.js → create-flow-DG6D7U2L.js} +6 -6
- package/dist/chunks/{data-QKWI5325.js → data-3G4GQS5P.js} +13 -1
- package/dist/chunks/{ebuilder-form-ZONRROK4.js → ebuilder-form-5ENYH7IF.js} +1 -1
- package/dist/chunks/{employee-PGMY6NI6.js → employee-QX57HEWS.js} +1 -1
- package/dist/chunks/{entry-mode-C2WPJQJM.js → entry-mode-KMP66KHE.js} +3 -3
- package/dist/chunks/{env-SEEXUXZF.js → env-SW6CTETI.js} +2 -2
- package/dist/chunks/{factory-WNLDOLJZ.js → factory-ETQAICPA.js} +1 -1
- package/dist/chunks/{group-chat-DOS4XWUN.js → group-chat-GTYMCBYS.js} +3 -3
- package/dist/chunks/{hrm-XKL27NX2.js → hrm-5WSMSKPX.js} +3 -3
- package/dist/chunks/{im-NDYIMASG.js → im-P7GNBRG6.js} +1 -1
- package/dist/chunks/{invoice-SMODTN2D.js → invoice-2QCVNXBG.js} +2 -1
- package/dist/chunks/{jiuchuanhui-3T5X7SB7.js → jiuchuanhui-FHGFYAHU.js} +4 -1
- package/dist/chunks/{meeting-2IWXP5IL.js → meeting-3PTTPUSG.js} +11 -11
- package/dist/chunks/{minute-doc-N4OR5OLP.js → minute-doc-3IMRJDJV.js} +2 -2
- package/dist/chunks/{okr-VZXRQGS4.js → okr-OIWJRYWY.js} +7 -1
- package/dist/chunks/{operations-62N6EP3C.js → operations-LQY3FTPH.js} +1 -1
- package/dist/chunks/{org-NFE7X7FK.js → org-MWWIFNAO.js} +1 -1
- package/dist/chunks/{reception-3FT2F66K.js → reception-2VSWJQ5N.js} +4 -2
- package/dist/chunks/{recruit-stage-WPGB5BDJ.js → recruit-stage-KHJYQE3I.js} +4 -1
- package/dist/chunks/{registry-JMNOXRST.js → registry-4S3RXXWS.js} +3 -3
- package/dist/chunks/{registry-E5RQJVWN.js → registry-AC33ZZVH.js} +1 -1
- package/dist/chunks/{registry-ABKBGGGK.js → registry-FXBOGH2X.js} +1 -1
- package/dist/chunks/{registry-XOUVCSV4.js → registry-PHPYTXS4.js} +11 -11
- package/dist/chunks/{room-recommend-TWIEVY44.js → room-recommend-BKCPAXQG.js} +4 -4
- package/dist/chunks/{schedule-XZ4UUX4E.js → schedule-Q3MPSZV6.js} +4 -4
- package/dist/chunks/{smart-extract-DEBLJPCQ.js → smart-extract-TYYKC244.js} +28 -17
- package/dist/chunks/{workflow-D7LBN5MZ.js → workflow-GEDHALMY.js} +1 -1
- package/dist/index.js +15 -15
- package/dist/shortcuts/archive/operations/archive-info.js +9 -5
- package/dist/shortcuts/asset/manifest.js +8 -3
- package/dist/shortcuts/contract/manifest.js +38 -20
- package/dist/shortcuts/data/manifest.js +13 -1
- package/dist/shortcuts/ebuilder-form/manifest.js +38 -10
- package/dist/shortcuts/hrm/operations/employee.js +22 -11
- package/dist/shortcuts/hrm/operations/org.js +18 -9
- package/dist/shortcuts/hrm/operations/position.js +24 -12
- package/dist/shortcuts/hrm/operations/resolve.js +18 -10
- package/dist/shortcuts/im/operations/group-read.js +4 -1
- package/dist/shortcuts/invoice/manifest.js +1 -0
- package/dist/shortcuts/jiuchuanhui/manifest.js +4 -1
- package/dist/shortcuts/meeting/operations/attachment-content.js +25 -16
- package/dist/shortcuts/meeting/operations/eb/member-expand.js +1 -0
- package/dist/shortcuts/meeting/operations/invitation.js +1 -1
- package/dist/shortcuts/meeting/operations/link.js +20 -17
- package/dist/shortcuts/okr/operations/read.js +7 -1
- package/dist/shortcuts/reception/manifest.js +2 -0
- package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +4 -1
- package/dist/shortcuts/smart-extract/operations/structure.js +13 -10
- package/dist/shortcuts/smart-extract/operations/target.js +15 -7
- package/dist/shortcuts/workflow/operations/aiDeepRead/collect.js +26 -2
- package/dist/shortcuts/workflow/operations/aiDeepRead/render.js +23 -4
- package/dist/shortcuts/workflow/operations/deepRead.js +295 -4
- package/dist/shortcuts/workflow/operations/read.js +32 -20
- package/package.json +1 -1
- package/skills/weaver-e10-okr/references/source-manifest.json +3 -3
- package/skills/weaver-e10-workflow/SKILL.md +10 -10
- package/skills/weaver-e10-workflow/aiDeepRead/templates//346/261/207/346/200/273/345/256/241/346/211/271-demo.html +92 -12
- package/skills/weaver-e10-workflow/references/todo-smart-convert.md +6 -4
- package/skills/weaver-e10-workflow/references/workflow-deep-read.md +44 -8
- package/skills/weaver-e10-workflow/tools/todo-summary.cjs +84 -12
- package/skills/weaver-e10-yimiaoban/references/source-manifest.json +3 -3
|
@@ -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-BJNSTCJK.js";
|
|
7
7
|
import {
|
|
8
8
|
SCHEMA_DATETIME_MINUTE,
|
|
9
9
|
meetingSuccess,
|
|
10
10
|
meetingValidationError,
|
|
11
11
|
schemaOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Y7RGBRLG.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";
|
|
@@ -331,7 +331,7 @@ async function resolveMemberIdsByName(env, names) {
|
|
|
331
331
|
const unique = [...new Set(names)].filter((name) => name !== "");
|
|
332
332
|
if (unique.length === 0) return map;
|
|
333
333
|
try {
|
|
334
|
-
const { hrmEmployeeOperations } = await import("./employee-
|
|
334
|
+
const { hrmEmployeeOperations } = await import("./employee-QX57HEWS.js");
|
|
335
335
|
const query = hrmEmployeeOperations.find((operation) => operation.name === "hrm.employee.query");
|
|
336
336
|
if (!query) return map;
|
|
337
337
|
for (const name of unique) {
|
|
@@ -1568,7 +1568,7 @@ async function buildPersonnelText(env, data) {
|
|
|
1568
1568
|
if (ids.length === 0) return {};
|
|
1569
1569
|
const names = /* @__PURE__ */ new Map();
|
|
1570
1570
|
try {
|
|
1571
|
-
const { hrmEmployeeOperations } = await import("./employee-
|
|
1571
|
+
const { hrmEmployeeOperations } = await import("./employee-QX57HEWS.js");
|
|
1572
1572
|
const batch = hrmEmployeeOperations.find((operation) => operation.name === "hrm.employee.batch");
|
|
1573
1573
|
if (batch) {
|
|
1574
1574
|
const result = await batch.handler({ ids: [...new Set(ids)] }, env);
|
|
@@ -2226,7 +2226,7 @@ function buildWriteInputSchema(endpoint, includeConfirm) {
|
|
|
2226
2226
|
}
|
|
2227
2227
|
async function lookupEmployeeDepartmentId(env, userId) {
|
|
2228
2228
|
try {
|
|
2229
|
-
const { hrmEmployeeOperations } = await import("./employee-
|
|
2229
|
+
const { hrmEmployeeOperations } = await import("./employee-QX57HEWS.js");
|
|
2230
2230
|
const batch = hrmEmployeeOperations.find((operation) => operation.name === "hrm.employee.batch");
|
|
2231
2231
|
if (!batch) return null;
|
|
2232
2232
|
const result = await batch.handler({ ids: [userId] }, env);
|
|
@@ -2335,7 +2335,7 @@ function buildWriteOperations(endpoint, preflight, afterWrite) {
|
|
|
2335
2335
|
);
|
|
2336
2336
|
}
|
|
2337
2337
|
if (endpoint.interfacePk === "create_meeting") {
|
|
2338
|
-
const { fetchEbAppSettings, assertEbCreatePathAllowed } = await import("./conflict-
|
|
2338
|
+
const { fetchEbAppSettings, assertEbCreatePathAllowed } = await import("./conflict-CEXRX2KP.js");
|
|
2339
2339
|
assertEbCreatePathAllowed(await fetchEbAppSettings(env, applyName));
|
|
2340
2340
|
}
|
|
2341
2341
|
const pkQuery = writePkQuery(endpoint, payload);
|
|
@@ -2,12 +2,12 @@ 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-X7ZTM4XG.js";
|
|
6
6
|
import {
|
|
7
7
|
meetingSuccess,
|
|
8
8
|
meetingValidationError,
|
|
9
9
|
schemaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Y7RGBRLG.js";
|
|
11
11
|
|
|
12
12
|
// src/shortcuts/meeting/operations/eb/group-chat.ts
|
|
13
13
|
import { mkdir, readFile, readdir, rm, writeFile } from "node:fs/promises";
|
|
@@ -113,7 +113,7 @@ async function findGroupByName(env, name) {
|
|
|
113
113
|
const target = name.trim();
|
|
114
114
|
if (target === "") return null;
|
|
115
115
|
try {
|
|
116
|
-
const { getImOperation } = await import("./registry-
|
|
116
|
+
const { getImOperation } = await import("./registry-AC33ZZVH.js");
|
|
117
117
|
const search = getImOperation("im.group.search");
|
|
118
118
|
const imEnv = await buildImEnv(env);
|
|
119
119
|
const found = await search.handler({ name: target }, imEnv);
|
|
@@ -159,7 +159,7 @@ async function triggerGroupFlow(env, input, meetingName, memberIds) {
|
|
|
159
159
|
if (addressText === "[object Object]") addressText = "";
|
|
160
160
|
if (addressText) {
|
|
161
161
|
try {
|
|
162
|
-
const { resolveAddressRoom } = await import("./create-flow-
|
|
162
|
+
const { resolveAddressRoom } = await import("./create-flow-DG6D7U2L.js");
|
|
163
163
|
const room = await resolveAddressRoom(env, addressText);
|
|
164
164
|
if (room?.name) addressText = room.name;
|
|
165
165
|
} catch {
|
|
@@ -201,7 +201,7 @@ async function bindGroupToMeeting(env, meetingId, groupId) {
|
|
|
201
201
|
const group = String(groupId).trim();
|
|
202
202
|
if (id === "" || group === "") return { ok: false, error: "\u6CA1\u6709\u4F1A\u8BAE id \u6216\u7FA4 id" };
|
|
203
203
|
try {
|
|
204
|
-
const { EB_BASE, ebBusinessSuccess, writeBody } = await import("./factory-
|
|
204
|
+
const { EB_BASE, ebBusinessSuccess, writeBody } = await import("./factory-ETQAICPA.js");
|
|
205
205
|
const session = await env.host.getSession();
|
|
206
206
|
await env.host.request({
|
|
207
207
|
method: "POST",
|
|
@@ -219,7 +219,7 @@ async function bindGroupToMeeting(env, meetingId, groupId) {
|
|
|
219
219
|
return { ok: false, error: String(error?.message ?? error).slice(0, 300) };
|
|
220
220
|
}
|
|
221
221
|
try {
|
|
222
|
-
const { getMeetingOperation } = await import("./registry-
|
|
222
|
+
const { getMeetingOperation } = await import("./registry-PHPYTXS4.js");
|
|
223
223
|
const detail = getMeetingOperation("meeting.eb.meeting.detail");
|
|
224
224
|
const read = await detail.handler({ id }, env);
|
|
225
225
|
const main = read?.data?.data ?? read?.data?.main ?? {};
|
|
@@ -235,7 +235,7 @@ async function bindGroupToMeeting(env, meetingId, groupId) {
|
|
|
235
235
|
}
|
|
236
236
|
async function searchMyRequests(env, options = {}) {
|
|
237
237
|
try {
|
|
238
|
-
const { getWorkflowOperation } = await import("./registry-
|
|
238
|
+
const { getWorkflowOperation } = await import("./registry-FXBOGH2X.js");
|
|
239
239
|
const op = getWorkflowOperation("workflow.search");
|
|
240
240
|
const wfEnv = await buildWorkflowEnv(env);
|
|
241
241
|
const args = { category: "mine", pageSize: 20, sort: "createTime:desc" };
|
|
@@ -267,7 +267,7 @@ async function resolveMeetingByRequestId(env, requestId, sinceMs) {
|
|
|
267
267
|
const target = String(requestId).trim();
|
|
268
268
|
if (target === "") return null;
|
|
269
269
|
try {
|
|
270
|
-
const { getMeetingOperation } = await import("./registry-
|
|
270
|
+
const { getMeetingOperation } = await import("./registry-PHPYTXS4.js");
|
|
271
271
|
const list = getMeetingOperation("meeting.eb.meeting.list");
|
|
272
272
|
const detail = getMeetingOperation("meeting.eb.meeting.detail");
|
|
273
273
|
const page = await list.handler({ pageSize: 30 }, env);
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
findCommonFreeSlots,
|
|
8
8
|
meetingEbConflictOperations,
|
|
9
9
|
runEbConflictCheck
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-6OK4LW76.js";
|
|
11
|
+
import "./chunk-Y7RGBRLG.js";
|
|
12
12
|
import "./chunk-7BDPM5ST.js";
|
|
13
13
|
import "./chunk-UG5G54VL.js";
|
|
14
14
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -645,14 +645,28 @@ var contractAssistantOperationContracts = [
|
|
|
645
645
|
pageNo: { type: "integer", minimum: 1 },
|
|
646
646
|
pageSize: { type: "integer", minimum: 1, maximum: 200 }
|
|
647
647
|
}),
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
648
|
+
{
|
|
649
|
+
name: "contract.assistant.rule.group.query",
|
|
650
|
+
risk: "read",
|
|
651
|
+
auth: AUTH,
|
|
652
|
+
fixed: { method: "POST", path: "/api/ebd/contract/ai/config/queryCustomConfigRules" },
|
|
653
|
+
// config_id / configId 二选一:handler 为 requireId(input.config_id ?? input.configId)
|
|
654
|
+
inputSchema: {
|
|
655
|
+
...readSchema({ config_id: idString, configId: idString }),
|
|
656
|
+
anyOf: [{ required: ["config_id"] }, { required: ["configId"] }]
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
name: "contract.assistant.element.query",
|
|
661
|
+
risk: "read",
|
|
662
|
+
auth: AUTH,
|
|
663
|
+
fixed: { method: "POST", path: "/api/ebd/contract/ai/config/queryElementConfigRules" },
|
|
664
|
+
// config_id / configId 二选一:handler 为 requireId(input.config_id ?? input.configId)
|
|
665
|
+
inputSchema: {
|
|
666
|
+
...readSchema({ config_id: idString, configId: idString }),
|
|
667
|
+
anyOf: [{ required: ["config_id"] }, { required: ["configId"] }]
|
|
668
|
+
}
|
|
669
|
+
},
|
|
656
670
|
assistantRead("contract.assistant.flow.list", {
|
|
657
671
|
method: "POST",
|
|
658
672
|
path: "/api/ebd/contract/tool/permission/list/page",
|
|
@@ -1080,18 +1094,22 @@ var quoteContracts = [
|
|
|
1080
1094
|
name: "contract.ledger.aggregate",
|
|
1081
1095
|
risk: "read",
|
|
1082
1096
|
fixed: { local: true, kind: "ledger-aggregate" },
|
|
1083
|
-
inputSchema:
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1097
|
+
inputSchema: {
|
|
1098
|
+
...readSchema({
|
|
1099
|
+
ref: { type: "string", minLength: 1, description: "\u5355\u4E2A refId\uFF08weaver-work-cli refs \u6682\u5B58\u7ED3\u679C\uFF09" },
|
|
1100
|
+
refs: { type: "array", items: { type: "string" }, description: "\u591A\u4E2A refId\uFF1A\u5206\u6279\u53D6\u6570\u540E\u5408\u5E76\u7EDF\u8BA1" },
|
|
1101
|
+
file: { type: "string", maxLength: 4096, description: "\u76F4\u63A5\u7ED9\u7ED3\u679C JSON \u6587\u4EF6\u8DEF\u5F84\uFF08\u4E0E ref/refs \u53EF\u540C\u65F6\u4F7F\u7528\uFF09" },
|
|
1102
|
+
refsDir: { type: "string", maxLength: 4096, description: "refs \u6839\u76EE\u5F55\uFF1B\u9ED8\u8BA4 ~/.weaver-work-cli/state/refs" },
|
|
1103
|
+
by: { type: "array", items: { type: "string" }, description: "\u5206\u7EC4\u5B57\u6BB5\uFF08\u8BED\u4E49\u952E\uFF0C\u5982 xsjl / khmc\uFF09\uFF1B\u4E0D\u4F20\u53EA\u51FA\u603B\u8BA1" },
|
|
1104
|
+
sum: { type: "array", items: { type: "string" }, description: "\u6C42\u548C\u5B57\u6BB5\uFF08\u91D1\u989D\uFF0C\u5982 htzje / yxje\uFF09" },
|
|
1105
|
+
where: { type: "array", items: { type: "string" }, description: "\u8FC7\u6EE4\u6761\u4EF6\uFF0C\u5F62\u5982 xsjl=\u5434\u6D0B\u6D0B\uFF08\u5B50\u4E32\u5339\u914D\uFF09" },
|
|
1106
|
+
dedupe: { type: "boolean", description: "\u6309 id / form_data_id / rowKey / ebrecord_rowkey \u53BB\u91CD\uFF08\u5206\u6279\u7A97\u53E3\u91CD\u53E0\u65F6\u4F7F\u7528\uFF09" },
|
|
1107
|
+
detail: { type: "boolean", description: "\u8F93\u51FA\u547D\u4E2D\u660E\u7EC6\uFF08\u7B7E\u8BA2\u65E5\u671F/\u5408\u540C\u53F7/\u5BA2\u6237/\u9500\u552E\u7ECF\u7406/\u5408\u540C\u603B\u91D1\u989D\uFF09" },
|
|
1108
|
+
limit: { type: "integer", minimum: 1, maximum: 1e3, description: "\u660E\u7EC6\u6700\u591A\u8FD4\u56DE\u6761\u6570\uFF0C\u9ED8\u8BA4 20" }
|
|
1109
|
+
}),
|
|
1110
|
+
// 结果来源三选一:handler 无来源时抛 source_required(ledger.ts)
|
|
1111
|
+
anyOf: [{ required: ["ref"] }, { required: ["refs"] }, { required: ["file"] }]
|
|
1112
|
+
}
|
|
1095
1113
|
},
|
|
1096
1114
|
{
|
|
1097
1115
|
name: "contract.ledger.metrics",
|
|
@@ -28,12 +28,12 @@ import {
|
|
|
28
28
|
resolveWorkflowId,
|
|
29
29
|
shapeBrowserValues,
|
|
30
30
|
shouldAutoPickFlow
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-O7KPHPXQ.js";
|
|
32
|
+
import "./chunk-6OK4LW76.js";
|
|
33
|
+
import "./chunk-C5IIIT4D.js";
|
|
34
|
+
import "./chunk-BJNSTCJK.js";
|
|
35
|
+
import "./chunk-X7ZTM4XG.js";
|
|
36
|
+
import "./chunk-Y7RGBRLG.js";
|
|
37
37
|
import "./chunk-7BDPM5ST.js";
|
|
38
38
|
import "./chunk-UG5G54VL.js";
|
|
39
39
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -2417,7 +2417,12 @@ var INPUT_SCHEMAS = {
|
|
|
2417
2417
|
"data.ds.count": { required: ["group", "table"], optional: ["where", "source_type", "app_id"] },
|
|
2418
2418
|
"data.noun.list": { required: ["skill"], optional: ["source_type", "source_group", "source_table"] },
|
|
2419
2419
|
"data.noun.scope": { required: ["ids"], optional: [] },
|
|
2420
|
-
"data.attribution.metric": {
|
|
2420
|
+
"data.attribution.metric": {
|
|
2421
|
+
required: [],
|
|
2422
|
+
optional: ["ids", "group_ids", "item_ids"],
|
|
2423
|
+
// 至少其一:handler 三者全空即抛 missing_argument(attribution.ts parseAttributionScopeIds)
|
|
2424
|
+
anyOf: [{ required: ["ids"] }, { required: ["group_ids"] }, { required: ["item_ids"] }]
|
|
2425
|
+
},
|
|
2421
2426
|
"data.field.name2id": { required: ["module", "type", "name"], optional: ["form_param", "eb_browser_param", "property_type"] },
|
|
2422
2427
|
"data.field.options": { required: ["field_name", "obj_id", "group"], optional: ["source_type"] },
|
|
2423
2428
|
"data.conf.get": { required: ["key"], optional: ["type", "group"] },
|
|
@@ -2457,6 +2462,12 @@ var INPUT_SCHEMAS = {
|
|
|
2457
2462
|
"no_example",
|
|
2458
2463
|
"dry_run",
|
|
2459
2464
|
"timeout"
|
|
2465
|
+
],
|
|
2466
|
+
// conf_key + group 与本地 confAttrs(conf_file / attrs)二选一(module.ts 头部两条校验)
|
|
2467
|
+
anyOf: [
|
|
2468
|
+
{ required: ["conf_key", "group"] },
|
|
2469
|
+
{ required: ["conf_file"] },
|
|
2470
|
+
{ required: ["attrs"] }
|
|
2460
2471
|
]
|
|
2461
2472
|
},
|
|
2462
2473
|
"data.attend.statis": { required: [], optional: ["user", "begin", "end"] }
|
|
@@ -2471,6 +2482,7 @@ function inputSchemaOf(name) {
|
|
|
2471
2482
|
type: "object",
|
|
2472
2483
|
properties,
|
|
2473
2484
|
required: spec.required,
|
|
2485
|
+
...spec.anyOf ? { anyOf: spec.anyOf } : {},
|
|
2474
2486
|
additionalProperties: false
|
|
2475
2487
|
};
|
|
2476
2488
|
}
|
|
@@ -2,7 +2,7 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
hrmEmployeeOperations
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PAWXVT6H.js";
|
|
6
6
|
import "./chunk-JEQHNNSS.js";
|
|
7
7
|
import "./chunk-56EZERK4.js";
|
|
8
8
|
import "./chunk-UG5G54VL.js";
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
meetingEntryOperations,
|
|
6
6
|
readEntryChoice,
|
|
7
7
|
verifyEntryToken
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-QHKY4WZA.js";
|
|
9
|
+
import "./chunk-X7ZTM4XG.js";
|
|
10
|
+
import "./chunk-Y7RGBRLG.js";
|
|
11
11
|
import "./chunk-7BDPM5ST.js";
|
|
12
12
|
import "./chunk-UG5G54VL.js";
|
|
13
13
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
meetingStateDir,
|
|
7
7
|
readCache,
|
|
8
8
|
resolveMeetingEnvMode
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-X7ZTM4XG.js";
|
|
10
|
+
import "./chunk-Y7RGBRLG.js";
|
|
11
11
|
import "./chunk-7BDPM5ST.js";
|
|
12
12
|
import "./chunk-UG5G54VL.js";
|
|
13
13
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
ensureMeetingGroupChat,
|
|
7
7
|
meetingEbGroupChatOperations,
|
|
8
8
|
savePendingForm
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-YSEHTSHS.js";
|
|
10
|
+
import "./chunk-X7ZTM4XG.js";
|
|
11
|
+
import "./chunk-Y7RGBRLG.js";
|
|
12
12
|
import "./chunk-7BDPM5ST.js";
|
|
13
13
|
import "./chunk-UG5G54VL.js";
|
|
14
14
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
getHrmOperation,
|
|
8
8
|
hrmOperationDefinitions
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-3Q5F4C5B.js";
|
|
10
|
+
import "./chunk-PAWXVT6H.js";
|
|
11
|
+
import "./chunk-7M5OYRK2.js";
|
|
12
12
|
import {
|
|
13
13
|
asObject,
|
|
14
14
|
assertNoForbiddenKeys
|
|
@@ -1519,7 +1519,8 @@ var invoiceOperations = [
|
|
|
1519
1519
|
items: { type: "string", pattern: "^\\d+$" },
|
|
1520
1520
|
description: "\u5408\u540C\u5BA1\u6279\u6D41\u7A0B requestId \u5217\u8868\uFF1B\u4E0E cards \u4E8C\u9009\u4E00"
|
|
1521
1521
|
}
|
|
1522
|
-
}
|
|
1522
|
+
},
|
|
1523
|
+
anyOf: [{ required: ["cards"] }, { required: ["requestIds"] }]
|
|
1523
1524
|
},
|
|
1524
1525
|
outputSchema: issuingContractsOutputSchema
|
|
1525
1526
|
},
|
|
@@ -385,7 +385,10 @@ var jiuchuanhuiOperations = [
|
|
|
385
385
|
inputSchema: {
|
|
386
386
|
type: "object",
|
|
387
387
|
additionalProperties: false,
|
|
388
|
-
properties: {
|
|
388
|
+
properties: {
|
|
389
|
+
tag: { type: "string", description: "\u5E94\u7528\u6807\u7B7E\uFF1B\u5FC5\u586B\uFF0C\u5E38\u7528 jch-crm-project\uFF08\u4E0D\u4F1A\u81EA\u52A8\u6CE8\u5165\u9ED8\u8BA4\u503C\uFF09" }
|
|
390
|
+
},
|
|
391
|
+
required: ["tag"]
|
|
389
392
|
}
|
|
390
393
|
},
|
|
391
394
|
{
|
|
@@ -3,21 +3,21 @@ const require = __esbuildCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getMeetingOperation,
|
|
5
5
|
meetingOperationDefinitions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-LXXR2RRE.js";
|
|
7
|
+
import "./chunk-O7KPHPXQ.js";
|
|
8
|
+
import "./chunk-6OK4LW76.js";
|
|
9
|
+
import "./chunk-3NJQTG6X.js";
|
|
10
10
|
import "./chunk-WMRNO6IU.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-YSEHTSHS.js";
|
|
12
|
+
import "./chunk-QHKY4WZA.js";
|
|
13
|
+
import "./chunk-QO6JYDIW.js";
|
|
14
|
+
import "./chunk-C5IIIT4D.js";
|
|
15
|
+
import "./chunk-BJNSTCJK.js";
|
|
16
16
|
import {
|
|
17
17
|
degradeMeetingEnvToStandard,
|
|
18
18
|
meetingStateDir,
|
|
19
19
|
readCache
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-X7ZTM4XG.js";
|
|
21
21
|
import {
|
|
22
22
|
MeetingCliError,
|
|
23
23
|
asObject,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
meetingAuthError,
|
|
26
26
|
meetingNetworkError,
|
|
27
27
|
meetingValidationError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-Y7RGBRLG.js";
|
|
29
29
|
import {
|
|
30
30
|
reportPlatformError
|
|
31
31
|
} from "./chunk-6N4JPNFL.js";
|
|
@@ -65,8 +65,8 @@ async function ensureMinuteDoc(env, input) {
|
|
|
65
65
|
const id = String(input.id ?? "").trim();
|
|
66
66
|
const mtId = String(input.mtId ?? "").trim();
|
|
67
67
|
if (!id || !mtId) return null;
|
|
68
|
-
const { getMeetingOperation } = await import("./registry-
|
|
69
|
-
const { meetingStateDir } = await import("./env-
|
|
68
|
+
const { getMeetingOperation } = await import("./registry-PHPYTXS4.js");
|
|
69
|
+
const { meetingStateDir } = await import("./env-SW6CTETI.js");
|
|
70
70
|
const { mkdir, writeFile } = await import("node:fs/promises");
|
|
71
71
|
const { join } = await import("node:path");
|
|
72
72
|
const subject = String(input.subject ?? "").trim() || `\u4F1A\u8BAE\u7EAA\u8981-${mtId}`;
|
|
@@ -1122,7 +1122,13 @@ var okrList = {
|
|
|
1122
1122
|
page_no: { type: "integer", minimum: 1, default: 1 },
|
|
1123
1123
|
page_size: { type: "integer", minimum: 1, maximum: 100, default: 10 }
|
|
1124
1124
|
},
|
|
1125
|
-
{
|
|
1125
|
+
{
|
|
1126
|
+
anyOf: [
|
|
1127
|
+
{ required: ["query_scope"], properties: { query_scope: { const: "all" } } },
|
|
1128
|
+
{ required: ["period_type", "period_range"] }
|
|
1129
|
+
],
|
|
1130
|
+
description: "self \u6A21\u5F0F\u5FC5\u586B period_type + period_range\uFF1Ball \u6A21\u5F0F\u9700\u663E\u5F0F\u4F20 query_scope=all\uFF0C\u6309\u9700\u4F20 name / principalid / status"
|
|
1131
|
+
}
|
|
1126
1132
|
),
|
|
1127
1133
|
handler: async (args, { host }) => {
|
|
1128
1134
|
const { pageNo, pageSize } = pageOf(args);
|
|
@@ -2,7 +2,7 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
executeEbuilderFormOperation
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DVFA3ODS.js";
|
|
6
6
|
import "./chunk-Z3GDFVJR.js";
|
|
7
7
|
import "./chunk-7BDPM5ST.js";
|
|
8
8
|
import "./chunk-UG5G54VL.js";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __esbuildCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
hrmOrgOperations
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7M5OYRK2.js";
|
|
6
6
|
import "./chunk-JEQHNNSS.js";
|
|
7
7
|
import "./chunk-56EZERK4.js";
|
|
8
8
|
import "./chunk-UG5G54VL.js";
|
|
@@ -2376,7 +2376,8 @@ var receptionOperations = [
|
|
|
2376
2376
|
noUpload: { type: "boolean", description: "\u8DF3\u8FC7\u9644\u4EF6\u4E0A\u4F20\uFF0C\u53EA\u51FA\u672C\u5730\u6587\u4EF6" },
|
|
2377
2377
|
snapshot: { type: "string", description: "\u5B57\u6BB5\u5FEB\u7167\u8DEF\u5F84\uFF1B\u540C\u65F6\u7528\u4E8E\u63A8\u5BFC\u6280\u80FD\u5305\u5185 render.py \u4F4D\u7F6E" },
|
|
2378
2378
|
renderPy: { type: "string", description: "\u663E\u5F0F\u6307\u5B9A render.py \u8DEF\u5F84" }
|
|
2379
|
-
}
|
|
2379
|
+
},
|
|
2380
|
+
anyOf: [{ required: ["runId"] }, { required: ["known"] }]
|
|
2380
2381
|
},
|
|
2381
2382
|
outputSchema: {
|
|
2382
2383
|
type: "object",
|
|
@@ -2460,7 +2461,8 @@ var receptionOperations = [
|
|
|
2460
2461
|
enum: ["inline", "popup", "drawer"],
|
|
2461
2462
|
description: "\u586B\u5355\u9875\u6253\u5F00\u5F62\u6001\uFF1Adrawer \u4E3A\u53F3\u4FA7\u62BD\u5C49\uFF08\u9ED8\u8BA4\uFF09"
|
|
2462
2463
|
}
|
|
2463
|
-
}
|
|
2464
|
+
},
|
|
2465
|
+
anyOf: [{ required: ["runId"] }, { required: ["known"] }]
|
|
2464
2466
|
},
|
|
2465
2467
|
outputSchema: {
|
|
2466
2468
|
type: "object",
|
|
@@ -4830,7 +4830,10 @@ var interviewArrangeOperations = [
|
|
|
4830
4830
|
summary: "\u9884\u586B\u6A21\u5F0F\uFF08\u4EBA\u5DE5\u4FDD\u5B58\uFF09\uFF1A\u8F93\u51FA\u4EBA\u624D\u5361\u7247 URL + \u9762\u8BD5\u7BA1\u7406\u5217\u8868 URL + \u9009\u9762\u8BD5\u65B9\u5F0F\u7684 jsExpr\uFF0C\u89E6\u53D1\u8868\u5355\u8054\u52A8\u540E\u7531 HR \u6838\u5BF9\u4FDD\u5B58\uFF0C\u4E0D\u843D\u5E93",
|
|
4831
4831
|
capability: "recruit.interview.arrange",
|
|
4832
4832
|
risk: "read",
|
|
4833
|
-
inputSchema:
|
|
4833
|
+
inputSchema: {
|
|
4834
|
+
...schemaOf(baseInput3, {}),
|
|
4835
|
+
anyOf: [{ required: ["talentId"] }, { required: ["mobile"] }, { required: ["name"] }]
|
|
4836
|
+
},
|
|
4834
4837
|
handler: prefill2
|
|
4835
4838
|
},
|
|
4836
4839
|
{
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
getHrmOperation,
|
|
5
5
|
hasHrmOperation,
|
|
6
6
|
hrmOperationDefinitions
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-3Q5F4C5B.js";
|
|
8
|
+
import "./chunk-PAWXVT6H.js";
|
|
9
|
+
import "./chunk-7M5OYRK2.js";
|
|
10
10
|
import "./chunk-JEQHNNSS.js";
|
|
11
11
|
import "./chunk-56EZERK4.js";
|
|
12
12
|
import "./chunk-UG5G54VL.js";
|
|
@@ -3,7 +3,7 @@ const require = __esbuildCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getImOperation,
|
|
5
5
|
imOperationDefinitions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LCM5SSGJ.js";
|
|
7
7
|
import "./chunk-IC62NFM5.js";
|
|
8
8
|
import "./chunk-KMRT7NAT.js";
|
|
9
9
|
import "./chunk-UG5G54VL.js";
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
getMeetingOperation,
|
|
5
5
|
hasMeetingOperation,
|
|
6
6
|
meetingOperationDefinitions
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-LXXR2RRE.js";
|
|
8
|
+
import "./chunk-O7KPHPXQ.js";
|
|
9
|
+
import "./chunk-6OK4LW76.js";
|
|
10
|
+
import "./chunk-3NJQTG6X.js";
|
|
11
11
|
import "./chunk-WMRNO6IU.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-YSEHTSHS.js";
|
|
13
|
+
import "./chunk-QHKY4WZA.js";
|
|
14
|
+
import "./chunk-QO6JYDIW.js";
|
|
15
|
+
import "./chunk-C5IIIT4D.js";
|
|
16
|
+
import "./chunk-BJNSTCJK.js";
|
|
17
|
+
import "./chunk-X7ZTM4XG.js";
|
|
18
|
+
import "./chunk-Y7RGBRLG.js";
|
|
19
19
|
import "./chunk-7BDPM5ST.js";
|
|
20
20
|
import "./chunk-FDBAFANU.js";
|
|
21
21
|
import "./chunk-UG5G54VL.js";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
loadRooms,
|
|
8
8
|
recommendRooms,
|
|
9
9
|
rememberFrequentRoom
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-C5IIIT4D.js";
|
|
11
|
+
import "./chunk-BJNSTCJK.js";
|
|
12
|
+
import "./chunk-X7ZTM4XG.js";
|
|
13
|
+
import "./chunk-Y7RGBRLG.js";
|
|
14
14
|
import "./chunk-7BDPM5ST.js";
|
|
15
15
|
import "./chunk-UG5G54VL.js";
|
|
16
16
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
resolveMeetingScheduleTypeIds,
|
|
9
9
|
resolveMemberIdsByName,
|
|
10
10
|
runScheduleConflictFlow
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-QO6JYDIW.js";
|
|
12
|
+
import "./chunk-BJNSTCJK.js";
|
|
13
|
+
import "./chunk-X7ZTM4XG.js";
|
|
14
|
+
import "./chunk-Y7RGBRLG.js";
|
|
15
15
|
import "./chunk-7BDPM5ST.js";
|
|
16
16
|
import "./chunk-UG5G54VL.js";
|
|
17
17
|
import "./chunk-BUSC6UAE.js";
|