MCPcopy Create free account
hub / github.com/github/copilot-sdk / createConnectingClient

Function createConnectingClient

nodejs/test/e2e/suspend.e2e.test.ts:78–84  ·  view source on GitHub ↗
(cliUrl: string)

Source from the content-addressed store, hash-verified

76 }
77
78 function createConnectingClient(cliUrl: string): CopilotClient {
79 const connectedClient = new CopilotClient({
80 connection: RuntimeConnection.forUri(cliUrl, { connectionToken: SHARED_TOKEN }),
81 });
82 onTestFinishedForceStop(connectedClient);
83 return connectedClient;
84 }
85
86 function getCliUrl(server: CopilotClient): string {
87 const port = (server as unknown as { runtimePort: number | null }).runtimePort;

Callers 1

Calls 1

onTestFinishedForceStopFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…