Repository navigation
Description
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 catalogmessages/<locale>/codingAgent.ymlundersteps.*; an address with shell syntax gets no command (:34-37,:47). - Tabs and marks.
components/coding-agent-setup.tsx:62builds a tab per client and:111(ClientLabel) draws the mark:ClaudeIconandOpenAIIconfrom@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 addsigns in by itself, so the first version of the dialog and the guides, which gave a secondcodex mcp login, was wrong until fix(platform): give Codex one command that signs in #4962; Claude Code'saddonly adds, andclaude mcp loginneeds 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.tsxchecks 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)
- Add a client when its steps have been run (the current rule), one at a time.
- 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.
- Move from tabs to a picker if the list outgrows a phone's width.
- 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?
Activity