Configuration
Each Zekoder host reads its settings from config.json in its home directory. Most people never edit it: the app's Settings → your host pages change the same values.
Where config lives
The home directory is ~/.zekoder, so the file is ~/.zekoder/config.json. Change the home with the PASEO_HOME environment variable or --home on a CLI command. The daemon listens on port 6777 by default.
The managed daemon (started by the desktop app or zekoder daemon start) uses defaults, then config.json. A foreground daemon (zekoder daemon run, Docker) applies environment variables after the file. Lists such as hostnames and CORS origins append across sources.
{
"$schema": "https://docs.zekoder.com/schemas/zekoder.config.v1.json",
"version": 1,
"daemon": {
"listen": "127.0.0.1:6777",
"hostnames": ["localhost", ".localhost"],
"mcp": { "enabled": true }
}
}
The $schema line gives editors autocomplete and validation.
Edit and apply changes
zekoder daemon config get daemon.listen
zekoder daemon config set daemon.listen 127.0.0.1:6800
zekoder daemon config unset features.webUi.enabled
set parses its value as JSON, otherwise as a string; --string forces a string. Unknown paths and invalid values are rejected without writing. A successful edit saves the file and reloads a reachable daemon once. A stopped daemon reports saved; not applied. Edits never restart the daemon.
After editing the file by hand, reload it:
zekoder reload
The daemon validates the whole file, applies what is safe at runtime, and lists settings that need a restart. Then run zekoder daemon restart.
- Apply on reload: relay enablement, MCP, browser tools, hostnames, CORS origins, trusted proxies, agent and terminal profiles, provider definitions, metadata generation.
- Need a restart: listen addresses, authentication, relay endpoint and TLS, worktree location, service-proxy addresses, the bundled web UI, logging, speech and voice.
An environment variable or flag set at launch wins over the file. Reload reports such a setting under overrideControlledPaths. Relaunch the daemon without the override to make the file value apply.
Idle runtimes
Zekoder releases resumable idle agent processes after one hour. Your next prompt resumes the same conversation. Turn this off with Release idle agents in Settings → your host → Agents, or:
{ "agents": { "idleRuntimeCleanup": false } }
Active work, subagents, and pending finish notifications prevent cleanup.
Worktrees
New worktrees go under $PASEO_HOME/worktrees. Set worktrees.root to put them elsewhere. Relative paths resolve against the home. Existing worktrees stay where they are.
{ "worktrees": { "root": "/mnt/fast/zekoder-worktrees" } }
Per-project setup and teardown commands live in the project's zekoder.json; see Worktree setup and teardown.
Bundled web UI
The daemon can serve the browser client from its own HTTP server. It is off by default, except in the Docker image.
zekoder daemon config set features.webUi.enabled true
zekoder daemon restart
Open the daemon's address, for example http://localhost:6777/. Static files load without authentication; API and WebSocket requests still need the password if one is set.
Logging
The console logs info and above. The file $PASEO_HOME/daemon.log logs trace and above, rotating at 10 MB with three old files kept.
{
"log": {
"console": { "level": "info", "format": "pretty" },
"file": {
"level": "trace",
"path": "daemon.log",
"rotate": { "maxSize": "10m", "maxFiles": 3 }
}
}
}
Password
A password makes every HTTP and WebSocket client authenticate. Only /api/health stays open.
zekoder daemon set-password
zekoder daemon restart
This writes a bcrypt hash to config.json. For a foreground daemon you can set PASEO_PASSWORD instead; it is hashed at startup.
The CLI sends a password from the password query of a tcp:// host URI, otherwise from PASEO_PASSWORD:
zekoder --host "tcp://192.168.1.10:6777?password=my-secret" ls
PASEO_PASSWORD=my-secret zekoder --host 192.168.1.10:6777 ls
In the mobile app, enter the password on the direct connection screen.
Relay
daemon.relay.enabled defaults to true, and the daemon connects to relay.zekoder.com:443. When the daemon starts on a home that has it false and no relay-default.json, it turns it on once and writes that file beside config.json to remember why. A home that already has the file is never changed, so turning the relay off afterward sticks. If the setting was present at startup, removing it turns the relay off on the next reload, so set it explicitly when you edit.
Pairing links point at the Zekoder web app, app.baseUrl, which defaults to https://app.zekoder.com.
{
"daemon": {
"relay": { "enabled": true, "endpoint": "relay.example.com:443", "useTls": true }
}
}
A paired app keeps the relay it was paired with; changing the daemon's relay does not move it. See Remote host for pairing.
Environment variables
| Variable | Effect |
|---|---|
PASEO_HOME | Home directory. |
PASEO_HOST | Daemon the CLI targets. |
PASEO_PASSWORD | Daemon: password to require. CLI: password to connect with. |
PASEO_LISTEN | Overrides daemon.listen. |
PASEO_HOSTNAMES | Extends daemon.hostnames. |
PASEO_RELAY_ENABLED | Enables or disables the relay for this launch. |
PASEO_RELAY_ENDPOINT, PASEO_RELAY_USE_TLS | Override the relay endpoint and TLS. |
PASEO_WEB_UI_ENABLED | Enables the daemon-served web UI. |
PASEO_TRUSTED_PROXIES | Reverse proxy ranges trusted for X-Forwarded-* headers. |
PASEO_LOG_CONSOLE_LEVEL, PASEO_LOG_FILE_LEVEL, PASEO_LOG_FILE_PATH | Override the matching log.* settings. |
PASEO_LOCAL_MODELS_DIR | Directory for local speech models. |
OPENAI_API_KEY | Fallback key for speech-to-text and text-to-speech. |