mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 17:37:40 +00:00
* 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
27 lines
731 B
TypeScript
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
|