MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / readThread

Method readThread

src/providers/codex/plugin.ts:153–168  ·  view source on GitHub ↗
({
    providerProfile,
    threadId,
    includeTurns = false,
  }: {
    providerProfile: ProviderProfile;
    threadId: string;
    includeTurns?: boolean;
  })

Source from the content-addressed store, hash-verified

151 }
152
153 async readThread({
154 providerProfile,
155 threadId,
156 includeTurns = false,
157 }: {
158 providerProfile: ProviderProfile;
159 threadId: string;
160 includeTurns?: boolean;
161 }): Promise<ProviderThreadSummary | null> {
162 const reviewThread = this.reviewRunner?.readThread?.(threadId, includeTurns) ?? null;
163 if (reviewThread) {
164 return reviewThread;
165 }
166 const client = await this.ensureClient(providerProfile);
167 return client.readThread(threadId, includeTurns);
168 }
169
170 async getThreadGoal({
171 providerProfile,

Callers

nothing calls this directly

Calls 2

ensureClientMethod · 0.95
readThreadMethod · 0.65

Tested by

no test coverage detected