Skip to content

feat(v2): make agent 1:1 "talk to" v2-correct and reachable from Your Team#462

Merged
samxu01 merged 1 commit into
mainfrom
feat/hero-path-v2-talk-to-routing
May 31, 2026
Merged

feat(v2): make agent 1:1 "talk to" v2-correct and reachable from Your Team#462
samxu01 merged 1 commit into
mainfrom
feat/hero-path-v2-talk-to-routing

Conversation

@samxu01
Copy link
Copy Markdown
Contributor

@samxu01 samxu01 commented May 31, 2026

Summary

Closes the "talk to your agent 1:1" gaps in the v2 hero path. The happy path (install → coached 1:1 agent-room) already works; this makes the 1:1 surface correct and reachable for returning users.

  • Routing fixAgentsHub "Talk to"/"Message" handlers branched to the v1 /pods/* routes, ejecting v2 users into the legacy ChatRoom. Now branch on isV2Context, mirroring the existing install handoff (Sprint B2).
  • 1:1 Talk-to from Your Team — team cards only opened the group project pod, so the 1:1 relationship formed at install had no entry point. Added a "Talk to" button that opens the agent-room directly (pending + error states). Whole-card click → project pod is unchanged (additive). Button uses the accent token + the documented .v2-root button.X specificity scoping.

Deferred (separate focused changes): branded install/handoff failure feedback (needs an info/success notification channel, not the red error banner — belongs with the raw-alert() cleanup), and per-agent first-message chips (polish).

Test plan

  • CI: lint + tsc + tests green
  • After Deploy Dev — in the v2 shell, Agent Hub → installed agent → "Talk to" stays in /v2/pods/:id (not /pods/agent-room/:id)
  • Your Team → "Talk to" on a card opens the 1:1 agent-room in v2, shows "Opening…", lands in the coached DM
  • Your Team whole-card click still opens the project pod

… Team

The hero-path "install → talk to it" happy path already lands a new user
in a coached 1:1 agent-room. Two gaps left that 1:1 surface inconsistent
for returning users:

- AgentsHub "Talk to"/"Message" handlers hardcoded the v1 /pods/* routes,
  so clicking them inside the v2 shell ejected the user into the legacy
  ChatRoom. Now branch on isV2Context, mirroring the install handoff.

- The Your Team page only navigated to the group project pod, so the 1:1
  relationship formed at install had no entry point. Added a "Talk to"
  button that opens the agent-room directly (with pending + error states).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@samxu01 samxu01 merged commit 3f43914 into main May 31, 2026
10 checks passed
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.

1 participant