Skip to content

Hosted agent ops

This chapter covers operational surfaces that sit around the main local agent runtime: debug logs, telemetry/traffic policy, updater/doctor paths, crash/error reporting, cloud/hosted review signals, and embedded native media helpers.

Read this chapter when the question is: how does Claude Code report, diagnose, update, or support host/native capabilities around a session?

Source-anchor policy

This page is a chapter guide. Linked implementation pages carry concrete cli.js or Bun-graph anchors.

Semantic aliasMinified anchorScope
Ops chapterN/A — navigation pageGroups diagnostics, telemetry, update, crash/debug logs, hosted review signals, and native media modules.
Ops implementation pagesSee linked source-anchor tablesConcrete anchors live in destination pages.

Ops map

flowchart TD
Runtime[Claude Code runtime] --> Debug[Debug logs]
Runtime --> Telemetry[Telemetry / traffic gates]
Runtime --> Update[Doctor / native updater]
Runtime --> Hosted[Hosted review and remote ops]
Runtime --> Media[Image/audio native modules]
Debug --> Support[diagnosis]
Telemetry --> Support
Update --> Support
Media --> Attachments[media/input support]

Primary reading order

OrderPageOps question answered
1Diagnostics and debug logsWhich debug flags, log files, startup marks, stall diagnostics, and crash/error reporting surfaces exist?
2Telemetry and tracingWhich traffic gates, telemetry sinks, tengu_* signal families, OTEL config, and trace export paths exist?
3Feature gates referenceWhich GrowthBook, tengu_*, env, policy, settings, and CLI gates switch runtime behavior?
4Updater and doctorHow do doctor, update/upgrade, install, native auto-updater state, and hosted preflights work?
5Environment variables referenceWhich auth, provider, debug, telemetry, feature, MCP, plugin, agent, remote, UI, and update env vars are visible?
6Media native modulesWhich non-cli.js graph modules are embedded, and how are image/audio native helpers loaded?
7Audio capture and voice modeHow does /voice use local audio capture, recorder fallbacks, a transcription stream, and transcript injection?
8Operations and native-support architectureHow does the ops periphery (debug, telemetry, updater, doctor, native helpers) sit around the runtime without entering the inner loop?

Handoffs

Created and maintained by Yingting Huang.