-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
42 lines (39 loc) · 938 Bytes
/
Copy pathtypes.ts
File metadata and controls
42 lines (39 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
export interface UnifiedSession {
id: string
tool: 'opencode' | 'claude' | 'codex'
originalId: string
projectPath: string | null
projectName: string | null
title: string | null
summary: string | null
model: string | null
messageCount: number
tokensTotal: number
cost: number
gitBranch: string | null
createdAt: number | null
updatedAt: number | null
isActive: number
starred: number
archived: number
pinned: number
tags: string | null
}
export interface SessionMessagePreview {
id: number
sessionId: string
role: 'user' | 'assistant'
contentPreview: string | null
seq: number
timestamp: number | null
}
export interface TerminalTab {
id: string
sessionId: string
tool: string
projectPath: string
title: string
active: boolean
}
export type ToolFilter = 'all' | 'opencode' | 'claude' | 'codex'
export type StatusFilter = 'all' | 'active' | 'starred' | 'pinned' | 'archived'