You’re viewing the v1.5.8 (legacy) docs. Go to the latest docs →
Gaunt Sloth Assistant
    Preparing search index...

    Module @gaunt-sloth/tools

    @gaunt-sloth/tools

    ⚠️ Deprecated. This package belongs to the gaunt-sloth 1.x line. In v2 its tools and middleware are consolidated into @gaunt-sloth/agent; it will receive no further updates.

    Migrating imports — the same modules live under @gaunt-sloth/agent:

    // v1 (@gaunt-sloth/tools)                                   → v2 (@gaunt-sloth/agent)
    import { resolveMiddleware } from '@gaunt-sloth/tools/middleware/registry.js';
    import { resolveMiddleware } from '@gaunt-sloth/agent';

    import GthFileSystemToolkit from '@gaunt-sloth/tools/tools/GthFileSystemToolkit.js';
    import GthFileSystemToolkit from '@gaunt-sloth/agent/tools/GthFileSystemToolkit.js';

    Some APIs were reorganised in v2 (e.g. builtInToolsConfigAVAILABLE_BUILT_IN_TOOLS / getDefaultTools) — see https://gauntsloth.app/docs/. Site & docs: https://gauntsloth.app · Source: https://github.com/pukeko-robotics/gaunt-sloth

    Tools and middleware for Gaunt Sloth.

    • Built-in tools configuration (builtInToolsConfig)
    • Filesystem toolkit (GthFileSystemToolkit) — provides read/write/glob/grep tools controlled by .aiignore
    • Custom tools (GthCustomToolkit) — executes user-defined shell commands from config
    • Dev tools (GthDevToolkit) — tools for development and coding sessions
    • Status update tool
    • Web fetch tool
    • Binary content injection middleware
    • Middleware registry (resolveMiddleware) and types
    • @gaunt-sloth/core
    import { builtInToolsConfig } from '@gaunt-sloth/tools/builtInToolsConfig.js';
    import { resolveMiddleware } from '@gaunt-sloth/tools/middleware/registry.js';

    Modules

    builtInToolsConfig
    GthDevToolkit
    index
    middleware/binaryContentInjectionMiddleware
    middleware/registry
    middleware/types
    tools/binaryUtils
    tools/GthCustomToolkit
    tools/GthFileSystemToolkit
    tools/gthStatusUpdateTool
    tools/gthWebFetchTool
    utils/aiignoreUtils