@hupan56/wlkj 3.5.0 → 3.5.1

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/bin/cli.js CHANGED
@@ -1087,12 +1087,12 @@ function doUpdate() {
1087
1087
  const mcp = JSON.parse(fs.readFileSync(mcpFile, "utf-8"));
1088
1088
  if (mcp.mcpServers && mcp.mcpServers["qoder-knowledge-graph"]) {
1089
1089
  mcp.mcpServers["qoder-knowledge-graph"] = {
1090
- "url": "http://10.89.7.120/mcp",
1090
+ "url": "http://10.87.106.252/mcp",
1091
1091
  "type": "sse",
1092
1092
  "enabled": true,
1093
1093
  };
1094
1094
  fs.writeFileSync(mcpFile, JSON.stringify(mcp, null, 2) + "\n", "utf-8");
1095
- console.log(` [OK] kg MCP → 云平台 SSE (http://10.89.7.120/mcp)`);
1095
+ console.log(` [OK] kg MCP → 云平台 SSE (http://10.87.106.252/mcp)`);
1096
1096
  }
1097
1097
  } catch (e) { /* mcp.json 解析失败不阻塞 */ }
1098
1098
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hupan56/wlkj",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "AI Product R&D Workflow - PRD/Prototype/Search/Task/Report",
5
5
  "bin": {
6
6
  "wlkj": "bin/cli.js"
@@ -441,9 +441,9 @@ def rewrite_mcp_json_for_launcher():
441
441
  }
442
442
  changed = False
443
443
  for srv, sub in name_map.items():
444
- # 共识:kg 走云平台(默认 http://10.89.7.120/mcp,config platform_mcp.url 可覆盖)
444
+ # 共识:kg 走云平台(默认 http://10.87.106.252/mcp,config platform_mcp.url 可覆盖)
445
445
  if srv == "qoder-knowledge-graph":
446
- _pm = "http://10.89.7.120/mcp"
446
+ _pm = "http://10.87.106.252/mcp"
447
447
  try:
448
448
  import yaml as _y
449
449
  _cfg_p = get_repo_root() / ".qoder" / "config.yaml"
@@ -116,9 +116,9 @@ class KnowledgeGraphMCPServer(BaseMCPServer):
116
116
  SERVER_VERSION = "2.0.0"
117
117
 
118
118
  # ★ v2.0 共识改造:kg 走云平台。本 server 的所有工具不再直连本地 duckdb,
119
- # 而是转发到云平台 HTTP MCP@10010(http://10.89.7.120/mcp)。
119
+ # 而是转发到云平台 HTTP MCP@10010(http://10.87.106.252/mcp)。
120
120
  # 工具名映射:本地工具名 → 云平台等价 MCP 工具
121
- PLATFORM_MCP_URL = os.environ.get("WLKJ_PLATFORM_MCP", "http://10.89.7.120/mcp")
121
+ PLATFORM_MCP_URL = os.environ.get("WLKJ_PLATFORM_MCP", "http://10.87.106.252/mcp")
122
122
  # 本地工具 → 云平台工具映射(名称不同或参数不同)
123
123
  _TOOL_MAP = {
124
124
  "search_code": "search_code",