surfaces/.env.example
Александра Пронина b74277a189 feat(max-bot): implement mock-based message flow with WIP file queue
- MAX API integration (long polling)
- MockPlatformClient for agent simulation
- File download & workspace storage
- Basic commands: /help, /start
- Attachment queue: add works, list/remove need testing

[WIP: attachment queue commands]
[MOCK-ONLY: requires real agent for production]
2026-05-25 16:51:48 +03:00

38 lines
No EOL
1.5 KiB
Text

# Matrix bot credentials
MATRIX_HOMESERVER=https://matrix.example.org
MATRIX_USER_ID=@lambda-bot:example.org
# Use ONE of: MATRIX_PASSWORD or MATRIX_ACCESS_TOKEN
MATRIX_PASSWORD=your_password_here
# MATRIX_ACCESS_TOKEN=your_access_token_here
# Backend: "real" connects to platform-agent via AgentApi; "mock" uses local stub (testing only)
MATRIX_PLATFORM_BACKEND=real
# Published surface image used by docker-compose.prod.yml.
# Must point to a Docker Hub/registry namespace where you have push/pull access.
SURFACES_BOT_IMAGE=mput1/surfaces-bot:latest
# platform/agent_api ref used when building a surface image
LAMBDA_AGENT_API_REF=master
# Path to agent registry inside the container (mounted via ./config:/app/config:ro)
MATRIX_AGENT_REGISTRY_PATH=/app/config/matrix-agents.yaml
# HTTP URL of the platform-agent endpoint
# Production: external agent managed by the platform
# Fullstack E2E: overridden to http://platform-agent:8000 by docker-compose.fullstack.yml
AGENT_BASE_URL=http://your-agent-host:8000
# Shared volume path inside the bot container (default: /agents).
# For multi-agent production, each agent gets a subdirectory such as /agents/0.
SURFACES_WORKSPACE_DIR=/agents
# Docker volume names (created automatically on first run)
SURFACES_SHARED_VOLUME=surfaces-agents
SURFACES_BOT_STATE_VOLUME=surfaces-bot-state
# MAX Surface
MAX_BOT_TOKEN=real_max_token
MAX_API_URL=https://platform-api.max.ru
MAX_AGENT_REGISTRY_PATH=/app/config/max-agents.yaml
MAX_PLATFORM_BACKEND=mock # ← ДОБАВИТЬ: "mock" для локалки, "real" для прода