Skip to content

feat(desktop): render activity bar on non-managing owner devices - #4661

Open
TolgaCinisli wants to merge 1 commit into
block:mainfrom
TolgaCinisli:cnsl/pr-a-activity-bar-nonmanaging
Open

feat(desktop): render activity bar on non-managing owner devices#4661
TolgaCinisli wants to merge 1 commit into
block:mainfrom
TolgaCinisli:cnsl/pr-a-activity-bar-nonmanaging

Conversation

@TolgaCinisli

Copy link
Copy Markdown

Summary

The composer activity bar only rendered when the working agent was present in
this install's managed-agent registry. Sign in on a second desktop with the
same owner identity and the bar stayed dark for the whole turn, even though the
observer stream was arriving normally — the stream is scoped to the owner, not
to the managing install.

When no managed agent matches the working pubkeys, fall back to display entries
derived from the relay profile lookup (displayNamename"Agent").
Managed entries are still preferred, so the single-install case is unchanged.

Related issue

None found — searched open issues and PRs for "activity bar" / "second device"
/ "non-managing".

Testing

  • pnpm -C desktop test — 4041 passing
  • pnpm -C desktop typecheck — clean
  • biome check on the touched file — clean
  • Manual: two desktops signed in with one owner identity, agent managed by the
    first. Before: bar dark on the second machine for the whole turn. After: the
    bar renders on both, with the agent's profile display name on the
    non-managing one.

The composer activity bar required the working agent to exist in this
install's managed-agent registry, so a second desktop signed in with the
same owner identity showed nothing during turns. The observer stream is
owner-scoped, not install-scoped — fall back to profile-lookup display
entries when the registry has no match, keeping managed entries preferred.

Signed-off-by: Tolga Cinisli <tolgacinisli@gmail.com>
@TolgaCinisli
TolgaCinisli requested a review from a team as a code owner August 4, 2026 04:10
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