const handler = this._notificationHandlers.get(msg.method);
if (!handler) {
// notifications we don't handle yet). Warn so every dropped method is
// intentionally triaged by CodexAgent instead of disappearing silently.
this._log('warn', `dropping unhandled notification: ${msg.method}`);
return;
}
try {
handler(msg.params);