Add multi-account command ACL system

This commit is contained in:
Codex
2026-05-13 22:19:27 +02:00
commit 27b2760079
14 changed files with 1296 additions and 0 deletions

34
app/commands/__init__.py Normal file
View File

@@ -0,0 +1,34 @@
from app.commands.acl import RuntimeAclStore
from app.commands.builtins import DEFAULT_REGISTRY, command_registry
from app.commands.core import (
CheckResult,
CommandBuilder,
CommandCheck,
CommandContext,
CommandDefinition,
CommandRegistry,
combine_checks,
owner_only_check,
require_args_check,
require_reply_check,
shared_access_check,
)
from app.commands.dispatcher import CommandDispatcher
__all__ = [
"CheckResult",
"CommandBuilder",
"CommandCheck",
"CommandContext",
"CommandDefinition",
"CommandDispatcher",
"CommandRegistry",
"DEFAULT_REGISTRY",
"RuntimeAclStore",
"command_registry",
"combine_checks",
"owner_only_check",
"require_args_check",
"require_reply_check",
"shared_access_check",
]