pi-web-kit 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/extensions/index.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@ This project follows the spirit of [Keep a Changelog](https://keepachangelog.com
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.1.4] - 2026-05-10
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Suppress install/update telemetry in CI environments, including GitHub Actions.
|
|
14
|
+
|
|
9
15
|
## [0.1.3] - 2026-05-10
|
|
10
16
|
|
|
11
17
|
### Added
|
package/extensions/index.ts
CHANGED
|
@@ -183,6 +183,7 @@ function isTruthyEnvFlag(value: string | undefined): boolean {
|
|
|
183
183
|
|
|
184
184
|
function isInstallTelemetryEnabled(): boolean {
|
|
185
185
|
if (isTruthyEnvFlag(process.env.PI_OFFLINE)) return false;
|
|
186
|
+
if (isTruthyEnvFlag(process.env.CI) || isTruthyEnvFlag(process.env.GITHUB_ACTIONS)) return false;
|
|
186
187
|
if (process.env.PI_TELEMETRY !== undefined) return isTruthyEnvFlag(process.env.PI_TELEMETRY);
|
|
187
188
|
const settings = readJsonFile(join(getAgentDir(), "settings.json")) as { enableInstallTelemetry?: unknown };
|
|
188
189
|
return settings.enableInstallTelemetry !== false;
|