LogoRobo.js
Packages@robojs/ai

PluginOptions

Interface: PluginOptions

Plugin configuration structure resolved during initialization.

Properties

PropertyTypeDescription
commands?boolean | string[]Command allow/deny list configuration.
context?{ depth: number; enabled: boolean; }Surrounding context configuration for understanding ongoing conversations.
context.depth?numberNumber of recent messages to fetch for context. Default: 8
context.enabled?booleanEnable surrounding channel context when mentioned. Default: true
engine?BaseEngineCustom AI engine instance to override defaults.
hooks?Partial<Record<HookEvent, Hook>>Hooks to run during engine orchestration events.
insight?booleanEnables vector store insights synchronisation.
instructions?stringSystem instructions injected into AI prompts.
mcp?{ baseDelayMs: number; extraRetries: number; gracefulDegradation: boolean; maxDelayMs: number; }MCP error handling configuration.
mcp.baseDelayMs?numberBase delay in milliseconds for exponential backoff. Default: 500
mcp.extraRetries?numberNumber of extra retry attempts before degrading. Default: 1
mcp.gracefulDegradation?booleanEnable graceful degradation by removing MCP tools on persistent failures. Default: true
mcp.maxDelayMs?numberMaximum delay in milliseconds for exponential backoff. Default: 2000
mcpServers?MCPTool[]MCP (Model Context Protocol) server configurations for tool integration.
restrict?{ channelIds: string[]; }Channel restriction settings limiting where the bot responds.
restrict.channelIdsstring[]-
usage?PluginUsageOptionsToken usage tracking configuration.
voice?VoicePluginVoiceOptionsVoice feature configuration delegated to the voice manager.
whitelist?{ channelIds: string[]; }Whitelist of channels where the bot can respond freely.
whitelist.channelIdsstring[]-

On this page