Gaunt Sloth Assistant - v1.5.6
    Preparing search index...

    Module @gaunt-sloth/review

    @gaunt-sloth/review

    Review and question-answering functionality for Gaunt Sloth.

    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/groq

    See @gaunt-sloth/core for the full list of supported providers.

    • 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

    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 --version

    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 123
    

    This 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.

    • @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.

    import { reviewModule } from '@gaunt-sloth/review/reviewModule.js';
    import { questionAnsweringModule } from '@gaunt-sloth/review/questionAnsweringModule.js';
    import { commandUtils } from '@gaunt-sloth/review/commandUtils.js';

    Modules

    commands/commandUtils
    helpers/jira/jiraClient
    index
    middleware/reviewRateMiddleware
    modules/questionAnsweringModule
    modules/reviewModule
    modules/types
    sources/fileSource
    sources/ghIssueSource
    sources/ghPrDiffSource
    sources/ghPrViewSource
    sources/jiraIssueLegacySource
    sources/jiraIssueSource
    sources/textSource
    sources/types
    utils/fileUtils