transcript/types.ts

airi · services/computer-use-mcp/src/transcript/types.ts · typescript · MIT
ai

TypeScript definitions for LLM transcript entries, blocks, and projection results used in conversation logging.

// Source: https://github.com/moeru-ai/airi | License: MIT | Copyright 2024-PRESENT Neko Ayaka
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Transcript Truth Source - types for the LLM conversation transcript store.
 *
 * This is SEPARATE from `SessionTraceEntry` / `audit.jsonl`.
 * `audit.jsonl` records operational events (requested, executed, failed, etc.).
 * `transcript.jsonl` records the actual LLM conversation messages.
 *
 * The transcript store is append-only. Prompt pruning never deletes entries;
 * it only controls which entries get projected into the next LLM request.
 */

// ---------------------------------------------------------------------------
// 1. Transcript Entry - the atomic unit persisted to transcript.jsonl
// ------------------------------

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key