openclaw/src/routing
Glucksberg fd7ca4c394 fix: normalize input peer.kind in resolveAgentRoute (#22730)
The input peer.kind from channel plugins was used as-is without
normalization via normalizeChatType(), while the binding side correctly
normalized. This caused "dm" !== "direct" mismatches in
matchesBindingScope, making plugins that use "dm" as peerKind fail to
match bindings configured with "direct".

Normalize both peer.kind and parentPeer.kind through normalizeChatType()
so that "dm" and "direct" are treated equivalently on both sides.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
(cherry picked from commit b0c96702f5)
2026-02-24 04:33:50 +00:00
..
account-id.test.ts fix(security): harden account-key handling against prototype pollution 2026-02-24 01:09:31 +00:00
account-id.ts fix(security): harden account-key handling against prototype pollution 2026-02-24 01:09:31 +00:00
account-lookup.test.ts fix(security): harden account-key handling against prototype pollution 2026-02-24 01:09:31 +00:00
account-lookup.ts fix(security): harden account-key handling against prototype pollution 2026-02-24 01:09:31 +00:00
bindings.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
resolve-route.test.ts fix: normalize input peer.kind in resolveAgentRoute (#22730) 2026-02-24 04:33:50 +00:00
resolve-route.ts fix: normalize input peer.kind in resolveAgentRoute (#22730) 2026-02-24 04:33:50 +00:00
session-key.continuity.test.ts fix(ci): restore main lint/typecheck after direct merges 2026-02-16 23:26:11 +00:00
session-key.test.ts Agents/Replies: scope done fallback to direct sessions 2026-02-22 13:30:30 -08:00
session-key.ts refactor: de-duplicate channel runtime and payload helpers 2026-02-23 21:25:28 +00:00