fix: normalize session keys and outbound mirroring

This commit is contained in:
Peter Steinberger committed 2026-01-24 11:57:11 +00:00
1 parent eaeb52f70a
commit 4b6cdd1d3c
33 files changed
+1357 -145

No files matched your search

+2 -1
View File
@@ -408,7 +408,8 @@ export function registerSlackMonitorSlashCommands(params: {
WasMentioned: true,
MessageSid: command.trigger_id,
Timestamp: Date.now(),
SessionKey: `agent:${route.agentId}:${slashCommand.sessionPrefix}:${command.user_id}`,
SessionKey:
`agent:${route.agentId}:${slashCommand.sessionPrefix}:${command.user_id}`.toLowerCase(),
CommandTargetSessionKey: route.sessionKey,
AccountId: route.accountId,
CommandSource: "native" as const,