Repository navigation
Labels
documentationImprovements or additions to documentation
Description
Summary
adl-cli now scaffolds Vercel deployment artifacts when spec.deployment.type: vercel and a spec.deployment.vercel (VercelConfig) block are present. This shipped in inference-gateway/adl-cli#205 (closes inference-gateway/adl-cli#182), but the adl-cli docs page does not yet cover this third deployment target - only Kubernetes and Cloud Run are documented today.
What the feature does
- Generates
vercel.jsonwithframework(omitted for auto-detect),regions, afunctionsmap (memory/maxDuration), andenvfromvercel.environment. runtime: edgemaps the function config to"runtime": "@vercel/edge"; otherwise the default Node.js runtime is used.- Generates project linkage at
.vercel/project.json(projectIdfromvercel.project,orgIdfromvercel.team). - Adds a
deploytask toTaskfile.ymlthat runsvercel link/vercel pull/vercel deployfor interactive workflows. - Unlike kubernetes/cloudrun, Vercel deploys from source, so there is no
ImageConfigblock.
Affected pages
adl-cli.md-> "Deployment" section: add a "Vercel" subsection alongside "Kubernetes" and "Cloud Run".adl-cli.md->adl generate"Flags" table: the--deploymentrow currently readskubernetes or cloudrunand should also listvercel.
Suggested content
Manifest snippet (from examples/vercel-agent.yaml):
deployment:
type: vercel
vercel:
project: vercel-example
team: my-team
framework: nextjs # optional - omit for auto-detection
runtime: edge # nodejs | edge
regions:
- iad1
functions:
memory: 1024
maxDuration: 60
environment:
LOG_LEVEL: info
ENVIRONMENT: productionGenerated vercel.json:
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"env": {
"ENVIRONMENT": "production",
"LOG_LEVEL": "info"
},
"framework": "nextjs",
"functions": {
"api/**/*.ts": {
"maxDuration": 60,
"memory": 1024,
"runtime": "@vercel/edge"
}
},
"regions": [
"iad1"
]
}Generated .vercel/project.json:
{
"orgId": "my-team",
"projectId": "vercel-example"
}VercelConfig fields: project (required), team (required), framework (optional - omit for auto-detect), runtime (nodejs | edge), regions (string list), functions (memory / maxDuration), environment (string map).
References
- Source PR: feat: generate Vercel deployment artifacts from spec.deployment.vercel adl-cli#205
- Source issue: [FEATURE] Generate Vercel deployment artifacts from ADL spec.deployment.vercel adl-cli#182
- Example manifest:
examples/vercel-agent.yaml
Acceptance Criteria
-
adl-cli.mdhas a "Vercel" subsection under "Deployment" documentingspec.deployment.type: verceland theVercelConfigfields. - The subsection lists the generated artifacts:
vercel.json,.vercel/project.json, and thedeploytask inTaskfile.yml. - The docs note that
runtime: edgeproduces"runtime": "@vercel/edge"and thatframeworkis omitted for auto-detection. - The
--deploymentflag row in theadl generate"Flags" table listsvercelalongsidekubernetesandcloudrun.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentation
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Jun 4, 2026
@claude Can you document this feature? use /maintainer
claude commentedon Jun 4, 2026
Claude finished @edenreich's task in 6m 9s —— View job •
docs/issue-159-20260604-1804• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-159-20260604-1804?quick_pull=1&title=Issue%20%23159%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23159%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documenting
spec.deployment.type: vercelfor adl-cliDone. Opened PR #160 documenting the Vercel deployment target.
adl-cli.md, verified against adl-cli PR docs: update README.md to reflect VitePress tech stack #205 templates +examples/vercel-agent.yaml)VercelConfigfieldsvercel.json,.vercel/project.json,deploytask)runtime: edge→@vercel/edgeandframeworkauto-detect behavior--deploymentflag row to listvercelWhat changed in
adl-cli.mdVercelConfigfield table (project,team,framework,runtime,regions,functions,environment), an example manifest, and renderedvercel.json/.vercel/project.json.vercel.json,.vercel/project.json, and thedeploytask inTaskfile.yml(which shells out tovercel link/pull/deploy).runtime: edge->"runtime": "@vercel/edge"and thatframeworkis omitted for auto-detection.--deploymentflag row now readskubernetes,cloudrun, orvercel; also added a--deployment vercelgenerate example, updated the Key Features line, and added the Vercel artifacts to the Go/Rust project-structure trees.All four acceptance criteria are covered. Verified against the actual adl-cli templates (
vercel.json.tmpl,project.json.tmpl,taskfile.yml.tmpl) so the documented output matches what the CLI generates.