@indigoai-us/hq-cli 5.345.105 → 5.345.107
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 +23 -0
- package/assets/scaffold/core/scripts/hq-task.mjs +259 -0
- package/assets/scaffold/core/scripts/hq-task.sh +31 -0
- package/assets/scaffold/core/scripts/pipeline-worker-table.sh +285 -0
- package/dist/command-catalog.generated.d.ts +135 -5
- package/dist/command-catalog.generated.js +161 -5
- package/dist/commands/auth.js +42 -0
- package/dist/commands/core-hq-task-fast.d.ts +4 -0
- package/dist/commands/core-hq-task-fast.js +11 -0
- package/dist/commands/core-hq-task-native.d.ts +20 -0
- package/dist/commands/core-hq-task-native.js +275 -0
- package/dist/commands/core-native-bucket-c-flag.d.ts +3 -0
- package/dist/commands/core-native-bucket-c-flag.js +6 -0
- package/dist/commands/core-native-family-flag.d.ts +0 -2
- package/dist/commands/core-native-family-flag.js +0 -4
- package/dist/commands/core-native-pipeline-flag.d.ts +3 -0
- package/dist/commands/core-native-pipeline-flag.js +6 -0
- package/dist/commands/core-ontology-native.js +24 -30
- package/dist/commands/core-pipeline-workers-command.d.ts +3 -0
- package/dist/commands/core-pipeline-workers-command.js +37 -0
- package/dist/commands/core-pipeline-workers-native.d.ts +13 -0
- package/dist/commands/core-pipeline-workers-native.js +361 -0
- package/dist/commands/core.js +12 -10
- package/dist/commands/lanes.js +32 -7
- package/dist/commands/logout.d.ts +6 -1
- package/dist/commands/logout.js +18 -2
- package/dist/commands/outposts.d.ts +5 -0
- package/dist/commands/outposts.js +5 -0
- package/dist/fast-scaffold.d.ts +14 -1
- package/dist/fast-scaffold.js +149 -5
- package/dist/hq-cloud-sync-runner/bin/sync-runner.js +56937 -64550
- package/dist/hq-cloud-sync-runner/package.json +1 -1
- package/dist/index.js +15 -1
- package/dist/lib/daemon/remote-control-pools.d.ts +2 -2
- package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
- package/dist/lib/flag-registry-worker-source.generated.js +1 -1
- package/dist/lib/lanes/reconcile.js +4 -0
- package/dist/lib/lanes/remote-control-lane.d.ts +33 -0
- package/dist/lib/lanes/remote-control-lane.js +276 -0
- package/dist/lib/lanes/spawn.d.ts +5 -0
- package/dist/lib/lanes/spawn.js +65 -14
- package/dist/lib/lanes/store.js +7 -0
- package/dist/lib/lanes/types.d.ts +2 -0
- package/dist/lib/lanes/types.js +1 -1
- package/dist/lib/lanes/watcher.js +8 -1
- package/dist/utils/cognito-config.d.ts +5 -0
- package/dist/utils/cognito-config.js +14 -0
- package/dist/utils/cognito-revoke.d.ts +33 -0
- package/dist/utils/cognito-revoke.js +42 -0
- package/dist/utils/cognito-session.d.ts +12 -4
- package/dist/utils/cognito-session.js +42 -9
- package/dist/utils/token-keychain.d.ts +96 -0
- package/dist/utils/token-keychain.js +218 -0
- package/package.json +2 -2
- package/assets/scaffold/core/scripts/ontology-audience-grant.sh +0 -81
- package/assets/scaffold/core/scripts/ontology-brief.mjs +0 -93
- package/assets/scaffold/core/scripts/ontology-candidate.sh +0 -100
- package/assets/scaffold/core/scripts/ontology-garden.mjs +0 -327
- package/assets/scaffold/core/scripts/ontology-source-worklist.sh +0 -226
- package/assets/scaffold/core/scripts/source-yaml-validate.sh +0 -36
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"hq-cli-daemon-sync-runner","type":"module","version":"6.18.
|
|
1
|
+
{"name":"hq-cli-daemon-sync-runner","type":"module","version":"6.18.66","bundleSha256":"d72d8dca5874f0b3e2c7051842495dd9109b2191f822a1fc7c8f92fd21f04436","formatVersion":1}
|
package/dist/index.js
CHANGED
|
@@ -6,13 +6,23 @@ import "./node-network-compat-fast.js";
|
|
|
6
6
|
import { isVersionRequest, wantsLabelledVersionReport } from "./version-request.js";
|
|
7
7
|
// Dependency-light: a pure parser + table, no command graph. Safe to load on
|
|
8
8
|
// every path (including --version) without reintroducing the heavy startup.
|
|
9
|
-
import { isCommandHelpRequest, isFastCoreRequest, parseFastCore, parseSecretsEnvFastRequest, } from "./fast-scaffold.js";
|
|
9
|
+
import { isCommandHelpRequest, isFastCoreRequest, parseFastCore, coreCommandHasPathOperands, normalizeCorePathOperands, parseSecretsEnvFastRequest, } from "./fast-scaffold.js";
|
|
10
10
|
import { CLI_COMMAND_HELP_CATALOG_FLAG } from "./lib/cli-flag-keys.js";
|
|
11
11
|
// Also dependency-light: registers a process-level rejection boundary; its only
|
|
12
12
|
// heavy import (main.js) is lazy and reached only when a rejection fires.
|
|
13
13
|
import { installProcessRejectionBoundary } from "./unhandled-rejection-boundary.js";
|
|
14
14
|
import { installFastPathStreamErrorHandlers } from "./utils/fast-stream-errors.js";
|
|
15
15
|
import { fileURLToPath } from "node:url";
|
|
16
|
+
import { createRequire } from "node:module";
|
|
17
|
+
function cygpathMixedPath(value) {
|
|
18
|
+
// Require only a Node builtin: the package supports Node releases before
|
|
19
|
+
// require(ESM) became available, and this runs in the synchronous dispatcher.
|
|
20
|
+
const { spawnSync } = createRequire(import.meta.url)("node:child_process");
|
|
21
|
+
const result = spawnSync("cygpath", ["-m", value], { encoding: "utf8" });
|
|
22
|
+
if (result.error?.code === "ENOENT")
|
|
23
|
+
return value;
|
|
24
|
+
return String(result.stdout ?? "").replace(/\n+$/u, "");
|
|
25
|
+
}
|
|
16
26
|
// Install BEFORE any dispatch so a floated rejection on ANY path (the command
|
|
17
27
|
// graph or the fast-core forwarder) becomes a non-zero exit. @sentry/node's
|
|
18
28
|
// onUnhandledRejection integration defaults to 'warn' — it captures but does
|
|
@@ -134,6 +144,10 @@ async function runNativeFastRouteWithRecovery(parsed) {
|
|
|
134
144
|
}
|
|
135
145
|
}
|
|
136
146
|
function dispatchCliEntry() {
|
|
147
|
+
if (process.platform === "win32" && coreCommandHasPathOperands(process.argv)) {
|
|
148
|
+
// Keep cygpath off non-Windows and non-path command routes.
|
|
149
|
+
process.argv = normalizeCorePathOperands(process.argv, "win32", cygpathMixedPath);
|
|
150
|
+
}
|
|
137
151
|
const versionRequest = isVersionRequest(process.argv);
|
|
138
152
|
const helpRequest = !versionRequest && isCommandHelpRequest(process.argv);
|
|
139
153
|
const parsedFastCore = versionRequest || helpRequest ? null : parseFastCore(process.argv);
|
|
@@ -28,8 +28,8 @@ export declare function remoteControlPoolSecretsEnv(env: NodeJS.ProcessEnv, serv
|
|
|
28
28
|
/** Require an explicit, existing capability; never inherit the mutable .current session. */
|
|
29
29
|
export declare function assertPersonalServiceSessionCapability(root: string, serviceSessionId: string): void;
|
|
30
30
|
/** Hosts file overlay consumed inside this pool's private mount namespace. */
|
|
31
|
-
export declare function remoteControlPoolHostsOverlay(pool: RemoteControlPool): string;
|
|
32
|
-
export declare function poolHostsFile(baseHosts: string, pool: RemoteControlPool): string;
|
|
31
|
+
export declare function remoteControlPoolHostsOverlay(pool: Pick<RemoteControlPool, "frontendAddress">): string;
|
|
32
|
+
export declare function poolHostsFile(baseHosts: string, pool: Pick<RemoteControlPool, "frontendAddress">): string;
|
|
33
33
|
export declare function readRemoteControlPoolsConfig(file: string, knownAccountIds?: Iterable<string>, home?: string): RemoteControlPoolsConfig;
|
|
34
34
|
export declare function writeRemoteControlPoolsConfig(file: string, config: RemoteControlPoolsConfig, home?: string): void;
|
|
35
35
|
export declare function remoteControlPoolArgs(pool: RemoteControlPool): string[];
|