Interface: ProviderSessionEntry
Defined in: types/session.ts:59
A session history entry read from the provider's local storage. Providers that support session history map their native format to this type.
Example
// Claude session entry
{
sessionId: 'abc123-def456',
projectPath: '/Users/dev/my-project',
summary: 'Implemented user authentication',
messageCount: 42,
created: '2026-02-18T10:00:00Z',
modified: '2026-02-18T11:30:00Z',
}
Properties
created
created:
string
Defined in: types/session.ts:73
ISO date string when the session was created
messageCount?
optionalmessageCount:number
Defined in: types/session.ts:70
Number of messages in the session
metadata?
optionalmetadata:Record<string,unknown>
Defined in: types/session.ts:79
Additional provider-specific metadata
modified
modified:
string
Defined in: types/session.ts:76
ISO date string when the session was last modified
projectPath
projectPath:
string
Defined in: types/session.ts:64
Project path this session belongs to
sessionId
sessionId:
string
Defined in: types/session.ts:61
Provider-specific session identifier
summary?
optionalsummary:string
Defined in: types/session.ts:67
Summary or first prompt of the session