@gaunt-sloth/review
v0.1.4
Published
Review functionality for Gaunt Sloth
Downloads
894
Readme
@gaunt-sloth/review
Review and question-answering functionality for Gaunt Sloth.
Installation
This package does not include any AI provider packages. This is by design to keep the install minimal and avoid pulling in providers you don't use. Install the review package together with the provider required by your configuration:
# OpenRouter / OpenAI
npm install -g @gaunt-sloth/review @langchain/openai
# Google (Vertex AI / AI Studio)
npm install -g @gaunt-sloth/review @langchain/google
# Anthropic
npm install -g @gaunt-sloth/review @langchain/anthropic
# Groq
npm install -g @gaunt-sloth/review @langchain/groqSee @gaunt-sloth/core for the full list of supported providers.
Contents
- Review module (
reviewModule) — diff and content review orchestration - Question answering module (
questionAnsweringModule) - Command utilities (
commandUtils) - Content and requirement sources:
file,text,ghPrDiff,ghIssue,jiraIssue,jiraIssueLegacy - Jira client
- Review rate middleware
CLI
The package ships a standalone binary gaunt-sloth-review for CI-friendly reviews that does not depend on commander. This makes it suitable for embedding in pipelines where a minimal footprint is preferred.
gaunt-sloth-review <pr-number> [requirement-ids...]
gaunt-sloth-review --versionIdentity profiles
To use a different config profile (e.g. separate provider/auth for CI vs local),
set the GSLOTH_IDENTITY_PROFILE environment variable:
GSLOTH_IDENTITY_PROFILE=review gaunt-sloth-review 123This loads config from .gsloth-settings/review/ instead of the default
.gsloth/ directory. Useful when CI uses different credentials or a different
LLM provider than local development.
Dependencies
@gaunt-sloth/core(required)@gaunt-sloth/tools(optional peer dependency)
No MCP, no A2A, no commander. This is intentional to keep the package lightweight for CI use.
Exports
import { reviewModule } from '@gaunt-sloth/review/reviewModule.js';
import { questionAnsweringModule } from '@gaunt-sloth/review/questionAnsweringModule.js';
import { commandUtils } from '@gaunt-sloth/review/commandUtils.js';Related packages
@gaunt-sloth/core— Core utilities, config, and agent infrastructure@gaunt-sloth/tools— Built-in tools, filesystem toolkit, and middleware registry@gaunt-sloth/api— API server, AG-UI, MCP, and A2A integration@gaunt-sloth/review— Review and Q&A modules with standalone CLI (this package)gaunt-sloth-assistant— Main CLI application
