History
sivtr stores captured output in a local SQLite history database with FTS5 search. The history commands are read-oriented: list recent entries, search by keyword, and show a full entry.
List recent entries
Section titled “List recent entries”sivtr historysivtr history listsivtr history list --limit 50Output includes the entry id, timestamp, command, and a preview of the content.
Search
Section titled “Search”sivtr history search "panic"sivtr history search "failed assertion" --limit 10Search uses the history full-text index. Use the resulting id with history show.
Show an entry
Section titled “Show an entry”sivtr history show 42The detail view prints metadata followed by the stored content:
- id;
- timestamp;
- command;
- source;
- host;
- content.
Retention
Section titled “Retention”History retention is controlled by config:
[history]auto_save = truemax_entries = 0max_entries = 0 means unlimited.