CLI command · Authoring
wl review
Advisory AI analysis of a package version or a local package directory.
Produces AI findings on bugs, security and improvements, for a published version or, with --local, for a package directory before you push it. The organization must have opted in to AI analysis.
AI findings are advisory: they never gate a publish. --strict makes the command exit non-zero on a high or critical finding, as a local gate only. --local sends the files’ contents in full to the configured AI provider, so do not run it on directories with production secrets.
Usage
wl review [ref] [options]Arguments and options
- [ref]
- A published version, @scope/name@version.
- --local [dir]
- Analyze a local package directory before publishing (default: current directory).
- --api-url <url>
- Registry API base URL. Default: $WORKLOOM_API_URL, then http://localhost:3000.
- --token <token>
- API token. Default: $WORKLOOM_DEV_TOKEN.
- --strict
- Exit non-zero if any finding is high or critical (local gate only).