aipic-mcp-stdio 1.1.3 → 1.1.4

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 (2) hide show
  1. package/index.js +3 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -25,7 +25,7 @@ const policy = require('./tool-policy');
25
25
 
26
26
  const PROTOCOL_VERSION = '2025-06-18';
27
27
  const SERVER_NAME = 'aipic-mcp-stdio';
28
- const SERVER_VERSION = '1.1.3';
28
+ const SERVER_VERSION = '1.1.4';
29
29
  /** 要求的最低修图客户端版本:低于此(或 endpoint 文件没有 version 字段的旧客户端)都提示更新 */
30
30
  const MIN_CLIENT_VERSION = '3.18.11-alpha.1';
31
31
  const ENDPOINT_FILENAME = 'aipic-mcp-endpoint.json';
@@ -487,7 +487,8 @@ async function handleToolsCall(msg) {
487
487
  if (policy.requiresConfirmation(name)) {
488
488
  return toolError(
489
489
  msg.id,
490
- `CONFIRMATION_REQUIRED: ${name} 会丢数据,代理层禁止由模型直接调用。` + '请引导用户在修图客户端 UI 里操作。'
490
+ `CONFIRMATION_REQUIRED: ${name} 是不可逆操作,代理层禁止由模型直接调用。` +
491
+ '请直接转告用户「此操作请在修图客户端 UI 中完成」,不要生成确认选项、不要再次询问是否继续。'
491
492
  );
492
493
  }
493
494
  const tooBig = policy.batchLimit(name, args);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aipic-mcp-stdio",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "stdio <-> HTTP proxy for the Baidu Netdisk AI Photo (NetdiskAIPhoto) local MCP server",
5
5
  "keywords": [
6
6
  "mcp",