MCPcopy Create free account
hub / github.com/tiann/hapi / spawnRunnerSession

Function spawnRunnerSession

cli/src/runner/controlClient.ts:104–107  ·  view source on GitHub ↗
(directory: string, sessionId?: string)

Source from the content-addressed store, hash-verified

102}
103
104export async function spawnRunnerSession(directory: string, sessionId?: string): Promise<any> {
105 const result = await runnerPost('/spawn-session', { directory, sessionId });
106 return result;
107}
108
109export async function stopRunnerHttp(): Promise<void> {
110 await runnerPost('/stop');

Callers 1

Calls 1

runnerPostFunction · 0.85

Tested by

no test coverage detected