TranscriptCodec

works.iterative.claude.ui.transcript.TranscriptCodec

Reads and writes Transcript as JSON.

The wire is a small closed vocabulary — user, agent, activity — with times as epoch milliseconds and absent values simply left out. Written by hand rather than derived, so the shape is inspectable and stays identical on both platforms the contract is compiled for.

Reads are one-way tolerant: an entry whose kind this version does not know is dropped, so a page written by a newer writer still renders everything this reader understands instead of failing whole.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def decode(json: Json): Either[DecodingFailure, Transcript]
def encode(transcript: Transcript): Json