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

Method startThread

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

Source from the content-addressed store, hash-verified

177 }
178
179 async startThread(params: ThreadStartParams, options?: { signal?: AbortSignal }): Promise<ThreadStartResponse> {
180 const response = await this.sendRequest('thread/start', params, {
181 signal: options?.signal,
182 timeoutMs: CodexAppServerClient.DEFAULT_TIMEOUT_MS
183 });
184 return response as ThreadStartResponse;
185 }
186
187 async resumeThread(params: ThreadResumeParams, options?: { signal?: AbortSignal }): Promise<ThreadResumeResponse> {
188 const response = await this.sendRequest('thread/resume', params, {

Callers 2

ensureThreadForGoalMethod · 0.45
runMainLoopMethod · 0.45

Calls 1

sendRequestMethod · 0.95

Tested by

no test coverage detected