weaver-work-cli 0.1.50 → 0.1.53
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-EJYIOJPH.js → attachment-content-W3TSJC3Y.js} +3 -3
- package/dist/chunks/{chunk-BFKLQLBK.js → chunk-2J3XY4ED.js} +7 -7
- package/dist/chunks/{chunk-K67FODVC.js → chunk-6GCXWKG6.js} +1 -1
- package/dist/chunks/{chunk-WNJUGI2F.js → chunk-76PRVYH4.js} +1 -1
- package/dist/chunks/{chunk-RYFRGTUV.js → chunk-DEHJ7PMA.js} +4 -4
- package/dist/chunks/{chunk-3NCFFHB2.js → chunk-IF33CG4V.js} +1 -1
- package/dist/chunks/{chunk-YB3AJYPY.js → chunk-PE334WL3.js} +4 -4
- package/dist/chunks/{chunk-MCZG6HPM.js → chunk-QQXMHM3J.js} +2 -2
- package/dist/chunks/{chunk-7ECB22G3.js → chunk-U7ROML5E.js} +23 -23
- package/dist/chunks/{chunk-7AYQJSFY.js → chunk-WTLQGS6D.js} +2 -2
- package/dist/chunks/{chunk-6T53BSWZ.js → chunk-XPQN4E5O.js} +50 -19
- package/dist/chunks/{chunk-HARQF5IP.js → chunk-Z4G7LLDD.js} +25 -25
- package/dist/chunks/{conflict-C4UDHCWV.js → conflict-57WDJWL7.js} +2 -2
- package/dist/chunks/{contract-VUC6JOPG.js → contract-LJRAXVZU.js} +8587 -1421
- package/dist/chunks/{create-flow-6OG2LYBD.js → create-flow-3FMMZBCA.js} +6 -6
- package/dist/chunks/{data-QO7QWOIV.js → data-WK5CQXNF.js} +17 -32
- package/dist/chunks/{env-WP57TF2S.js → env-JYZE3BZB.js} +2 -2
- package/dist/chunks/{factory-VUXI7N5C.js → factory-66SCIKW3.js} +1 -1
- package/dist/chunks/{group-chat-UQRGXILK.js → group-chat-MNRYMLNG.js} +3 -3
- package/dist/chunks/{invoice-E7GOITEU.js → invoice-V7ZTITUO.js} +725 -205
- package/dist/chunks/{meeting-4BBLVAWM.js → meeting-IIY4UAJL.js} +10 -10
- package/dist/chunks/{recruit-stage-FKWS5UQF.js → recruit-stage-XCMVEQA2.js} +718 -131
- package/dist/chunks/{registry-V4CHRQDI.js → registry-CJOVECZD.js} +1 -1
- package/dist/chunks/{registry-5CRCN2TV.js → registry-METZ2LWE.js} +10 -10
- package/dist/chunks/{room-recommend-AYR3UG7R.js → room-recommend-YFY7HTOF.js} +4 -4
- package/dist/chunks/{schedule-JZEFIXUS.js → schedule-6I63TERA.js} +4 -4
- package/dist/chunks/smart-extract-FOUYNIG3.js +2882 -0
- package/dist/chunks/{workflow-3ZAF2J5E.js → workflow-YHXFIU63.js} +1 -1
- package/dist/index.js +11 -6
- package/dist/shortcuts/contract/manifest.js +251 -0
- package/dist/shortcuts/contract/ooxml/docx-table.js +233 -0
- package/dist/shortcuts/contract/operations/card-action.js +1165 -0
- package/dist/shortcuts/contract/operations/card-ebdf-list.js +571 -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/card.js +6 -5
- package/dist/shortcuts/contract/operations/docx-fillfromquote.js +532 -0
- package/dist/shortcuts/contract/operations/docx-verify.js +258 -0
- package/dist/shortcuts/contract/operations/elements-build.js +761 -0
- package/dist/shortcuts/contract/operations/elements-spec.js +216 -0
- package/dist/shortcuts/contract/operations/first-screen.js +588 -0
- package/dist/shortcuts/contract/operations/flow.js +81 -25
- package/dist/shortcuts/contract/operations/ledger.js +438 -0
- 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 +104 -3
- package/dist/shortcuts/contract/operations/quote.js +131 -25
- package/dist/shortcuts/contract/operations/quotescreen.js +529 -0
- package/dist/shortcuts/contract/operations/registry.js +30 -0
- package/dist/shortcuts/contract/operations/review.js +73 -58
- package/dist/shortcuts/contract/operations/summary-validate.js +293 -0
- package/dist/shortcuts/contract/operations/summary.js +4 -2
- package/dist/shortcuts/contract/operations/triage.js +1100 -0
- 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/index.js +5 -0
- package/dist/shortcuts/invoice/index.js +0 -12
- package/dist/shortcuts/invoice/manifest.js +200 -49
- 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/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 +492 -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 +454 -0
- package/dist/shortcuts/workflow/operations/form.js +68 -33
- package/dist/shortcuts/workflow/operations/read.js +19 -1
- package/docs/SKILL.md +1 -1
- package/docs/_catalog.md +3 -0
- package/docs/agent-invoice.md +5 -7
- package/docs/data.md +5 -1
- package/docs/fna.md +14 -1
- package/docs/invoice.md +7 -5
- package/docs/smart-extract.md +156 -0
- package/package.json +1 -1
- package/skill-template/business-info.json +16 -1
- package/skill-template/domains/qiyecheng.md +2 -0
- 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 +223 -35
- package/skills/weaver-e10-jinchengda/references/contract-action-card.md +47 -481
- package/skills/weaver-e10-jinchengda/references/contract-action-engine.md +11 -11
- package/skills/weaver-e10-jinchengda/references/contract-agent-entry.md +3 -3
- package/skills/weaver-e10-jinchengda/references/contract-ai-assistant.md +1 -1
- package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +32 -16
- package/skills/weaver-e10-jinchengda/references/contract-card-render-internals.md +478 -0
- package/skills/weaver-e10-jinchengda/references/contract-command-index.md +4 -4
- package/skills/weaver-e10-jinchengda/references/contract-disabled-capabilities.md +2 -2
- package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +39 -61
- package/skills/weaver-e10-jinchengda/references/contract-element-save-record.md +18 -13
- package/skills/weaver-e10-jinchengda/references/contract-execution-rules.md +2 -2
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-new-customer.md +21 -6
- package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +6 -4
- package/skills/weaver-e10-jinchengda/references/contract-flow-launch.md +3 -3
- package/skills/weaver-e10-jinchengda/references/contract-ledger-catalog.md +263 -0
- package/skills/weaver-e10-jinchengda/references/contract-ledger-query-playbook.md +525 -0
- package/skills/weaver-e10-jinchengda/references/contract-ledger-rules.md +36 -0
- package/skills/weaver-e10-jinchengda/references/contract-modeltext-library.md +128 -0
- package/skills/weaver-e10-jinchengda/references/contract-multi-file.md +87 -0
- package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +80 -54
- package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +110 -14
- package/skills/weaver-e10-jinchengda/references/contract-template-selector.md +19 -21
- package/skills/weaver-e10-jinchengda/references/orchestration.md +12 -12
- package/skills/weaver-e10-jinchengda/references/source-manifest.json +1 -6
- package/skills/weaver-e10-jinchengda/scripts/fill_plan.py +2 -1
- package/skills/weaver-e10-qiyecheng/SKILL.md +37 -0
- package/skills/weaver-e10-qiyecheng/references/ai-check-audit.md +14 -0
- package/skills/weaver-e10-qiyecheng/references/budget.md +14 -0
- package/skills/weaver-e10-qiyecheng/references/catalog.md +25 -0
- 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 +34 -27
- 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 -42
- 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 +180 -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 +106 -0
- package/skills/weaver-e10-workflow/references/workflow-create.md +6 -5
- package/skills/weaver-e10-workflow/references/workflow-edit.md +1 -1
- 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-yepiaotong/SKILL.md +46 -33
- 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-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 +12 -8
- package/skills/weaver-e10-yepiaotong/references/invoice-upload-and-validate.md +97 -39
- package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +91 -2
- package/skills/weaver-e10-yepiaotong/references/reim-examples.md +1 -1
- package/skills/weaver-e10-yepiaotong/references/reim-form-fill-rules.md +12 -12
- package/skills/weaver-e10-yepiaotong/references/reim-matching-rules.md +8 -4
- package/skills/weaver-e10-yepiaotong/references/reim-phone-subsidy-rules.md +136 -91
- package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +109 -23
- package/skills/weaver-e10-yepiaotong/references/source-manifest.json +110 -43
- 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_ebdf_list_card.py +0 -265
- package/skills/weaver-e10-jinchengda/scripts/render_risk_report.py +0 -358
- package/skills/weaver-e10-jinchengda/scripts/validate_action_card.py +0 -588
- package/skills/weaver-e10-jinchengda/scripts/verify_docx_placeholders.py +0 -118
- package/skills/weaver-e10-yepiaotong/references/invoice-validation-preview.md +0 -40
|
@@ -22,12 +22,12 @@ import {
|
|
|
22
22
|
resolveWorkflowId,
|
|
23
23
|
shapeBrowserValues,
|
|
24
24
|
shouldAutoPickFlow
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-Z4G7LLDD.js";
|
|
26
|
+
import "./chunk-DEHJ7PMA.js";
|
|
27
|
+
import "./chunk-PE334WL3.js";
|
|
28
|
+
import "./chunk-76PRVYH4.js";
|
|
29
|
+
import "./chunk-IF33CG4V.js";
|
|
30
|
+
import "./chunk-6GCXWKG6.js";
|
|
31
31
|
import "./chunk-7BDPM5ST.js";
|
|
32
32
|
import "./chunk-UG5G54VL.js";
|
|
33
33
|
import "./chunk-BUSC6UAE.js";
|
|
@@ -418,46 +418,25 @@ function renderTable(title, rows, columns) {
|
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
// src/shortcuts/data/operations/query.ts
|
|
421
|
-
var QUERY_PARAM_ALIASES = [
|
|
422
|
-
["dimension", "dimension"],
|
|
423
|
-
["confGroup", "conf-group"],
|
|
424
|
-
["username", "username"],
|
|
425
|
-
["startDate", "start-date"]
|
|
426
|
-
];
|
|
427
|
-
function argStr(input, key) {
|
|
428
|
-
const value = input[key];
|
|
429
|
-
if (value === void 0 || value === null || value === true) return "";
|
|
430
|
-
return String(value).trim();
|
|
431
|
-
}
|
|
432
|
-
function buildQueryString(input) {
|
|
433
|
-
return "?" + QUERY_PARAM_ALIASES.map(([name, flag]) => {
|
|
434
|
-
const snake = flag.replace(/-/g, "_");
|
|
435
|
-
const raw = argStr(input, name) || argStr(input, snake) || argStr(input, flag);
|
|
436
|
-
return `${encodeURIComponent(name)}=${encodeURIComponent(raw)}`;
|
|
437
|
-
}).join("&");
|
|
438
|
-
}
|
|
439
421
|
async function executeQuery(input, host) {
|
|
440
422
|
const conn = needArg(input, "conn");
|
|
441
423
|
const model = needArg(input, "model");
|
|
442
424
|
const schema = needArg(input, "schema");
|
|
443
425
|
const dslRaw = needArg(input, "dsl");
|
|
426
|
+
const questionContextRaw = needArg(input, "question_context", "question-context");
|
|
444
427
|
const dslQuery = readJsonArg(dslRaw, "--dsl");
|
|
428
|
+
const questionContext = readJsonArg(questionContextRaw, "--question-context");
|
|
445
429
|
const body = {
|
|
446
430
|
connId: conn,
|
|
447
431
|
model,
|
|
448
432
|
schema,
|
|
449
433
|
tableId: input.table_id || input.tableId || "",
|
|
450
|
-
dslQuery
|
|
434
|
+
dslQuery,
|
|
435
|
+
questionContext
|
|
451
436
|
};
|
|
452
|
-
if (input.debug !== void 0 && input.debug !== null && input.debug !== "") {
|
|
453
|
-
const flag = String(input.debug).toLowerCase();
|
|
454
|
-
if (flag === "true" || flag === "1") body.debug = true;
|
|
455
|
-
else if (flag === "false" || flag === "0") body.debug = false;
|
|
456
|
-
else throw dataValidationError("debug_invalid", `--debug \u503C\u5FC5\u987B\u4E3A true \u6216 false\uFF08\u5F53\u524D: ${input.debug}\uFF09`);
|
|
457
|
-
}
|
|
458
437
|
const response = await host.request({
|
|
459
438
|
method: "POST",
|
|
460
|
-
path:
|
|
439
|
+
path: "/api/dw/dsl/executeQueryDsl",
|
|
461
440
|
body,
|
|
462
441
|
headers: { "Content-Type": "application/json;charset=utf-8" }
|
|
463
442
|
});
|
|
@@ -473,11 +452,17 @@ async function executeQuery(input, host) {
|
|
|
473
452
|
}
|
|
474
453
|
}
|
|
475
454
|
const payload = response?.data;
|
|
476
|
-
const rows = Array.isArray(payload) ? payload : payload
|
|
455
|
+
const rows = Array.isArray(payload) ? payload : Array.isArray(payload?.dataList) ? payload.dataList : Array.isArray(payload?.records) ? payload.records : [];
|
|
456
|
+
const tips = scanTips(response);
|
|
477
457
|
const lines = [];
|
|
478
458
|
if (payload && !Array.isArray(payload) && payload.sql) lines.push(`SQL: ${payload.sql}`);
|
|
479
459
|
if (String(code) !== "200" && code !== void 0) lines.push(`code=${code} msg=${response?.msg || ""}`);
|
|
480
|
-
lines.push(
|
|
460
|
+
lines.push(...tipsLines(tips.tipTimeout ? {
|
|
461
|
+
tipTimeout: true,
|
|
462
|
+
tipTimeoutMsg: tips.tipTimeoutMsg
|
|
463
|
+
} : tips));
|
|
464
|
+
if (tips.tipTimeout) lines.push("(\u5E73\u53F0\u672A\u6267\u884C\u6570\u636E\u8FD4\u56DE\uFF1A\u8BF7\u6309\u4E0A\u8FF0\u63D0\u793A\u6536\u7A84\u65F6\u95F4\u8303\u56F4)");
|
|
465
|
+
else lines.push(rows.length ? renderTable(`\u7ED3\u679C ${rows.length} \u884C`, rows) : "(\u7A7A\uFF1A0 \u884C)");
|
|
481
466
|
return { data: response, text: lines.join("\n") };
|
|
482
467
|
}
|
|
483
468
|
|
|
@@ -2150,7 +2135,7 @@ async function sceneSearch(input, host) {
|
|
|
2150
2135
|
|
|
2151
2136
|
// src/shortcuts/data/operations/index.ts
|
|
2152
2137
|
var DEFINITIONS = [
|
|
2153
|
-
{ name: "data.dsl.query", summary: "\u76F4\u63A5\u6267\u884C DSL \u67E5\u8BE2\uFF08executeQueryDsl\
|
|
2138
|
+
{ name: "data.dsl.query", summary: "\u76F4\u63A5\u6267\u884C DSL \u67E5\u8BE2\uFF08executeQueryDsl\uFF1B\u4E0E ds list/chart/stat/count \u4E3A\u72EC\u7ACB\u901A\u9053\uFF09", capability: "dsl", handler: executeQuery, command: "query" },
|
|
2154
2139
|
{ name: "data.ds.groups", summary: "\u5185\u7F6E\u6570\u636E\u6E90\u5206\u7EC4\u6E05\u5355\uFF08\u4EC5\u7528\u4E8E ds find \u7684\u9ED8\u8BA4\u626B\u63CF\u5019\u9009\u96C6\uFF09", capability: "discovery", handler: dsGroups, command: "ds groups" },
|
|
2155
2140
|
{ name: "data.ds.find", summary: "\u6309\u5173\u952E\u8BCD\u8DE8\u5206\u7EC4\u627E\u8868\uFF08\u8FDB\u7A0B\u5185\u5E76\u53D1\u6247\u51FA + \u672C\u5730\u8FC7\u6EE4 + \u8DEF\u7531\u5EFA\u8BAE\uFF09", capability: "discovery", handler: dsFind, command: "ds find" },
|
|
2156
2141
|
{ name: "data.ds.describe", summary: "\u4E00\u6B21\u5E76\u53D1\u53D6\u56DE\u5B57\u6BB5\u5143\u6570\u636E + \u8BCD\u5E93\uFF0C\u5E76\u7ED9\u51FA\u5173\u8054\u5B57\u6BB5/\u901A\u9053\u63D0\u793A", capability: "discovery", handler: dsDescribe, command: "ds describe" },
|
|
@@ -2203,8 +2188,8 @@ async function executeDataOperation(name, input, host) {
|
|
|
2203
2188
|
// src/shortcuts/data/manifest.ts
|
|
2204
2189
|
var INPUT_SCHEMAS = {
|
|
2205
2190
|
"data.dsl.query": {
|
|
2206
|
-
required: ["conn", "model", "schema", "dsl"],
|
|
2207
|
-
optional: ["table_id"
|
|
2191
|
+
required: ["conn", "model", "schema", "dsl", "question_context"],
|
|
2192
|
+
optional: ["table_id"]
|
|
2208
2193
|
},
|
|
2209
2194
|
"data.ds.groups": { required: [], optional: ["pattern"] },
|
|
2210
2195
|
"data.ds.find": {
|
|
@@ -2417,7 +2402,7 @@ var dataShortcut = {
|
|
|
2417
2402
|
data.command("run").description("Run a data operation with JSON input").argument("<operation>", `operation name, e.g. data.ds.count\uFF08\u5171 ${operationNames().length} \u4E2A\uFF09`).option("--input <path>", "JSON input file, or - for stdin").option("--input-json <json>", "inline JSON input object").action(action(async (ctx, operation, options) => {
|
|
2418
2403
|
await run(ctx, String(operation), await inputFrom(options), true);
|
|
2419
2404
|
}));
|
|
2420
|
-
data.command("query").description("\u76F4\u63A5\u6267\u884C DSL \u67E5\u8BE2\uFF08executeQueryDsl\uFF09").option("--conn <connId>", "\u6570\u636E\u8FDE\u63A5 ID\uFF08CONN_*\uFF09").option("--model <model>", "\u6A21\u578B\u6807\u8BC6\uFF0C\u5982 dw / ebuilder / flow").option("--schema <schema>", "\u5E93\u540D").option("--table-id <id>", "\u6570\u636E\u96C6 / \u6D41\u7A0B ID").option("--dsl <json|@file>", "DSL \u67E5\u8BE2\u4F53").
|
|
2405
|
+
data.command("query").description("\u76F4\u63A5\u6267\u884C DSL \u67E5\u8BE2\uFF08executeQueryDsl\uFF09").option("--conn <connId>", "\u6570\u636E\u8FDE\u63A5 ID\uFF08CONN_*\uFF09").option("--model <model>", "\u6A21\u578B\u6807\u8BC6\uFF0C\u5982 dw / ebuilder / flow").option("--schema <schema>", "\u5E93\u540D").option("--table-id <id>", "\u6570\u636E\u96C6 / \u6D41\u7A0B ID").option("--dsl <json|@file>", "DSL \u67E5\u8BE2\u4F53").requiredOption("--question-context <json|@file>", "\u95EE\u53E5\u4E0A\u4E0B\u6587\uFF0C\u542B dimensions / timeRanges").action(action(async (ctx, options) => {
|
|
2421
2406
|
await run(ctx, "data.dsl.query", toInput(options), false);
|
|
2422
2407
|
}));
|
|
2423
2408
|
const ds = data.command("ds").description("\u6570\u636E\u6E90\uFF1A\u5206\u7EC4 / \u627E\u8868 / \u5143\u6570\u636E / \u53D6\u6570");
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
meetingStateDir,
|
|
7
7
|
readCache,
|
|
8
8
|
resolveMeetingEnvMode
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-IF33CG4V.js";
|
|
10
|
+
import "./chunk-6GCXWKG6.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-2J3XY4ED.js";
|
|
10
|
+
import "./chunk-IF33CG4V.js";
|
|
11
|
+
import "./chunk-6GCXWKG6.js";
|
|
12
12
|
import "./chunk-7BDPM5ST.js";
|
|
13
13
|
import "./chunk-UG5G54VL.js";
|
|
14
14
|
import "./chunk-BUSC6UAE.js";
|