dingtalk-mcp 1.0.11 → 1.0.12

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.
@@ -404,7 +404,6 @@ export class DingTalkMCPServer {
404
404
  (tool.args || []).forEach(arg => {
405
405
  if (arg.position === 'body') {
406
406
  // 系统参数,从环境变量读取
407
- console.error(`System parameter ${arg.system} , ${arg.name} ${process.env[arg.system]}`);
408
407
  if (arg.system) {
409
408
  if (!process.env[arg.system]){
410
409
  throw new Error(`System parameter ${arg.system} is required, please check your environment variables`);
@@ -413,7 +412,7 @@ export class DingTalkMCPServer {
413
412
  return;
414
413
  }
415
414
  // 不需要模型处理,直接取默认值赋值
416
- if (args.not_need_model_transform){
415
+ if (arg.not_need_model_transform){
417
416
  body[arg.name] = arg.default
418
417
  return;
419
418
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dingtalk-mcp",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "DingTalk MCP Server - A TypeScript-based MCP server for DingTalk integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",