Skip to main content

Module paths

Module paths 

Source
Expand description

Filesystem layout for GitHub Copilot CLI state.

Sessions live at ~/.copilot/session-state/<session-id>/events.jsonl (see docs/agents/formats/copilot-cli/directory-layout.md). The root is overridable with the COPILOT_HOME environment variable. Older sessions may sit under the legacy history-session-state/ directory; we glance at it as a secondary location.

Structsยง

PathResolver
Builder-style resolver over the ~/.copilot/ filesystem.