Something went wrong. Try again.
fork of prime agent with changes i want but are not upstreamable probqbly (and some fixes)
Something went wrong. Try again.
350 B · 9 lines
TypeScript
at main
12345678910import { resolve } from "node:path";
/** Return the lexical socket identity without requiring the socket to exist. */export function normalizeSocketPath(socketPath: string, baseDir?: string): string { if (process.platform === "win32") { return socketPath.toLowerCase(); } return baseDir ? resolve(baseDir, socketPath) : resolve(socketPath);}