mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix: tighten quiet-mode salvage follow-ups
Follow-up for the helix4u easy-fix salvage batch: - route remaining context-engine quiet-mode output through _should_emit_quiet_tool_messages() so non-CLI/library callers stay silent consistently - drop the extra senderAliases computation from WhatsApp allowlist-drop logging and remove the now-unused import This keeps the batch scoped to the intended fixes while avoiding leaked quiet-mode output and unnecessary duplicate work in the bridge.
This commit is contained in:
parent
cd59af17cc
commit
175cf7e6bb
2 changed files with 5 additions and 13 deletions
|
|
@ -26,7 +26,7 @@ import path from 'path';
|
|||
import { mkdirSync, readFileSync, writeFileSync, existsSync, readdirSync } from 'fs';
|
||||
import { randomBytes } from 'crypto';
|
||||
import qrcode from 'qrcode-terminal';
|
||||
import { expandWhatsAppIdentifiers, matchesAllowedUser, parseAllowedUsers } from './allowlist.js';
|
||||
import { matchesAllowedUser, parseAllowedUsers } from './allowlist.js';
|
||||
|
||||
// Parse CLI args
|
||||
const args = process.argv.slice(2);
|
||||
|
|
@ -235,7 +235,6 @@ async function startSocket() {
|
|||
reason: 'allowlist_mismatch',
|
||||
chatId,
|
||||
senderId,
|
||||
senderAliases: Array.from(expandWhatsAppIdentifiers(senderId, SESSION_DIR)),
|
||||
}));
|
||||
} catch {}
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue