feat(v2): Add pkt_payload to DMs, update watchdog for single container

- Add pkt_payload column to direct_messages table for stable packet
  hash generation and Analyzer URL linking
- Update insert_direct_message() and DeviceManager to store pkt_payload
- Add test for DM pkt_payload storage (43 tests pass)
- Update watchdog to monitor only mc-webui (meshcore-bridge removed)
- USB reset trigger now fires for mc-webui container failures

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
MarekWo
2026-03-01 10:01:43 +01:00
parent df8e2d2218
commit e98acf6afa
5 changed files with 20 additions and 6 deletions
+1
View File
@@ -72,6 +72,7 @@ CREATE TABLE IF NOT EXISTS direct_messages (
snr REAL,
path_len INTEGER,
expected_ack TEXT, -- ACK code for delivery tracking
pkt_payload TEXT, -- raw packet payload for hash/analyzer
signature TEXT, -- dedup signature
raw_json TEXT,
created_at TEXT NOT NULL DEFAULT (datetime('now')),