Contributing And Releases
Read the repository contribution guide before opening a pull request. Report vulnerabilities through the private process in the security policy.
Development
corepack enable
pnpm install --frozen-lockfile
pnpm build
pnpm typecheck
pnpm test
pnpm regression:fixtures
pnpm docs:build
pnpm pack:verify
pnpm smoke:bundleCI runs the release gates on Linux with Node.js 20 and 22, and on Windows with Node.js 20. Windows Node.js 22 remains a follow-up compatibility lane after a hosted-runner-only test failure that did not reproduce locally.
Beta Release
- Update the workspace and CLI versions together.
- Run every local gate.
- Create and push a matching version tag, such as
v0.1.0-beta.5. - The release workflow verifies the package and publishes it with npm provenance under the
betadist-tag.
The npm trusted publisher must be configured for the GitHub npm environment before publishing. Configure npm with GitHub user SomneelSaha2042, repository AgentDocs, workflow release.yml, environment npm, and permission to publish. The first publication may require a temporary granular NPM_TOKEN; remove that secret after trusted publishing is active. Stable releases must not use the beta workflow unchanged.
Enable GitHub Pages with GitHub Actions as the source before the first docs deployment.