Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
269 changes: 0 additions & 269 deletions apps/frameworks/next/app/_chat/thread-state.ts

This file was deleted.

17 changes: 0 additions & 17 deletions apps/frameworks/next/app/_chat/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ export type AgentInfoState =
readonly updatedAt: number;
};

export interface ChatSessionCursor {
readonly continuationToken?: string;
readonly sessionId?: string;
readonly streamIndex: number;
}

export interface TranscriptMessageReceivedEvent {
readonly data: {
readonly message: string;
Expand Down Expand Up @@ -176,14 +170,3 @@ export interface TraceTurn {
readonly turnId: string;
readonly userMessage?: string;
}

/**
* One restored thread in the local web UI, expressed directly in reconstructed
* transcript turns so chat and debugger can render from the same source.
*/
export interface ThreadState {
readonly continuationToken?: string;
readonly sessionId: string;
readonly streamIndex: number;
readonly turns: readonly TraceTurn[];
}