List all tasks in the current session, optionally filtered by status.