beautx-cli 1.1.2-beta.1 → 1.1.2-beta.3
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 +0 -5
- package/dist/cli.mjs +8 -8
- package/dist/{install-7SB-izr2.mjs → install-9POQGm3C.mjs} +1 -1
- package/dist/{list-CXbqmTos.mjs → list-CiGnPRMu.mjs} +1 -1
- package/dist/{panke-Dd52P534.mjs → panke-CO--Bv4n.mjs} +2 -3
- package/dist/{project-CzpyW67k.mjs → project-CYVCYuHU.mjs} +3 -3
- package/dist/{resistance-BCHM2VZk.mjs → resistance-3jX1cR7U.mjs} +1 -1
- package/dist/{skill-BF9S48yu.mjs → skill-Dg_uKK57.mjs} +3 -3
- package/dist/{staff-IytS68QG.mjs → staff-B01SCGHo.mjs} +1 -1
- package/dist/{upload-CZDRAlaG.mjs → upload-DK6MjBpn.mjs} +1 -1
- package/dist/{visit-BsY4-f1r.mjs → visit-BGT8Z7L1.mjs} +2 -2
- package/package.json +1 -1
- package/dist/detail-RW63RcvN.mjs +0 -44
- /package/dist/{capability-profile-VWZEzTJY.mjs → capability-profile-DpFSQBi4.mjs} +0 -0
- /package/dist/{current-DdEW2EWK.mjs → current-s-QVNZmV.mjs} +0 -0
- /package/dist/{list-CbKkYLBK.mjs → list-7k2QD_SC2.mjs} +0 -0
- /package/dist/{list-CuJXGJvc.mjs → list-BVbHFk3E2.mjs} +0 -0
- /package/dist/{list-BREF9Ecs.mjs → list-CwpxejCd.mjs} +0 -0
- /package/dist/{list-D9JQwZD52.mjs → list-DOB8pYHM.mjs} +0 -0
- /package/dist/{portrait-tags-C6plwT2N.mjs → portrait-tags-CCo6uav8.mjs} +0 -0
- /package/dist/{qa-D3OEsKVK.mjs → qa-DtxO4tZJ.mjs} +0 -0
- /package/dist/{skill-client-BfpXlgLz.mjs → skill-client-CO5xWb95.mjs} +0 -0
- /package/dist/{summary-D4vO6NHy.mjs → summary-Kqoanp4I.mjs} +0 -0
- /package/dist/{task-CuHDQlRD.mjs → task-DlTk04im.mjs} +0 -0
- /package/dist/{use-C_V8PxFJ.mjs → use-CZ8xIPrB.mjs} +0 -0
package/README.md
CHANGED
|
@@ -128,11 +128,6 @@ beautx-cli panke list [选项]
|
|
|
128
128
|
|
|
129
129
|
# 查询小美待盘客任务
|
|
130
130
|
beautx-cli panke task --panke-task-id <任务ID>
|
|
131
|
-
|
|
132
|
-
# 查询地产盘客 SOP
|
|
133
|
-
beautx-cli panke detail [选项]
|
|
134
|
-
--panke-id <盘客SOP ID> # 必填,不能使用待盘客任务ID代替
|
|
135
|
-
--include-transcript # 可选,查询录音原文
|
|
136
131
|
```
|
|
137
132
|
|
|
138
133
|
### 小美金句
|
package/dist/cli.mjs
CHANGED
|
@@ -7637,22 +7637,22 @@ runMain(defineCommand({
|
|
|
7637
7637
|
},
|
|
7638
7638
|
subCommands: {
|
|
7639
7639
|
config: () => import("./config-BjsUQ9I-.mjs").then((m) => m.default),
|
|
7640
|
-
project: () => import("./project-
|
|
7641
|
-
skill: () => import("./skill-
|
|
7640
|
+
project: () => import("./project-CYVCYuHU.mjs").then((m) => m.default),
|
|
7641
|
+
skill: () => import("./skill-Dg_uKK57.mjs").then((m) => m.default),
|
|
7642
7642
|
consultant: () => import("./consultant-vVraua0_.mjs").then((m) => m.default),
|
|
7643
|
-
staff: () => import("./staff-
|
|
7643
|
+
staff: () => import("./staff-B01SCGHo.mjs").then((m) => m.default),
|
|
7644
7644
|
"golden-sentence": () => import("./golden-sentence-Ds-iQpH9.mjs").then((m) => m.default),
|
|
7645
|
-
panke: () => import("./panke-
|
|
7645
|
+
panke: () => import("./panke-CO--Bv4n.mjs").then((m) => m.default),
|
|
7646
7646
|
audio: () => import("./audio-DlgPatwd.mjs").then((m) => m.default),
|
|
7647
7647
|
customer: () => import("./customer-CnAv26d0.mjs").then((m) => m.default),
|
|
7648
|
-
visit: () => import("./visit-
|
|
7648
|
+
visit: () => import("./visit-BGT8Z7L1.mjs").then((m) => m.default),
|
|
7649
7649
|
"beauty-plan": () => import("./beauty-plan-BMR3QbZr.mjs").then((m) => m.default),
|
|
7650
7650
|
"beauty-plan-reminder": () => import("./beauty-plan-reminder-B7g7RRTs.mjs").then((m) => m.default),
|
|
7651
7651
|
"deal-analysis": () => import("./deal-analysis-CX4IXbgk.mjs").then((m) => m.default),
|
|
7652
|
-
"portrait-tags": () => import("./portrait-tags-
|
|
7652
|
+
"portrait-tags": () => import("./portrait-tags-CCo6uav8.mjs").then((m) => m.default),
|
|
7653
7653
|
focus: () => import("./focus-Dx1rT6QE.mjs").then((m) => m.default),
|
|
7654
|
-
resistance: () => import("./resistance-
|
|
7655
|
-
qa: () => import("./qa-
|
|
7654
|
+
resistance: () => import("./resistance-3jX1cR7U.mjs").then((m) => m.default),
|
|
7655
|
+
qa: () => import("./qa-DtxO4tZJ.mjs").then((m) => m.default),
|
|
7656
7656
|
kb: () => import("./kb-rsFJm8cU.mjs").then((m) => m.default)
|
|
7657
7657
|
}
|
|
7658
7658
|
}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, r as writeResult, t as formatCliArg } from "./cli.mjs";
|
|
3
3
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
4
|
-
import { i as skillInstallGrant, r as resolveSkillInstallDir, t as downloadSkillPackage } from "./skill-client-
|
|
4
|
+
import { i as skillInstallGrant, r as resolveSkillInstallDir, t as downloadSkillPackage } from "./skill-client-CO5xWb95.mjs";
|
|
5
5
|
import { defineCommand } from "citty";
|
|
6
6
|
//#region src/commands/skill/install.ts
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
2
|
import { n as writeError, r as writeResult, t as formatCliArg } from "./cli.mjs";
|
|
3
3
|
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
4
|
-
import { a as skillList } from "./skill-client-
|
|
4
|
+
import { a as skillList } from "./skill-client-CO5xWb95.mjs";
|
|
5
5
|
import { defineCommand } from "citty";
|
|
6
6
|
//#region src/commands/skill/list.ts
|
|
7
7
|
/**
|
|
@@ -6,9 +6,8 @@ var panke_default = defineCommand({
|
|
|
6
6
|
description: "盘客只读查询"
|
|
7
7
|
},
|
|
8
8
|
subCommands: {
|
|
9
|
-
list: () => import("./list-
|
|
10
|
-
|
|
11
|
-
task: () => import("./task-CuHDQlRD.mjs").then((m) => m.default)
|
|
9
|
+
list: () => import("./list-7k2QD_SC2.mjs").then((m) => m.default),
|
|
10
|
+
task: () => import("./task-DlTk04im.mjs").then((m) => m.default)
|
|
12
11
|
}
|
|
13
12
|
});
|
|
14
13
|
//#endregion
|
|
@@ -6,9 +6,9 @@ var project_default = defineCommand({
|
|
|
6
6
|
description: "查询 / 切换激活项目"
|
|
7
7
|
},
|
|
8
8
|
subCommands: {
|
|
9
|
-
list: () => import("./list-
|
|
10
|
-
use: () => import("./use-
|
|
11
|
-
current: () => import("./current-
|
|
9
|
+
list: () => import("./list-CwpxejCd.mjs").then((m) => m.default),
|
|
10
|
+
use: () => import("./use-CZ8xIPrB.mjs").then((m) => m.default),
|
|
11
|
+
current: () => import("./current-s-QVNZmV.mjs").then((m) => m.default)
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
@@ -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-DOB8pYHM.mjs").then((m) => m.default) }
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { resistance_default as default };
|
|
@@ -6,9 +6,9 @@ var skill_default = defineCommand({
|
|
|
6
6
|
description: "Skill 中心:列表 / 安装 / 上传(REST,沙箱双凭证)"
|
|
7
7
|
},
|
|
8
8
|
subCommands: {
|
|
9
|
-
list: () => import("./list-
|
|
10
|
-
install: () => import("./install-
|
|
11
|
-
upload: () => import("./upload-
|
|
9
|
+
list: () => import("./list-CiGnPRMu.mjs").then((m) => m.default),
|
|
10
|
+
install: () => import("./install-9POQGm3C.mjs").then((m) => m.default),
|
|
11
|
+
upload: () => import("./upload-DK6MjBpn.mjs").then((m) => m.default)
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
@@ -5,7 +5,7 @@ var staff_default = defineCommand({
|
|
|
5
5
|
name: "staff",
|
|
6
6
|
description: "员工能力查询"
|
|
7
7
|
},
|
|
8
|
-
subCommands: { "capability-profile": () => import("./capability-profile-
|
|
8
|
+
subCommands: { "capability-profile": () => import("./capability-profile-DpFSQBi4.mjs").then((m) => m.default) }
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { staff_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as writeError, r as writeResult, t as formatCliArg } from "./cli.mjs";
|
|
2
|
-
import { n as putSkillZip, o as skillUploadConfirm, s as skillUploadInitiate } from "./skill-client-
|
|
2
|
+
import { n as putSkillZip, o as skillUploadConfirm, s as skillUploadInitiate } from "./skill-client-CO5xWb95.mjs";
|
|
3
3
|
import { defineCommand } from "citty";
|
|
4
4
|
import { readFile } from "node:fs/promises";
|
|
5
5
|
//#region src/commands/skill/upload.ts
|
|
@@ -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-BVbHFk3E2.mjs").then((m) => m.default),
|
|
10
|
+
summary: () => import("./summary-Kqoanp4I.mjs").then((m) => m.default)
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
package/package.json
CHANGED
package/dist/detail-RW63RcvN.mjs
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { c as requireActiveProject } from "./project-store-DUlIIW51.mjs";
|
|
2
|
-
import { n as writeError, t as formatCliArg } from "./cli.mjs";
|
|
3
|
-
import { n as mcpCall } from "./mcp-client-huLKHRT3.mjs";
|
|
4
|
-
import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-CG7OuBep.mjs";
|
|
5
|
-
import { n as writeMcpDataResult } from "./mcp-result-BzDGJUdM.mjs";
|
|
6
|
-
import { defineCommand } from "citty";
|
|
7
|
-
//#region src/commands/panke/detail.ts
|
|
8
|
-
function buildPankeDetailArgs(args, active) {
|
|
9
|
-
const pankeId = String(args["panke-id"] || "").trim();
|
|
10
|
-
if (!/^[1-9]\d*$/.test(pankeId)) throw new Error("--panke-id must be a positive SOP ID");
|
|
11
|
-
return {
|
|
12
|
-
project_id: resolveProjectId(args["project-id"], active),
|
|
13
|
-
panke_id: pankeId,
|
|
14
|
-
include_transcript: args["include-transcript"] === true
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
var detail_default = defineCommand({
|
|
18
|
-
meta: {
|
|
19
|
-
name: "detail",
|
|
20
|
-
description: "按盘客 SOP ID 查询盘客详情"
|
|
21
|
-
},
|
|
22
|
-
args: {
|
|
23
|
-
...projectIdCliArg,
|
|
24
|
-
"panke-id": {
|
|
25
|
-
type: "string",
|
|
26
|
-
description: "盘客 SOP ID,不能传任务 ID 或事件记录 ID"
|
|
27
|
-
},
|
|
28
|
-
"include-transcript": {
|
|
29
|
-
type: "boolean",
|
|
30
|
-
description: "包含录音原文;默认不查询"
|
|
31
|
-
},
|
|
32
|
-
format: formatCliArg
|
|
33
|
-
},
|
|
34
|
-
async run({ args }) {
|
|
35
|
-
try {
|
|
36
|
-
writeMcpDataResult(await mcpCall("panke-detail", { arguments: buildPankeDetailArgs(args, await requireActiveProject()) }), args.format);
|
|
37
|
-
} catch (err) {
|
|
38
|
-
writeError(err, args.format);
|
|
39
|
-
process.exit(1);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
//#endregion
|
|
44
|
-
export { detail_default as default };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|