MCPcopy
hub / github.com/coder/mux / getAgentBrowserSocketPath

Function getAgentBrowserSocketPath

src/node/services/browser/agentBrowserSocketPaths.ts:27–29  ·  view source on GitHub ↗
(env: NodeJS.ProcessEnv, sessionName: string)

Source from the content-addressed store, hash-verified

25}
26
27export function getAgentBrowserSocketPath(env: NodeJS.ProcessEnv, sessionName: string): string {
28 return path.join(getAgentBrowserSocketDir(env), `${sessionName}.sock`);
29}
30
31export function getAgentBrowserPortPath(env: NodeJS.ProcessEnv, sessionName: string): string {
32 return path.join(getAgentBrowserSocketDir(env), `${sessionName}.port`);

Calls 1

getAgentBrowserSocketDirFunction · 0.85

Tested by

no test coverage detected