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

Method readThread

test/core/bridge_coordinator.test.ts:339–348  ·  view source on GitHub ↗
({ threadId, includeTurns = false })

Source from the content-addressed store, hash-verified

337 }
338
339 async readThread({ threadId, includeTurns = false }) {
340 const thread = this.threads.get(threadId) ?? null;
341 if (!thread) {
342 return null;
343 }
344 return {
345 ...thread,
346 turns: includeTurns ? thread.turns : [],
347 };
348 }
349
350 async listThreads({ limit = 20, cursor = null, searchTerm = null, archived = false } = {}) {
351 const offset = cursor ? Number(cursor) : 0;

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected