GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Xum home page
  • Install
  • Why Parallelize?
  • CLI
  • Workspaces
  • Scratch chats
  • Artifacts
  • Forking Workspaces
  • Side Chats
  • .xumignore
  • Runtime
  • Local Runtime
  • Worktree Runtime
  • SSH Runtime

This view

  • Original page
  • New address

GeezerVison is showing xum.cdr.dev — Runtimes - Xum

Runtimes determine where and how Xum executes agent workspaces. A runtime is two independent choices that compose:
  • Project isolation — where the project lives and commands run.
  • Workspace isolation — how each workspace is separated from the other workspaces of the project.
Project isolationRuns on
LocalThis machine
SSHA remote host over SSH
CoderA Coder workspace, reached over SSH
Workspace isolationEach workspace getsBest For
NoneThe shared project directoryQuick edits to your working copy
WorktreeIts own git worktreeRunning multiple agents in parallel
DockerIts own containerFull isolation, reproducible environments
Dev ContainerA container from devcontainer.jsonProjects with existing devcontainer configs

​
Supported combinations

Project \ WorkspaceNoneWorktreeDockerDev Container
LocalYesYesYesYes
SSHYesYes——
Coder—Yes——
Combinations marked ”—” are listed in the picker but disabled until a backend supports them. SSH + None runs every workspace directly in an existing directory on the host (for example ~/src/my-app). Xum does not sync, check out, move, or delete anything in that directory, and it does not need a local git repository.

​
Choosing a Runtime

Pick both when creating a workspace: the environment chip under the workspace name opens a panel where Run on selects the project isolation and Isolation selects the workspace isolation. Set the defaults, and turn options on or off, in Settings → Runtimes, globally or per project. Configs written by older versions (a single default runtime) are migrated automatically, and the old field is still written so you can downgrade.

​
Init Hooks

Init hooks and agent bash tool executions can detect the runtime type via the XUM_RUNTIME environment variable:
  • local — Local project, no workspace isolation
  • worktree — Local project, worktree isolation
  • ssh — SSH project (worktree or no workspace isolation)
  • docker — Docker runtime
  • devcontainer — Dev Container runtime
This lets your init hook adapt behavior, e.g., skip worktree-specific setup when running in local mode.
⌘I
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.