openskynet / src /cron /isolated-agent /session-key.ts
Darochin's picture
Mirror OpenSkyNet workspace snapshot from Git HEAD
fc93158 verified
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,
});
}