mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2026-01-31 03:14:24 +01:00
feat: improve interactivity by predict sessions
This commit is contained in:
@@ -13,7 +13,7 @@ export class FileCacheStorage<const T> {
|
||||
|
||||
public static load<const LoadSchema>(
|
||||
key: string,
|
||||
schema: z.ZodType<LoadSchema>
|
||||
schema: z.ZodType<LoadSchema>,
|
||||
) {
|
||||
const instance = new FileCacheStorage<LoadSchema>(key);
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
export class InMemoryCacheStorage<const T> {
|
||||
private storage = new Map<string, T>();
|
||||
|
||||
public constructor() {}
|
||||
|
||||
public get(key: string) {
|
||||
return this.storage.get(key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user