Expand description
TOML round-trip editing for sessions.
Converts NDJSON sessions to human-readable TOML for editing in $EDITOR, then parses changes back while preserving non-editable fields (id, version, timestamps).
Structs§
- Editable
Command - Editable representation of a single command.
- Editable
Session - Editable representation of a session for TOML serialization.
Functions§
- edit_
session - Edit a session interactively using $EDITOR with TOML format.
- launch_
editor - Launch an editor with the given content and return the edited result.
- session_
to_ toml - Convert a Session to a TOML string for editing.
- toml_
to_ session - Parse a TOML string back into a Session, merging with the original.