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

Method compactThread

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

Source from the content-addressed store, hash-verified

208 }
209
210 async compactThread(
211 params: ThreadCompactStartParams,
212 options?: { signal?: AbortSignal }
213 ): Promise<ThreadCompactStartResponse> {
214 const response = await this.sendRequest('thread/compact/start', params, {
215 signal: options?.signal,
216 timeoutMs: CodexAppServerClient.DEFAULT_TIMEOUT_MS
217 });
218 return response as ThreadCompactStartResponse;
219 }
220
221 async setThreadGoal(
222 params: ThreadGoalSetParams,

Callers 2

beginCompactRecoveryMethod · 0.45
handleSpecialCommandMethod · 0.45

Calls 1

sendRequestMethod · 0.95

Tested by

no test coverage detected