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

Method getThreadGoal

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

Source from the content-addressed store, hash-verified

230 }
231
232 async getThreadGoal(
233 params: ThreadGoalGetParams,
234 options?: { signal?: AbortSignal }
235 ): Promise<ThreadGoalGetResponse> {
236 const response = await this.sendRequest('thread/goal/get', params, {
237 signal: options?.signal,
238 timeoutMs: 30_000
239 });
240 return response as ThreadGoalGetResponse;
241 }
242
243 async clearThreadGoal(
244 params: ThreadGoalClearParams,

Callers 1

handleGoalCommandMethod · 0.45

Calls 1

sendRequestMethod · 0.95

Tested by

no test coverage detected