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

Function mapThreadSummary

packages/codex-native-api/src/codex_app_client.ts:2744–2752  ·  view source on GitHub ↗
(raw)

Source from the content-addressed store, hash-verified

2742}
2743
2744function mapThreadSummary(raw) {
2745 return {
2746 threadId: String(raw.id),
2747 title: raw.name ? String(raw.name) : null,
2748 cwd: raw.cwd ? String(raw.cwd) : null,
2749 updatedAt: normalizeTimestamp(raw.updatedAt),
2750 preview: typeof raw.preview === 'string' ? raw.preview : '',
2751 };
2752}
2753
2754function mapThread(raw, includeTurns) {
2755 return {

Callers

nothing calls this directly

Calls 1

normalizeTimestampFunction · 0.70

Tested by

no test coverage detected