| import { toAgentStoreSessionKey } from "../../routing/session-key.js"; | |
| export function resolveCronAgentSessionKey(params: { | |
| sessionKey: string; | |
| agentId: string; | |
| mainKey?: string | undefined; | |
| }): string { | |
| return toAgentStoreSessionKey({ | |
| agentId: params.agentId, | |
| requestKey: params.sessionKey.trim(), | |
| mainKey: params.mainKey, | |
| }); | |
| } | |