mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-05-02 11:32:35 +02:00
Stage 4 of path_hash_mode support. DM delivery paths now carry hash_size through the entire pipeline: retry context → ACK handler → SocketIO emission → frontend rendering. All hardcoded 2-char hex segmentation removed from dm.js. Backend changes (device_manager.py): - Track path_hash_size alongside path_desc in DM retry context - Update path_hash_size on path rotation and flood fallback - Add hash_size to all 4 dm_delivered_info SocketIO emissions - Derive hash_size from PATH event path_len for discovered paths Frontend changes (dm.js): - Add segmentHexPath() utility (shared by all 3 route functions) - formatDmRoute(), buildDmRouteHtml(), showDmRoutePopup() accept hashSize - All call sites pass hash_size from event data or message context Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>