beautx-cli 1.1.0 → 1.1.1-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.
Files changed (31) hide show
  1. package/README.md +31 -0
  2. package/dist/{beauty-plan-D1bqzOTP.mjs → beauty-plan-D9B8kaf-.mjs} +16 -1
  3. package/dist/capability-profile-DxrzExct.mjs +61 -0
  4. package/dist/cli.mjs +12 -9
  5. package/dist/{customer-Cgsj-Z2b.mjs → customer-iWrGhESH.mjs} +1 -1
  6. package/dist/detail-BnUTSlRa.mjs +44 -0
  7. package/dist/{doc-D0ZKCnFf.mjs → doc-_TnZLbtD.mjs} +3 -3
  8. package/dist/get-ByAQXto5.mjs +40 -0
  9. package/dist/golden-sentence-CwT4AyLu.mjs +11 -0
  10. package/dist/{kb-Cg2RM9t6.mjs → kb-CBj6tJE9.mjs} +2 -2
  11. package/dist/{list-DFjDJRhp.mjs → list-BGjT1Ovk.mjs} +11 -1
  12. package/dist/panke-DmzQyQHt.mjs +14 -0
  13. package/dist/{project-dVDXp2i-.mjs → project-DeLeVoA3.mjs} +3 -3
  14. package/dist/{resistance-BWjqdajn.mjs → resistance-CC4cxxUk.mjs} +1 -1
  15. package/dist/staff-BVu2Hmu1.mjs +11 -0
  16. package/dist/task-Fa1R-6DI.mjs +40 -0
  17. package/dist/{visit-sMAORsRa.mjs → visit-D-HS1jjx.mjs} +2 -2
  18. package/package.json +1 -1
  19. /package/dist/{content-DbZ_Oi9R.mjs → content-CfzyDYSy.mjs} +0 -0
  20. /package/dist/{current-RoW9iRya.mjs → current-xqaZxhbN.mjs} +0 -0
  21. /package/dist/{get-yHGUZY7o.mjs → get-BDXbs-_c.mjs} +0 -0
  22. /package/dist/{list-y471qVyN.mjs → list-CB-bwmRO2.mjs} +0 -0
  23. /package/dist/{list-Cos_lkZq.mjs → list-CQOLK3Xu.mjs} +0 -0
  24. /package/dist/{list-Cws2iiW4.mjs → list-CnsJlbrZ.mjs} +0 -0
  25. /package/dist/{list-CDQGoZi6.mjs → list-DMFhAeTT.mjs} +0 -0
  26. /package/dist/{portrait-tags-LVjDI8fY.mjs → portrait-tags-c7OW_KzT.mjs} +0 -0
  27. /package/dist/{qa-N4VI4Tww.mjs → qa-DIZmvMwE.mjs} +0 -0
  28. /package/dist/{search-BWhcg6ng.mjs → search-eIzMHyPL.mjs} +0 -0
  29. /package/dist/{summary-DAf0vaO8.mjs → summary-CYLljvrY.mjs} +0 -0
  30. /package/dist/{use-B-mda_1X.mjs → use-DIjJeiXP.mjs} +0 -0
  31. /package/dist/{visit-evaluate-DzuaUj0E.mjs → visit-evaluate-COKpVvhv.mjs} +0 -0
package/README.md CHANGED
@@ -69,6 +69,8 @@ beautx-cli consultant list [--page <页码>] [--size <每页条数>]
69
69
  ```bash
70
70
  # 列出客户
71
71
  beautx-cli customer list [选项]
72
+ --customer-id <客户ID> # 单个 wang_id 精确匹配
73
+ --customer-ids <客户ID列表> # 多个 wang_id,逗号分隔
72
74
  --user-id <顾问ID> # 过滤特定顾问的客户
73
75
  --user-name <顾问名> # 顾问姓名模糊搜索
74
76
  --customer-name <客户名> # 客户姓名模糊搜索
@@ -80,6 +82,33 @@ beautx-cli customer list [选项]
80
82
  --size <每页条数> # 每页条数
81
83
  ```
82
84
 
85
+ ### 员工能力
86
+
87
+ ```bash
88
+ beautx-cli staff capability-profile [选项]
89
+ --staff-user-id <员工ID> # basic_staff.user_id,必填
90
+ --from <开始时间> # 可选,yyyy-MM-dd HH:mm:ss
91
+ --to <结束时间> # 可选,yyyy-MM-dd HH:mm:ss
92
+ ```
93
+
94
+ ### 盘客详情
95
+
96
+ ```bash
97
+ # 查询小美待盘客任务
98
+ beautx-cli panke task --panke-task-id <任务ID>
99
+
100
+ # 查询地产盘客 SOP
101
+ beautx-cli panke detail [选项]
102
+ --panke-id <盘客SOP ID> # 必填,不能使用待盘客任务ID代替
103
+ --include-transcript # 可选,查询录音原文
104
+ ```
105
+
106
+ ### 小美金句
107
+
108
+ ```bash
109
+ beautx-cli golden-sentence get --golden-sentence-id <金句ID>
110
+ ```
111
+
83
112
  ### 来访管理
84
113
 
85
114
  ```bash
@@ -132,6 +161,8 @@ beautx-cli visit-evaluate [选项]
132
161
 
133
162
  # 查询变美计划
134
163
  beautx-cli beauty-plan [选项]
164
+ --followup-report-id <计划ID>
165
+ --followup-report-ids <计划ID列表>
135
166
 
136
167
  # 查询变美计划未及时发送提醒批次
137
168
  beautx-cli beauty-plan-reminder [选项]
@@ -1,12 +1,19 @@
1
1
  import { c as requireActiveProject } from "./project-store-Dl35JzZr.mjs";
2
2
  import { n as writeError } from "./cli.mjs";
3
3
  import { t as mcpCallPage } from "./mcp-result-De_0PPlD.mjs";
4
+ import { n as mergeIds, t as csvToArray } from "./util-Bko-nm_R.mjs";
4
5
  import { n as visitBatchQueryCliArgs, t as buildVisitBatchQueryArgs } from "./visit-query-args-BsfU3CUz.mjs";
5
6
  import { defineCommand } from "citty";
6
7
  //#region src/commands/beauty-plan/index.ts
7
8
  /**
8
9
  * `beautx-cli beauty-plan` — page beautx beauty plans via MCP gateway.
9
10
  */
11
+ function buildBeautyPlanArgs(args, active) {
12
+ return buildVisitBatchQueryArgs(args, active, {
13
+ followup_report_ids: mergeIds(args["followup-report-id"], csvToArray(args["followup-report-ids"])),
14
+ latest_only: args["latest-only"]
15
+ });
16
+ }
10
17
  var beauty_plan_default = defineCommand({
11
18
  meta: {
12
19
  name: "beauty-plan",
@@ -14,6 +21,14 @@ var beauty_plan_default = defineCommand({
14
21
  },
15
22
  args: {
16
23
  ...visitBatchQueryCliArgs,
24
+ "followup-report-id": {
25
+ type: "string",
26
+ description: "单个变美计划/跟进报告 ID(会转为 MCP followup_report_ids)"
27
+ },
28
+ "followup-report-ids": {
29
+ type: "string",
30
+ description: "变美计划/跟进报告 ID CSV → MCP followup_report_ids"
31
+ },
17
32
  "latest-only": {
18
33
  type: "boolean",
19
34
  description: "按客户查询时是否只返回最近一次;不传则使用后端默认 true"
@@ -21,7 +36,7 @@ var beauty_plan_default = defineCommand({
21
36
  },
22
37
  async run({ args }) {
23
38
  try {
24
- await mcpCallPage("beauty-plan", buildVisitBatchQueryArgs(args, await requireActiveProject(), { latest_only: args["latest-only"] }), args.format, {
39
+ await mcpCallPage("beauty-plan", buildBeautyPlanArgs(args, await requireActiveProject()), args.format, {
25
40
  itemsKey: "beautyPlans",
26
41
  defaultPage: Number(args.page),
27
42
  defaultSize: Number(args.size)
@@ -0,0 +1,61 @@
1
+ import { c as requireActiveProject } from "./project-store-Dl35JzZr.mjs";
2
+ import { n as writeError, t as formatCliArg } from "./cli.mjs";
3
+ import { n as mcpCall } from "./mcp-client-BTZH22b5.mjs";
4
+ import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-DK3IGaO1.mjs";
5
+ import { n as writeMcpDataResult } from "./mcp-result-De_0PPlD.mjs";
6
+ import { i as toLocalDateTime } from "./util-Bko-nm_R.mjs";
7
+ import { defineCommand } from "citty";
8
+ //#region src/commands/staff/capability-profile.ts
9
+ function buildStaffCapabilityProfileArgs(args, active) {
10
+ const staffUserId = String(args["staff-user-id"] || "").trim();
11
+ if (!staffUserId) throw new Error("--staff-user-id is required");
12
+ const start = toLocalDateTime(args.from);
13
+ const end = toLocalDateTime(args.to);
14
+ return {
15
+ project_id: resolveProjectId(args["project-id"], active),
16
+ variables: {
17
+ staff_user_id: staffUserId,
18
+ ...start ? { staff_metric_start_time: start } : {},
19
+ ...end ? { staff_metric_end_time: end } : {}
20
+ },
21
+ ...start || end ? { time_range: {
22
+ ...start ? { start } : {},
23
+ ...end ? { end } : {}
24
+ } } : {}
25
+ };
26
+ }
27
+ var capability_profile_default = defineCommand({
28
+ meta: {
29
+ name: "capability-profile",
30
+ description: "查询指定员工的基础信息、能力指标与团队参考"
31
+ },
32
+ args: {
33
+ ...projectIdCliArg,
34
+ "staff-user-id": {
35
+ type: "string",
36
+ description: "员工 basic_staff.user_id"
37
+ },
38
+ from: {
39
+ type: "string",
40
+ description: "统计开始时间 yyyy-MM-dd HH:mm:ss"
41
+ },
42
+ to: {
43
+ type: "string",
44
+ description: "统计结束时间 yyyy-MM-dd HH:mm:ss"
45
+ },
46
+ format: formatCliArg
47
+ },
48
+ async run({ args }) {
49
+ try {
50
+ writeMcpDataResult(await mcpCall("staff-capability-profile", {
51
+ arguments: buildStaffCapabilityProfileArgs(args, await requireActiveProject()),
52
+ timeoutMs: 9e4
53
+ }), args.format);
54
+ } catch (err) {
55
+ writeError(err, args.format);
56
+ process.exit(1);
57
+ }
58
+ }
59
+ });
60
+ //#endregion
61
+ export { capability_profile_default as default };
package/dist/cli.mjs CHANGED
@@ -7636,20 +7636,23 @@ runMain(defineCommand({
7636
7636
  },
7637
7637
  subCommands: {
7638
7638
  config: () => import("./config-V1amf6sh.mjs").then((m) => m.default),
7639
- project: () => import("./project-dVDXp2i-.mjs").then((m) => m.default),
7639
+ project: () => import("./project-DeLeVoA3.mjs").then((m) => m.default),
7640
7640
  consultant: () => import("./consultant-DZeIOYgS.mjs").then((m) => m.default),
7641
+ staff: () => import("./staff-BVu2Hmu1.mjs").then((m) => m.default),
7642
+ "golden-sentence": () => import("./golden-sentence-CwT4AyLu.mjs").then((m) => m.default),
7643
+ panke: () => import("./panke-DmzQyQHt.mjs").then((m) => m.default),
7641
7644
  audio: () => import("./audio-p2QCYFdq.mjs").then((m) => m.default),
7642
- customer: () => import("./customer-Cgsj-Z2b.mjs").then((m) => m.default),
7643
- visit: () => import("./visit-sMAORsRa.mjs").then((m) => m.default),
7644
- "visit-evaluate": () => import("./visit-evaluate-DzuaUj0E.mjs").then((m) => m.default),
7645
- "beauty-plan": () => import("./beauty-plan-D1bqzOTP.mjs").then((m) => m.default),
7645
+ customer: () => import("./customer-iWrGhESH.mjs").then((m) => m.default),
7646
+ visit: () => import("./visit-D-HS1jjx.mjs").then((m) => m.default),
7647
+ "visit-evaluate": () => import("./visit-evaluate-COKpVvhv.mjs").then((m) => m.default),
7648
+ "beauty-plan": () => import("./beauty-plan-D9B8kaf-.mjs").then((m) => m.default),
7646
7649
  "beauty-plan-reminder": () => import("./beauty-plan-reminder-D-gVCeWO.mjs").then((m) => m.default),
7647
7650
  "deal-analysis": () => import("./deal-analysis-Da8iNy64.mjs").then((m) => m.default),
7648
- "portrait-tags": () => import("./portrait-tags-LVjDI8fY.mjs").then((m) => m.default),
7651
+ "portrait-tags": () => import("./portrait-tags-c7OW_KzT.mjs").then((m) => m.default),
7649
7652
  focus: () => import("./focus-DlptSJrZ.mjs").then((m) => m.default),
7650
- resistance: () => import("./resistance-BWjqdajn.mjs").then((m) => m.default),
7651
- qa: () => import("./qa-N4VI4Tww.mjs").then((m) => m.default),
7652
- kb: () => import("./kb-Cg2RM9t6.mjs").then((m) => m.default)
7653
+ resistance: () => import("./resistance-CC4cxxUk.mjs").then((m) => m.default),
7654
+ qa: () => import("./qa-DIZmvMwE.mjs").then((m) => m.default),
7655
+ kb: () => import("./kb-CBj6tJE9.mjs").then((m) => m.default)
7653
7656
  }
7654
7657
  }));
7655
7658
  //#endregion
@@ -5,7 +5,7 @@ var customer_default = defineCommand({
5
5
  name: "customer",
6
6
  description: "客户画像分页查询"
7
7
  },
8
- subCommands: { list: () => import("./list-DFjDJRhp.mjs").then((m) => m.default) }
8
+ subCommands: { list: () => import("./list-BGjT1Ovk.mjs").then((m) => m.default) }
9
9
  });
10
10
  //#endregion
11
11
  export { customer_default as default };
@@ -0,0 +1,44 @@
1
+ import { c as requireActiveProject } from "./project-store-Dl35JzZr.mjs";
2
+ import { n as writeError, t as formatCliArg } from "./cli.mjs";
3
+ import { n as mcpCall } from "./mcp-client-BTZH22b5.mjs";
4
+ import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-DK3IGaO1.mjs";
5
+ import { n as writeMcpDataResult } from "./mcp-result-De_0PPlD.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 };
@@ -6,9 +6,9 @@ var doc_default = defineCommand({
6
6
  description: "知识库文档列表 / 元数据 / 全文"
7
7
  },
8
8
  subCommands: {
9
- list: () => import("./list-CDQGoZi6.mjs").then((m) => m.default),
10
- get: () => import("./get-yHGUZY7o.mjs").then((m) => m.default),
11
- content: () => import("./content-DbZ_Oi9R.mjs").then((m) => m.default)
9
+ list: () => import("./list-DMFhAeTT.mjs").then((m) => m.default),
10
+ get: () => import("./get-BDXbs-_c.mjs").then((m) => m.default),
11
+ content: () => import("./content-CfzyDYSy.mjs").then((m) => m.default)
12
12
  }
13
13
  });
14
14
  //#endregion
@@ -0,0 +1,40 @@
1
+ import { c as requireActiveProject } from "./project-store-Dl35JzZr.mjs";
2
+ import { n as writeError, t as formatCliArg } from "./cli.mjs";
3
+ import { n as mcpCall } from "./mcp-client-BTZH22b5.mjs";
4
+ import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-DK3IGaO1.mjs";
5
+ import { n as writeMcpDataResult } from "./mcp-result-De_0PPlD.mjs";
6
+ import { defineCommand } from "citty";
7
+ //#region src/commands/golden-sentence/get.ts
8
+ function buildGoldenSentenceGetArgs(args, active) {
9
+ const goldenSentenceId = String(args["golden-sentence-id"] || "").trim();
10
+ if (!/^[1-9]\d*$/.test(goldenSentenceId)) throw new Error("--golden-sentence-id must be a positive quote ID");
11
+ return {
12
+ project_id: resolveProjectId(args["project-id"], active),
13
+ golden_sentence_id: goldenSentenceId
14
+ };
15
+ }
16
+ var get_default = defineCommand({
17
+ meta: {
18
+ name: "get",
19
+ description: "按小美金句 ID 查询金句详情"
20
+ },
21
+ args: {
22
+ ...projectIdCliArg,
23
+ "golden-sentence-id": {
24
+ type: "string",
25
+ required: true,
26
+ description: "小美金句广场返回的金句 ID"
27
+ },
28
+ format: formatCliArg
29
+ },
30
+ async run({ args }) {
31
+ try {
32
+ writeMcpDataResult(await mcpCall("golden-sentence-get", { arguments: buildGoldenSentenceGetArgs(args, await requireActiveProject()) }), args.format);
33
+ } catch (err) {
34
+ writeError(err, args.format);
35
+ process.exit(1);
36
+ }
37
+ }
38
+ });
39
+ //#endregion
40
+ export { get_default as default };
@@ -0,0 +1,11 @@
1
+ import { defineCommand } from "citty";
2
+ //#region src/commands/golden-sentence/index.ts
3
+ var golden_sentence_default = defineCommand({
4
+ meta: {
5
+ name: "golden-sentence",
6
+ description: "小美金句查询"
7
+ },
8
+ subCommands: { get: () => import("./get-ByAQXto5.mjs").then((m) => m.default) }
9
+ });
10
+ //#endregion
11
+ export { golden_sentence_default as default };
@@ -6,8 +6,8 @@ var kb_default = defineCommand({
6
6
  description: "知识库检索与文档查询"
7
7
  },
8
8
  subCommands: {
9
- search: () => import("./search-BWhcg6ng.mjs").then((m) => m.default),
10
- doc: () => import("./doc-D0ZKCnFf.mjs").then((m) => m.default)
9
+ search: () => import("./search-eIzMHyPL.mjs").then((m) => m.default),
10
+ doc: () => import("./doc-_TnZLbtD.mjs").then((m) => m.default)
11
11
  }
12
12
  });
13
13
  //#endregion
@@ -2,7 +2,7 @@ import { c as requireActiveProject } from "./project-store-Dl35JzZr.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-DK3IGaO1.mjs";
4
4
  import { t as mcpCallPage } from "./mcp-result-De_0PPlD.mjs";
5
- import { i as toLocalDateTime } from "./util-Bko-nm_R.mjs";
5
+ import { i as toLocalDateTime, t as csvToArray } from "./util-Bko-nm_R.mjs";
6
6
  import { defineCommand } from "citty";
7
7
  //#region src/commands/customer/list.ts
8
8
  /**
@@ -15,6 +15,14 @@ var list_default = defineCommand({
15
15
  },
16
16
  args: {
17
17
  ...projectIdCliArg,
18
+ "customer-id": {
19
+ type: "string",
20
+ description: "单个客户 wang_id(精确匹配)"
21
+ },
22
+ "customer-ids": {
23
+ type: "string",
24
+ description: "客户 wang_id 列表,CSV 精确匹配"
25
+ },
18
26
  "user-id": {
19
27
  type: "string",
20
28
  description: "顾问 userId"
@@ -58,6 +66,8 @@ var list_default = defineCommand({
58
66
  const active = await requireActiveProject();
59
67
  await mcpCallPage("customer-list", {
60
68
  project_id: resolveProjectId(args["project-id"], active),
69
+ customer_id: args["customer-id"],
70
+ customer_ids: csvToArray(args["customer-ids"]),
61
71
  user_id: args["user-id"],
62
72
  user_name: args["user-name"],
63
73
  customer_name: args["customer-name"],
@@ -0,0 +1,14 @@
1
+ import { defineCommand } from "citty";
2
+ //#region src/commands/panke/index.ts
3
+ var panke_default = defineCommand({
4
+ meta: {
5
+ name: "panke",
6
+ description: "盘客只读查询"
7
+ },
8
+ subCommands: {
9
+ detail: () => import("./detail-BnUTSlRa.mjs").then((m) => m.default),
10
+ task: () => import("./task-Fa1R-6DI.mjs").then((m) => m.default)
11
+ }
12
+ });
13
+ //#endregion
14
+ export { panke_default as default };
@@ -6,9 +6,9 @@ var project_default = defineCommand({
6
6
  description: "查询 / 切换激活项目"
7
7
  },
8
8
  subCommands: {
9
- list: () => import("./list-Cws2iiW4.mjs").then((m) => m.default),
10
- use: () => import("./use-B-mda_1X.mjs").then((m) => m.default),
11
- current: () => import("./current-RoW9iRya.mjs").then((m) => m.default)
9
+ list: () => import("./list-CnsJlbrZ.mjs").then((m) => m.default),
10
+ use: () => import("./use-DIjJeiXP.mjs").then((m) => m.default),
11
+ current: () => import("./current-xqaZxhbN.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-y471qVyN.mjs").then((m) => m.default) }
8
+ subCommands: { list: () => import("./list-CB-bwmRO2.mjs").then((m) => m.default) }
9
9
  });
10
10
  //#endregion
11
11
  export { resistance_default as default };
@@ -0,0 +1,11 @@
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: { "capability-profile": () => import("./capability-profile-DxrzExct.mjs").then((m) => m.default) }
9
+ });
10
+ //#endregion
11
+ export { staff_default as default };
@@ -0,0 +1,40 @@
1
+ import { c as requireActiveProject } from "./project-store-Dl35JzZr.mjs";
2
+ import { n as writeError, t as formatCliArg } from "./cli.mjs";
3
+ import { n as mcpCall } from "./mcp-client-BTZH22b5.mjs";
4
+ import { n as resolveProjectId, t as projectIdCliArg } from "./mcp-args-DK3IGaO1.mjs";
5
+ import { n as writeMcpDataResult } from "./mcp-result-De_0PPlD.mjs";
6
+ import { defineCommand } from "citty";
7
+ //#region src/commands/panke/task.ts
8
+ function buildPankeTaskArgs(args, active) {
9
+ const pankeTaskId = String(args["panke-task-id"] || "").trim();
10
+ if (!/^[1-9]\d*$/.test(pankeTaskId)) throw new Error("--panke-task-id must be a positive task ID");
11
+ return {
12
+ project_id: resolveProjectId(args["project-id"], active),
13
+ panke_task_id: pankeTaskId
14
+ };
15
+ }
16
+ var task_default = defineCommand({
17
+ meta: {
18
+ name: "task",
19
+ description: "按小美盘客任务 ID 查询任务详情"
20
+ },
21
+ args: {
22
+ ...projectIdCliArg,
23
+ "panke-task-id": {
24
+ type: "string",
25
+ required: true,
26
+ description: "小美待盘客页面 taskId"
27
+ },
28
+ format: formatCliArg
29
+ },
30
+ async run({ args }) {
31
+ try {
32
+ writeMcpDataResult(await mcpCall("panke-task-get", { arguments: buildPankeTaskArgs(args, await requireActiveProject()) }), args.format);
33
+ } catch (err) {
34
+ writeError(err, args.format);
35
+ process.exit(1);
36
+ }
37
+ }
38
+ });
39
+ //#endregion
40
+ export { task_default as default };
@@ -6,8 +6,8 @@ var visit_default = defineCommand({
6
6
  description: "客户来访查询"
7
7
  },
8
8
  subCommands: {
9
- list: () => import("./list-Cos_lkZq.mjs").then((m) => m.default),
10
- summary: () => import("./summary-DAf0vaO8.mjs").then((m) => m.default)
9
+ list: () => import("./list-CQOLK3Xu.mjs").then((m) => m.default),
10
+ summary: () => import("./summary-CYLljvrY.mjs").then((m) => m.default)
11
11
  }
12
12
  });
13
13
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beautx-cli",
3
- "version": "1.1.0",
3
+ "version": "1.1.1-beta.2",
4
4
  "description": "Beautx CLI (beautx-cli) — MCP gateway CLI for medical beauty industry",
5
5
  "type": "module",
6
6
  "bin": {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes