MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / isolatedKeyPath

Function isolatedKeyPath

__tests__/scripts/dev-extra-backend.test.ts:44–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 });
43
44 function isolatedKeyPath(): string {
45 const dir = mkdtempSync(path.join(tmpdir(), "extra-backend-key-"));
46 keyDirs.push(dir);
47 return path.join(dir, "session-api-key.txt");
48 }
49
50 it("defaults to ports 18002/18003 distinct from the bundled instance", () => {
51 const env = { OH_SESSION_API_KEY_PATH: isolatedKeyPath() };

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected