Skip to content

Comments

feat(happy-app): show daemon vs terminal session origin#693

Open
davidrimshnick wants to merge 1 commit intoslopus:mainfrom
davidrimshnick:feat/show-session-started-by
Open

feat(happy-app): show daemon vs terminal session origin#693
davidrimshnick wants to merge 1 commit intoslopus:mainfrom
davidrimshnick:feat/show-session-started-by

Conversation

@davidrimshnick
Copy link

Summary

  • Displays startedBy metadata so users can distinguish daemon-spawned sessions from terminal sessions
  • Appends "· daemon" to the session subtitle (path line) for daemon-started sessions
  • Adds a "Started By" row to the session info screen with contextual icon (cloud for daemon, terminal for terminal)
  • Adds startedBy field to MetadataSchema so Zod preserves it from CLI metadata
  • Adds i18n keys to all 11 language files (default + en, ru, pl, es, ca, it, pt, ja, zh-Hans, zh-Hant)

Closes #645

Test plan

  • MetadataSchema accepts daemon and terminal values, rejects invalid values, and treats field as optional (4 tests)
  • getSessionSubtitle() appends "· daemon" only for daemon sessions, not for terminal or missing startedBy (5 tests)
  • formatPathRelativeToHome() helper works correctly (3 tests)
  • All 12 tests pass, typecheck passes

🤖 Generated with Claude Code

Display startedBy metadata in session subtitle and info screen so users
can distinguish daemon-spawned sessions from terminal sessions.

- Add startedBy to MetadataSchema so Zod preserves the field from CLI
- Append "· daemon" to session subtitle for daemon-spawned sessions
- Add Started By row to session info screen with appropriate icon
- Add i18n keys to all 11 language files (default + 10 translations)
- Add tests for getSessionSubtitle and MetadataSchema.startedBy

Closes slopus#645

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

Show whether session was started by daemon or terminal

1 participant