Skip to content

fix(mobile): apply live session.updated titles - #5984

Merged
iscekic merged 1 commit into
mainfrom
fix/mobile-session-auto-title
Sep 9, 2026
Merged

fix(mobile): apply live session.updated titles#5984
iscekic merged 1 commit into
mainfrom
fix/mobile-session-auto-title

Conversation

@iscekic

@iscekic iscekic commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Review and merge. Auto-rename now updates the session list and the session header without pull-to-refresh.

Problem

Ingest writes an automatic title and emits session.updated. Mobile ignored that event.

  • The live tray kept the sticky DB title until pull-to-refresh.
  • The session-detail header kept the title from the initial fetchSession.

Change

  • Apply session.updated onto the live tray cache. Heartbeats still do not overwrite a DB title.
  • Overlay the same event on the session-detail header title.

Test

  • pnpm --filter kilo-app exec vitest run src/lib/active-sessions-live.title.test.ts src/lib/active-sessions-live-sync.title.test.ts src/components/agents/session-detail-rename-state.test.ts src/app/\(app\)/agent-chat/\[session-id\].mounted.test.tsx
  • pnpm --filter kilo-app run lint
  • pnpm --filter kilo-app run typecheck

Ingest emits session.updated when a session is auto-renamed. The tray
ignored that event and kept the sticky DB title until pull-to-refresh.
The session header also kept the title from the initial fetch.

Apply session.updated onto the live tray cache, and overlay the same
event on the session-detail header.
@iscekic iscekic self-assigned this Sep 8, 2026
@iscekic
iscekic enabled auto-merge (squash) September 9, 2026 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants