The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
import { tailFileUntil } from '../../lib/transcriptTail.js'
import type { LastTurnText } from '../../lib/normalize.js'
import { selectCodexRecapLine, lastCodexTurnText } from './normalizer.js'
/** A recap needs the latest turn, not every earlier tool receipt and answer. Keep the existing
* normalizer authoritative, including goal continuations and both Codex message vocabularies. */
export async function readLastCodexTurnText(filePath: string): Promise<LastTurnText | null> {
return lastCodexTurnText(await tailFileUntil(filePath, selectCodexRecapLine))
}