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

    Interface CustomCommandConfig

    Configuration for a custom command. Custom commands can be executed with or without parameters.

    interface CustomCommandConfig {
        command: string;
        description: string;
        parameters?: Record<string, CustomCommandParameter>;
    }
    Index

    Properties

    command: string

    The shell command to execute. Can include placeholders like ${paramName} that will be replaced with parameter values. If no placeholder is present and parameters are provided, they are appended to the command.

    description: string

    Description of what this command does, shown to the model.

    parameters?: Record<string, CustomCommandParameter>

    Optional parameters that the model can provide when calling this command. Each parameter has a name (the key) and a description. Parameters are validated for security (no shell injection, directory traversal, etc.).