import { createRequire } from "node:module";

//#region src/core/constants.ts
const EVENT_USER_MESSAGE = "[Agent] User Message";
const EVENT_AI_RESPONSE = "[Agent] AI Response";
const EVENT_TOOL_CALL = "[Agent] Tool Call";
const EVENT_EMBEDDING = "[Agent] Embedding";
const EVENT_SPAN = "[Agent] Span";
const EVENT_SESSION_END = "[Agent] Session End";
const EVENT_SESSION_ENRICHMENT = "[Agent] Session Enrichment";
const EVENT_SCORE = "[Agent] Score";
const PROP_SESSION_ID = "[Agent] Session ID";
const PROP_TRACE_ID = "[Agent] Trace ID";
const PROP_TURN_ID = "[Agent] Turn ID";
const PROP_MESSAGE_ID = "[Agent] Message ID";
const PROP_MODEL_NAME = "[Agent] Model Name";
const PROP_PROVIDER = "[Agent] Provider";
const PROP_LATENCY_MS = "[Agent] Latency Ms";
const PROP_TTFB_MS = "[Agent] TTFB Ms";
const PROP_INPUT_TOKENS = "[Agent] Input Tokens";
const PROP_OUTPUT_TOKENS = "[Agent] Output Tokens";
const PROP_TOTAL_TOKENS = "[Agent] Total Tokens";
const PROP_REASONING_TOKENS = "[Agent] Reasoning Tokens";
const PROP_CACHE_READ_TOKENS = "[Agent] Cache Read Tokens";
const PROP_CACHE_CREATION_TOKENS = "[Agent] Cache Creation Tokens";
const PROP_COST_USD = "[Agent] Cost USD";
const PROP_IS_ERROR = "[Agent] Is Error";
const PROP_ERROR_MESSAGE = "[Agent] Error Message";
const PROP_ERROR_TYPE = "[Agent] Error Type";
const PROP_FINISH_REASON = "[Agent] Finish Reason";
const PROP_TOOL_CALLS = "[Agent] Tool Calls";
const PROP_TOOL_NAME = "[Agent] Tool Name";
const PROP_TOOL_SUCCESS = "[Agent] Tool Success";
const PROP_TOOL_TYPE = "[Agent] Tool Type";
const PROP_TOOL_OWNER = "[Agent] Tool Owner";
const PROP_INVOCATION_ID = "[Agent] Invocation ID";
const PROP_PARENT_MESSAGE_ID = "[Agent] Parent Message ID";
const PROP_AGENT_ID = "[Agent] Agent ID";
const PROP_PARENT_AGENT_ID = "[Agent] Parent Agent ID";
const PROP_TOOL_INPUT = "[Agent] Tool Input";
const PROP_TOOL_OUTPUT = "[Agent] Tool Output";
const PROP_SDK_VERSION = "[Agent] SDK Version";
const PROP_RUNTIME = "[Agent] Runtime";
const PROP_ENV = "[Agent] Env";
const PROP_LOCALE = "[Agent] Locale";
const PROP_SPAN_KIND = "[Agent] Span Kind";
const PROP_COMPONENT_TYPE = "[Agent] Component Type";
const PROP_CUSTOMER_ORG_ID = "[Agent] Customer Org ID";
const PROP_AGENT_VERSION = "[Agent] Agent Version";
const PROP_AGENT_DESCRIPTION = "[Agent] Agent Description";
const PROP_MESSAGE_SOURCE = "[Agent] Message Source";
const PROP_CONTEXT = "[Agent] Context";
const PROP_SPAN_ID = "[Agent] Span ID";
const PROP_SPAN_NAME = "[Agent] Span Name";
const PROP_PARENT_SPAN_ID = "[Agent] Parent Span ID";
const PROP_INPUT_STATE = "[Agent] Input State";
const PROP_OUTPUT_STATE = "[Agent] Output State";
const PROP_EMBEDDING_DIMENSIONS = "[Agent] Embedding Dimensions";
const PROP_ENRICHMENTS = "[Agent] Enrichments";
const PROP_SCORE_NAME = "[Agent] Score Name";
const PROP_SCORE_VALUE = "[Agent] Score Value";
const PROP_TARGET_ID = "[Agent] Target ID";
const PROP_TARGET_TYPE = "[Agent] Target Type";
const PROP_EVALUATION_SOURCE = "[Agent] Evaluation Source";
const PROP_COMMENT = "[Agent] Comment";
const PROP_HAS_REASONING = "[Agent] Has Reasoning";
const PROP_REASONING_CONTENT = "[Agent] Reasoning Content";
const PROP_IDLE_TIMEOUT_MINUTES = "[Agent] Session Idle Timeout Minutes";
const PROP_SYSTEM_PROMPT = "[Agent] System Prompt";
const PROP_SYSTEM_PROMPT_LENGTH = "[Agent] System Prompt Length";
const PROP_TEMPERATURE = "[Agent] Temperature";
const PROP_MAX_OUTPUT_TOKENS = "[Agent] Max Output Tokens";
const PROP_TOP_P = "[Agent] Top P";
const PROP_IS_STREAMING = "[Agent] Is Streaming";
const PROP_PROMPT_ID = "[Agent] Prompt ID";
const PROP_IS_REGENERATION = "[Agent] Is Regeneration";
const PROP_IS_EDIT = "[Agent] Is Edit";
const PROP_EDITED_MESSAGE_ID = "[Agent] Edited Message ID";
const PROP_WAS_COPIED = "[Agent] Was Copied";
const PROP_ABANDONMENT_TURN = "[Agent] Abandonment Turn";
const PROP_WAS_CACHED = "[Agent] Was Cached";
const PROP_MODEL_TIER = "[Agent] Model Tier";
const PROP_HAS_ATTACHMENTS = "[Agent] Has Attachments";
const PROP_ATTACHMENT_TYPES = "[Agent] Attachment Types";
const PROP_ATTACHMENT_COUNT = "[Agent] Attachment Count";
const PROP_TOTAL_ATTACHMENT_SIZE = "[Agent] Total Attachment Size Bytes";
const PROP_ATTACHMENTS = "[Agent] Attachments";
const PROP_MESSAGE_LABELS = "[Agent] Message Labels";
const PROP_MESSAGE_LABEL_MAP = "[Agent] Message Label Map";
const PROP_TOOL_DEFINITIONS = "[Agent] Tool Definitions";
const PROP_TOOL_DEFINITIONS_COUNT = "[Agent] Tool Definitions Count";
const PROP_TOOL_DEFINITIONS_HASH = "[Agent] Tool Definitions Hash";
const PROP_STACK_TRACE = "[Agent] Stack Trace";
const PROP_ERROR_SOURCE = "[Agent] Error Source";
const PROP_TAGS = "[Agent] Tags";
const PROP_GIT_SHA = "[Agent] Git SHA";
const PROP_GIT_REF = "[Agent] Git Ref";
const PROP_GIT_REPO = "[Agent] Git Repo";
const PROP_SESSION_REPLAY_ID = "[Amplitude] Session Replay ID";
const PROP_QUALITY_SCORE = "[Agent] Quality Score";
const PROP_SENTIMENT_SCORE = "[Agent] Sentiment Score";
const PROP_TASK_FAILURE_TYPE = "[Agent] Task Failure Type";
const PROP_TASK_FAILURE_REASON = "[Agent] Task Failure Reason";
const PROP_AGENT_CHAIN = "[Agent] Agent Chain";
const PROP_ROOT_AGENT_NAME = "[Agent] Root Agent Name";
const PROP_REQUEST_COMPLEXITY = "[Agent] Request Complexity";
const _require = createRequire(import.meta.url);
let _sdkVersion = "0.1.0";
try {
	const pkg = _require("../../package.json");
	if (pkg.version) _sdkVersion = pkg.version;
} catch {}
const SDK_VERSION = _sdkVersion;
const SDK_RUNTIME = "node";
const MAX_SERIALIZED_LENGTH = 1e5;

//#endregion
export { EVENT_AI_RESPONSE, EVENT_EMBEDDING, EVENT_SCORE, EVENT_SESSION_END, EVENT_SESSION_ENRICHMENT, EVENT_SPAN, EVENT_TOOL_CALL, EVENT_USER_MESSAGE, MAX_SERIALIZED_LENGTH, PROP_ABANDONMENT_TURN, PROP_AGENT_CHAIN, PROP_AGENT_DESCRIPTION, PROP_AGENT_ID, PROP_AGENT_VERSION, PROP_ATTACHMENTS, PROP_ATTACHMENT_COUNT, PROP_ATTACHMENT_TYPES, PROP_CACHE_CREATION_TOKENS, PROP_CACHE_READ_TOKENS, PROP_COMMENT, PROP_COMPONENT_TYPE, PROP_CONTEXT, PROP_COST_USD, PROP_CUSTOMER_ORG_ID, PROP_EDITED_MESSAGE_ID, PROP_EMBEDDING_DIMENSIONS, PROP_ENRICHMENTS, PROP_ENV, PROP_ERROR_MESSAGE, PROP_ERROR_SOURCE, PROP_ERROR_TYPE, PROP_EVALUATION_SOURCE, PROP_FINISH_REASON, PROP_GIT_REF, PROP_GIT_REPO, PROP_GIT_SHA, PROP_HAS_ATTACHMENTS, PROP_HAS_REASONING, PROP_IDLE_TIMEOUT_MINUTES, PROP_INPUT_STATE, PROP_INPUT_TOKENS, PROP_INVOCATION_ID, PROP_IS_EDIT, PROP_IS_ERROR, PROP_IS_REGENERATION, PROP_IS_STREAMING, PROP_LATENCY_MS, PROP_LOCALE, PROP_MAX_OUTPUT_TOKENS, PROP_MESSAGE_ID, PROP_MESSAGE_LABELS, PROP_MESSAGE_LABEL_MAP, PROP_MESSAGE_SOURCE, PROP_MODEL_NAME, PROP_MODEL_TIER, PROP_OUTPUT_STATE, PROP_OUTPUT_TOKENS, PROP_PARENT_AGENT_ID, PROP_PARENT_MESSAGE_ID, PROP_PARENT_SPAN_ID, PROP_PROMPT_ID, PROP_PROVIDER, PROP_QUALITY_SCORE, PROP_REASONING_CONTENT, PROP_REASONING_TOKENS, PROP_REQUEST_COMPLEXITY, PROP_ROOT_AGENT_NAME, PROP_RUNTIME, PROP_SCORE_NAME, PROP_SCORE_VALUE, PROP_SDK_VERSION, PROP_SENTIMENT_SCORE, PROP_SESSION_ID, PROP_SESSION_REPLAY_ID, PROP_SPAN_ID, PROP_SPAN_KIND, PROP_SPAN_NAME, PROP_STACK_TRACE, PROP_SYSTEM_PROMPT, PROP_SYSTEM_PROMPT_LENGTH, PROP_TAGS, PROP_TARGET_ID, PROP_TARGET_TYPE, PROP_TASK_FAILURE_REASON, PROP_TASK_FAILURE_TYPE, PROP_TEMPERATURE, PROP_TOOL_CALLS, PROP_TOOL_DEFINITIONS, PROP_TOOL_DEFINITIONS_COUNT, PROP_TOOL_DEFINITIONS_HASH, PROP_TOOL_INPUT, PROP_TOOL_NAME, PROP_TOOL_OUTPUT, PROP_TOOL_OWNER, PROP_TOOL_SUCCESS, PROP_TOOL_TYPE, PROP_TOP_P, PROP_TOTAL_ATTACHMENT_SIZE, PROP_TOTAL_TOKENS, PROP_TRACE_ID, PROP_TTFB_MS, PROP_TURN_ID, PROP_WAS_CACHED, PROP_WAS_COPIED, SDK_RUNTIME, SDK_VERSION };
//# sourceMappingURL=constants.js.map