Files
orca/src/shared/structured-chat-dispatch-telemetry.ts
T
Jinjing 74106a0dbc Add protected telemetry milestones (#40043)
* Add protected telemetry milestones

* Fix milestone provenance and acceptance

* Fix telemetry test lint suppression

* Relay remote accepted chat prompts to desktop telemetry

* Honor paired desktop consent when chat host runs telemetry

* Fix mobile typecheck for notification retry timer
2026-11-08 16:58:21 -08:00

27 lines
731 B
TypeScript

import type { AgentKind } from './telemetry-events'
export const STRUCTURED_CHAT_START_TELEMETRY_CLIENT_CAPABILITY =
'structured-chat-start-telemetry-v1'
export const STRUCTURED_CHAT_PROMPT_TELEMETRY_CLIENT_CAPABILITY =
'structured-chat-prompt-telemetry-v1'
export type StructuredChatStartTelemetryEvent = {
type: 'structuredChatAgentStart'
id: string
agent_kind: AgentKind
launch_source: 'unknown'
request_kind: 'new' | 'resume'
}
export type StructuredChatPromptTelemetryEvent = {
type: 'structuredChatPromptAccepted'
id: string
agent_kind: AgentKind
client: 'desktop' | 'mobile'
}
export type StructuredChatTelemetryEvent =
| StructuredChatStartTelemetryEvent
| StructuredChatPromptTelemetryEvent