mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-14 18:51:04 +00:00
16 lines
438 B
TypeScript
16 lines
438 B
TypeScript
import {
|
|
AGENT_SESSION_ID_META_KEYS,
|
|
extractAgentSessionId,
|
|
normalizeAgentSessionId,
|
|
} from "./agent-session-id.js";
|
|
|
|
export const RUNTIME_SESSION_ID_META_KEYS = AGENT_SESSION_ID_META_KEYS;
|
|
|
|
export function normalizeRuntimeSessionId(value: unknown): string | undefined {
|
|
return normalizeAgentSessionId(value);
|
|
}
|
|
|
|
export function extractRuntimeSessionId(meta: unknown): string | undefined {
|
|
return extractAgentSessionId(meta);
|
|
}
|