TranscriptApi

works.iterative.claude.ui.transcript.TranscriptApi
object TranscriptApi

What a host serving transcripts must answer, described once.

These are descriptions, not servers: a consumer attaches its own logic with serverLogic and interprets the result with whichever Tapir server matches the effect system it already runs — ZIO, cats-effect, Future, sync. That is why Tapir sits on this side of the module and not in the cross-built sources: the element reaches the same address with the browser's own fetch, so the browser bundle carries none of this.

The address is taken from TranscriptEndpoint, the one place the path and its parameter are written down, so the description and the URL the element builds cannot drift apart.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

val history: PublicEndpoint[String, TranscriptFailure, Transcript, Any]

Reads one session's transcript: the newest page of the conversation, in the shape this contract owns.

Reads one session's transcript: the newest page of the conversation, in the shape this contract owns.

A refusal answers with the status the failure itself carries, so every host reports a missing session the same way without deciding it again.

Attributes