Code/SboxSuperuser/Engine/ChatIntegration/IChatCommandIngress.cs

An internal interface in the chat integration engine. Declares a chat command ingress with an ownership check and an async execute method that takes an authentication callback, message, request id and cancellation token.

namespace SboxSuperuser.Engine.ChatIntegration;

internal interface IChatCommandIngress
{
	bool Owns( string message );
	Task<CommandResult> ExecuteAsync( Func<ActorIdentity> authenticate, string message, Guid requestId, CancellationToken cancellation );
}