beautx-cli 1.1.3-beta.1 → 1.1.3-beta.2
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/{analyze-CtxR02Xr.mjs → analyze-PZSftVRy.mjs} +2 -2
- package/dist/{api-BdaZkABF.mjs → api-OsRaVcN_.mjs} +1 -1
- package/dist/{audio-DlgPatwd.mjs → audio-DPKPiEJG.mjs} +3 -3
- package/dist/{beauty-plan-Bwfy5ZwA.mjs → beauty-plan-BmUkArq4.mjs} +1 -1
- package/dist/{beauty-plan-reminder-B7g7RRTs.mjs → beauty-plan-reminder-kSWXwZl3.mjs} +1 -1
- package/dist/{beauty-plan-update-Cx7ptfcW.mjs → beauty-plan-update-BYgoZcvH.mjs} +2 -2
- package/dist/{capability-profile-iDXBJxqK.mjs → capability-profile-DSLAL4KK.mjs} +2 -2
- package/dist/cli.mjs +20 -20
- package/dist/{config-BfKPtM8-.mjs → config-qd1uakw6.mjs} +1 -1
- package/dist/{consultant-DG3-uMoX.mjs → consultant-DO0uhSKb.mjs} +1 -1
- package/dist/{content-RLIvey_w.mjs → content-Dk03AM4a.mjs} +2 -2
- package/dist/{customer-h-Tci4DU.mjs → customer-B-r0bmYL.mjs} +1 -1
- package/dist/{deal-analysis-BkGyLD5X.mjs → deal-analysis-COsk1PZj.mjs} +1 -1
- package/dist/{deal-capability-CAbN-a6j.mjs → deal-capability-C6gTS7wK.mjs} +3 -3
- package/dist/{doc-BWRiv8pK.mjs → doc-BLmIGlOL.mjs} +3 -3
- package/dist/{fields-CF6lYXrj.mjs → fields-bBcQS6XM.mjs} +1 -1
- package/dist/{focus-1dBYBq5B.mjs → focus-G2DzsOLk.mjs} +1 -1
- package/dist/{get-Da-xarKN.mjs → get-Cd-ylX7S.mjs} +2 -2
- package/dist/{get-DPKKXTz7.mjs → get-wmY4deIj.mjs} +2 -2
- package/dist/{golden-sentence-CgWmCRCd.mjs → golden-sentence-pTlimrQk.mjs} +2 -2
- package/dist/{kb-DfhVpGFp.mjs → kb-BBOdcKV5.mjs} +2 -2
- package/dist/{list-BNe5D4rz.mjs → list-BJdkwPws.mjs} +1 -1
- package/dist/{list-DG8XtLUJ.mjs → list-Bmn23TpF.mjs} +1 -1
- package/dist/{list-DQURyikH.mjs → list-C09FZsnT.mjs} +2 -2
- package/dist/{list-irF2VIIX.mjs → list-CFvv5Huk.mjs} +1 -1
- package/dist/{list-BREF9Ecs.mjs → list-DKQ8KM53.mjs} +1 -1
- package/dist/{list-DPJSr82E.mjs → list-DV2w6kuv.mjs} +2 -2
- package/dist/{list-B2Cu6lq22.mjs → list-kJm0HaGb2.mjs} +1 -1
- package/dist/{list-Bt87oTfo.mjs → list-or-rtfXt.mjs} +1 -1
- package/dist/{list-CbKkYLBK.mjs → list-rYqpx_f4.mjs} +1 -1
- package/dist/{list-dyAoc3sp.mjs → list-rlQRoQPY.mjs} +1 -1
- package/dist/{mcp-client-huLKHRT3.mjs → mcp-client-84jEvBDL.mjs} +13 -5
- package/dist/{mcp-result-BzDGJUdM.mjs → mcp-result-DVhN16CS.mjs} +1 -1
- package/dist/{panke-eI5GRzbd.mjs → panke-Dot_z7hl.mjs} +2 -2
- package/dist/{permission-scope-DTXGSpuh.mjs → permission-scope-DH1wsKZY.mjs} +14 -4
- package/dist/{portrait-tags-CFt_v4V5.mjs → portrait-tags-WS5r5Nin.mjs} +1 -1
- package/dist/{project-access-ChmJv4Z4.mjs → project-access-BF7O8oHm.mjs} +1 -1
- package/dist/project-access-NrM7rF9v.mjs +2 -0
- package/dist/{project-CzpyW67k.mjs → project-kDo_-dje.mjs} +2 -2
- package/dist/{qa-D3OEsKVK.mjs → qa-CDn3w1en.mjs} +2 -2
- package/dist/{quality-inspection-DmFbUvSC.mjs → quality-inspection-BAFsvMQT.mjs} +3 -3
- package/dist/{quantum-gircqlxs.mjs → quantum-DqRAOpIj.mjs} +2 -2
- package/dist/{resistance-CA2IYjl3.mjs → resistance-DFEnkGf5.mjs} +1 -1
- package/dist/{search-DSkSpZAT.mjs → search-Db6wYZ0d.mjs} +2 -2
- package/dist/staff-CrIV1SHI.mjs +16 -0
- package/dist/{summary-Bhi0h4RA.mjs → summary-DJJhrMZy.mjs} +1 -1
- package/dist/{task-CuHDQlRD.mjs → task-9zvvum_9.mjs} +2 -2
- package/dist/{text-CCxnry4V.mjs → text-BhpK1WXa.mjs} +2 -2
- package/dist/{use-C_V8PxFJ.mjs → use-Dipd3KHS.mjs} +1 -1
- package/dist/{visit-DiJsMYFu.mjs → visit-BTwOOnN1.mjs} +2 -2
- package/package.json +1 -1
- package/dist/project-access-D4b4oc5E.mjs +0 -2
- package/dist/staff-D5yN_LeS.mjs +0 -16
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
4
4
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
5
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
6
6
|
import { t as csvToArray } from "./util-BtgWHKWv.mjs";
|
|
7
7
|
import { defineCommand } from "citty";
|
|
8
8
|
//#region src/commands/audio/analyze.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as writeError, r as writeResult, t as formatCliArg } from "./cli.mjs";
|
|
2
|
-
import { n as mcpCall, t as MCP_SERVICE_CODE } from "./mcp-client-
|
|
2
|
+
import { n as mcpCall, t as MCP_SERVICE_CODE } from "./mcp-client-84jEvBDL.mjs";
|
|
3
3
|
import { defineCommand } from "citty";
|
|
4
4
|
//#region src/commands/api.ts
|
|
5
5
|
/**
|
|
@@ -6,9 +6,9 @@ var audio_default = defineCommand({
|
|
|
6
6
|
description: "录音元数据分页 / 单条文本查询 / 全文批量分析"
|
|
7
7
|
},
|
|
8
8
|
subCommands: {
|
|
9
|
-
list: () => import("./list-
|
|
10
|
-
text: () => import("./text-
|
|
11
|
-
analyze: () => import("./analyze-
|
|
9
|
+
list: () => import("./list-or-rtfXt.mjs").then((m) => m.default),
|
|
10
|
+
text: () => import("./text-BhpK1WXa.mjs").then((m) => m.default),
|
|
11
|
+
analyze: () => import("./analyze-PZSftVRy.mjs").then((m) => m.default)
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError } from "./cli.mjs";
|
|
3
|
-
import { t as mcpCallPage } from "./mcp-result-
|
|
3
|
+
import { t as mcpCallPage } from "./mcp-result-DVhN16CS.mjs";
|
|
4
4
|
import { n as mergeIds, t as csvToArray } from "./util-BtgWHKWv.mjs";
|
|
5
5
|
import { n as visitBatchQueryCliArgs, t as buildVisitBatchQueryArgs } from "./visit-query-args-GjbcZpKM.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError } from "./cli.mjs";
|
|
3
|
-
import { t as mcpCallPage } from "./mcp-result-
|
|
3
|
+
import { t as mcpCallPage } from "./mcp-result-DVhN16CS.mjs";
|
|
4
4
|
import { defineCommand } from "citty";
|
|
5
5
|
//#region src/commands/beauty-plan-reminder/index.ts
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
4
4
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
5
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
import { readFile } from "node:fs/promises";
|
|
8
8
|
//#region src/commands/beauty-plan-update/index.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
4
4
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
5
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
6
6
|
import { i as toLocalDateTime } from "./util-BtgWHKWv.mjs";
|
|
7
7
|
import { defineCommand } from "citty";
|
|
8
8
|
//#region src/commands/staff/capability-profile.ts
|
package/dist/cli.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { i as __toESM, r as __require, t as __commonJSMin } from "./rolldown-runtime-YLnNgb9a.mjs";
|
|
3
3
|
import { a as isTokenExpired, c as readEnv, d as syncProcessEnv, f as AccessTokenExpiredError, h as MissingAccessTokenError, l as requireUserId, o as needsRefresh, p as ConfigInvalidError, s as readCredentials, t as ENV_KEYS, u as resolveEndpoints } from "./env-vars-osVxvm7z.mjs";
|
|
4
|
-
import { i as invalidateProjectAccessCache } from "./project-access-
|
|
4
|
+
import { i as invalidateProjectAccessCache } from "./project-access-BF7O8oHm.mjs";
|
|
5
5
|
import { o as loadActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
6
6
|
import { appendFileSync, mkdirSync, readFileSync } from "node:fs";
|
|
7
7
|
import { dirname, join } from "node:path";
|
|
@@ -7636,26 +7636,26 @@ runMain(defineCommand({
|
|
|
7636
7636
|
}
|
|
7637
7637
|
},
|
|
7638
7638
|
subCommands: {
|
|
7639
|
-
config: () => import("./config-
|
|
7640
|
-
project: () => import("./project-
|
|
7639
|
+
config: () => import("./config-qd1uakw6.mjs").then((m) => m.default),
|
|
7640
|
+
project: () => import("./project-kDo_-dje.mjs").then((m) => m.default),
|
|
7641
7641
|
skill: () => import("./skill-C55dYtbq.mjs").then((m) => m.default),
|
|
7642
|
-
consultant: () => import("./consultant-
|
|
7643
|
-
staff: () => import("./staff-
|
|
7644
|
-
"golden-sentence": () => import("./golden-sentence-
|
|
7645
|
-
panke: () => import("./panke-
|
|
7646
|
-
audio: () => import("./audio-
|
|
7647
|
-
customer: () => import("./customer-
|
|
7648
|
-
visit: () => import("./visit-
|
|
7649
|
-
"beauty-plan": () => import("./beauty-plan-
|
|
7650
|
-
"beauty-plan-update": () => import("./beauty-plan-update-
|
|
7651
|
-
"beauty-plan-reminder": () => import("./beauty-plan-reminder-
|
|
7652
|
-
"deal-analysis": () => import("./deal-analysis-
|
|
7653
|
-
"portrait-tags": () => import("./portrait-tags-
|
|
7654
|
-
quantum: () => import("./quantum-
|
|
7655
|
-
focus: () => import("./focus-
|
|
7656
|
-
resistance: () => import("./resistance-
|
|
7657
|
-
qa: () => import("./qa-
|
|
7658
|
-
kb: () => import("./kb-
|
|
7642
|
+
consultant: () => import("./consultant-DO0uhSKb.mjs").then((m) => m.default),
|
|
7643
|
+
staff: () => import("./staff-CrIV1SHI.mjs").then((m) => m.default),
|
|
7644
|
+
"golden-sentence": () => import("./golden-sentence-pTlimrQk.mjs").then((m) => m.default),
|
|
7645
|
+
panke: () => import("./panke-Dot_z7hl.mjs").then((m) => m.default),
|
|
7646
|
+
audio: () => import("./audio-DPKPiEJG.mjs").then((m) => m.default),
|
|
7647
|
+
customer: () => import("./customer-B-r0bmYL.mjs").then((m) => m.default),
|
|
7648
|
+
visit: () => import("./visit-BTwOOnN1.mjs").then((m) => m.default),
|
|
7649
|
+
"beauty-plan": () => import("./beauty-plan-BmUkArq4.mjs").then((m) => m.default),
|
|
7650
|
+
"beauty-plan-update": () => import("./beauty-plan-update-BYgoZcvH.mjs").then((m) => m.default),
|
|
7651
|
+
"beauty-plan-reminder": () => import("./beauty-plan-reminder-kSWXwZl3.mjs").then((m) => m.default),
|
|
7652
|
+
"deal-analysis": () => import("./deal-analysis-COsk1PZj.mjs").then((m) => m.default),
|
|
7653
|
+
"portrait-tags": () => import("./portrait-tags-WS5r5Nin.mjs").then((m) => m.default),
|
|
7654
|
+
quantum: () => import("./quantum-DqRAOpIj.mjs").then((m) => m.default),
|
|
7655
|
+
focus: () => import("./focus-G2DzsOLk.mjs").then((m) => m.default),
|
|
7656
|
+
resistance: () => import("./resistance-DFEnkGf5.mjs").then((m) => m.default),
|
|
7657
|
+
qa: () => import("./qa-CDn3w1en.mjs").then((m) => m.default),
|
|
7658
|
+
kb: () => import("./kb-BBOdcKV5.mjs").then((m) => m.default)
|
|
7659
7659
|
}
|
|
7660
7660
|
}));
|
|
7661
7661
|
//#endregion
|
|
@@ -8,7 +8,7 @@ var config_default = defineCommand({
|
|
|
8
8
|
subCommands: {
|
|
9
9
|
list: () => import("./list-BW75XLnR.mjs").then((m) => m.default),
|
|
10
10
|
doctor: () => import("./doctor-CYU_bSCY.mjs").then((m) => m.default),
|
|
11
|
-
fields: () => import("./fields-
|
|
11
|
+
fields: () => import("./fields-bBcQS6XM.mjs").then((m) => m.default)
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
@@ -5,7 +5,7 @@ var consultant_default = defineCommand({
|
|
|
5
5
|
name: "consultant",
|
|
6
6
|
description: "查询有权限的顾问列表"
|
|
7
7
|
},
|
|
8
|
-
subCommands: { list: () => import("./list-
|
|
8
|
+
subCommands: { list: () => import("./list-C09FZsnT.mjs").then((m) => m.default) }
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { consultant_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
2
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
2
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
3
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
4
4
|
import { defineCommand } from "citty";
|
|
5
5
|
//#region src/commands/kb/doc/content.ts
|
|
6
6
|
/**
|
|
@@ -5,7 +5,7 @@ var customer_default = defineCommand({
|
|
|
5
5
|
name: "customer",
|
|
6
6
|
description: "客户画像分页查询"
|
|
7
7
|
},
|
|
8
|
-
subCommands: { list: () => import("./list-
|
|
8
|
+
subCommands: { list: () => import("./list-rlQRoQPY.mjs").then((m) => m.default) }
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { customer_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError } from "./cli.mjs";
|
|
3
|
-
import { t as mcpCallPage } from "./mcp-result-
|
|
3
|
+
import { t as mcpCallPage } from "./mcp-result-DVhN16CS.mjs";
|
|
4
4
|
import { n as visitBatchQueryCliArgs, t as buildVisitBatchQueryArgs } from "./visit-query-args-GjbcZpKM.mjs";
|
|
5
5
|
import { defineCommand } from "citty";
|
|
6
6
|
//#region src/commands/deal-analysis/index.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
4
4
|
import { t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
6
|
-
import { buildStaffCapabilityProfileArgs } from "./capability-profile-
|
|
5
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
6
|
+
import { buildStaffCapabilityProfileArgs } from "./capability-profile-DSLAL4KK.mjs";
|
|
7
7
|
import { defineCommand } from "citty";
|
|
8
8
|
//#region src/commands/staff/deal-capability.ts
|
|
9
9
|
function buildStaffDealCapabilityArgs(args, active) {
|
|
@@ -6,9 +6,9 @@ var doc_default = defineCommand({
|
|
|
6
6
|
description: "知识库文档列表 / 元数据 / 全文"
|
|
7
7
|
},
|
|
8
8
|
subCommands: {
|
|
9
|
-
list: () => import("./list-
|
|
10
|
-
get: () => import("./get-
|
|
11
|
-
content: () => import("./content-
|
|
9
|
+
list: () => import("./list-DV2w6kuv.mjs").then((m) => m.default),
|
|
10
|
+
get: () => import("./get-Cd-ylX7S.mjs").then((m) => m.default),
|
|
11
|
+
content: () => import("./content-Dk03AM4a.mjs").then((m) => m.default)
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
3
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
4
|
-
import { t as mcpCallPage } from "./mcp-result-
|
|
4
|
+
import { t as mcpCallPage } from "./mcp-result-DVhN16CS.mjs";
|
|
5
5
|
import { defineCommand } from "citty";
|
|
6
6
|
//#region src/commands/config/fields.ts
|
|
7
7
|
/**
|
|
@@ -5,7 +5,7 @@ var focus_default = defineCommand({
|
|
|
5
5
|
name: "focus",
|
|
6
6
|
description: "客户关注点标签分页查询"
|
|
7
7
|
},
|
|
8
|
-
subCommands: { list: () => import("./list-
|
|
8
|
+
subCommands: { list: () => import("./list-BJdkwPws.mjs").then((m) => m.default) }
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { focus_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
2
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
2
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
3
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
4
4
|
import { defineCommand } from "citty";
|
|
5
5
|
//#region src/commands/kb/doc/get.ts
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
4
4
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
5
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
//#region src/commands/golden-sentence/get.ts
|
|
8
8
|
function buildGoldenSentenceGetArgs(args, active) {
|
|
@@ -6,8 +6,8 @@ var golden_sentence_default = defineCommand({
|
|
|
6
6
|
description: "小美金句查询"
|
|
7
7
|
},
|
|
8
8
|
subCommands: {
|
|
9
|
-
list: () => import("./list-
|
|
10
|
-
get: () => import("./get-
|
|
9
|
+
list: () => import("./list-Bmn23TpF.mjs").then((m) => m.default),
|
|
10
|
+
get: () => import("./get-wmY4deIj.mjs").then((m) => m.default)
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
@@ -6,8 +6,8 @@ var kb_default = defineCommand({
|
|
|
6
6
|
description: "知识库检索与文档查询"
|
|
7
7
|
},
|
|
8
8
|
subCommands: {
|
|
9
|
-
search: () => import("./search-
|
|
10
|
-
doc: () => import("./doc-
|
|
9
|
+
search: () => import("./search-Db6wYZ0d.mjs").then((m) => m.default),
|
|
10
|
+
doc: () => import("./doc-BLmIGlOL.mjs").then((m) => m.default)
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
3
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
4
|
-
import { t as mcpCallPage } from "./mcp-result-
|
|
4
|
+
import { t as mcpCallPage } from "./mcp-result-DVhN16CS.mjs";
|
|
5
5
|
import { i as toLocalDateTime, t as csvToArray } from "./util-BtgWHKWv.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
//#region src/commands/focus/list.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
3
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
4
|
-
import { t as mcpCallPage } from "./mcp-result-
|
|
4
|
+
import { t as mcpCallPage } from "./mcp-result-DVhN16CS.mjs";
|
|
5
5
|
import { i as toLocalDateTime, n as mergeIds, t as csvToArray } from "./util-BtgWHKWv.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
//#region src/commands/golden-sentence/list.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
4
4
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
5
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
//#region src/commands/consultant/list.ts
|
|
8
8
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
3
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
4
|
-
import { t as mcpCallPage } from "./mcp-result-
|
|
4
|
+
import { t as mcpCallPage } from "./mcp-result-DVhN16CS.mjs";
|
|
5
5
|
import { i as toLocalDateTime, n as mergeIds, t as csvToArray } from "./util-BtgWHKWv.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
//#region src/commands/visit/list.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
2
|
-
import { t as mcpCallPage } from "./mcp-result-
|
|
2
|
+
import { t as mcpCallPage } from "./mcp-result-DVhN16CS.mjs";
|
|
3
3
|
import { defineCommand } from "citty";
|
|
4
4
|
//#region src/commands/project/list.ts
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
4
4
|
import { i as tenantIdCliArg, n as resolveProjectId, r as resolveTenantId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
5
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
//#region src/commands/kb/doc/list.ts
|
|
8
8
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
3
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
4
|
-
import { t as mcpCallPage } from "./mcp-result-
|
|
4
|
+
import { t as mcpCallPage } from "./mcp-result-DVhN16CS.mjs";
|
|
5
5
|
import { i as toLocalDateTime, t as csvToArray } from "./util-BtgWHKWv.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
//#region src/commands/resistance/list.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
3
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
4
|
-
import { t as mcpCallPage } from "./mcp-result-
|
|
4
|
+
import { t as mcpCallPage } from "./mcp-result-DVhN16CS.mjs";
|
|
5
5
|
import { i as toLocalDateTime, r as mergeUserIds, t as csvToArray } from "./util-BtgWHKWv.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
//#region src/commands/audio/list.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
3
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
4
|
-
import { t as mcpCallPage } from "./mcp-result-
|
|
4
|
+
import { t as mcpCallPage } from "./mcp-result-DVhN16CS.mjs";
|
|
5
5
|
import { i as toLocalDateTime, n as mergeIds, t as csvToArray } from "./util-BtgWHKWv.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
//#region src/commands/panke/list.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
3
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
4
|
-
import { t as mcpCallPage } from "./mcp-result-
|
|
4
|
+
import { t as mcpCallPage } from "./mcp-result-DVhN16CS.mjs";
|
|
5
5
|
import { i as toLocalDateTime, t as csvToArray } from "./util-BtgWHKWv.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
//#region src/commands/customer/list.ts
|
|
@@ -124,7 +124,7 @@ var McpGatewayError = class extends Error {
|
|
|
124
124
|
* is attached as {@code X-MCP-Session-Id} so the MCP gateway can correlate the
|
|
125
125
|
* originating session. Absent {@code SESSION_ID} → header omitted.
|
|
126
126
|
*/
|
|
127
|
-
function buildMcpHttpHeaders(token) {
|
|
127
|
+
function buildMcpHttpHeaders(token, extra) {
|
|
128
128
|
const headers = {
|
|
129
129
|
Accept: "application/json, text/event-stream",
|
|
130
130
|
"Content-Type": "application/json",
|
|
@@ -132,16 +132,24 @@ function buildMcpHttpHeaders(token) {
|
|
|
132
132
|
};
|
|
133
133
|
const sessionId = readEnv(ENV_KEYS.SESSION_ID)?.trim();
|
|
134
134
|
if (sessionId) headers["X-MCP-Session-Id"] = sessionId;
|
|
135
|
+
if (extra) {
|
|
136
|
+
const existing = new Headers(headers);
|
|
137
|
+
for (const [name, value] of Object.entries(extra)) {
|
|
138
|
+
if (!value?.trim() || existing.has(name)) continue;
|
|
139
|
+
headers[name] = value;
|
|
140
|
+
existing.set(name, value);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
135
143
|
return headers;
|
|
136
144
|
}
|
|
137
145
|
async function mcpCall(toolName, opts) {
|
|
138
146
|
const { loadActiveProject } = await import("./project-store-DlbRmRAS.mjs");
|
|
139
147
|
const active = await loadActiveProject();
|
|
140
|
-
const wireArguments = augmentMcpWireArguments(toolName, opts.arguments ?? {}, active?.projectId);
|
|
148
|
+
const wireArguments = opts.skipDefaultProjectId ? opts.arguments ?? {} : augmentMcpWireArguments(toolName, opts.arguments ?? {}, active?.projectId);
|
|
141
149
|
if (toolName !== "project-list") {
|
|
142
150
|
const rawProjectId = wireArguments.project_id;
|
|
143
151
|
if (rawProjectId != null && String(rawProjectId).trim()) {
|
|
144
|
-
const { assertProjectAllowed } = await import("./project-access-
|
|
152
|
+
const { assertProjectAllowed } = await import("./project-access-NrM7rF9v.mjs");
|
|
145
153
|
await assertProjectAllowed(String(rawProjectId).trim());
|
|
146
154
|
}
|
|
147
155
|
}
|
|
@@ -154,7 +162,7 @@ async function mcpCallOnce(toolName, opts, retriedAfterRefresh) {
|
|
|
154
162
|
const config = await resolveMcpConfig();
|
|
155
163
|
const serviceCode = opts.serviceCode ?? "beautx-cli";
|
|
156
164
|
const url = `${config.gatewayUrl}/mcp/${serviceCode}`;
|
|
157
|
-
const argumentsWithCallSource = {
|
|
165
|
+
const argumentsWithCallSource = opts.omitCallSource ? opts.arguments : {
|
|
158
166
|
call_source: MCP_CALL_SOURCE,
|
|
159
167
|
...opts.arguments
|
|
160
168
|
};
|
|
@@ -169,7 +177,7 @@ async function mcpCallOnce(toolName, opts, retriedAfterRefresh) {
|
|
|
169
177
|
});
|
|
170
178
|
const resp = await fetch(url, {
|
|
171
179
|
method: "POST",
|
|
172
|
-
headers: buildMcpHttpHeaders(config.token),
|
|
180
|
+
headers: buildMcpHttpHeaders(config.token, opts.headers),
|
|
173
181
|
body,
|
|
174
182
|
signal: AbortSignal.timeout(opts.timeoutMs ?? 3e4)
|
|
175
183
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as writeError, r as writeResult } from "./cli.mjs";
|
|
2
|
-
import { i as unwrapMcpToolEnvelope, n as mcpCall } from "./mcp-client-
|
|
2
|
+
import { i as unwrapMcpToolEnvelope, n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
3
3
|
//#region src/core/mcp-result.ts
|
|
4
4
|
/**
|
|
5
5
|
* Normalize MCP tool responses for agent-friendly stdout (TOON tabular arrays).
|
|
@@ -6,8 +6,8 @@ var panke_default = defineCommand({
|
|
|
6
6
|
description: "盘客只读查询"
|
|
7
7
|
},
|
|
8
8
|
subCommands: {
|
|
9
|
-
list: () => import("./list-
|
|
10
|
-
task: () => import("./task-
|
|
9
|
+
list: () => import("./list-rYqpx_f4.mjs").then((m) => m.default),
|
|
10
|
+
task: () => import("./task-9zvvum_9.mjs").then((m) => m.default)
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
@@ -1,10 +1,21 @@
|
|
|
1
|
+
import { r as assertProjectAllowed } from "./project-access-BF7O8oHm.mjs";
|
|
1
2
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
3
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-
|
|
4
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
4
5
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
6
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
6
7
|
import { defineCommand } from "citty";
|
|
7
8
|
//#region src/commands/staff/permission-scope.ts
|
|
9
|
+
async function queryStaffPermissionScope(projectId) {
|
|
10
|
+
const resolvedProjectId = resolveProjectId(projectId, await requireActiveProject());
|
|
11
|
+
await assertProjectAllowed(resolvedProjectId);
|
|
12
|
+
return mcpCall("staff-permission-scope", {
|
|
13
|
+
arguments: { variables: {} },
|
|
14
|
+
headers: { "X-MCP-Project-Id": resolvedProjectId },
|
|
15
|
+
skipDefaultProjectId: true,
|
|
16
|
+
omitCallSource: true
|
|
17
|
+
});
|
|
18
|
+
}
|
|
8
19
|
var permission_scope_default = defineCommand({
|
|
9
20
|
meta: {
|
|
10
21
|
name: "permission-scope",
|
|
@@ -16,8 +27,7 @@ var permission_scope_default = defineCommand({
|
|
|
16
27
|
},
|
|
17
28
|
async run({ args }) {
|
|
18
29
|
try {
|
|
19
|
-
|
|
20
|
-
writeMcpDataResult(await mcpCall("staff-permission-scope", { arguments: { project_id: resolveProjectId(args["project-id"], active) } }), args.format);
|
|
30
|
+
writeMcpDataResult(await queryStaffPermissionScope(args["project-id"]), args.format);
|
|
21
31
|
} catch (err) {
|
|
22
32
|
writeError(err, args.format);
|
|
23
33
|
process.exit(1);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError } from "./cli.mjs";
|
|
3
|
-
import { t as mcpCallPage } from "./mcp-result-
|
|
3
|
+
import { t as mcpCallPage } from "./mcp-result-DVhN16CS.mjs";
|
|
4
4
|
import { n as visitBatchQueryCliArgs, t as buildVisitBatchQueryArgs } from "./visit-query-args-GjbcZpKM.mjs";
|
|
5
5
|
import { defineCommand } from "citty";
|
|
6
6
|
//#region src/commands/portrait-tags/index.ts
|
|
@@ -228,7 +228,7 @@ function normalizeProjectListPage(page) {
|
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
230
|
async function fetchProjectListPage(page, size) {
|
|
231
|
-
const { mcpCall, unwrapMcpToolEnvelope } = await import("./mcp-client-
|
|
231
|
+
const { mcpCall, unwrapMcpToolEnvelope } = await import("./mcp-client-84jEvBDL.mjs").then((n) => n.r);
|
|
232
232
|
const result = await mcpCall("project-list", { arguments: {
|
|
233
233
|
page,
|
|
234
234
|
size
|
|
@@ -6,8 +6,8 @@ var project_default = defineCommand({
|
|
|
6
6
|
description: "查询 / 切换激活项目"
|
|
7
7
|
},
|
|
8
8
|
subCommands: {
|
|
9
|
-
list: () => import("./list-
|
|
10
|
-
use: () => import("./use-
|
|
9
|
+
list: () => import("./list-DKQ8KM53.mjs").then((m) => m.default),
|
|
10
|
+
use: () => import("./use-Dipd3KHS.mjs").then((m) => m.default),
|
|
11
11
|
current: () => import("./current-DdEW2EWK.mjs").then((m) => m.default)
|
|
12
12
|
}
|
|
13
13
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
4
4
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
5
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
6
6
|
import { t as csvToArray } from "./util-BtgWHKWv.mjs";
|
|
7
7
|
import { defineCommand } from "citty";
|
|
8
8
|
//#region src/commands/qa.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
4
4
|
import { t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
5
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
6
6
|
import { n as mergeIds, t as csvToArray } from "./util-BtgWHKWv.mjs";
|
|
7
|
-
import { buildStaffCapabilityProfileArgs } from "./capability-profile-
|
|
7
|
+
import { buildStaffCapabilityProfileArgs } from "./capability-profile-DSLAL4KK.mjs";
|
|
8
8
|
import { defineCommand } from "citty";
|
|
9
9
|
//#region src/commands/staff/quality-inspection.ts
|
|
10
10
|
function buildStaffQualityInspectionArgs(args, active) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
4
4
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
5
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
6
6
|
import { i as toLocalDateTime, t as csvToArray } from "./util-BtgWHKWv.mjs";
|
|
7
7
|
import { defineCommand } from "citty";
|
|
8
8
|
//#region src/commands/quantum/query.ts
|
|
@@ -5,7 +5,7 @@ var resistance_default = defineCommand({
|
|
|
5
5
|
name: "resistance",
|
|
6
6
|
description: "客户抗性点标签分页查询"
|
|
7
7
|
},
|
|
8
|
-
subCommands: { list: () => import("./list-
|
|
8
|
+
subCommands: { list: () => import("./list-kJm0HaGb2.mjs").then((m) => m.default) }
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { resistance_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
4
4
|
import { i as tenantIdCliArg, n as resolveProjectId, r as resolveTenantId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
5
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
6
6
|
import { t as csvToArray } from "./util-BtgWHKWv.mjs";
|
|
7
7
|
import { defineCommand } from "citty";
|
|
8
8
|
//#region src/commands/kb/search.ts
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
//#region src/commands/staff/index.ts
|
|
3
|
+
var staff_default = defineCommand({
|
|
4
|
+
meta: {
|
|
5
|
+
name: "staff",
|
|
6
|
+
description: "员工能力查询"
|
|
7
|
+
},
|
|
8
|
+
subCommands: {
|
|
9
|
+
"capability-profile": () => import("./capability-profile-DSLAL4KK.mjs").then((m) => m.default),
|
|
10
|
+
"quality-inspection": () => import("./quality-inspection-BAFsvMQT.mjs").then((m) => m.default),
|
|
11
|
+
"deal-capability": () => import("./deal-capability-C6gTS7wK.mjs").then((m) => m.default),
|
|
12
|
+
"permission-scope": () => import("./permission-scope-DH1wsKZY.mjs").then((m) => m.default)
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
export { staff_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
3
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
4
|
-
import { t as mcpCallPage } from "./mcp-result-
|
|
4
|
+
import { t as mcpCallPage } from "./mcp-result-DVhN16CS.mjs";
|
|
5
5
|
import { i as toLocalDateTime } from "./util-BtgWHKWv.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
//#region src/commands/visit/summary.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
4
4
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
5
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
//#region src/commands/panke/task.ts
|
|
8
8
|
function buildPankeTaskArgs(args, active) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-
|
|
3
|
+
import { n as mcpCall } from "./mcp-client-84jEvBDL.mjs";
|
|
4
4
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-
|
|
5
|
+
import { n as writeMcpDataResult } from "./mcp-result-DVhN16CS.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
//#region src/commands/audio/text.ts
|
|
8
8
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as resolveProjectForUse, i as invalidateProjectAccessCache } from "./project-access-
|
|
1
|
+
import { a as resolveProjectForUse, i as invalidateProjectAccessCache } from "./project-access-BF7O8oHm.mjs";
|
|
2
2
|
import { i as invalidateActiveProjectCache, l as switchActiveProjectViaCallback, r as assertProjectSwitchAllowed } from "./project-store-DUlIIW51.mjs";
|
|
3
3
|
import { n as writeError, r as writeResult, t as formatCliArg } from "./cli.mjs";
|
|
4
4
|
import { defineCommand } from "citty";
|
|
@@ -6,8 +6,8 @@ var visit_default = defineCommand({
|
|
|
6
6
|
description: "客户来访查询"
|
|
7
7
|
},
|
|
8
8
|
subCommands: {
|
|
9
|
-
list: () => import("./list-
|
|
10
|
-
summary: () => import("./summary-
|
|
9
|
+
list: () => import("./list-CFvv5Huk.mjs").then((m) => m.default),
|
|
10
|
+
summary: () => import("./summary-DJJhrMZy.mjs").then((m) => m.default)
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
package/package.json
CHANGED
package/dist/staff-D5yN_LeS.mjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { defineCommand } from "citty";
|
|
2
|
-
//#region src/commands/staff/index.ts
|
|
3
|
-
var staff_default = defineCommand({
|
|
4
|
-
meta: {
|
|
5
|
-
name: "staff",
|
|
6
|
-
description: "员工能力查询"
|
|
7
|
-
},
|
|
8
|
-
subCommands: {
|
|
9
|
-
"capability-profile": () => import("./capability-profile-iDXBJxqK.mjs").then((m) => m.default),
|
|
10
|
-
"quality-inspection": () => import("./quality-inspection-DmFbUvSC.mjs").then((m) => m.default),
|
|
11
|
-
"deal-capability": () => import("./deal-capability-CAbN-a6j.mjs").then((m) => m.default),
|
|
12
|
-
"permission-scope": () => import("./permission-scope-DTXGSpuh.mjs").then((m) => m.default)
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
//#endregion
|
|
16
|
-
export { staff_default as default };
|