import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/text-runtime";
const FAILURE_REPLY_PREFIXES = [ "⚠️ something went wrong while processing your request.", "⚠️ session history got out of sync.", "⚠️ session history was corrupted.", "⚠️ context overflow", "⚠️ message ordering conflict.", "⚠️ model login expired on the gateway", "⚠️ model login failed on the gateway", "⚠️ agent failed before reply:", "⚠️ ✉️ message failed", "⚠️ no api key found for provider ", "⚠️ missing api key for ",
];
const VISIBLE_REPLY_LEAK_PATTERNS = [
/\bchecking thread context\b/i,
/\bthread context thin\b/i,
/\bpost a tight progress reply here\b/i,
/\bposting a coordination nudge\b/i,
/\bposted a short coordination reply\b/i,
/\bnot inventing status\b/i,
];
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.