MCPcopy Create free account
hub / github.com/alphaXiv/OpenResearch / TreeNode

Interface TreeNode

ui/src/transcriptTree.ts:3–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/** Structural on purpose, so this stays dependency-free and directly testable;
2 * the `ChatMessage` wire type satisfies it. */
3export interface TreeNode {
4 id: string;
5 /** Absent or null on a branch root. */
6 parentId?: string | null;
7 role: string;
8}
9
10export interface ForkPosition {
11 count: number;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected