Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
fix(cli): stop dropping CI/agent telemetry, suppress HeyGen CI at workflow level
James07bcb4f73b4f
diff --git a/.github/workflows/catalog-previews.yml b/.github/workflows/catalog-previews.ymlindex 3c6263979d..5b9af869e0 100644--- a/.github/workflows/catalog-previews.yml+++ b/.github/workflows/catalog-previews.yml@@ -3,6 +3,11 @@ name: Catalog Previewspermissions:contents: read+# Suppress hyperframes CLI telemetry from HeyGen's own CI runs.+# External users' CI continues to emit telemetry unless they set this themselves.+env:+ HYPERFRAMES_NO_TELEMETRY: "1"+on:pull_request:branches: [main]diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex f5791bf8f1..66b11b0f2f 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -4,6 +4,11 @@ permissions:contents: readpull-requests: read+# Suppress hyperframes CLI telemetry from HeyGen's own CI runs.+# External users' CI continues to emit telemetry unless they set this themselves.+env:+ HYPERFRAMES_NO_TELEMETRY: "1"+on:pull_request:# `edited` is required so the workflow re-fires when a PR's base ref isdiff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex 20c18f9066..eafc2e7301 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -3,6 +3,11 @@ name: Docspermissions:contents: read+# Suppress hyperframes CLI telemetry from HeyGen's own CI runs.+# External users' CI continues to emit telemetry unless they set this themselves.+env:+ HYPERFRAMES_NO_TELEMETRY: "1"+on:pull_request:branches: [main]diff --git a/.github/workflows/player-perf.yml b/.github/workflows/player-perf.ymlindex 5a4926079b..4d338dbcb0 100644--- a/.github/workflows/player-perf.yml+++ b/.github/workflows/player-perf.yml@@ -3,6 +3,11 @@ name: Player perfpermissions:contents: read+# Suppress hyperframes CLI telemetry from HeyGen's own CI runs.+# External users' CI continues to emit telemetry unless they set this themselves.+env:+ HYPERFRAMES_NO_TELEMETRY: "1"+on:pull_request:push:diff --git a/.github/workflows/preview-regression.yml b/.github/workflows/preview-regression.ymlindex af1bf93a9d..5ebb83d40e 100644--- a/.github/workflows/preview-regression.yml+++ b/.github/workflows/preview-regression.yml@@ -3,6 +3,11 @@ name: preview-regressionpermissions:contents: read+# Suppress hyperframes CLI telemetry from HeyGen's own CI runs.+# External users' CI continues to emit telemetry unless they set this themselves.+env:+ HYPERFRAMES_NO_TELEMETRY: "1"+on:pull_request:push:diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.ymlindex d2c7d5b1fc..dd7b9a4123 100644--- a/.github/workflows/regression.yml+++ b/.github/workflows/regression.yml@@ -3,6 +3,11 @@ name: regressionpermissions:contents: read+# Suppress hyperframes CLI telemetry from HeyGen's own CI runs.+# External users' CI continues to emit telemetry unless they set this themselves.+env:+ HYPERFRAMES_NO_TELEMETRY: "1"+on:pull_request:push:diff --git a/.github/workflows/windows-render.yml b/.github/workflows/windows-render.ymlindex 6c6be113da..f230da25cf 100644--- a/.github/workflows/windows-render.yml+++ b/.github/workflows/windows-render.yml@@ -3,6 +3,11 @@ name: Windows render verificationpermissions:contents: read+# Suppress hyperframes CLI telemetry from HeyGen's own CI runs.+# External users' CI continues to emit telemetry unless they set this themselves.+env:+ HYPERFRAMES_NO_TELEMETRY: "1"+# Manually triggered smoke test that renders a HyperFrames composition on a# real Windows runner. Proves the PR #336 `where ffmpeg` fix actually works# end-to-end: FFmpeg is discovered natively on Windows, Chrome is installeddiff --git a/packages/cli/src/telemetry/client.ts b/packages/cli/src/telemetry/client.tsindex 3518544c9f..039c0d4505 100644--- a/packages/cli/src/telemetry/client.ts+++ b/packages/cli/src/telemetry/client.ts@@ -40,11 +40,6 @@ export function shouldTrack(): boolean {return false;}- if (process.env["CI"] === "true" || process.env["CI"] === "1") {- telemetryEnabled = false;- return false;- }-if (isDevMode()) {telemetryEnabled = false;return false;