Merge PR #746: feat(cli,gateway): add user-defined quick commands that bypass agent loop

Authored by teyrebaz33. Adds config-driven quick commands that execute
shell commands without invoking the LLM — zero token usage, works from
Telegram/Discord/Slack/etc. Closes #744.
This commit is contained in:
teknium1 2026-03-11 00:24:34 -07:00
commit 3be6e8a5f2
4 changed files with 191 additions and 2 deletions

View file

@ -180,6 +180,8 @@ DEFAULT_CONFIG = {
# Permanently allowed dangerous command patterns (added via "always" approval)
"command_allowlist": [],
# User-defined quick commands that bypass the agent loop (type: exec only)
"quick_commands": {},
# Config schema version - bump this when adding new required fields
"_config_version": 6,