What
Add a command to export chat history as JSON or Markdown.
Why
Users want to save interesting conversations, share them, or analyze their AI usage patterns.
How
- ember-storage already stores conversations in SQLite
- Add a new
HistoryAction::Export variant in crates/ember-cli/src/main.rs
- Query conversations from storage
- Format as JSON (
--json) or Markdown (--markdown, default)
- Output to stdout or file (
--output path)
ember history export # last conversation as markdown
ember history export --json # as JSON
ember history export --all --output dir # all conversations to directory
Reference
crates/ember-storage/src/lib.rs has the conversation storage API.
What
Add a command to export chat history as JSON or Markdown.
Why
Users want to save interesting conversations, share them, or analyze their AI usage patterns.
How
HistoryAction::Exportvariant incrates/ember-cli/src/main.rs--json) or Markdown (--markdown, default)--output path)Reference
crates/ember-storage/src/lib.rshas the conversation storage API.