Configure attachment allowlist dirs

Add EJCLAW_ATTACHMENT_ALLOWED_DIRS for explicit local image folders while keeping outbound attachment validation strict.
This commit is contained in:
Eyejoker
2026-05-02 22:40:41 +09:00
committed by GitHub
parent 4859c58f48
commit a4b7aef3bd
4 changed files with 81 additions and 3 deletions

View File

@@ -36,6 +36,11 @@ STATUS_CHANNEL_ID= # Discord channel ID for live status updat
# STATUS_SHOW_ROOMS=true # Show room status in dashboard
# STATUS_SHOW_ROOM_DETAILS=false # Show detailed room info
# --- Discord image attachments ---
# Extra local directories that agents may attach from. Keep this narrow:
# prefer screenshot/output folders over /home. Comma or path-delimiter separated.
# EJCLAW_ATTACHMENT_ALLOWED_DIRS=~/Pictures/Screenshots,~/Downloads/ejclaw-images
# --- Codex warm-up (optional, disabled by default) ---
# Sends a tiny real Codex prompt only when both 5h and 7d usage are 0%, so
# reset countdown starts once after a fresh quota window. Keep disabled if