mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-05-02 11:32:35 +02:00
Stage 2 of path_hash_mode support. All API endpoints and SocketIO emissions now include decoded hop_count and path_hash_size fields alongside the raw path_len, so the frontend can display and segment paths correctly for any hash mode. Changes: - Import decode_path_len in api.py - GET /api/messages: add hop_count, path_hash_size, echo_hash_sizes - GET /api/messages/<id>/meta: add hop_count, path_hash_size, echo_hash_sizes - GET /api/dm/messages: add hop_count, path_hash_size - SocketIO new_message emission: add hop_count, path_hash_size Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>