CLAUDE_BG_DISPATCHER_SUBSCRIPTION_TYPE
Updated by Alex Sorokoletov
CLAUDE_BG_DISPATCHER_SUBSCRIPTION_TYPE is a Claude Code environment variable. Added between v2.1.247 and v2.1.252 and still present in v2.1.295. It is not in the official reference.
| Status | Present in v2.1.295 |
|---|---|
| Added | Added between v2.1.247 and v2.1.252 |
| Category | Sessions |
| Official docs | Not listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_BG_DISPATCHER_SUBSCRIPTION_TYPE=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_BG_DISPATCHER_SUBSCRIPTION_TYPE": "<value>"
}
}Related variables
CLAUDE_CODE_REMOTE_ENVIRONMENT_TYPE: Remote environment type sent in telemetry.CLAUDE_BG_DISPATCHER_RATE_LIMIT_TIERCLAUDE_AUTO_BACKGROUND_TASKS: Enable automatic background task execution.CLAUDE_BG_BACKEND: Set to "daemon" to route background work through a daemon backend.CLAUDE_BG_ISOLATION: Isolation mode for background agent processes — controls how separated the daemon's process space is from the foreground session.CLAUDE_BG_RENDEZVOUS_SOCK: Socket path for the IPC channel between a foreground Claude session and the background daemon.CLAUDE_BG_SOURCE: Tags where a background job originated: CLI, SDK, Remote Control, another agent.CLAUDE_BG_STARTUP_WEDGE_MS: Startup jitter for background sessions.
Frequently asked questions
Which Claude Code version has CLAUDE_BG_DISPATCHER_SUBSCRIPTION_TYPE?
Added between v2.1.247 and v2.1.252 and still present in v2.1.295.
How do I set CLAUDE_BG_DISPATCHER_SUBSCRIPTION_TYPE?
Export it before starting Claude Code (export CLAUDE_BG_DISPATCHER_SUBSCRIPTION_TYPE=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.
All variables, searchable: Claude Code environment variables.