<?php

declare(strict_types=1);

namespace Drupal\flowdrop_session\Constants;

/**
 * Role constants for the FlowDrop Session Message entity.
 *
 * Roles identify the author of a message in a session:
 * - USER: Message from the end user.
 * - ASSISTANT: Message from the AI/assistant or workflow output.
 * - SYSTEM: System-generated message (notices, errors, interrupt requests).
 * - LOG: Per-node execution log entry.
 * - TOOL: Tool/function call output (used by orchestration messages).
 *
 * @internal
 */
final class MessageRole {

  public const USER = 'user';

  public const ASSISTANT = 'assistant';

  public const SYSTEM = 'system';

  public const LOG = 'log';

  public const TOOL = 'tool';

}
