Skip to content

[CLI] Adding new login + link + deploy plugin and agent init #15692

Merged
Melkeydev merged 7 commits intomainfrom
feature/v2-auto-install-agents-cli
Mar 24, 2026
Merged

[CLI] Adding new login + link + deploy plugin and agent init #15692
Melkeydev merged 7 commits intomainfrom
feature/v2-auto-install-agents-cli

Conversation

@Melkeydev
Copy link
Copy Markdown
Contributor

@Melkeydev Melkeydev commented Mar 23, 2026

Videos:

VCLI.AGENT.Link.mov
VCLI.Human.+.Agents.INIT.LINK.mov
VCLI.Human.Link.mov
VCLI.Human.Login.mov

@Melkeydev Melkeydev requested review from a team as code owners March 23, 2026 21:08
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 23, 2026

🦋 Changeset detected

Latest commit: b725ac8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
vercel Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 23, 2026

📦 CLI Tarball Ready

The Vercel CLI tarball for this PR is now available!

Quick Test

You can test this PR's CLI directly by running:

npx https://vercel-hfzevatln.vercel.sh/tarballs/vercel.tgz --help

Use in vercel.json

To use this CLI version in your project builds, add to your vercel.json:

{
  "build": {
    "env": {
      "VERCEL_CLI_VERSION": "vercel@https://vercel-hfzevatln.vercel.sh/tarballs/vercel.tgz"
    }
  }
}

Python Runtime Wheel

A vercel-runtime wheel was also built for this PR.
To use in your Python project builds, also set this environment variable:

VERCEL_RUNTIME_PYTHON="vercel-runtime @ https://vercel-hfzevatln.vercel.sh/tarballs/vercel_runtime-0.11.0.dev1774388693+b725ac8-py3-none-any.whl"

Python Workers Wheel

A vercel-workers wheel was also built for this PR.
To use in your Python project builds, also set this environment variable:

VERCEL_WORKERS_PYTHON="vercel-workers @ https://vercel-hfzevatln.vercel.sh/tarballs/vercel_workers-0.1.0.dev1774388693+b725ac8-py3-none-any.whl"

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 23, 2026

Low Risk — New CLI feature adding optional agent plugin installation prompts with user confirmation.

  • auto-install-agentic.ts: new utility for detecting agent platforms and prompting plugin installation
  • link/index.ts, login/future.ts: call autoInstallAgentTooling after successful operations
  • print-deployment-status.ts: show non-blocking plugin tip after deploy

Assessed at b725ac8.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 23, 2026

🧪 Unit Test Strategy

Comparing: 75cf382b725ac8 (view diff)

Strategy: Affected packages only

✅ Only testing packages that have been modified or depend on modified packages.

Affected packages - 1 (3%)
  1. vercel
Unaffected packages - 39 (98%)
  1. @vercel-internals/get-package-json
  2. @vercel/backends
  3. @vercel/build-utils
  4. @vercel/cervel
  5. @vercel/cli-auth
  6. @vercel/client
  7. @vercel/config
  8. @vercel/detect-agent
  9. @vercel/edge
  10. @vercel/elysia
  11. @vercel/error-utils
  12. @vercel/express
  13. @vercel/fastify
  14. @vercel/firewall
  15. @vercel/frameworks
  16. @vercel/fs-detectors
  17. @vercel/functions
  18. @vercel/gatsby-plugin-vercel-builder
  19. @vercel/go
  20. @vercel/h3
  21. @vercel/hono
  22. @vercel/hydrogen
  23. @vercel/koa
  24. @vercel/nestjs
  25. @vercel/next
  26. @vercel/node
  27. @vercel/oidc
  28. @vercel/oidc-aws-credentials-provider
  29. @vercel/python
  30. @vercel/python-analysis
  31. @vercel/redwood
  32. @vercel/related-projects
  33. @vercel/remix-builder
  34. @vercel/routing-utils
  35. @vercel/ruby
  36. @vercel/rust
  37. @vercel/static-build
  38. @vercel/static-config
  39. examples

Results

  • Unit tests: Only affected packages will run unit tests
  • E2E tests: Running in parallel via E2E Tests workflow
  • Type checks: Only affected packages will run type checks

This comment is automatically generated based on the affected testing strategy

Copy link
Copy Markdown
Contributor

@brookemosby brookemosby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Melkeydev Melkeydev changed the title [DRAFT] testing CI with only deploy change [CLI] Adding new login + link + deploy plugin and agent init Mar 24, 2026
@Melkeydev Melkeydev merged commit 25b3d6e into main Mar 24, 2026
179 checks passed
@Melkeydev Melkeydev deleted the feature/v2-auto-install-agents-cli branch March 24, 2026 21:59
ofhouse pushed a commit that referenced this pull request Mar 26, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @vercel/build-utils@13.11.0

### Minor Changes

- Add `process-serverless` utilities: `getLambdaEnvironment`,
`getLambdaPreloadScripts`, `getLambdaSupportsStreaming`, and
`getEncryptedEnv`.
([#15712](#15712))

## @vercel/backends@0.0.52

### Patch Changes

- Updated dependencies
\[[`a54b8f246ac6b43ac8f1674093402e3fe145fd64`](a54b8f2)]:
    -   @vercel/build-utils@13.11.0

## @vercel/cervel@0.0.39

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/backends@0.0.52

## vercel@50.37.1

### Patch Changes

- Improve agent plugin install flow: agents now receive structured JSON
prompts for plugin installation instead of auto-approving silently.
Preferences are persisted to avoid repeat prompts. On deploy, shows a
non-blocking tip if the plugin is not installed.
([#15707](#15707))

- Auto-install agent tooling on `vercel login`, `vercel link`, and
`vercel deploy`. When a supported agent platform (Claude Code, Cursor)
is detected or the user has `~/.claude`/`~/.cursor` directories, prompts
to install the Vercel plugin. On `vercel link`, also prompts to add
Vercel best practices to AGENTS.md/CLAUDE.md. On `vercel deploy`, shows
a non-blocking tip if the plugin is not installed. User preferences are
persisted to avoid repeat prompts.
([#15692](#15692))

- Add --archive support to `deploy continue` command.
([#15197](#15197))

- Updated dependencies
\[[`a54b8f246ac6b43ac8f1674093402e3fe145fd64`](a54b8f2)]:
    -   @vercel/build-utils@13.11.0
    -   @vercel/backends@0.0.52
    -   @vercel/elysia@0.1.54
    -   @vercel/express@0.1.64
    -   @vercel/fastify@0.1.57
    -   @vercel/go@3.4.6
    -   @vercel/h3@0.1.63
    -   @vercel/hono@0.2.57
    -   @vercel/hydrogen@1.3.6
    -   @vercel/koa@0.1.37
    -   @vercel/nestjs@0.2.58
    -   @vercel/next@4.16.3
    -   @vercel/node@5.6.21
    -   @vercel/python@6.28.0
    -   @vercel/redwood@2.4.12
    -   @vercel/remix-builder@5.7.2
    -   @vercel/ruby@2.3.2
    -   @vercel/rust@1.0.5
    -   @vercel/static-build@2.9.5

## @vercel/client@17.2.64

### Patch Changes

- Add --archive support to `deploy continue` command.
([#15197](#15197))

- Updated dependencies
\[[`a54b8f246ac6b43ac8f1674093402e3fe145fd64`](a54b8f2)]:
    -   @vercel/build-utils@13.11.0

## @vercel/elysia@0.1.54

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/node@5.6.21

## @vercel/express@0.1.64

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/node@5.6.21
    -   @vercel/cervel@0.0.39

## @vercel/fastify@0.1.57

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/node@5.6.21

## @vercel/fs-detectors@5.12.1

### Patch Changes

- Updated dependencies
\[[`a54b8f246ac6b43ac8f1674093402e3fe145fd64`](a54b8f2)]:
    -   @vercel/build-utils@13.11.0

## @vercel/gatsby-plugin-vercel-builder@2.1.5

### Patch Changes

- Updated dependencies
\[[`a54b8f246ac6b43ac8f1674093402e3fe145fd64`](a54b8f2)]:
    -   @vercel/build-utils@13.11.0

## @vercel/h3@0.1.63

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/node@5.6.21

## @vercel/hono@0.2.57

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/node@5.6.21

## @vercel/koa@0.1.37

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/node@5.6.21

## @vercel/nestjs@0.2.58

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/node@5.6.21

## @vercel/node@5.6.21

### Patch Changes

- Updated dependencies
\[[`a54b8f246ac6b43ac8f1674093402e3fe145fd64`](a54b8f2)]:
    -   @vercel/build-utils@13.11.0

## @vercel/static-build@2.9.5

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/gatsby-plugin-vercel-builder@2.1.5

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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