diff --git a/docs/docker.md b/docs/docker.md index 1f87e324b..4d553536e 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -73,6 +73,7 @@ container. The gateway stays on your host, but the tool execution is isolated: - one container per session (hard wall) - per-session workspace folder mounted at `/workspace` - allow/deny tool policy (deny wins) +- inbound media is copied into the sandbox workspace (`media/inbound/*`) so tools can read it ### Default behavior diff --git a/docs/images.md b/docs/images.md index 467b28df7..d09936f2d 100644 --- a/docs/images.md +++ b/docs/images.md @@ -37,6 +37,7 @@ CLAWDBOT is now **web-only** (Baileys). This document captures the current media - When inbound web messages include media, CLAWDBOT downloads to a temp file and exposes templating variables: - `{{MediaUrl}}` pseudo-URL for the inbound media. - `{{MediaPath}}` local temp path written before running the command. +- When a per-session Docker sandbox is enabled, inbound media is copied into the sandbox workspace and `MediaPath`/`MediaUrl` are rewritten to a relative path like `media/inbound/`. - Audio transcription (if configured) runs before templating and can replace `Body` with the transcript. ## Limits & Errors