fix: TS errors in API queries and session list

- page_size -> size to match API schema
- reverse -> filters.reverse to match SessionGet body type
- session.name -> session.metadata?.name (Session type has no name field)
This commit is contained in:
2026-07-07 20:41:43 -04:00
parent a8f0828727
commit 9d32d32d38
2 changed files with 8 additions and 8 deletions

View File

@@ -137,7 +137,7 @@ export function SessionList() {
className="font-mono text-sm font-medium truncate"
style={{ color: COLOR.accentSoft }}
>
{session.name || mask(session.id)}
{session.metadata?.name || mask(session.id)}
</span>
<div className="flex items-center gap-2 shrink-0 ml-2">
{session.is_active && (