Chat Exports
kernel-cli chat turns a human conversation export into a local, searchable
data source. Version 0.26.11 supports WhatsApp _chat.txt files and exported
ZIP archives.
One export, two sides
Start with an export
ingest accepts a ZIP, a bare _chat.txt, or a directory containing the
export. Add --name "team group" when the automatic name is not useful.
<chat> arguments accept a unique slug prefix.
Command map
Every verb supports
--json for machine-readable output.
The parser proves what it can
chat show.
Ambiguous data is labeled as assumed instead of silently presented as proven.
The parser also:
- removes bidirectional formatting marks that commonly appear in exports;
- joins multiline bodies until the next valid message header;
- distinguishes media, deleted, edited, and system messages;
- keeps forwarded headers inside the forwarding message when accepting them as real headers would make time move backward by more than 24 hours;
- refuses an ingest that produces zero messages.
Storage and ownership
~/.monochat/chats/ by default; set MONOCHAT_DIR to choose
another store. The original text is the durable source. Kernel CLI and the
standalone monochat frontend share the same reader and store, so a chat
ingested through either frontend is visible to both. Installing standalone
monochat is optional when Kernel CLI is already present.
Only ingest/import writes chat-store files. List, show, read, search, stats,
timeline, and export are read-only over existing chat data.
MCP
The typedchat MCP tool exposes the same actions:
ingest is the only mutating action. The other actions read local files and do
not reach the network. The MCP tool and CLI route into the same embedded reader,
so their parser and store behavior do not diverge.
Current boundary
The shipped adapter reads WhatsApp text exports. KakaoTalk, Telegram, and iMessage are future adapters over the same conversation model; Kernel CLI 0.26.11 does not claim support for them. WhatsApp text exports also contain no reaction history, so the reader does not invent reactions.Verified Input
Prove stable app state between keyboard steps.
Workflows
Export through an app pack, then verify the resulting artifact.