4b6817381b
CI (OpenClaw E2E) / openclaw test (push) Has been cancelled
CI / coverage-report (push) Has been cancelled
CI / test-kubernetes (push) Has been cancelled
CI / should-run-thorough (push) Has been cancelled
CI / test-thorough (cloudwatch-demo) (push) Has been cancelled
CI / test-thorough (flink-ecs) (push) Has been cancelled
CI / test-thorough (upstream-lambda) (push) Has been cancelled
CI / test-thorough (prefect-ecs-fargate) (push) Has been cancelled
Release / build-binaries (zip, opensre.exe, onefile, windows-latest, windows-x64) (push) Has been cancelled
Benchmark image — build + push to ECR (any adapter) / build + push (push) Has been cancelled
CI / quality (ubuntu-latest) (push) Has been cancelled
CI / test (tools-runtime) (push) Has been cancelled
CI / test (e2e-general) (push) Has been cancelled
CI / test (cli-runtime) (push) Has been cancelled
CI / test (e2e-provider-and-openclaw) (push) Has been cancelled
CI / test (integrations-and-misc) (push) Has been cancelled
Release / verify (push) Has been cancelled
Release / build-python-dist (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, macos-15-intel, darwin-x64) (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, macos-latest, darwin-arm64) (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, ubuntu-22.04, linux-x64) (push) Has been cancelled
Release / publish-release (push) Has been cancelled
Release / publish-main-release (push) Has been cancelled
Interactive Shell Live (PR + post-merge) / turn-checks (no-LLM) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Interactive Shell Live (PR + post-merge) / turn-live shard ${{ matrix.shard_index }} (push) Has been cancelled
Release / prepare (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, ubuntu-22.04-arm, linux-arm64) (push) Has been cancelled
Synthetic Deterministic Tests / Synthetic offline (deterministic) (push) Has been cancelled
86 lines
3.1 KiB
Python
86 lines
3.1 KiB
Python
"""Analytics event definitions."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from enum import StrEnum
|
|
|
|
|
|
class Event(StrEnum):
|
|
# Lifecycle
|
|
CLI_INVOKED = "cli_invoked"
|
|
REPL_EXECUTION_POLICY_DECISION = "repl_execution_policy_decision"
|
|
INSTALL_DETECTED = "install_detected"
|
|
USER_ID_LOAD_FAILED = "user_id_load_failed"
|
|
SENTRY_INIT_SKIPPED = "sentry_init_skipped"
|
|
|
|
# GitHub first-launch login
|
|
GITHUB_LOGIN_COMPLETED = "github_login_completed"
|
|
|
|
# Onboarding
|
|
ONBOARD_STARTED = "onboard_started"
|
|
ONBOARD_COMPLETED = "onboard_completed"
|
|
ONBOARD_FAILED = "onboard_failed"
|
|
|
|
# Investigation
|
|
INVESTIGATION_STARTED = "investigation_started"
|
|
INVESTIGATION_COMPLETED = "investigation_completed"
|
|
INVESTIGATION_FAILED = "investigation_failed"
|
|
INVESTIGATION_CANCELLED = "investigation_cancelled"
|
|
INVESTIGATION_OUTCOME = "investigation_outcome"
|
|
INVESTIGATION_FIRST_HYPOTHESIS_RENDERED = "investigation_first_hypothesis_rendered"
|
|
INVESTIGATION_ABANDONED = "investigation_abandoned"
|
|
INVESTIGATION_FEEDBACK_SUBMITTED = "investigation_feedback_submitted"
|
|
INVESTIGATION_MISS_CLASSIFIED = "investigation_miss_classified"
|
|
DIAGNOSIS_CATEGORY_MISMATCH = "diagnosis_category_mismatch"
|
|
|
|
# Integrations
|
|
INTEGRATION_SETUP_STARTED = "integration_setup_started"
|
|
INTEGRATION_SETUP_COMPLETED = "integration_setup_completed"
|
|
INTEGRATION_REMOVED = "integration_removed"
|
|
INTEGRATION_VERIFIED = "integration_verified"
|
|
INTEGRATIONS_LISTED = "integrations_listed"
|
|
|
|
# Tests
|
|
TESTS_PICKER_OPENED = "tests_picker_opened"
|
|
TESTS_LISTED = "tests_listed"
|
|
TEST_RUN_STARTED = "test_run_started"
|
|
TEST_RUN_COMPLETED = "test_run_completed"
|
|
TEST_RUN_FAILED = "test_run_failed"
|
|
TEST_SYNTHETIC_STARTED = "test_synthetic_started"
|
|
TEST_SYNTHETIC_COMPLETED = "test_synthetic_completed"
|
|
TEST_SYNTHETIC_FAILED = "test_synthetic_failed"
|
|
|
|
# Evaluation metrics
|
|
EVAL_PROCESS_STARTED = "eval_process_started"
|
|
EVAL_PROCESS_COMPLETED = "eval_process_completed"
|
|
EVAL_PROCESS_FAILED = "eval_process_failed"
|
|
EVAL_PROCESS_SKIPPED = "eval_process_skipped"
|
|
EVAL_PROCESS_PARSE_FAILED = "eval_process_parse_failed"
|
|
|
|
# Interactive terminal analytics
|
|
TERMINAL_ACTIONS_PLANNED = "terminal_actions_planned"
|
|
TERMINAL_ACTIONS_EXECUTED = "terminal_actions_executed"
|
|
TERMINAL_TURN_SUMMARIZED = "terminal_turn_summarized"
|
|
REACT_TURN_COMPLETED = "react_turn_completed"
|
|
AI_GENERATION = "$ai_generation"
|
|
|
|
# Update
|
|
UPDATE_STARTED = "update_started"
|
|
UPDATE_COMPLETED = "update_completed"
|
|
UPDATE_FAILED = "update_failed"
|
|
|
|
# Deploy
|
|
DEPLOY_STARTED = "deploy_started"
|
|
DEPLOY_COMPLETED = "deploy_completed"
|
|
DEPLOY_FAILED = "deploy_failed"
|
|
|
|
# Local agent monitoring (Monitor Local Agents feature)
|
|
AGENT_SECRET_DETECTED = "agent_secret_detected"
|
|
AGENT_KILLED = "agent_killed"
|
|
AGENT_KILL_FAILED = "agent_kill_failed"
|
|
|
|
# Scheduled deliveries
|
|
SCHEDULED_TASK_STARTED = "scheduled_task_started"
|
|
SCHEDULED_TASK_COMPLETED = "scheduled_task_completed"
|
|
SCHEDULED_TASK_FAILED = "scheduled_task_failed"
|