Skip to content

feat: use package-manager-detector for AGENTS.md runner commands#17

Open
sharunkumar wants to merge 2 commits intovercel-labs:mainfrom
sharunkumar:fix/16-package-manager-aware-instructions
Open

feat: use package-manager-detector for AGENTS.md runner commands#17
sharunkumar wants to merge 2 commits intovercel-labs:mainfrom
sharunkumar:fix/16-package-manager-aware-instructions

Conversation

@sharunkumar
Copy link

Detect the project's package manager (npm, pnpm, yarn, bun) and use the appropriate runner command in AGENTS.md instructions instead of always hardcoding npx. For example, pnpm projects now get pnpm dlx opensrc and bun projects get bun x opensrc. Falls back to npx if detection fails.

Closes #16

Detect the project's package manager (npm, pnpm, yarn, bun) and use the
appropriate runner command in AGENTS.md instructions instead of always
hardcoding `npx`. For example, pnpm projects now get `pnpm dlx opensrc`
and bun projects get `bun x opensrc`. Falls back to `npx` if detection
fails.

Closes vercel-labs#16
@vercel
Copy link

vercel bot commented Feb 23, 2026

@sharunkumar is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@socket-security
Copy link

socket-security bot commented Feb 23, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpackage-manager-detector@​1.6.010010010088100

View full report

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.

[Feature Request] Add package-manager aware instructions

1 participant