UNPKG

@copilotkit/shared

Version:

<div align="center"> <a href="https://copilotkit.ai" target="_blank"> <img src="https://github.com/copilotkit/copilotkit/raw/main/assets/banner.png" alt="CopilotKit Logo"> </a>

36 lines (32 loc) 1.09 kB
export type AnalyticsEvents = { "oss.runtime.instance_created": RuntimeInstanceCreatedInfo; "oss.runtime.copilot_request_created": { "cloud.guardrails.enabled": boolean; requestType: string; }; "oss.runtime.server_action_executed": {}; "oss.runtime.remote_action_executed": RemoteActionExecutionInfo; "oss.runtime.agent_execution_stream_started": { hashedLgcKey?: string }; "oss.runtime.agent_execution_stream_ended": AgentExecutionResponseInfo; "oss.runtime.agent_execution_stream_errored": { hashedLgcKey?: string; error?: string }; }; export interface RuntimeInstanceCreatedInfo { actionsAmount: number; endpointTypes: string[]; hashedLgcKey?: string; endpointsAmount: number; agentsAmount?: number | null; } export interface RemoteActionExecutionInfo { agentExecution: boolean; type: "self-hosted" | "langgraph-platform"; agentsAmount?: number | null; hashedLgcKey?: string; } export interface AgentExecutionResponseInfo { provider?: string; model?: string; langGraphHost?: string; langGraphVersion?: string; hashedLgcKey?: string; }