@vercel/detect-agent 1.2.2

Detect if code is running in an AI agent or automated development environment

@vercel/detect-agent@1.2.2 was published on 2026-04-10. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=14.

All @vercel/detect-agent versions · Permanent reference to 1.2.2 · Latest release

Package specifications

Version1.2.2
License declarationApache-2.0
Published2026-04-10T08:01:34.923Z
Node.js requirement>=14
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size25.56 KiB
Published file count7
Package typeNot declared
ES module entryNot declared
Default entry./dist/index.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependenciesUnknown
Repository stars16421
Repository forks3868

Install @vercel/detect-agent 1.2.2

npm install @vercel/detect-agent@1.2.2
pnpm add @vercel/detect-agent@1.2.2
yarn add @vercel/detect-agent@1.2.2

Runtime dependencies

  • None declared

Peer requirements

  • None declared

Optional dependencies

  • None declared

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Code-Review9/10 — Found 24/26 approved changesets -- score normalized to 9
Maintained10/10 — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
License10/10 — license file detected
Security-Policy10/10 — security policy file detected
Binary-Artifacts6/10 — binaries present in source code
Packaging10/10 — packaging workflow detected
Fuzzing0/10 — project is not fuzzed
Pinned-Dependencies3/10 — dependency not pinned by hash detected -- score normalized to 3
SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

Evidence and freshness