@capgo/cli 8.101.0 → 8.102.0
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/README.md +1 -1
- package/dist/index.js +693 -693
- package/dist/notify-app-ready-worker.js +130 -130
- package/dist/onboarding-worker.js +275 -275
- package/dist/package.json +1 -1
- package/dist/src/analytics/cli-headers.d.ts +6 -0
- package/dist/src/sdk.js +300 -300
- package/dist/updater-installed-worker.js +117 -117
- package/package.json +1 -1
- package/skills/native-builds/SKILL.md +1 -1
package/dist/package.json
CHANGED
|
@@ -6,6 +6,12 @@ export declare function setCurrentCliCommand(command: string): void;
|
|
|
6
6
|
* Throws CliUserError with a user-facing message — never includes the secret value.
|
|
7
7
|
*/
|
|
8
8
|
export declare function validateCliRequestHeaderValue(headerName: string, value: unknown): string;
|
|
9
|
+
/**
|
|
10
|
+
* `x-cli-ci` value when the CLI runs in CI: the CI name (e.g. "GitHub Actions"),
|
|
11
|
+
* or `ci` when ci-info cannot name it. Capgo uses it to mark the onboarding
|
|
12
|
+
* CI/CD step done. Undefined outside CI.
|
|
13
|
+
*/
|
|
14
|
+
export declare function cliCiHeaderValue(ci?: boolean, name?: string | null): string | undefined;
|
|
9
15
|
/**
|
|
10
16
|
* Build Capgo API request headers that identify this CLI invocation.
|
|
11
17
|
* Does not invent an API key — callers merge Authorization/capgkey when available.
|