What happened
In Settings → 使用统计 (Usage) → 请求日志 (Request log), the 任务 (Task) column shows the same value on every row (e.g. 打开 ["9ce497).
The column is meant to identify which session each request/tool call belongs to. Instead it renders the first 8 characters of the desktop composite session key JSON.stringify([hostId, sessionId]). Those 8 characters are always [" + the first 6 chars of the per-install hostId, which is constant across the whole local workspace — so every row collapses to the identical 打开 ["<hostId prefix> regardless of session.
Expected: show the session name (the same title shown in the main sidebar).
Two smaller display issues in the same table:
- The 状态 (Status) column is clipped at the right edge (only the first character shows).
- The Task cell values are indented relative to their column header (not aligned with the other left-aligned columns).
How to reproduce
- Use the desktop app across a few different sessions so usage accrues.
- Open Settings → 使用统计 → 请求日志 and enable 详情记录 (detailed records).
- Observe the 任务 column: every row shows an identical
打开 ["<hostId prefix> value.
- Observe the right edge: the 状态 column is cut off.
Environment
- Maka version or commit:
main @ d2754b1 (built from source)
- OS and version: macOS (Apple Silicon)
- Surface: Desktop
- Node.js version: >= 22.19.0
Logs, screenshots, or additional context
Root cause: apps/desktop/src/renderer/settings/usage-settings-page.tsx rendered the Task cell as row.sessionId.slice(0, 8), while the desktop layer projects each sessionId into the composite key via projectDesktopUsageStats → desktopSessionKey (apps/desktop/src/shared/*). The underlying session name (SessionHeader.name) is available in the session metadata store but was never carried into UsageRequestLog.
(Before/after screenshots attached in a comment.)
What happened
In Settings → 使用统计 (Usage) → 请求日志 (Request log), the 任务 (Task) column shows the same value on every row (e.g.
打开 ["9ce497).The column is meant to identify which session each request/tool call belongs to. Instead it renders the first 8 characters of the desktop composite session key
JSON.stringify([hostId, sessionId]). Those 8 characters are always["+ the first 6 chars of the per-installhostId, which is constant across the whole local workspace — so every row collapses to the identical打开 ["<hostId prefix>regardless of session.Expected: show the session name (the same title shown in the main sidebar).
Two smaller display issues in the same table:
How to reproduce
打开 ["<hostId prefix>value.Environment
main@ d2754b1 (built from source)Logs, screenshots, or additional context
Root cause:
apps/desktop/src/renderer/settings/usage-settings-page.tsxrendered the Task cell asrow.sessionId.slice(0, 8), while the desktop layer projects eachsessionIdinto the composite key viaprojectDesktopUsageStats→desktopSessionKey(apps/desktop/src/shared/*). The underlying session name (SessionHeader.name) is available in the session metadata store but was never carried intoUsageRequestLog.(Before/after screenshots attached in a comment.)