Skip to content

Improvement: add Cursor, VS Code, opencode and Gemini CLI to the connect dialog once their steps have been run #4974

Open

Description

@yannickmonney

Summary

The connect dialog (#4958) has tabs for Claude Code and Codex, whose commands were run end to end against a live Tale, and an "Other" tab with the address and a pointer to the guide. Cursor, VS Code, opencode and Gemini CLI have only guide text taken from the vendors' documentation. This issue is the work in the product that follows the manual round in #4933: what adding a client takes and what rule decides when one is added. It states no preference.

What the repository says (main at 8a0732529c)

  • The rule, in code. services/platform/app/features/coding-agent/lib/setup-steps.ts:6-10: "Only a client that was run against a live Tale gets commands here. … Every other client gets the address and the guide until it has been tried the same way."
  • The clients and their steps. SETUP_CLIENTS = ['claude-code', 'codex', 'other'] (:13); the steps per client (:43-69); the sentence a step stands for, StepText (:21-26), worded in the catalog messages/<locale>/codingAgent.yml under steps.*; an address with shell syntax gets no command (:34-37, :47).
  • Tabs and marks. components/coding-agent-setup.tsx:62 builds a tab per client and :111 (ClientLabel) draws the mark: ClaudeIcon and OpenAIIcon from @tale/ui (packages/ui/src/icons/claude-icon.tsx, openai-icon.tsx). Cursor and Gemini marks exist only in the marketing site (services/web/app/components/icons/cursor-icon.tsx, gemini-icon.tsx); there is none for VS Code or opencode.
  • What the guide says today. docs/en/develop/use-tale-from-your-editor.md: Claude Code (:303), Codex (:341), opencode (:360), Cursor (:399), Claude on the web and in the apps (:415). test(platform): verify coding-agent sign-in end to end with Claude Code, Cursor, VS Code, Gemini CLI and claude.ai #4933 records that only the first two were run.
  • What pins it. setup-steps.test.ts (the commands as golden text, the refusal of unsafe addresses, "carries no key"), coding-agent-setup.test.tsx, connect-agent-dialog.browser.test.tsx (tab keyboard, layout at four widths in three languages, an audit in both themes).

What adding a client takes

For each client: its steps (commands, or a link), a sentence per step in English, German and French, a golden test, a mark and a tab label (a brand name, not translated), the guide section kept in step, the manual boxes that describe the dialog (SET-F89) and a retaken screenshot of the dialog (settings-connect-agent).

What adding two taught

  • The command lists came from running the clients, not from their help. codex mcp add signs in by itself, so the first version of the dialog and the guides, which gave a second codex mcp login, was wrong until fix(platform): give Codex one command that signs in #4962; Claude Code's add only adds, and claude mcp login needs a terminal (observed 2026-10-13, Claude Code 2.1.296 and Codex 0.162.0).
  • The first design for the dialog also wanted install links for Cursor and VS Code. They have not been run, and a link starts a handler outside Tale.

What was not examined

  • Each client's behaviour on Windows.
  • Whether seven tabs fit a phone: the tab list is a grid sized for three (connect-agent-dialog.browser.test.tsx checks 320 px with three).
  • Whether a hosted client such as claude.ai can have steps in a dialog at all: it needs the deployment to be reachable from the vendor's servers (docs/en/self-hosted/operate/security/hardening.md:30).

Options (no preference stated)

  1. Add a client when its steps have been run (the current rule), one at a time.
  2. Add every verified client after the round in test(platform): verify coding-agent sign-in end to end with Claude Code, Cursor, VS Code, Gemini CLI and claude.ai #4933 is done.
  3. Move from tabs to a picker if the list outgrows a phone's width.
  4. Keep the two tabs and "Other", and extend only the guide.

Questions

  • Which clients belong in the dialog, and in which order?
  • May a client's steps be an install link that a handler outside Tale opens?
  • Does "run it first" stay the rule for a client the team cannot install or reach?

Related

#4933, #4958, #4962, #4959

Activity

  1. added
    priority: low
    improvement
    service: platform
    on Oct 13, 2026
  2. added
    agent-ready
    on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyimprovementpriority: lowservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions