| |
|
|
| export type SessionListItem = { |
| id: string |
| title: string |
| createdAt: string |
| modifiedAt: string |
| messageCount: number |
| projectPath: string |
| projectRoot?: string | null |
| workDir: string | null |
| workDirExists: boolean |
| } |
|
|
| export type MessageEntry = { |
| id: string |
| type: 'user' | 'assistant' | 'system' | 'tool_use' | 'tool_result' |
| content: unknown |
| timestamp: string |
| model?: string |
| parentUuid?: string |
| parentToolUseId?: string |
| isSidechain?: boolean |
| } |
|
|
| export type SessionDetail = SessionListItem & { |
| messages: MessageEntry[] |
| } |
|
|