fix: support Korean project paths on Windows

This commit is contained in:
2026-08-13 09:57:19 +09:00
parent c5acb77449
commit 444ddb35e6
6 changed files with 62 additions and 8 deletions

View File

@@ -8,9 +8,9 @@ import { parseArguments } from "../dist/args.js";
import { composeAgentHarness } from "../dist/harness.js";
async function createFixture(t) {
const root = await mkdtemp(path.join(os.tmpdir(), "kri-create-spring-harness-"));
const harnessRoot = path.join(root, "_________AgentHarnessBase");
const targetDir = path.join(root, "sample-server");
const root = await mkdtemp(path.join(os.tmpdir(), "kri-create-spring-한글 공백-"));
const harnessRoot = path.join(root, "_________Agent Harness 기준");
const targetDir = path.join(root, "샘플 server");
const logPath = path.join(root, "calls.jsonl");
await mkdir(path.join(harnessRoot, "dist"), { recursive: true });
await mkdir(targetDir, { recursive: true });
@@ -52,7 +52,7 @@ test("registers shared, composes, and verifies in deterministic order", async (t
.split("\n")
.map((line) => JSON.parse(line));
assert.deepEqual(calls, [
["register", "--project", "sample-server", "--path", "sample-server", "--shared"],
["register", "--project", "sample-server", "--path", "샘플 server", "--shared"],
["compose", "--project", "sample-server"],
["verify", "--project", "sample-server"],
]);