Rust backend (axum/tokio): agent loop with streaming, tools (fs, bash, web_fetch, todo, ask_user, subagents, skills, craft snapshots/compare), permissions with modes and rules, Anthropic + OpenAI-compatible providers, MCP client (stdio/HTTP, elicitation), SQLite sessions, usage statistics, compaction, commented TOML config editable via toml_edit. React PWA: chat with live streaming, permission/question cards, modes (build/plan/craft), settings for providers/models/prices/MCP/permissions, raw config editor, statistics dashboard, i18n (en/de). Docker setup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
429 B
Bash
20 lines
429 B
Bash
# Access token for the web UI (required). Generate one with: openssl rand -hex 32
|
||
CODECRAFT_TOKEN=
|
||
|
||
# Directory with your projects, mounted as /workspace.
|
||
WORKSPACE=/home/zink/Projects
|
||
|
||
# Host port.
|
||
PORT=8787
|
||
|
||
# UID/GID that owns the project files (id -u / id -g).
|
||
UID=1000
|
||
GID=1000
|
||
|
||
# Provider keys – referenced in data/config.toml as ${NAME}.
|
||
ANTHROPIC_API_KEY=
|
||
GEMINI_API_KEY=
|
||
OPENCODE_API_KEY=
|
||
FAL_KEY=
|
||
OPENROUTER_API_KEY=
|