@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 +1 -1
- package/package.json +1 -1
- package/src/skill-refresh.js +4 -3
package/README.md
CHANGED
package/package.json
CHANGED
package/src/skill-refresh.js
CHANGED
|
@@ -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
|
|
94
|
+
`npx.cmd -y skills add ${SHILIU_SKILL_SOURCE} -y`,
|
|
94
95
|
]
|
|
95
|
-
: ["-y", "skills", "
|
|
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
|
|
113
|
+
`skills add 返回退出码 ${result.status}`,
|
|
113
114
|
);
|
|
114
115
|
}
|
|
115
116
|
}
|