- Node.js >= 20
git clone https://github.com/PSPDFKit-labs/agentic-usability.git
cd agentic-usability
npm install
npm install --prefix ui# Build everything (UI + server)
npm run build
# Run server tests
npm test
# Run UI tests
npm test --prefix ui
# Typecheck server
npx tsc --noEmit
# Typecheck UI
npx tsc --noEmit --project ui/tsconfig.json
# Lint
npm run lintPlease ensure all checks pass:
npm run buildcompletes without errorsnpm testandnpm test --prefix uipassnpx tsc --noEmitandnpx tsc --noEmit --project ui/tsconfig.jsonpassnpm run lintpasses
The CI workflow (.github/workflows/check.yml) runs all of these automatically on PRs.