feat(cron): add cron.wrap_response config to disable delivery wrapping (#3807)

Adds a config option to suppress the header/footer text that wraps
cron job responses when delivered to messaging platforms.

Set cron.wrap_response: false in config.yaml for clean output without
the 'Cronjob Response: <name>' header and 'The agent cannot see this
message' footer.  Default is true (preserves current behavior).
This commit is contained in:
Teknium
2026-03-29 16:31:01 -07:00
committed by GitHub
parent 0ef80c5f32
commit df806bdbaf
3 changed files with 55 additions and 11 deletions

View File

@@ -429,6 +429,12 @@ DEFAULT_CONFIG = {
},
},
"cron": {
# Wrap delivered cron responses with a header (task name) and footer
# ("The agent cannot see this message"). Set to false for clean output.
"wrap_response": True,
},
# Config schema version - bump this when adding new required fields
"_config_version": 10,
}