refactor: remove session syncing metadata

This commit is contained in:
Peter Steinberger
2025-12-23 00:50:42 +01:00
parent c0c20ebf3e
commit ce04308c17
11 changed files with 1 additions and 175 deletions

View File

@@ -25,8 +25,6 @@ export type SessionEntry = {
contextTokens?: number;
lastChannel?: "whatsapp" | "telegram" | "webchat";
lastTo?: string;
// Optional flag to mirror Mac app UI and future sync states.
syncing?: boolean | string;
skillsSnapshot?: SessionSkillSnapshot;
};
@@ -134,7 +132,6 @@ export async function updateLastRoute(params: {
totalTokens: existing?.totalTokens,
model: existing?.model,
contextTokens: existing?.contextTokens,
syncing: existing?.syncing,
skillsSnapshot: existing?.skillsSnapshot,
lastChannel: channel,
lastTo: to?.trim() ? to.trim() : undefined,