Session Cache Implementation

Nucleic-Session: B2346642-3353-4BD5-9DE2-A8B77BD66C98
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-05 22:33:12 -07:00
co-authored by Nucleic
parent 812aa6bfe3
commit d0519e9ac3
@@ -47,9 +47,6 @@ enum SessionCache {
return String(id.rawValue.map { allowed.contains($0) ? $0 : "_" }) + ".json" return String(id.rawValue.map { allowed.contains($0) ? $0 : "_" }) + ".json"
} }
private static let encoder = JSONEncoder()
private static let decoder = JSONDecoder()
// MARK: - Summaries // MARK: - Summaries
/// Persist the recent session list (recency-capped) and prune transcript files whose session is /// Persist the recent session list (recency-capped) and prune transcript files whose session is