Expand description
Project a provider-agnostic ConversationView into a Copilot CLI
Session (an events.jsonl line stream + workspace metadata).
This is the reverse of crate::provider::to_view and the basis for
path p export copilot and path resume. ✅ Verified against the real CLI
(loads + resumes in copilot 1.0.67/1.0.68, including a 5817-event
sub-agent session; colorized edit diffs render). The loader’s writer
contract and the TUI’s rendering contract are documented in
docs/agents/formats/copilot-cli/writing-compatible.md and
docs/agents/formats/copilot-cli/file-fidelity.md — keep this module in
sync with those when either changes.
Structs§
- Copilot
Projector - Projects a
ConversationViewinto a CopilotSession.
Constants§
- DEFAULT_
COPILOT_ VERSION - The default
copilotVersionstamped on projectedsession.startevents.