GitHub Copilot host-shared session history
1.9K
GitHub Copilot host-shared session history
| Name | Required | Default | Description |
|---|---|---|---|
version | Required | — | — |
| Type | Required | Description | |
|---|---|---|---|
com.docker.sandbox/host-mount@1 | Required | — | |
com.docker.sandbox/lifecycle@1 | Required | — | |
copilotsbx run <agent> --kit sbx/copilot-sessions:latestRun the following command to install sbx on your machine.
brew install docker/tap/sbxwinget install Docker.sbxThis v3 mixin Kit retains GitHub Copilot conversation state on the host across sandbox removal. It composes with either the GitHub Copilot workload or its agent mixin.
This Kit is built on Docker Hardened Images.
sbx run sbx/copilot:latest --kit sbx/copilot-sessions:latest /path/to/workspace
This kit has no create-time kit arguments.
The runtime mounts host storage at /home/agent/copilot-history. Each sandbox uses a subdirectory named after that
sandbox, so simultaneous sandboxes do not share one writable session store. Reuse the sandbox name to reconnect to its
retained state.
The kit retains the declared session data, not account credentials or the agent's complete configuration directory. Conversation history can contain workspace content and tool output. Authentication stays with the composed agent kit.
The install hook refuses to replace existing nonempty session state or unexpected symlinks. Move existing state into the host-backed directory before adding this mixin to an existing environment.
sbx/copilot provides the complete agent workload.sbx/copilot-mixin provides the agent overlay for a compatible
workload.For the Kit format and capability contracts, see the Sandbox Kit v3 specification.
For runtime setup, see the Docker Sandboxes documentation. For provenance, SBOM, VEX, and image verification, see the Docker Hardened Images documentation.
GitHub and GitHub Copilot are trademarks of GitHub, Inc. Product names and logos do not imply sponsorship or endorsement.