Environment variables
Kasm Session Runtime takes its settings from the environment: which app, which model endpoint, which agent, where the output goes, how long a run may take, and how the runtime can be reached. Whoever launches the run sets them, whether an orchestrator, a CI job, a Kasm workspace’s environment settings or a person at a shell.
The runtime’s own variables start with KASM_RUNTIME_. Connection and image variables also use other prefixes; they are listed below.
Value parsing
Section titled “Value parsing”- Booleans take these spellings:
1,t,T,TRUE,true,True, and0,f,F,FALSE,false,False. Anything else logs a warning and the variable is treated as unset. - An empty variable counts as unset, except for the list variables noted below, where setting a variable to nothing clears the list.
- Some bad values stop the run before it starts; the rows say which. Every other bad value logs a warning and keeps the default.
KASM_RUNTIME_CONFIG_STRICT=truemakes those warnings fatal too.
Run settings
Section titled “Run settings”| Variable | Default | What it does | When to change it |
|---|---|---|---|
KASM_RUNTIME_APP |
required for run |
Names the app under test. Fills in the scenario’s app, window and process when the scenario leaves them out, and names the report. Under mcp it is optional and defaults to session |
Always, for run and the no-argument invocation |
KASM_RUNTIME_SCENARIO_B64 |
empty | The scenario YAML, base64-encoded, for the no-argument invocation. Empty means the default scenario: launch, settle, one observation, verdict, no steps. Under mcp it only supplies declared names. run ignores it |
When the orchestrator cannot mount a scenario file |
KASM_RUNTIME_OUT |
/testbench/out |
The directory the report, trace, screenshots, log tails and DONE are written to. Must be writable. One live process at a time holds it; see Output directory lock |
When the host mounts output somewhere else, or a second run needs its own directory |
KASM_RUNTIME_BASELINE |
/testbench/baseline |
A read-only directory of known-good screenshots (good-*.png or good-*.jpg). It may be missing; the run then saves a candidate for a person to promote |
When baselines live elsewhere |
KASM_RUNTIME_DEADLINE_S |
600 |
The run’s time limit in seconds. The last timing.lifecycle.wrap_up_reserve_s (30 by default) is kept for diagnosis and the report. Under run it bounds all the scenario files together. Under mcp there is no limit unless you set this. Not a positive integer: fatal |
Raise it for long installs or remediation loops, lower it to fail fast in CI, set it under mcp for a maximum server lifetime |
DISPLAY |
:1 |
The X display to capture from and inject into | Only when the session’s display is not :1 |
Vision model settings
Section titled “Vision model settings”A model is optional. With KASM_RUNTIME_VISION_ENDPOINT empty the runtime runs in deterministic-only mode: the window and process probes own the verdict, screenshots are still taken, and a step that needs visual judgement is recorded as not judged. Scripted steps, cdp_* browser steps, postconditions other than screen, plans, recipes, and an outside agent driving the session over MCP all work without one. A goal: scenario and click_grounded need an endpoint. The vision methods screen.judge, screen.ground and screen.ask need an endpoint, or a signed-in Claude Code agent in the workspace; see Agent settings. See When you need a model.
The same endpoint is used for judging screenshots, for locating things on screen and for the runtime’s own loop. Any OpenAI-compatible chat-completions server works, local or hosted. Gemma 4 is a model that works well.
| Variable | Default | What it does | When to change it |
|---|---|---|---|
KASM_RUNTIME_VISION_ENDPOINT |
empty | Base URL of an OpenAI-compatible server, for example http://host:8001/v1. Empty means deterministic-only mode |
Whenever runs should judge screenshots, ground clicks or pursue a goal |
KASM_RUNTIME_VISION_MODEL |
qwen3-vl-4b |
The model name sent with each request. It implies nothing about image shape or answer format | Set it to the name your server uses |
KASM_RUNTIME_VISION_API_KEY |
empty | Sent as Authorization: Bearer <key>. Never logged; redacted from every report and trace |
Only for a hosted API that needs a key |
KASM_RUNTIME_VISION_CAPTURE_GEOMETRY |
native |
The shape of the screenshot sent to the model: native sends the session’s pixels as captured, square-padded centres them on a black square. Any other value: fatal |
When the model expects square images. See Vision models |
KASM_RUNTIME_VISION_ANSWER_CONVENTION |
point |
What the model is asked to return when locating something: a point or a box2d bounding box. Any other value: fatal |
When the model answers better in the other form |
KASM_RUNTIME_VISION_GROUNDING_SCALE |
1000 |
The size of the normalised grid the model answers in, on each axis: coordinates run from 0 to this number. A wrong value gives no error; clicks land in the wrong place. Not a positive integer: fatal | Only for a model that answers in another range. Check the model’s documentation |
The three vision-format settings are independent of the model name, so any model can use any combination.
Browser connection settings
Section titled “Browser connection settings”| Variable | Default | What it does | When to change it |
|---|---|---|---|
KASM_RUNTIME_CDP_ENDPOINT |
http://127.0.0.1:9222; on a nix image, the port APP_ARGS fixes with --remote-debugging-port, else empty |
The browser’s debugging endpoint, used by scenarios with cdp: true and listed by the dom.* methods as the application named default. It speaks Chrome DevTools Protocol for Chromium-family browsers and WebDriver BiDi for Firefox, and the runtime detects which. Must be a loopback address unless KASM_RUNTIME_CDP_ALLOW_REMOTE is set; otherwise fatal. Set to the empty string, there is no default |
When the browser listens on a port the default does not name, or to drop the fixed endpoint |
KASM_RUNTIME_CDP_REGISTRY_DIR |
$XDG_RUNTIME_DIR/kasm-session-runtime/cdp |
The directory where the image’s launcher registers the applications it starts, one record per application, which dom.targets lists. With neither this nor XDG_RUNTIME_DIR set, the runtime has no registry and dom.targets says so |
When the image sets no XDG_RUNTIME_DIR, or the launcher writes its records elsewhere |
KASM_RUNTIME_CDP_ALLOW_REMOTE |
false |
Permits a debugging endpoint that is not on the loopback interface. The runtime still refuses redirects and targets advertised on a different host | Only to drive a browser in another container on purpose |
Agent settings
Section titled “Agent settings”These choose the agent that runs inside a workspace and where the vision fallback gets its model. An image’s launcher normally sets them from the workspace’s launch settings; see Offer an agent in a workspace.
| Variable | Default | What it does | When to change it |
|---|---|---|---|
KASM_RUNTIME_AGENT |
unset | Who drives the session. local starts a coding agent inside the session. remote expects an agent outside, calling in with the session token. none offers neither. Unset behaves as remote when KASM_RUNTIME_SESSION_TOKEN is set and as none otherwise. Any other value disables the agent |
To offer an agent in a workspace, set local |
KASM_RUNTIME_HARNESS |
auto |
With KASM_RUNTIME_AGENT=local, which agent to start: auto, claude (Claude Code), codex (Codex) or opencode (OpenCode). auto uses the agent the person chose last, the only one the image has, or asks them to choose when there are several. A named agent that the image does not have is reported as unavailable, and the runtime does not start another. An invalid value stops the agent from starting. Ignored unless KASM_RUNTIME_AGENT=local |
To fix a workspace to one agent |
KASM_RUNTIME_HERDR_SESSION |
kasm-agent |
The name of the terminal session that holds the agent’s terminal | Rarely |
KASM_RUNTIME_HARNESS_VISION |
empty (on) | off stops screen.judge, screen.ask and screen.ground (and recipe perception) answering through a one-shot call to the signed-in Claude Code agent when no vision endpoint is set. That call sends the frame to Claude Code’s model provider on the user’s credential. Codex and OpenCode do not answer these methods |
To keep desktop frames from leaving the session through the agent |
KASM_RUNTIME_HARNESS_VISION_MODEL |
claude-haiku-5-5 |
The Claude model for those one-shot calls | When the account offers another model to use |
KASM_RUNTIME_COORDINATES |
empty | agent selects the 1280×800 agent canvas for the stdio transport and for recipes run, which sends it as the X-Kasm-Runtime-Coordinates header. Empty or screen keeps screen pixels. See coordinate spaces |
Set by the managed Claude Code launcher |
KASM_RUNTIME_AGENT_SPACE |
empty | off refuses every request for the agent canvas, so its coordinates are never read as screen pixels |
To rule the agent canvas out on a workspace |
With an endpoint set, the runtime always uses it, even when the endpoint is failing.
Operator tuning
Section titled “Operator tuning”| Variable | Default | What it does | When to change it |
|---|---|---|---|
KASM_RUNTIME_CONFIG_FILE |
empty | Path to the operator file. A named file that cannot be read or decoded is fatal | When a deployment tunes loop budgets, sampling, reply caps, timing or evidence sizes |
KASM_RUNTIME_CONFIG_STRICT |
false |
Makes every configuration warning fatal, listing them all | In CI, and wherever running on a default you did not choose is worse than not running |
Every operator-file leaf also has its own override, listed below.
MCP, HTTP and the sidebar
Section titled “MCP, HTTP and the sidebar”These apply to mcp and to the read-only observe routes the in-session sidebar watches.
| Variable | Default | What it does | When to change it |
|---|---|---|---|
KASM_RUNTIME_SESSION_TOKEN |
empty | Switches mcp from stdio to HTTP. Every acting request (MCP methods, the HTTP API, the DevTools proxy) must carry it in the X-Kasm-Runtime-Session-Token header, and in no other way. Redacted from every report and trace |
When a caller outside the container drives the session through Kasm’s port map |
KASM_SESSION_RUNTIME_PORT |
9434 |
The port the HTTP transport and the observe listener bind. Note the word order. Not a port number: warning, default kept | Only when the workspace’s port map registers another port. The port map is named runtime |
KASM_RUNTIME_BIND_ADDR |
0.0.0.0 |
The interface those listeners bind. Kasm’s port-map proxy needs the default | 127.0.0.1 when a proxy on the same host fronts the runtime |
KASM_RUNTIME_OBSERVE |
false |
Under run and the no-argument invocation, also serve GET /events (a live copy of trace.jsonl) and GET /artifacts/<file> (the output directory) for the run’s lifetime. mcp serves them whenever HTTP is on |
When the sidebar or another viewer should watch a scripted run |
KASM_RUNTIME_OBSERVE_TOKEN_REQUIRED |
false |
Makes the observe routes and inbox reads require a token: the session token in the header, or the messaging token (KASM_RUNTIME_INBOX_TOKEN) in the header or as a token query parameter. With neither token set they refuse every request. In a Kasm session (KASM_ID set) this is always on |
When the port is reachable from other containers or hosts |
KASM_RUNTIME_OBSERVE_INPUT |
false |
Records every key and button event the session receives, from any source, as input trace events. Key events carry no key or text while the runtime itself is typing. Forces KASM_RUNTIME_OBSERVE_TOKEN_REQUIRED on |
When a test drives the session from outside and needs proof its input arrived |
KASM_RUNTIME_INBOX_TOKEN |
empty | The messaging credential for the routes a person or backend uses to talk to a running session: post messages and replies, upload attachments, and issue stop and finish_intervention. With neither this nor the session token set, there is no inbox. Redacted from every report and trace |
When a person or a backend should be able to talk to a running session. See Sidebar protocol |
KASM_ENABLE_CDP |
false |
Under mcp over HTTP, also mounts a raw debugging proxy at /cdp/<name>/, one route per application dom.targets lists, gated by the session token. Ignored, with a log line, without a session token. It refuses a Firefox registration |
When a client such as Playwright needs the whole protocol |
KASM_RUNTIME_MCP_LOCALHOST_PROTECTION |
false |
Makes /mcp require a localhost Host header, a guard against DNS rebinding. Kasm’s proxy never sends one, so turning this on behind the proxy rejects every request |
Only when serving /mcp directly to a browser on the same machine |
KASM_RUNTIME_UPLOAD_MAX_BYTES |
1G |
The most one upload may carry (PUT /v1/files/, or a PUT /v1/dirs/ archive as sent). A byte count or a K, M or G binary suffix. Not a positive size: fatal |
When larger files must go in |
KASM_RUNTIME_EXTRACT_MAX_BYTES |
1G |
The most one uploaded archive may extract to. Same format and rule | When archives legitimately expand beyond it |
KASM_RUNTIME_DOWNLOAD_MAX_BYTES |
1G |
The most one directory download (GET /v1/dirs/) may read. Same format and rule |
When larger directories must come out |
The routes are in HTTP API, MCP methods and Sidebar protocol.
Sidebar
Section titled “Sidebar”| Variable | Default | What it does | When to change it |
|---|---|---|---|
KASM_RUNTIME_SIDEBAR |
empty | Selects the sidebar the viewer loads. A name selects a sidebar installed beside the stock viewer (default is the bundled one); off is the stock viewer. Empty means the bundled sidebar in a session that has a session token or KASM_RUNTIME set to 1, true, on or yes, and the stock viewer otherwise. A name that is malformed or not installed gives the stock viewer, with a log line. The image’s launcher reads it before the viewer starts, and the runtime reads it to find the sidebar’s token file |
off for a session where a person should not see the panel; a name for a sidebar of your own. See Replace the sidebar |
KASM_RUNTIME_SIDEBAR_TOKEN_TTL |
5m |
How long the generated sidebar token stays available for the viewer to fetch. The sidebar removes it as soon as it connects, so this is the limit when no viewer connects. A Go duration such as 90s or 10m. Zero, negative or unreadable: no token file is published and the sidebar cannot connect |
When a viewer may open a long time after the session starts |
KASM_SIDEBAR_ROOT |
/usr/share/kasmvnc-sidebars |
Where named sidebars are installed | Only when an image installs them elsewhere |
Recipes
Section titled “Recipes”| Variable | Default | What it does | When to change it |
|---|---|---|---|
KASM_RUNTIME_RECIPES_DIR |
~/.local/share/kasm-session-runtime/recipes |
The user’s recipe directory. Packages here are added to the bundled recipes, and a package with the same operation ID replaces the bundled one. recipes check reads it when given no directory |
When recipes live elsewhere, such as on a mounted volume |
KASM_RUNTIME_RECIPE_WORKER |
empty | An absolute path to a recipe worker executable, with its library beside it. Empty means the worker installed with the runtime. Ownership and mode are checked; the file’s hash is not | For development of the worker itself |
KASM_RUNTIME_HELPER_TOOL_PATH |
the nix profile bin directories, /run/current-system/sw/bin, /usr/local/bin, /usr/bin, /bin |
A colon-separated list of directories where a recipe’s helper programs are looked up by name. The caller’s PATH is never used |
When an image keeps its tools somewhere else |
KASM_RUNTIME_RECIPES_SEED |
empty | Deprecated. A directory copied to the user’s recipe directory once, when that directory does not exist. The copy then overrides the bundled recipes after every runtime upgrade. The runtime logs a deprecation line | Leave it unset. Bundled recipes need no seeding |
Secrets and redaction
Section titled “Secrets and redaction”A scenario references a secret as $NAME in a type step, a cdp_fill value or a provides: value. The runtime expands it when the step runs. See Secrets and evidence.
| Variable | Default | What it does | When to change it |
|---|---|---|---|
KASM_RUNTIME_SECRET_* |
none | Any variable with this prefix is a secret: its value is replaced with [REDACTED] in the report, the trace and log output |
Name every credential a scenario types this way |
KASM_RUNTIME_REDACT_ENV |
empty | A comma-separated list of further variable names whose values are redacted the same way. Names only; the values are never logged | When an orchestrator injects a credential under a name of its own |
VNC_PW and VNC_VIEW_ONLY_PW, the vision API key, the session token and the inbox token are always redacted. Screenshots are not redacted: a secret visible on screen is in the image.
KASM_RUNTIME_DISABLE_A11Y is also read directly by the accessibility backend. Values 1, true, on and yes, ignoring case, prevent it from switching accessibility on. This does not remove a tree an application already publishes. Use atspi: false in the scenario to prevent accessibility calls altogether.
Session layout
Section titled “Session layout”Read by layout save and layout restore (see Command line), which run in desktop images only and read no other runtime setting.
| Variable | Default | What it does | When to change it |
|---|---|---|---|
KASM_LAYOUT_RESTORE |
unset | 0, false, no or off, in any case, turns both into a logged no-op that exits 0. Nothing is saved or restored, and the layout file is left as it is |
For a session that should start with the desktop as the image has it |
Provided by the session
Section titled “Provided by the session”The runtime reads these when the session provides them. There is nothing to set.
| Variable | What the runtime does with it |
|---|---|
KASM_ID |
Set by Kasm in every session. The debugging proxy needs it to give out addresses that work from outside, and its presence makes the sidebar’s routes require a token |
XDG_RUNTIME_DIR |
Where the runtime looks for the image’s agent inventory and the browser registry |
DBUS_SESSION_BUS_ADDRESS |
Where the session bus is, for reaching applications over AT-SPI. The runtime can find the bus without it |
XAUTHORITY |
Read by input observation |
KASM_MOBILE_DETECT |
0 turns off the mobile emulation extension’s host (viewer-host) |
Read by the image’s scripts
Section titled “Read by the image’s scripts”The image reads these before the viewer starts. The runtime binary ignores them, apart from the sidebar settings above.
| Variable | Default | What it does |
|---|---|---|
KASM_RUNTIME |
unset | 1, true, on or yes marks the session as runtime-driven. The image then offers the bundled sidebar unless KASM_RUNTIME_SIDEBAR says otherwise |
KASM_RUNTIME_A11Y_LEVEL |
complete |
Current nix launchers: accessibility detail for Electron apps and other Chromium embedders, basic, form-controls or complete. Browsers use the debugging protocol. Invalid values fall back to complete. Keep complete: at form-controls actions on web content do nothing. At complete VS Code switches to its screen reader optimized mode. The stock SDK layer does not set this flag |
KASM_RUNTIME_SCREEN_SIZE |
1024x768 with KASM_RUNTIME_VISION_ENDPOINT set, otherwise off |
The screen size, <W>x<H> with sides from 1 to 16384, in place of VNC_RESOLUTION. off uses the image’s usual size. A value it cannot read is logged and ignored |
VNC_FIXED_RESOLUTION |
refused with KASM_RUNTIME_VISION_ENDPOINT set, otherwise allowed |
Viewer resizes: 1, true, yes or on refuses them; 0, false, no or off allows them |
Operator-file overrides
Section titled “Operator-file overrides”Each leaf of the operator file can be set on its own as KASM_RUNTIME_<BLOCK>_<FIELD>, upper-cased, with nested blocks joined the same way. The environment wins over the file, and the file over the default. Defaults and meanings are on the operator-file page. List leaves take comma-separated values, and setting one to nothing clears it.
| Block | Variables |
|---|---|
runner |
KASM_RUNTIME_RUNNER_MAX_ITERATIONS, KASM_RUNTIME_RUNNER_MAX_RETRIES_PER_STEP, KASM_RUNTIME_RUNNER_MAX_TOOL_ERRORS, KASM_RUNTIME_RUNNER_REASONING_REPLAY, KASM_RUNTIME_RUNNER_RESCUE_ENABLED, KASM_RUNTIME_RUNNER_RESPOND, KASM_RUNTIME_RUNNER_MAX_HOLD_S, KASM_RUNTIME_RUNNER_ESCALATION_PAUSE_S, KASM_RUNTIME_RUNNER_GROUNDING_ATTEMPTS, KASM_RUNTIME_RUNNER_MAX_CONTEXT_RECOVERIES, KASM_RUNTIME_RUNNER_WAIT_TOOL_MAX_S, KASM_RUNTIME_RUNNER_ASK_HUMAN_BUDGET_S, KASM_RUNTIME_RUNNER_ASK_HUMAN_TIMEOUT_S |
sampling |
KASM_RUNTIME_SAMPLING_TEMPERATURE, KASM_RUNTIME_SAMPLING_TOP_P, KASM_RUNTIME_SAMPLING_TOP_K, KASM_RUNTIME_SAMPLING_MIN_P |
function_calling |
KASM_RUNTIME_FUNCTION_CALLING |
context |
KASM_RUNTIME_CONTEXT_STRATEGY, KASM_RUNTIME_CONTEXT_BUDGET_TOKENS, KASM_RUNTIME_CONTEXT_KEEP_RECENT, KASM_RUNTIME_CONTEXT_PHASE_THRESHOLDS (list), KASM_RUNTIME_CONTEXT_WARN_AT (list), KASM_RUNTIME_CONTEXT_CHARS_PER_TOKEN, KASM_RUNTIME_CONTEXT_COMPACT_TRUNCATE_CHARS |
max_tokens |
KASM_RUNTIME_MAX_TOKENS_JUDGE, KASM_RUNTIME_MAX_TOKENS_TOOLS |
model |
KASM_RUNTIME_MODEL_TIMEOUT_S, KASM_RUNTIME_MODEL_ATTEMPTS, KASM_RUNTIME_MODEL_BACKOFF_S, KASM_RUNTIME_MODEL_DISABLE_AFTER |
baseline |
KASM_RUNTIME_BASELINE_SIMILAR_MAX, KASM_RUNTIME_BASELINE_DRIFTED_MAX |
findings |
KASM_RUNTIME_FINDINGS_UPDATER_MARKERS (list), KASM_RUNTIME_FINDINGS_FIRST_RUN_MARKERS (list), KASM_RUNTIME_FINDINGS_ERROR_DIALOG_MARKERS (list) |
timing.input |
KASM_RUNTIME_TIMING_INPUT_ACTIVATE_SETTLE_MS, KASM_RUNTIME_TIMING_INPUT_KEYSTROKE_MS, KASM_RUNTIME_TIMING_INPUT_KEY_HOLD_MS, KASM_RUNTIME_TIMING_INPUT_CLICK_MS, KASM_RUNTIME_TIMING_INPUT_CHORD_SETTLE_MS, KASM_RUNTIME_TIMING_INPUT_DRAG_STEP_MS, KASM_RUNTIME_TIMING_INPUT_SCROLL_NOTCH_MS |
timing.settle |
KASM_RUNTIME_TIMING_SETTLE_POLL_MS, KASM_RUNTIME_TIMING_SETTLE_MAX_CHANGED_FRACTION, KASM_RUNTIME_TIMING_SETTLE_MAX_S, KASM_RUNTIME_TIMING_SETTLE_POST_POLL_MS, KASM_RUNTIME_TIMING_SETTLE_KILL_SETTLE_MS |
timing.cdp |
KASM_RUNTIME_TIMING_CDP_DIAL_S, KASM_RUNTIME_TIMING_CDP_CALL_S, KASM_RUNTIME_TIMING_CDP_RESPONSE_S, KASM_RUNTIME_TIMING_CDP_RESOLVE_S, KASM_RUNTIME_TIMING_CDP_POLL_MS, KASM_RUNTIME_TIMING_CDP_DEFAULT_WAIT_S, KASM_RUNTIME_TIMING_CDP_READ_LIMIT_MIB |
timing.atspi |
KASM_RUNTIME_TIMING_ATSPI_PROBE_BUDGET_S, KASM_RUNTIME_TIMING_ATSPI_PROBE_APP_WAIT_S, KASM_RUNTIME_TIMING_ATSPI_APP_WAIT_AFTER_ENABLE_S, KASM_RUNTIME_TIMING_ATSPI_ACTION_BUDGET_S, KASM_RUNTIME_TIMING_ATSPI_ACTION_APP_WAIT_S, KASM_RUNTIME_TIMING_ATSPI_MAX_NODES, KASM_RUNTIME_TIMING_ATSPI_MAX_DEPTH, KASM_RUNTIME_TIMING_ATSPI_MAX_ACTIONABLE, KASM_RUNTIME_TIMING_ATSPI_EVENT_QUIET_MS, KASM_RUNTIME_TIMING_ATSPI_EVENT_WAIT_MAX_MS, KASM_RUNTIME_TIMING_ATSPI_WALK_IN_FLIGHT |
timing.lifecycle |
KASM_RUNTIME_TIMING_LIFECYCLE_RUN_BOOT_TIMEOUT_S, KASM_RUNTIME_TIMING_LIFECYCLE_MCP_BOOT_TIMEOUT_S, KASM_RUNTIME_TIMING_LIFECYCLE_WRAP_UP_RESERVE_S, KASM_RUNTIME_TIMING_LIFECYCLE_WINDOW_ONLY_GRACE_S, KASM_RUNTIME_TIMING_LIFECYCLE_CRASH_RECHECK_DWELL_S, KASM_RUNTIME_TIMING_LIFECYCLE_CRASH_RESCAN_S |
evidence |
KASM_RUNTIME_EVIDENCE_SHELL_OUTPUT_CHARS, KASM_RUNTIME_EVIDENCE_TOOL_RESULT_CHARS, KASM_RUNTIME_EVIDENCE_PAGE_TEXT_CHARS, KASM_RUNTIME_EVIDENCE_PAGE_ELEMENTS, KASM_RUNTIME_EVIDENCE_ELEMENT_TEXT_CHARS, KASM_RUNTIME_EVIDENCE_LISTED_CANDIDATES, KASM_RUNTIME_EVIDENCE_ACCESSIBLE_NAME_CHARS, KASM_RUNTIME_EVIDENCE_LOG_TAIL_LINES, KASM_RUNTIME_EVIDENCE_REPORT_LOG_LINES, KASM_RUNTIME_EVIDENCE_JPEG_QUALITY, KASM_RUNTIME_EVIDENCE_TRACE_REPLAY_EVENTS, KASM_RUNTIME_EVIDENCE_INBOX_MESSAGE_CHARS, KASM_RUNTIME_EVIDENCE_INBOX_ATTACHMENT_BYTES, KASM_RUNTIME_EVIDENCE_INBOX_CONTEXT_CHARS, KASM_RUNTIME_EVIDENCE_INBOX_SUMMARY_CHARS, KASM_RUNTIME_EVIDENCE_INBOX_DRAIN_MAX |
tools |
KASM_RUNTIME_TOOLS_DISABLED (list) |
Legacy TESTBENCH_* names
Section titled “Legacy TESTBENCH_* names”Every KASM_RUNTIME_<NAME> variable that the runtime’s configuration reads is also accepted as TESTBENCH_<NAME>, and TESTBENCH_SECRET_* is redacted like KASM_RUNTIME_SECRET_*. The modern name wins when both are set. KASM_SESSION_RUNTIME_PORT, KASM_ENABLE_CDP and DISPLAY have no legacy form, and neither do the agent, sidebar and recipe variables above.
Every legacy name a run used is listed in report.json under agent.legacy_env and called out in report.md.