Skip to content

DX-3074: lead agent setup with npx upstash, install the CLI as upstash - #679

Merged
CahidArda merged 5 commits into
masterfrom
dx-3074-npx-upstash
Oct 6, 2026
Merged

CahidArda merged 5 commits into
masterfrom
dx-3074-npx-upstash

Conversation

@CahidArda

@CahidArda CahidArda commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Part of DX-3074. The CLI is now published as upstash (1.5.0, also still as @upstash/cli) and has upstash setup (upstash/cli#23, upstash/cli#28). Run with no arguments in a terminal, npx upstash starts setup and connects the coding agents on the machine to Upstash.

Changes

  • "Set up your agent" prompt (AGENT_SETUP_PROMPT): asks the agent to run npx -y upstash setup --yes with its own agent flag (--claude, --codex, --cursor, --gemini, --vscode, --copilot, --opencode). That installs the Upstash plugin where the agent supports one, and otherwise the remote MCP server plus the Upstash skills. Agents the CLI doesn't cover still get the skills + remote MCP fallback. Same text as the docs landing page and the console.
  • Button default: clicking "Set up your agent" now copies npx upstash. The menu lists "Copy setup command" first (tracked as agent_setup_copied with option: "command") and "Copy setup prompt" second.
  • Home page CLI card: npm i -g upstash instead of npm i -g @upstash/cli.

The 2022 CLI announcement post (data/blog/2022-05-16-upstash-cli.mdx) still says @upstash/cli. I left it alone because it describes that release.

Related

Companion PRs: upstash/docs#890, upstash/skills#55, upstash/upstash-console-v2#1565.

Tested

  • Checked against upstash@1.5.0: npx upstash opens setup in a terminal, and the prompt's npx -y upstash setup --yes --<agent> runs non-interactively.
  • biome check on both changed files reports only the two errors already present on master (noBlankTarget, useImportType in home/agents/index.tsx); nothing new.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LWUubWwYWp1dZTK1S9Ek95

claude added 2 commits October 5, 2026 09:43
The "Set up your agent" prompt now asks the agent to run `npx -y upstash setup --yes` with its own agent flag, which installs the Upstash plugin where the agent supports one and otherwise the remote MCP server plus the Upstash skills. The hand-written commands stay as the fallback for agents the CLI does not cover. The prompt is identical to the docs landing page and the console.

The button menu gets a "Copy setup command" row for `npx upstash setup`, and the home page CLI card installs `upstash` instead of `@upstash/cli`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LWUubWwYWp1dZTK1S9Ek95
Run in a terminal with no arguments, `upstash` starts `upstash setup`. The setup prompt keeps the explicit `setup --yes` form for agents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LWUubWwYWp1dZTK1S9Ek95
@linear-code

linear-code Bot commented Oct 6, 2026

Copy link
Copy Markdown

DX-3074

@vercel

vercel Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
website Ready Ready Preview Oct 6, 2026 9:17am UTC

Request Review

Brings in the removal of the context7-vs-exa post, whose string `draft` field failed the content-collections build on Vercel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01LWUubWwYWp1dZTK1S9Ek95
Clicking the agent setup button now copies the setup command; the setup prompt moves to the second menu row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01LWUubWwYWp1dZTK1S9Ek95
…mmand"

The row label is the command itself, in monospace, so it is clear what gets copied.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01LWUubWwYWp1dZTK1S9Ek95
@CahidArda
CahidArda merged commit 811808e into master Oct 6, 2026
2 of 3 checks passed
@CahidArda
CahidArda deleted the dx-3074-npx-upstash branch October 6, 2026 10:06

This branch was successfully deployed

1 active deployment
Preview — c1eadb76 Deployed Oct 6, 2026 by vercel[bot]
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