@indigoai-us/hq-cli 5.5.3 → 5.5.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.
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - `hq auth refresh` and the standalone `hq-auth-refresh` bin invoked by
|
|
7
7
|
* the deploy skill (.claude/skills/deploy/SKILL.md step 4)
|
|
8
8
|
*
|
|
9
|
-
* Defaults point at the shared hq-
|
|
9
|
+
* Defaults point at the shared vault-indigo-hq-dev Cognito pool. They mirror
|
|
10
10
|
* tools/vlt-e2e/e2e-create-company-smoke.ts so the CLI and the in-tree demo script
|
|
11
11
|
* stay drift-free. Override any of them via env:
|
|
12
12
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - `hq auth refresh` and the standalone `hq-auth-refresh` bin invoked by
|
|
7
7
|
* the deploy skill (.claude/skills/deploy/SKILL.md step 4)
|
|
8
8
|
*
|
|
9
|
-
* Defaults point at the shared hq-
|
|
9
|
+
* Defaults point at the shared vault-indigo-hq-dev Cognito pool. They mirror
|
|
10
10
|
* tools/vlt-e2e/e2e-create-company-smoke.ts so the CLI and the in-tree demo script
|
|
11
11
|
* stay drift-free. Override any of them via env:
|
|
12
12
|
*
|
|
@@ -17,21 +17,21 @@
|
|
|
17
17
|
* HQ_VAULT_API_URL — vault-service API Gateway URL
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
20
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a6b708ef-d43b-593c-a848-6c838a2f9bd7")}catch(e){}}();
|
|
21
21
|
import * as os from "os";
|
|
22
22
|
import * as path from "path";
|
|
23
23
|
import chalk from "chalk";
|
|
24
24
|
import { loadCachedTokens, isExpiring, refreshTokens, browserLogin, } from "@indigoai-us/hq-cloud";
|
|
25
25
|
export const DEFAULT_COGNITO = {
|
|
26
26
|
region: process.env.AWS_REGION ?? "us-east-1",
|
|
27
|
-
userPoolDomain: process.env.HQ_COGNITO_DOMAIN ?? "hq-
|
|
28
|
-
clientId: process.env.HQ_COGNITO_CLIENT_ID ?? "
|
|
27
|
+
userPoolDomain: process.env.HQ_COGNITO_DOMAIN ?? "vault-indigo-hq-dev",
|
|
28
|
+
clientId: process.env.HQ_COGNITO_CLIENT_ID ?? "7r7an9keh0u6hlsvepl74tvqb0",
|
|
29
29
|
port: process.env.HQ_COGNITO_CALLBACK_PORT
|
|
30
30
|
? Number(process.env.HQ_COGNITO_CALLBACK_PORT)
|
|
31
31
|
: 8765,
|
|
32
32
|
};
|
|
33
33
|
export const DEFAULT_VAULT_API_URL = process.env.HQ_VAULT_API_URL ??
|
|
34
|
-
"https://
|
|
34
|
+
"https://ky8cgbl4yh.execute-api.us-east-1.amazonaws.com";
|
|
35
35
|
export const DEFAULT_HQ_ROOT = path.join(os.homedir(), "hq");
|
|
36
36
|
/**
|
|
37
37
|
* Return a non-expired Cognito access token, refreshing or browser-logging-in
|
|
@@ -99,4 +99,4 @@ export async function refreshCachedSession() {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
//# sourceMappingURL=cognito-session.js.map
|
|
102
|
-
//# debugId=
|
|
102
|
+
//# debugId=a6b708ef-d43b-593c-a848-6c838a2f9bd7
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - `hq auth refresh` and the standalone `hq-auth-refresh` bin invoked by
|
|
7
7
|
* the deploy skill (.claude/skills/deploy/SKILL.md step 4)
|
|
8
8
|
*
|
|
9
|
-
* Defaults point at the shared hq-
|
|
9
|
+
* Defaults point at the shared vault-indigo-hq-dev Cognito pool. They mirror
|
|
10
10
|
* tools/vlt-e2e/e2e-create-company-smoke.ts so the CLI and the in-tree demo script
|
|
11
11
|
* stay drift-free. Override any of them via env:
|
|
12
12
|
*
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
|
|
32
32
|
export const DEFAULT_COGNITO: CognitoAuthConfig = {
|
|
33
33
|
region: process.env.AWS_REGION ?? "us-east-1",
|
|
34
|
-
userPoolDomain: process.env.HQ_COGNITO_DOMAIN ?? "hq-
|
|
35
|
-
clientId: process.env.HQ_COGNITO_CLIENT_ID ?? "
|
|
34
|
+
userPoolDomain: process.env.HQ_COGNITO_DOMAIN ?? "vault-indigo-hq-dev",
|
|
35
|
+
clientId: process.env.HQ_COGNITO_CLIENT_ID ?? "7r7an9keh0u6hlsvepl74tvqb0",
|
|
36
36
|
port: process.env.HQ_COGNITO_CALLBACK_PORT
|
|
37
37
|
? Number(process.env.HQ_COGNITO_CALLBACK_PORT)
|
|
38
38
|
: 8765,
|
|
@@ -40,7 +40,7 @@ export const DEFAULT_COGNITO: CognitoAuthConfig = {
|
|
|
40
40
|
|
|
41
41
|
export const DEFAULT_VAULT_API_URL =
|
|
42
42
|
process.env.HQ_VAULT_API_URL ??
|
|
43
|
-
"https://
|
|
43
|
+
"https://ky8cgbl4yh.execute-api.us-east-1.amazonaws.com";
|
|
44
44
|
|
|
45
45
|
export const DEFAULT_HQ_ROOT = path.join(os.homedir(), "hq");
|
|
46
46
|
|