You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
Adds detailed product telemetry for the headless TUI while preserving
the existing GUI behavior and shared telemetry envelope. Covered flows
include:
- **TUI identification and startup:** distinguishes TUI events through
`client_id=warp-tui`, records release channel/version, and reports
sanitized `TERM_PROGRAM` plus terminal multiplexer context on
`TUI.Startup`.
- **Launch and meaningful-use signals:** keeps `TUI.Startup` as a launch
metric and records prompt submission, completed commands, and agent
exchanges as separate interaction signals. This PR does not connect TUI
interaction to the shared `Active App Usage` heartbeat. It also does not
add the GUI retention check-in: the GUI calls `/client_version/daily`,
which emits the server-side `Checked For Updated Client Version` event
used for retention, while the TUI updater continues to call the
non-instrumented `/client_version` endpoint. Consequently, this PR does
not establish GUI-parity DAU/WAU/MAU measurement.
- **Agent and prompt lifecycle:** records completed, cancelled, and
failed responses, response latency, request errors/retries, and
defensive failed-submission paths.
- **Terminal use:** covers PTY/bootstrap lifecycle, completed user
command blocks, background blocks, and Local/Dev input-classification
details. It intentionally does not emit GUI `Tab Creation` telemetry.
- **Handoff and orchestration:** covers handoff
initiation/snapshot/failure, orchestration entry and card decisions,
local-vs-remote configuration, supported child navigation, and final
requested/launched/failed child counts per parent conversation.
- **Conversation menu:** records menu opens, item selections, and
local/server restore started/succeeded/failed/cancelled outcomes through
TUI-native event names.
- **Voice input:** matches the GUI recording lifecycle with start, stop,
cancel, duration, and current TUI input-mode metadata, without audio or
transcript content.
- **Slash commands, models, and credentials:** records
slash-menu/command use, model selection, natural-language detection
changes, and provider credential add/remove transitions without secret
values.
- **Shared agent tools:** attributes existing grep, file glob, code
edit, MCP, computer-use, and autoexecution telemetry to the TUI through
the common client identifier.
- **Updater health:** records transition-deduplicated TUI update-check
outcomes and failures. These are updater diagnostics, not equivalents of
the GUI retention check-in.
## Testing
- [x] I have manually tested my changes locally with `./script/run`
Also ran w/ the `warpui_core/log_named_telemetry_events` feature and
confirmed events were being emitted correctly.
## Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode
0 commit comments