feat(ui,api,admin): sveltekit admin spa, usage by day/agent/conversation/model, rate limits, memory tree, turn snapshot

This commit is contained in:
hh
2026-08-28 22:14:15 +02:00
parent 61562e947d
commit 98796a82c6
158 changed files with 8459 additions and 2531 deletions
+11
View File
@@ -0,0 +1,11 @@
export const LIMIT_LABELS: Record<string, string> = {
five_hour: "5-hour",
overage: "overage",
seven_day: "7-day",
seven_day_opus: "7-day · Opus",
seven_day_sonnet: "7-day · Sonnet",
};
export function limitLabel(window: string): string {
return LIMIT_LABELS[window] ?? window;
}