gm-mcp 1.1.20 → 1.1.21

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/index.js CHANGED
@@ -71,7 +71,7 @@ exports.server.tool("statistic_salary_x3_in_range", "Get statistic salary x3 wit
71
71
  }));
72
72
  exports.server.tool("debt_collection", "The company's debt collection information", {
73
73
  company_name: zod_1.default.string({ description: "Company name to get data" }),
74
- }, {}, (args) => __awaiter(void 0, void 0, void 0, function* () {
74
+ }, (args) => __awaiter(void 0, void 0, void 0, function* () {
75
75
  const { company_name } = args;
76
76
  return (0, lark_tool_1.debtCollectionRateTool)({
77
77
  sendMessageToLark: (0, env_1.getEnv)().SEND_MESSAGE_TO_LARK === "true",
@@ -84,7 +84,7 @@ exports.server.tool("debt_collection_with_month", "The company's debt collection
84
84
  .string()
85
85
  .describe("Month to get data,if year is not provided, please use current year (in Vietnam timezone) instead of, month is represented with format MM/yyyy"),
86
86
  company_name: zod_1.default.string({ description: "Company name to get data" }),
87
- }, {}, (args) => __awaiter(void 0, void 0, void 0, function* () {
87
+ }, (args) => __awaiter(void 0, void 0, void 0, function* () {
88
88
  const { month, company_name } = args;
89
89
  return (0, lark_tool_1.debtCollectionRateTool)({
90
90
  sendMessageToLark: (0, env_1.getEnv)().SEND_MESSAGE_TO_LARK === "true",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-mcp",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "description": "Mcp server for Gm",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/src/index.ts CHANGED
@@ -95,7 +95,6 @@ server.tool(
95
95
  {
96
96
  company_name: z.string({ description: "Company name to get data" }),
97
97
  },
98
- {},
99
98
  async (args) => {
100
99
  const { company_name } = args;
101
100
  return debtCollectionRateTool({
@@ -117,7 +116,6 @@ server.tool(
117
116
  ),
118
117
  company_name: z.string({ description: "Company name to get data" }),
119
118
  },
120
- {},
121
119
  async (args) => {
122
120
  const { month, company_name } = args;
123
121
  return debtCollectionRateTool({