@bigbrain-work/mcp-connect 1.3.5 → 1.3.6

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/README.md CHANGED
@@ -24,7 +24,7 @@ npx -y @bigbrain-work/mcp-connect status
24
24
  # 显示服务实时返回的工具
25
25
  npx -y @bigbrain-work/mcp-connect tools
26
26
 
27
- # 每个项目最多每24小时检查一次石榴 Skill;仅有变化时定向更新
27
+ # 每个项目最多每24小时从石榴官网定向刷新一次石榴 Skill
28
28
  shiliu skill refresh
29
29
 
30
30
  # 人工忽略冷却并立即重试
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbrain-work/mcp-connect",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "石榴 AI 官方 CLI:登录、配置 Agent、检查 MCP 状态并桥接远程工具。",
5
5
  "type": "module",
6
6
  "bin": {
@@ -11,6 +11,7 @@ import path from "node:path";
11
11
 
12
12
  export const SKILL_REFRESH_INTERVAL_MS = 24 * 60 * 60 * 1000;
13
13
  export const SHILIU_SKILL_NAME = "shiliu-ai-mcp";
14
+ export const SHILIU_SKILL_SOURCE = "https://bigbrain.work/shiliuAI";
14
15
  const STALE_LOCK_MS = 15 * 60 * 1000;
15
16
 
16
17
  function stateFile(home) {
@@ -90,9 +91,9 @@ export function runSkillUpdate({
90
91
  "/d",
91
92
  "/s",
92
93
  "/c",
93
- `npx.cmd -y skills update ${SHILIU_SKILL_NAME} -y`,
94
+ `npx.cmd -y skills add ${SHILIU_SKILL_SOURCE} -y`,
94
95
  ]
95
- : ["-y", "skills", "update", SHILIU_SKILL_NAME, "-y"];
96
+ : ["-y", "skills", "add", SHILIU_SKILL_SOURCE, "-y"];
96
97
  const result = spawnImpl(
97
98
  command,
98
99
  args,
@@ -109,7 +110,7 @@ export function runSkillUpdate({
109
110
  throw new Error(
110
111
  result.stderr?.trim() ||
111
112
  result.stdout?.trim() ||
112
- `skills update 返回退出码 ${result.status}`,
113
+ `skills add 返回退出码 ${result.status}`,
113
114
  );
114
115
  }
115
116
  }