mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-17 21:32:52 +00:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The adapter captures the bridge's stdout and stderr verbatim into bridge.log, so a console line without a stamp cannot be placed in time. The previous commit stamped 12 of the bridge's console calls one by one with a bracketed UTC ISO stamp; the other calls (config summary, pairing mode, reconnect-scheduler and version-resolver messages, inbound media download failures) stayed bare. This replaces the per-call wrapping with one installConsoleStamps() call at bridge startup that prefixes every console.log/warn/error line with `YYYY-MM-DD HH:MM:SS,mmm ` in local time, the shape the Python logs in logs/ already use. The 12 call sites go back to plain console calls. Lines that programs parse must stay bare. The dashboard pairing watcher runs json.loads on each stdout line of `bridge.js --pair-json`, so the JSON event lines (pair events, debug, poll_update_decode and `ignored` events) now go through writeJsonLine(), which writes to process.stdout directly. The terminal QR block is written the same way so its first row is not shifted. Pino (the Baileys logger) writes to fd 1 itself and never passes through console, so its lines are unchanged. Refs #97021 |
||
| .. | ||
| allowlist.js | ||
| allowlist.test.mjs | ||
| bridge.js | ||
| bridge.native.test.mjs | ||
| bridge.reconnect.test.mjs | ||
| bridge_helpers.js | ||
| bridge_helpers.timestamp.test.mjs | ||
| outbound_ids.js | ||
| outbound_ids.test.mjs | ||
| owner_message_gate.js | ||
| owner_message_gate.test.mjs | ||
| package-lock.json | ||
| package.json | ||