MCPcopy Index your code
hub / github.com/winfunc/opcode / SerializedTab

Interface SerializedTab

src/services/tabPersistence.ts:12–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10const PERSISTENCE_ENABLED_KEY = 'opcode_tab_persistence_enabled';
11
12interface SerializedTab {
13 id: string;
14 type: Tab['type'];
15 title: string;
16 sessionId?: string;
17 agentRunId?: string;
18 claudeFileId?: string;
19 initialProjectPath?: string;
20 projectPath?: string;
21 status: Tab['status'];
22 hasUnsavedChanges: boolean;
23 order: number;
24 icon?: string;
25 createdAt: string;
26 updatedAt: string;
27 // Note: We don't persist sessionData or agentData as they're complex objects
28}
29
30export class TabPersistenceService {
31 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected