package v1.public.events.copilot

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message CompactionApplied

copilot.proto:197

Fired when context compaction runs within an agent run. Emitted for every compaction, including tool_result_clearing which makes no LLM call, so it captures compaction frequency and effectiveness the summarizer's CopilotLlmCall alone cannot. Each strategy fires at most once per run, so copilot_request_id is the key: it identifies the run and joins a "summarization" event to the priced summarizer CopilotLlmCall (the single row tagged call_purpose="compaction" in that run).

message CopilotGenerationComplete

copilot.proto:23

Fired when an AI code generation request completes (success or failure). Covers all Copilot actions: generate docs, tests, semantic models, metrics, inline SQL, text-to-SQL, and agent runs.

message CopilotLlmCall

copilot.proto:109

Fired once per LLM call within an agent loop. Allows per-call token and latency attribution when a single copilot_request_id triggers multiple LLM invocations (e.g. a dev agent loop). Links back to the parent CopilotGenerationComplete via copilot_request_id.

message CopilotUserAcceptance

copilot.proto:245

Fired when a user responds to a Copilot suggestion.