sync: update MCP client from GameCraftTable
This commit is contained in:
+7
-1
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* 覆盖 Agent 配置适配器、Skill 目录解析、幂等配置、冲突替换与备份行为。
|
||||
*
|
||||
* @packageDocumentation
|
||||
*/
|
||||
|
||||
import assert from "node:assert/strict";
|
||||
import { mkdir, mkdtemp, readFile, rm, writeFile } from "node:fs/promises";
|
||||
import os from "node:os";
|
||||
@@ -35,7 +41,7 @@ class FakeRunner implements CommandRunner {
|
||||
}
|
||||
|
||||
const options = resolveClientOptions({ url: "https://example.test/mcp", clientId: "client", callbackPort: 48321, env: {} });
|
||||
const cliEntry = path.resolve("dist", "cli.js");
|
||||
const cliEntry = path.resolve("..", "build", "mcp-client", "cli.js");
|
||||
const nodePath = path.resolve("bin", "node.exe");
|
||||
|
||||
test("Agent Skill paths use each client's user-level discovery directory", () => {
|
||||
|
||||
Reference in New Issue
Block a user