feat(redis): persist command history across sessions (#933)

This commit is contained in:
t8y2 committed 2026-06-10 04:34:45 +08:00
1 parent d08385e75f
commit d0bf6c3b53
15 files changed
+179 -48

No files matched your search

+2 -1
View File
@@ -14,8 +14,9 @@ pub async fn load_history(
state: State<'_, Arc<AppState>>,
limit: usize,
offset: usize,
activity_kind: Option<String>,
) -> Result<Vec<HistoryEntry>, String> {
state.storage.load_history_entries(limit, offset).await
state.storage.load_history_entries(limit, offset, activity_kind).await
}
#[tauri::command]