云提供商
Vercel
Connect your Vercel account to give agents visibility into your deployments, serverless functions, and edge network. Agents can monitor build performance, analyze traffic patterns, and troubleshoot deployment issues.
连接
从终端连接Vercel。传入--help查看Vercel接受的标志,在无头环境中再加上--no-browser。
Terminal
polylane cloud connect --provider vercel从Vercel Marketplace安装的Polylane集成。
Vercel通过在你的团队或个人账户上安装Polylane集成来连接。该集成使用Vercel的OAuth流程,所以没有需要管理的API密钥。由于它基于OAuth,Vercel必须从控制台连接。
设置
- 点击Continue to Vercel打开集成页面。
- 选择要连接的团队或个人账户。
- 选择Polylane可以访问哪些项目,或授予对全部项目的访问权限。
- 点击Install确认。
Polylane发现你的项目、部署、域名和存储资源。部署、域名更改和基础设施更新通过Webhook自动保持最新。
同步的内容
- Projects:所选范围内的每个项目
- Deployments:近期部署历史和状态
- Domains:自定义域名及其配置
- Edge Config:边缘配置存储
- Blob Storage:Vercel Blob存储
- KV Storage:Vercel KV数据库
- Postgres:Vercel Postgres数据库
断开连接
在你的Vercel账户的Settings → Integrations下移除Polylane集成,或在Polylane中断开该账户。任何一种都会停止同步。
断开连接
断开连接会停止所有同步和检查,并删除Polylane持有的凭据。 Polylane会移除Vercel的API允许它移除的内容。以下内容会保留,直到你自己移除:
- Vercel integration configuration
- polylane-* log, analytics and speed-insights drains
Terminal
polylane cloud disconnect <id>工具
3智能体可以在线程中执行的操作。
Api
Call any Vercel REST API endpoint that lacks a dedicated tool
Get Logs
Get logs from a Vercel deployment
Query Metrics
Query Vercel observability metrics (requests, errors, function duration)
支持的资源
21会出现在你的基础设施图中的资源类型。
Project
Deployment
Domain
Edge Config
Postgres
KV Store
Blob Store
Log Drain
Custom Environment
Firewall
Webhook
Integration
Sandbox
Workflow
Cron Job
Feature Flag
AI Gateway
Microfrontends Group
Access Group
Drain
Container Repository