🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(scripts): make agents:sync resolve the repo root on non-ASCII Windows paths (#19322)
ydflowd505257a8874
diff --git a/scripts/agents/sync-agent-shims.mjs b/scripts/agents/sync-agent-shims.mjsindex 70607ba13a..05d6e7268b 100644--- a/scripts/agents/sync-agent-shims.mjs+++ b/scripts/agents/sync-agent-shims.mjs@@ -10,9 +10,10 @@ import {writeFileSync,} from "node:fs";import { dirname, relative, resolve } from "node:path";+import { fileURLToPath } from "node:url";import process from "node:process";-const repoRoot = resolve(new URL("../..", import.meta.url).pathname);+const repoRoot = resolve(fileURLToPath(new URL("../..", import.meta.url)));const sourcePath = resolve(repoRoot, ".agents/config.json");const config = JSON.parse(readFileSync(sourcePath, "utf8"));const servers = config.mcpServers;