diff --git a/TELEMETRY.md b/TELEMETRY.md index 02b72ea17d7..85d823476a9 100644 --- a/TELEMETRY.md +++ b/TELEMETRY.md @@ -84,8 +84,8 @@ of privacy mode. Toggle privacy mode: ```bash -denchclaw telemetry privacy off # capture full content -denchclaw telemetry privacy on # redact content (default) +npx denchclaw telemetry privacy off # capture full content +npx denchclaw telemetry privacy on # redact content (default) ``` ### PostHog evaluations @@ -136,7 +136,7 @@ and AI observability): ### CLI command ```bash -denchclaw telemetry disable +npx denchclaw telemetry disable ``` ### Environment variable @@ -158,7 +158,7 @@ Telemetry is automatically disabled when `CI=true` is set. ### Check status ```bash -denchclaw telemetry status +npx denchclaw telemetry status ``` --- @@ -168,8 +168,8 @@ denchclaw telemetry status ### Privacy mode ```bash -denchclaw telemetry privacy on # redact message content (default) -denchclaw telemetry privacy off # send full message content +npx denchclaw telemetry privacy on # redact message content (default) +npx denchclaw telemetry privacy off # send full message content ``` Privacy mode is stored in `~/.openclaw-dench/telemetry.json` and is read by both @@ -196,7 +196,7 @@ sending them. Useful for inspecting exactly what would be reported. ## Re-enabling ```bash -denchclaw telemetry enable +npx denchclaw telemetry enable ``` ## How It Works diff --git a/src/cli/program/register.telemetry.ts b/src/cli/program/register.telemetry.ts index 88a8b9c9247..aed177d8503 100644 --- a/src/cli/program/register.telemetry.ts +++ b/src/cli/program/register.telemetry.ts @@ -34,7 +34,7 @@ export function registerTelemetryCommand(program: Command) { .action(() => { writeTelemetryConfig({ enabled: false }); console.log("Telemetry has been disabled."); - console.log("You can re-enable it anytime with: denchclaw telemetry enable"); + console.log("You can re-enable it anytime with: npx denchclaw telemetry enable"); }); cmd @@ -54,7 +54,7 @@ export function registerTelemetryCommand(program: Command) { .description("Enable privacy mode (redacts message content, default)") .action(() => { if (!isTelemetryEnabled()) { - console.log("Telemetry is currently disabled. Enable it first with: denchclaw telemetry enable"); + console.log("Telemetry is currently disabled. Enable it first with: npx denchclaw telemetry enable"); return; } writeTelemetryConfig({ privacyMode: true }); @@ -66,11 +66,11 @@ export function registerTelemetryCommand(program: Command) { .description("Disable privacy mode (sends full message content)") .action(() => { if (!isTelemetryEnabled()) { - console.log("Telemetry is currently disabled. Enable it first with: denchclaw telemetry enable"); + console.log("Telemetry is currently disabled. Enable it first with: npx denchclaw telemetry enable"); return; } writeTelemetryConfig({ privacyMode: false }); console.log("Privacy mode disabled. Full message content and tool results will be captured."); - console.log("Re-enable anytime with: denchclaw telemetry privacy on"); + console.log("Re-enable anytime with: npx denchclaw telemetry privacy on"); }); }