type SentryPrimitive = string | number | boolean; export interface RunScopeContext { conversationId: string; sessionKey: string; messageId: string; platform: string; conversationKind?: "direct" | "shared"; userId: string; threadTs?: string; provider?: string; model?: string; } export type ObservabilityAttributes = Record; export type SentryAttributionAttributes = ObservabilityAttributes; export type SentryRunScopeContext = RunScopeContext; type UserFacingErrorDomain = "llm" | "chat_platform" | "mikan" | "sandbox" | "login" | "events" | "session_view" | "subagent"; type UserFacingErrorSeverity = "warning" | "error" | "fatal"; export interface ReportUserFacingErrorOptions { domain: UserFacingErrorDomain; surface: string; operation: string; severity?: UserFacingErrorSeverity; platform?: string; provider?: string; model?: string; toolName?: string; stopReason?: string; expected?: boolean; fingerprint?: string[]; tags?: Record; context?: Record; } export type SubagentOutcomeStatus = "completed" | "failed" | "cancelled" | "timeout" | "budget_exceeded" | "invalid_output" | "skipped"; export interface SubagentOutcomeReport { itemId: string; mode: "single" | "parallel" | "dag"; status: SubagentOutcomeStatus; profile?: string; error?: string; turns?: number; toolCalls?: number; tokens?: number; costUsd?: number; durationMs?: number; cleanupPending?: boolean; } export type JevCaller = "jev_tool" | "jev_browser" | "slack_auto_reply" | "task_intent" | "memory_capture"; export interface JevOutcomeReport { caller: JevCaller; status: "ok" | "error"; errorType?: string; inputTokens?: number; outputTokens?: number; costUsd?: number; durationMs?: number; } export {}; //# sourceMappingURL=types.d.ts.map