Skip to content

feat(eve): search team-scoped Vercel projects#110

Draft
ruiconti wants to merge 2 commits into
rui/verified-remote-credentialsfrom
rui/vercel-project-selection
Draft

feat(eve): search team-scoped Vercel projects#110
ruiconti wants to merge 2 commits into
rui/verified-remote-credentialsfrom
rui/vercel-project-selection

Conversation

@ruiconti

@ruiconti ruiconti commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Description

The existing-project picker could only see the first Vercel project page and did not make team ownership explicit. That makes valid projects disappear and gives later auth work an ambiguous project identity.

This PR adds a team-scoped, fully paginated project boundary on top of #109.

What

  • List and paginate the Vercel teams available to the current user.
  • Load recent projects for the selected team.
  • Search every matching project page within that team.
  • Keep selection and project resolution on the same owner and project identity.
  • Write the verified Vercel project link directly instead of invoking plugin-onboarding side effects from vercel link.
  • Normalize Vercel API failures at the setup boundary.

Scope

This PR owns discovery, selection, and linking. It does not add startup authentication recovery or Trusted Sources mutation.

Stack

  1. fix(eve): verify remote Vercel credentials #109 — verified remote credentials
  2. feat(eve): search team-scoped Vercel projects #110 — team-scoped project selection
  3. feat(eve): recover remote TUI authentication #111 — remote TUI authentication recovery

Verification

  • Workspace typecheck, lint, format, build, invariant checks, unit tests, integration tests, and scenario tests passed.
  • Focused tests cover pagination, team filters, API failures, project resolution, picker behavior, and direct link writes.
  • Includes documentation and a patch changeset.

PR Checklist

  • I ran the relevant checks from CONTRIBUTING.md
  • I added tests and documentation where relevant
  • I added a changeset
  • Every commit has a DCO sign-off

@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
eve-docs Ready Ready Preview, Comment, Open in v0 Jun 19, 2026 4:11pm

Signed-off-by: Rui Conti <ruiconti@gmail.com>
@ruiconti ruiconti force-pushed the rui/verified-remote-credentials branch from bd8ba8f to f30ee3d Compare June 19, 2026 15:33
@ruiconti ruiconti force-pushed the rui/vercel-project-selection branch from 756de4c to 9591473 Compare June 19, 2026 15:33
….json

9591473 replaced the non-interactive `vercel link` call with a hand-rolled
writeProjectLink: it wrote .vercel/project.json, re-added the .gitignore entry,
and read the link back to verify identity — justified as avoiding "Vercel CLI
plugin onboarding". That onboarding does not occur. Observed: `vercel link
--project <id> --scope <team> --yes --non-interactive` with stdin closed exits 0
in ~1s, writes the same project.json shape, and adds .vercel to .gitignore
itself — no prompts, no MCP/plugin step.

Restore the primitive call (as in #39) and drop the reimplementation:
writeProjectLink, its now-orphaned ensureVercelIgnored helper, the read-back
check (the setup box already re-verifies via detectProjectResolution), and the
integration test that only exercised writeProjectLink. Also de-export four
picker/api types referenced solely within their defining file.

Signed-off-by: Rui Conti <ruiconti@gmail.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.

1 participant