Class SessionInfo
Top-level session metadata. Stored in SQLite and as the root of JSON exports.
public sealed class SessionInfo
- Inheritance
-
SessionInfo
- Inherited Members
Properties
CreatedAt
public DateTime CreatedAt { get; init; }
Property Value
ForkPoints
[SuppressMessage("Design", "MA0016:Prefer using collection abstraction instead of implementation", Justification = "POCO for serialization")]
[SuppressMessage("Design", "CA1002:Do not expose generic lists", Justification = "POCO for JSON serialization")]
[SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "POCO for JSON serialization")]
public List<ForkPoint> ForkPoints { get; set; }
Property Value
Id
public string Id { get; init; }
Property Value
IsActive
public bool IsActive { get; set; }
Property Value
MessageCount
public int MessageCount { get; set; }
Property Value
ModelId
public string? ModelId { get; init; }
Property Value
ModelSwitchHistory
[SuppressMessage("Design", "MA0016:Prefer using collection abstraction instead of implementation", Justification = "POCO for serialization")]
[SuppressMessage("Design", "CA1002:Do not expose generic lists", Justification = "POCO for JSON serialization")]
[SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "POCO for JSON serialization")]
public List<ModelSwitchRecord> ModelSwitchHistory { get; set; }
Property Value
Name
public string? Name { get; set; }
Property Value
ProjectHash
public string ProjectHash { get; init; }
Property Value
ProjectPath
public string ProjectPath { get; init; }
Property Value
ProviderName
public string? ProviderName { get; init; }
Property Value
TotalTokens
public long TotalTokens { get; set; }
Property Value
Turns
[SuppressMessage("Design", "MA0016:Prefer using collection abstraction instead of implementation", Justification = "POCO for serialization")]
public Collection<TurnRecord> Turns { get; init; }
Property Value
UpdatedAt
public DateTime UpdatedAt { get; set; }