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

Interface ChatSession

ui/src/api.ts:1835–1860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1833}
1834
1835export interface ChatSession {
1836 id: string;
1837 projectId: string;
1838 harness: HarnessId;
1839 title: string | null;
1840 /** Who wrote `title`: `"fallback"` (first-line placeholder), `"generated"`
1841 * (harness auto-title), `"user"` (explicitly chosen — a rename, or an agent's
1842 * `orx agent spawn --title`). Null on legacy sessions. */
1843 titleSource?: string | null;
1844 model: string | null;
1845 serviceTier: string | null;
1846 permissionMode: string | null;
1847 /** Independent Plan axis for Codex/OpenCode/Cursor. */
1848 planMode: boolean;
1849 reasoningLevel: string | null;
1850 /** Hidden from the default Recents list, but fully intact and resumable. */
1851 archived: boolean;
1852 /** Session whose agent spawned this one with `orx agent spawn`; null for
1853 * sessions the user started themselves. */
1854 parentSessionId?: string | null;
1855 createdAt: number;
1856 updatedAt: number;
1857 busy: boolean;
1858 activeLeafId: string | null;
1859 contextUsage?: ContextUsage;
1860}
1861
1862export const listChatSessions = (projectId: string, signal?: AbortSignal) =>
1863 get<{ sessions: ChatSession[] }>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected