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

Method startTurn

cli/src/codex/codexAppServerClient.ts:195–201  ·  view source on GitHub ↗
(params: TurnStartParams, options?: { signal?: AbortSignal })

Source from the content-addressed store, hash-verified

193 }
194
195 async startTurn(params: TurnStartParams, options?: { signal?: AbortSignal }): Promise<TurnStartResponse> {
196 const response = await this.sendRequest('turn/start', params, {
197 signal: options?.signal,
198 timeoutMs: CodexAppServerClient.DEFAULT_TIMEOUT_MS
199 });
200 return response as TurnStartResponse;
201 }
202
203 async interruptTurn(params: TurnInterruptParams): Promise<TurnInterruptResponse> {
204 const response = await this.sendRequest('turn/interrupt', params, {

Callers 1

runMainLoopMethod · 0.45

Calls 1

sendRequestMethod · 0.95

Tested by

no test coverage detected