config | object | The current agent configuration |
config.logging.level | string | Log level (e.g. "info", "debug", "warn") |
config.agents.defaults.workspace | string | Path to the agent’s workspace directory |
config.agents.defaults.model.primary | string | Default AI model identifier |
config.agents.defaults.heartbeat.every | string | Heartbeat interval (e.g. "30m") |
config.agents.defaults.heartbeat.lightContext | boolean | Use lightweight context during heartbeat checks |
config.agents.defaults.heartbeat.isolatedSession | boolean | Run heartbeat checks in an isolated session |
config.tools.profile | string | Tool profile ("coding" for collective+ plans, "messaging" for solo) |
config.tools.exec.backgroundMs | number | Maximum time in milliseconds for background execution tasks |
config.tools.exec.timeoutSec | number | Maximum execution timeout in seconds |
config.tools.web.search.enabled | boolean | Whether web search is available to the agent |
config.tools.web.fetch.enabled | boolean | Whether web fetch is available to the agent |
config.tools.web.fetch.maxChars | number | Maximum characters returned from a web fetch |
config.gateway.bind | string | Gateway bind address (e.g. "lan" for all interfaces) |
config.gateway.auth.mode | string | Gateway authentication mode (e.g. "token") |
config.channels | object | Channel-specific settings |
config.channels.telegram.enabled | boolean | Whether the Telegram channel is active |
config.channels.telegram.dmPolicy | string | DM policy for Telegram ("pairing" or "allowlist") |
config.channels.discord.enabled | boolean | Whether the Discord channel is active |
config.channels.discord.dmPolicy | string | DM policy for Discord ("pairing" or "allowlist") |
config.channels.whatsapp.enabled | boolean | Whether the WhatsApp channel is active |
config.channels.whatsapp.dmPolicy | string | DM policy for WhatsApp ("pairing" or "allowlist") |
config.channels.webchat.enabled | boolean | Whether the webchat channel is active |
config.cron.enabled | boolean | Whether the cron scheduler is active |
config.cron.maxConcurrentRuns | number | Maximum concurrent cron job executions |
config.cron.sessionRetention | string | How long cron session data is retained |
config.session.scope | string | Session scope (e.g. "per-sender") |
config.session.reset.mode | string | Session reset mode (e.g. "daily") |
config.session.reset.atHour | number | Hour of day when daily session reset occurs (0-23) |
config.session.maintenance.mode | string | Maintenance mode ("warn" or "silent") |
config.session.maintenance.pruneAfter | string | Age after which sessions are eligible for pruning |
config.session.maintenance.maxEntries | number | Maximum number of session entries retained |
config.skills.install.nodeManager | string | Node package manager used for skill installation (e.g. "npm") |
backups | array | List of available backups (id and timestamp only) |
backups[].id | string | Unique backup identifier |
backups[].timestamp | string | ISO 8601 timestamp when the backup was created |