Skip to content

feat(sdk): first-class Vercel Connect integration#44

Merged
HugoRCD merged 3 commits into
mainfrom
feat/vercel-connect-integration
Jul 13, 2026
Merged

feat(sdk): first-class Vercel Connect integration#44
HugoRCD merged 3 commits into
mainfrom
feat/vercel-connect-integration

Conversation

@HugoRCD

@HugoRCD HugoRCD commented Jul 13, 2026

Copy link
Copy Markdown
Member

Summary

  • Add @github-tools/sdk/connect and @github-tools/sdk/connect/eve subpaths with connectGithubTools, connectGithubToken, and connectGithubScopesForPreset
  • Derive Vercel Connect scopes automatically from presets (Option A) — no manual scope lists for consumers
  • Simplify the eve-agent example to a 3-line connectGithubTools setup
  • Document the Connect flow in a new guide, API reference, and README; add a minor changeset

Test plan

  • pnpm --filter @github-tools/sdk test
  • pnpm --filter @github-tools/sdk typecheck
  • pnpm --filter @github-tools/sdk build
  • pnpm lint (SDK)
  • Manual: run examples/eve-agent with github/test-github-tools connector linked

Expose @github-tools/sdk/connect with preset-derived scopes, connectGithubToken,
and connectGithubTools for AI SDK and eve — simplifying the eve-agent example.
@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
github-tools-docs Ready Ready Preview, Comment Jul 13, 2026 2:25pm

@github-actions

Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions! 🙏

@HugoRCD HugoRCD self-assigned this Jul 13, 2026
Document the temporary build.externalDependencies workaround with
TODO(eve-connect-bundle) until eve handles transitive Connect imports.
@HugoRCD
HugoRCD marked this pull request as ready for review July 13, 2026 14:04
Comment thread packages/github-tools/src/connect/scopes.ts
- Widen repo-explorer Connect scopes to cover the PR/issue/workflow
  read tools it exposes, not just contents/metadata.
- Document why gist tools in repo-explorer/maintainer stay unscoped:
  the Gists API only accepts GitHub App user tokens, never the
  installation tokens Connect mints.
- Fix docs/README examples passing preset only to createGithubTools
  while connectGithubToken defaulted to the full scope union.
- Ignore .swc build cache in the pr-review-agent example.
@HugoRCD
HugoRCD merged commit a6ff194 into main Jul 13, 2026
11 checks passed
@HugoRCD
HugoRCD deleted the feat/vercel-connect-integration branch July 13, 2026 14:26
@github-actions github-actions Bot mentioned this pull request Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant