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

Function notifyRunnerSessionStarted

cli/src/runner/controlClient.ts:84–92  ·  view source on GitHub ↗
(
  sessionId: string,
  metadata: Metadata
)

Source from the content-addressed store, hash-verified

82}
83
84export async function notifyRunnerSessionStarted(
85 sessionId: string,
86 metadata: Metadata
87): Promise<{ error?: string } | any> {
88 return await runnerPost('/session-started', {
89 sessionId,
90 metadata
91 });
92}
93
94export async function listRunnerSessions(): Promise<any[]> {
95 const result = await runnerPost('/list');

Callers 2

reportSessionStartedFunction · 0.90

Calls 1

runnerPostFunction · 0.85

Tested by

no test coverage detected