mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-29 05:08:38 +00:00
fix(memory): prevent QMD scope deny bypass
This commit is contained in:
@@ -51,7 +51,13 @@ export type SessionSendPolicyAction = "allow" | "deny";
|
||||
export type SessionSendPolicyMatch = {
|
||||
channel?: string;
|
||||
chatType?: ChatType;
|
||||
/**
|
||||
* Session key prefix match.
|
||||
* Note: some consumers match against a normalized key (for example, stripping `agent:<id>:`).
|
||||
*/
|
||||
keyPrefix?: string;
|
||||
/** Optional raw session-key prefix match for consumers that normalize session keys. */
|
||||
rawKeyPrefix?: string;
|
||||
};
|
||||
export type SessionSendPolicyRule = {
|
||||
action: SessionSendPolicyAction;
|
||||
|
||||
Reference in New Issue
Block a user