mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-07-05 09:21:13 +02:00
5c6b8570ab
Root cause: apply_to contact_info returns NDJSON (newline-delimited JSON), not a JSON array. Each contact is a separate JSON object on its own line. Changes: - Call apply_to separately for each type (t=1, t=2, t=3, t=4) instead of using comma-separated list which returns 0 matches through bridge - Parse NDJSON format: each line is a separate JSON object - Skip non-JSON lines (prompt echoes "MarWoj|*", summary "> N matches") - Collect all contacts from all types into single dictionary - Add detailed logging for each type and total count This matches the actual meshcli output format observed in interactive mode. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>