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

Method clearThreadGoal

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

Source from the content-addressed store, hash-verified

241 }
242
243 async clearThreadGoal(
244 params: ThreadGoalClearParams,
245 options?: { signal?: AbortSignal }
246 ): Promise<ThreadGoalClearResponse> {
247 const response = await this.sendRequest('thread/goal/clear', params, {
248 signal: options?.signal,
249 timeoutMs: 30_000
250 });
251 return response as ThreadGoalClearResponse;
252 }
253
254 async disconnect(): Promise<void> {
255 if (!this.connected) {

Callers 1

handleGoalCommandMethod · 0.45

Calls 1

sendRequestMethod · 0.95

Tested by

no test coverage detected