// Canonical OpenClaw session ids are UUID-shaped. Store/session-key aliases may
// be different; this helper only answers whether raw text looks like a UUID id.
export const SESSION_ID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;

export function looksLikeSessionId(value: string): boolean {
  return SESSION_ID_RE.test(value.trim());
}
