Skip to content

[Story] AF14: Signing in to an agent works on every OS and the IDE knows when it is signed out #297

Backlog

Description

@aMonteSl

As a developer with a Claude, ChatGPT or Google subscription,
I want the sign-in buttons of an agent to open the vendor's own sign-in where I can see it, and the agent's status to say whether I am really signed in,
so that I can start chatting without guessing why a chat fails.

Found in manual testing (Windows, Git Bash)

  • Pressing Claude Subscription started the login command in a terminal the window never showed, and Show terminal opened a new, empty Git Bash instead. The sign-in never completed.
  • Check said Ready while the first message failed with "Claude Code needs you to log in": Claude Code opens sessions while signed out and only refuses the prompt.

Acceptance criteria

  • A terminal sign-in method runs the agent's login program directly (no shell, no typed command line) in a terminal tab of its own, shown at once in the panel, with the command on its first line.
  • When it ends, the agent is checked again.
  • Check asks the agent who is signed in (auth/status, an ACP draft that Claude Code's and Codex's adapters answer) and shows Needs login when signed out, or Ready, Signed in as ... when signed in. Agents that cannot say are judged by session/new as before.
  • Agent-side logins (Codex ChatGPT, Gemini Google) keep running through authenticate, with a "follow the browser" status.
  • The IDE never reads, stores or proxies a vendor token.
  • Tests with an in-process agent that answers auth/status; checked against the real @agentclientprotocol/claude-agent-acp 0.113.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ai-agentsarea: idestream: ide-agent-firsttfmuser-story

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions