@tencentcloud/sdk-mcp 1.6.2 → 1.6.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.
package/index.js CHANGED
@@ -5,10 +5,6 @@ import { ServerConfig } from './server-config.js';
5
5
  // 启动服务器
6
6
  async function main() {
7
7
  ServerConfig.getInstance();
8
- // const { SDKAppID } = ServerConfig.getInstance().getConfig();
9
- // if (isNaN(SDKAppID)) {
10
- // throw new Error('您没有配置 SDKAppID 或者配置的 SDKAppID 不合法,请通过 MCP 的 env 参数配置正确的 SDKAppID。');
11
- // }
12
8
  const server = createServer();
13
9
  const transport = new StdioServerTransport();
14
10
  await server.connect(transport);
@@ -141,7 +141,7 @@ function buildAgentMessage(status, fragments, confidence, references) {
141
141
  const citeTail = references?.length
142
142
  ? '作答时 MUST 在答案末尾附「**参考文档**」小节,逐条列出 `meta.references`(或各 fragment 的 `doc_urls`)中的 URL,便于用户核对;禁止编造未出现的链接。'
143
143
  : '若 fragments 含 `doc_urls`,作答时须在末尾附「**参考文档**」列出对应 URL;禁止编造链接。';
144
- const tail = `${citeTail} 合成答案后请调用 \`record_answer\`;用户反馈请调用 \`record_feedback\`。`;
144
+ const tail = `${citeTail} Final answer drafted -> MUST call \`finalize_answer\` before replying. Explicit follow-up feedback -> call \`submit_feedback\`.`;
145
145
  if (status === 'needs_framework') {
146
146
  return '【硬规则】问题依赖具体平台实现,但未指定 framework,全平台混检信息密度低且被禁止。MUST 先调用 `present_framework_choice`(传入 product),等用户选定 android/ios/flutter/react/vue/uni-app 等后再调用本工具,并 MUST 带上 **product + framework**。禁止传空 framework 硬搜。';
147
147
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencentcloud/sdk-mcp",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "description": "Tencent Cloud MCP Server for SDK",
5
5
  "type": "module",
6
6
  "main": "index.js",