Namespace JD.AI.Core.Commands
Classes
- CommandContext
Context provided when a command is invoked.
- CommandParameter
A parameter definition for a channel command.
- CommandRegistry
Thread-safe in-memory command registry.
- CommandResult
Result returned by a command execution.
- GatewayCommandDispatcher
Shared command fast-path parser/executor for gateway channels. Keeps command dispatch logic centralized so channel adapters and bridge integrations can reuse one source of truth.
Structs
Interfaces
- IChannelCommand
Defines a single command that can be invoked from any channel.
- ICommandAwareChannel
Extended channel interface for channels that support native command registration (e.g., Discord slash commands, Slack /commands).
- ICommandRegistry
Registry of all available channel commands. Channel adapters query this to register platform-native commands.
Enums
- CommandParameterType
Supported parameter types for command arguments.