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

Method setThreadGoal

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

Source from the content-addressed store, hash-verified

219 }
220
221 async setThreadGoal(
222 params: ThreadGoalSetParams,
223 options?: { signal?: AbortSignal }
224 ): Promise<ThreadGoalSetResponse> {
225 const response = await this.sendRequest('thread/goal/set', params, {
226 signal: options?.signal,
227 timeoutMs: 30_000
228 });
229 return response as ThreadGoalSetResponse;
230 }
231
232 async getThreadGoal(
233 params: ThreadGoalGetParams,

Callers 1

handleGoalCommandMethod · 0.45

Calls 1

sendRequestMethod · 0.95

Tested by

no test coverage detected