@indigoai-us/hq-cli 5.345.245 → 5.345.247
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 +91 -0
- package/dist/command-catalog.generated.d.ts +96 -9
- package/dist/command-catalog.generated.js +117 -9
- package/dist/commands/bot.js +1 -1
- package/dist/commands/core-checkpoint-native.d.ts +5 -1
- package/dist/commands/core-checkpoint-native.js +13 -5
- package/dist/commands/deploy-comments.js +139 -0
- package/dist/commands/deploy-list.d.ts +5 -0
- package/dist/commands/deploy-list.js +8 -0
- package/dist/commands/dm.d.ts +4 -1
- package/dist/commands/dm.js +11 -2
- package/dist/commands/files.d.ts +11 -2
- package/dist/commands/files.js +48 -3
- package/dist/commands/install-global.d.ts +15 -0
- package/dist/commands/install-global.js +98 -4
- package/dist/commands/lanes-loop.js +4 -1
- package/dist/commands/lanes.js +16 -5
- package/dist/commands/mcp-registration.d.ts +17 -0
- package/dist/commands/mcp-registration.js +119 -0
- package/dist/commands/mesh.d.ts +2 -0
- package/dist/commands/mesh.js +26 -6
- package/dist/commands/pkg-install.js +1 -1
- package/dist/commands/reindex.js +3 -2
- package/dist/commands/rescue.d.ts +22 -1
- package/dist/commands/rescue.js +56 -9
- package/dist/commands/sources.d.ts +1 -1
- package/dist/commands/sources.js +1 -1
- package/dist/commands/storage.d.ts +15 -2
- package/dist/commands/storage.js +74 -7
- package/dist/hq-cloud-sync-runner/bin/sync-runner.js +232 -225
- package/dist/hq-cloud-sync-runner/package.json +1 -1
- package/dist/lib/agent-kit/mcp/tools.js +22 -0
- package/dist/lib/bot/jobs/hot-signal-sync.js +4 -1
- package/dist/lib/daemon/fleet-members-cache.d.ts +55 -0
- package/dist/lib/daemon/fleet-members-cache.js +266 -0
- package/dist/lib/daemon/handoff.d.ts +4 -0
- package/dist/lib/daemon/handoff.js +2 -1
- package/dist/lib/daemon/hook-requests.d.ts +2 -1
- package/dist/lib/daemon/hook-requests.js +19 -2
- package/dist/lib/daemon/install.d.ts +9 -1
- package/dist/lib/daemon/install.js +11 -2
- package/dist/lib/daemon/ops/policy.d.ts +23 -3
- package/dist/lib/daemon/ops/policy.js +62 -15
- package/dist/lib/daemon/run.js +12 -0
- package/dist/lib/daemon/server.d.ts +5 -0
- package/dist/lib/daemon/server.js +1 -1
- package/dist/lib/daemon/supervisor.d.ts +6 -0
- package/dist/lib/daemon/supervisor.js +31 -2
- package/dist/lib/doctor/checks/antigravity-wiring.d.ts +21 -0
- package/dist/lib/doctor/checks/antigravity-wiring.js +75 -0
- package/dist/lib/doctor/checks/anywhere.js +30 -0
- package/dist/lib/doctor/checks/runtime-probe.js +13 -0
- package/dist/lib/doctor/checks/sync-runtime.js +8 -1
- package/dist/lib/doctor/platform.d.ts +1 -1
- package/dist/lib/doctor/platform.js +5 -0
- package/dist/lib/doctor/registry.js +3 -0
- 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/hook-engine/coverage.d.ts +159 -0
- package/dist/lib/hook-engine/coverage.js +347 -0
- package/dist/lib/hook-engine/native-precompact-compatibility.json +1 -0
- package/dist/lib/hot-channels/signals-pass.d.ts +52 -2
- package/dist/lib/hot-channels/signals-pass.js +65 -3
- package/dist/lib/install/antigravity-targets.d.ts +39 -0
- package/dist/lib/install/antigravity-targets.js +122 -0
- package/dist/lib/install/claude-targets.d.ts +6 -0
- package/dist/lib/install/claude-targets.js +9 -1
- package/dist/lib/lanes/reconcile-result.d.ts +1 -1
- package/dist/lib/lanes/reconcile.js +19 -4
- package/dist/lib/lanes/remote-control-lane.d.ts +6 -0
- package/dist/lib/lanes/remote-control-lane.js +10 -1
- package/dist/lib/lanes/spawn.d.ts +2 -0
- package/dist/lib/lanes/spawn.js +19 -3
- package/dist/lib/lanes/worker-env-scrub.d.ts +48 -0
- package/dist/lib/lanes/worker-env-scrub.js +146 -0
- package/dist/lib/lanes/worker-process.js +4 -1
- package/dist/lib/mesh/client.js +5 -1
- package/dist/lib/mesh/live/daemon/doctor.d.ts +9 -0
- package/dist/lib/mesh/live/daemon/doctor.js +51 -6
- package/dist/lib/mesh/live/daemon/install.d.ts +39 -0
- package/dist/lib/mesh/live/daemon/install.js +70 -0
- package/dist/lib/mesh/live/daemon/outbox-company.d.ts +47 -0
- package/dist/lib/mesh/live/daemon/outbox-company.js +77 -0
- package/dist/lib/mesh/live/daemon/run.d.ts +2 -0
- package/dist/lib/mesh/live/daemon/run.js +48 -3
- package/dist/lib/mesh/live/daemon/state.d.ts +5 -0
- package/dist/lib/mesh/live/daemon/system-unit.d.ts +21 -0
- package/dist/lib/mesh/live/daemon/system-unit.js +80 -0
- package/dist/lib/mesh/live/daemon/transcript-watch.d.ts +4 -1
- package/dist/lib/mesh/live/daemon/transcript-watch.js +42 -38
- package/dist/lib/mesh/live/direct-drain.js +3 -1
- package/dist/lib/mesh/live/emit.js +4 -2
- package/dist/lib/mesh/live/flush.d.ts +61 -0
- package/dist/lib/mesh/live/flush.js +434 -114
- package/dist/lib/mesh/live/paths.d.ts +10 -0
- package/dist/lib/mesh/live/paths.js +14 -0
- package/dist/lib/mesh/live/reporting-privacy.d.ts +41 -1
- package/dist/lib/mesh/live/reporting-privacy.js +81 -7
- package/dist/lib/mesh/live/spool.d.ts +171 -17
- package/dist/lib/mesh/live/spool.js +777 -62
- package/dist/lib/signals/engine.d.ts +82 -2
- package/dist/lib/signals/engine.js +389 -53
- package/dist/lib/signals/steps/extract.js +5 -0
- package/dist/lib/work-context/organize.d.ts +22 -4
- package/dist/lib/work-context/organize.js +50 -21
- package/dist/lib/work-context/paths.d.ts +6 -0
- package/dist/lib/work-context/paths.js +9 -0
- package/dist/lib/work-context/reconcile.d.ts +1 -1
- package/dist/lib/work-context/reconcile.js +1 -1
- package/dist/startup-registration.d.ts +14 -0
- package/dist/startup-registration.js +26 -0
- package/dist/utils/cli-telemetry.d.ts +6 -0
- package/dist/utils/cli-telemetry.js +154 -9
- package/dist/utils/github-tag-fallback.d.ts +7 -2
- package/dist/utils/github-tag-fallback.js +17 -8
- package/dist/utils/hq-core-source.d.ts +31 -0
- package/dist/utils/hq-core-source.js +144 -0
- package/dist/utils/interactive-caller.d.ts +6 -0
- package/dist/utils/interactive-caller.js +8 -0
- package/dist/utils/shipped-codex-hooks.d.ts +6 -4
- package/dist/utils/shipped-codex-hooks.js +22 -10
- package/dist/utils/vault-api.js +1 -0
- package/dist/utils/version-report.d.ts +3 -1
- package/dist/utils/version-report.js +13 -5
- package/docs/anywhere-runtime.md +2 -2
- package/package.json +8 -8
- package/scripts/check-function-manifest.mjs +99 -18
|
@@ -50615,12 +50615,12 @@ var require_dist_cjs20 = __commonJS({
|
|
|
50615
50615
|
}
|
|
50616
50616
|
});
|
|
50617
50617
|
|
|
50618
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
50618
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/push-identity-fence.js
|
|
50619
50619
|
import * as crypto2 from "crypto";
|
|
50620
50620
|
import * as fs2 from "fs";
|
|
50621
50621
|
import * as path from "path";
|
|
50622
50622
|
|
|
50623
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
50623
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/fsync-compat.js
|
|
50624
50624
|
import * as fs from "node:fs";
|
|
50625
50625
|
var UNSUPPORTED_DIRECTORY_FSYNC_CODES = /* @__PURE__ */ new Set(["EINVAL", "ENOTSUP", "EOPNOTSUPP", "EPERM"]);
|
|
50626
50626
|
var loggedSkips = /* @__PURE__ */ new Set();
|
|
@@ -50644,7 +50644,7 @@ function fsyncWithCompatibility(fd, options) {
|
|
|
50644
50644
|
}
|
|
50645
50645
|
}
|
|
50646
50646
|
|
|
50647
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
50647
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/push-identity-fence.js
|
|
50648
50648
|
var RECORD_FORMAT = "hq-push-identity@2";
|
|
50649
50649
|
var MACHINE_FORMAT = "hq-push-identity-machine@1";
|
|
50650
50650
|
var PERSON_FORMAT = "hq-push-identity-person@1";
|
|
@@ -51440,7 +51440,7 @@ function writeJsonAtomic(filePath, value) {
|
|
|
51440
51440
|
}
|
|
51441
51441
|
}
|
|
51442
51442
|
|
|
51443
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
51443
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/manifest-folder-alias.js
|
|
51444
51444
|
import * as fs3 from "node:fs";
|
|
51445
51445
|
import * as path2 from "node:path";
|
|
51446
51446
|
function readManifestCloudCompanies(hqRoot) {
|
|
@@ -51515,14 +51515,14 @@ function manifestFolderAlias(byUid, companyUid, cloudSlug, onDuplicate) {
|
|
|
51515
51515
|
return entry.slug;
|
|
51516
51516
|
}
|
|
51517
51517
|
|
|
51518
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
51518
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-self-profile.js
|
|
51519
51519
|
import * as fs30 from "node:fs";
|
|
51520
51520
|
import * as os6 from "node:os";
|
|
51521
51521
|
import * as path25 from "node:path";
|
|
51522
51522
|
import { Session } from "node:inspector";
|
|
51523
51523
|
import { fileURLToPath as fileURLToPath3, pathToFileURL } from "node:url";
|
|
51524
51524
|
|
|
51525
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
51525
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/watcher.js
|
|
51526
51526
|
import * as fs29 from "fs";
|
|
51527
51527
|
import { createHash as createHash17 } from "node:crypto";
|
|
51528
51528
|
import { readFile as readFile3, stat as stat4 } from "node:fs/promises";
|
|
@@ -53218,7 +53218,7 @@ function watch(paths, options = {}) {
|
|
|
53218
53218
|
return watcher;
|
|
53219
53219
|
}
|
|
53220
53220
|
|
|
53221
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53221
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cloud-placeholder.js
|
|
53222
53222
|
import * as fs4 from "fs";
|
|
53223
53223
|
import * as path3 from "path";
|
|
53224
53224
|
var CLOUD_PLACEHOLDER_SUFFIX = ".hqcloud";
|
|
@@ -53656,18 +53656,18 @@ function writeCloudPlaceholder(placeholderPath, placeholder) {
|
|
|
53656
53656
|
}
|
|
53657
53657
|
}
|
|
53658
53658
|
|
|
53659
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53659
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/ignore.js
|
|
53660
53660
|
var import_ignore = __toESM(require_ignore(), 1);
|
|
53661
53661
|
import * as fs5 from "fs";
|
|
53662
53662
|
import * as path4 from "path";
|
|
53663
53663
|
|
|
53664
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53664
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/restore-staging.js
|
|
53665
53665
|
var RESTORE_STAGING_SUFFIX = /\.hq-restore-(?:\d+(?:-\d+)?|probe-\d+-[0-9a-z]+)$/i;
|
|
53666
53666
|
function isRestoreStagingPath(relativePath) {
|
|
53667
53667
|
return relativePath.split(/[\\/]/).some((segment) => RESTORE_STAGING_SUFFIX.test(segment));
|
|
53668
53668
|
}
|
|
53669
53669
|
|
|
53670
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53670
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/best-effort-error.js
|
|
53671
53671
|
var EXPECTED_ABSENCE_CODES = /* @__PURE__ */ new Set([
|
|
53672
53672
|
"ENOENT",
|
|
53673
53673
|
"NoSuchKey",
|
|
@@ -53709,7 +53709,7 @@ function noteSwallowedError(log, event, error62, options = {}) {
|
|
|
53709
53709
|
`);
|
|
53710
53710
|
}
|
|
53711
53711
|
|
|
53712
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53712
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/cloud-authoritative.js
|
|
53713
53713
|
var CLOUD_AUTHORITATIVE_PATTERNS = [
|
|
53714
53714
|
/^company-brief\.md$/,
|
|
53715
53715
|
/^board\.json$/,
|
|
@@ -53757,7 +53757,7 @@ function isPullReconciledServerOwned(relPath) {
|
|
|
53757
53757
|
return isCloudAuthoritative(vaultRel);
|
|
53758
53758
|
}
|
|
53759
53759
|
|
|
53760
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53760
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/ignore.js
|
|
53761
53761
|
function logSwallowed(line) {
|
|
53762
53762
|
process.stderr.write(line);
|
|
53763
53763
|
}
|
|
@@ -54501,7 +54501,7 @@ function isWithinSizeLimit(filePath, maxBytes = SYNC_MAX_FILE_BYTES) {
|
|
|
54501
54501
|
}
|
|
54502
54502
|
}
|
|
54503
54503
|
|
|
54504
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
54504
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/watch-roots.js
|
|
54505
54505
|
import * as fs6 from "fs";
|
|
54506
54506
|
import * as path5 from "path";
|
|
54507
54507
|
function defaultListChildDirs(dir, onSymlinkEntry) {
|
|
@@ -54575,7 +54575,7 @@ function isCoveredByRecursiveRoot(absolutePath, recursiveRoots) {
|
|
|
54575
54575
|
}
|
|
54576
54576
|
}
|
|
54577
54577
|
|
|
54578
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
54578
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/watch-coverage.js
|
|
54579
54579
|
import * as fs7 from "fs";
|
|
54580
54580
|
function directoryIdentityAt(absolutePath) {
|
|
54581
54581
|
try {
|
|
@@ -54612,7 +54612,7 @@ function probeScopedWatchCoverage(input2) {
|
|
|
54612
54612
|
return { ok: true };
|
|
54613
54613
|
}
|
|
54614
54614
|
|
|
54615
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
54615
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/local-path-codec.js
|
|
54616
54616
|
import * as path6 from "path";
|
|
54617
54617
|
var WIN32_RESERVED_CHARS = /[<>:"/\\|?*]/;
|
|
54618
54618
|
var WIN32_DEVICE_NAME = /^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\..*)?$/i;
|
|
@@ -54670,7 +54670,7 @@ function canonicalVaultKeySpelling(key) {
|
|
|
54670
54670
|
return segments.join("/");
|
|
54671
54671
|
}
|
|
54672
54672
|
|
|
54673
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
54673
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/personal-vault-exclusions.js
|
|
54674
54674
|
import * as path7 from "path";
|
|
54675
54675
|
import * as fs8 from "fs";
|
|
54676
54676
|
function hasSegment(relPath, segment) {
|
|
@@ -54967,7 +54967,7 @@ function wrapFilterWithPersonalVaultDefaults(underlying, syncRoot, onExcluded, o
|
|
|
54967
54967
|
};
|
|
54968
54968
|
}
|
|
54969
54969
|
|
|
54970
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
54970
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/state-store.js
|
|
54971
54971
|
import * as crypto3 from "node:crypto";
|
|
54972
54972
|
import * as fs9 from "node:fs";
|
|
54973
54973
|
import * as path8 from "node:path";
|
|
@@ -57203,6 +57203,9 @@ function readIntoSync(fd, target, position) {
|
|
|
57203
57203
|
}
|
|
57204
57204
|
return offset;
|
|
57205
57205
|
}
|
|
57206
|
+
function writeLockOwner(fd) {
|
|
57207
|
+
fs9.writeFileSync(fd, String(process.pid));
|
|
57208
|
+
}
|
|
57206
57209
|
function withScopeLock(dir, action) {
|
|
57207
57210
|
const lockPath = path8.join(dir, "append.lock");
|
|
57208
57211
|
const key = path8.resolve(dir);
|
|
@@ -57216,8 +57219,7 @@ function withScopeLock(dir, action) {
|
|
|
57216
57219
|
while (fd === void 0) {
|
|
57217
57220
|
try {
|
|
57218
57221
|
fd = fs9.openSync(lockPath, "wx");
|
|
57219
|
-
|
|
57220
|
-
fs9.fdatasyncSync(fd);
|
|
57222
|
+
writeLockOwner(fd);
|
|
57221
57223
|
} catch (error62) {
|
|
57222
57224
|
if (!isAlreadyExists(error62)) {
|
|
57223
57225
|
throw new StateStoreLockError(`cannot acquire ${lockPath}`, { cause: error62 });
|
|
@@ -57303,8 +57305,7 @@ function tryAcquireScopeLock(dir) {
|
|
|
57303
57305
|
try {
|
|
57304
57306
|
fd = fs9.openSync(lockPath, "wx");
|
|
57305
57307
|
scopeLockWriteHookForTest?.();
|
|
57306
|
-
|
|
57307
|
-
fs9.fdatasyncSync(fd);
|
|
57308
|
+
writeLockOwner(fd);
|
|
57308
57309
|
return { lockPath, fd };
|
|
57309
57310
|
} catch (error62) {
|
|
57310
57311
|
if (fd !== void 0) {
|
|
@@ -57362,8 +57363,7 @@ function withRotationClaim(dir, action) {
|
|
|
57362
57363
|
try {
|
|
57363
57364
|
fd = fs9.openSync(claimPath, "wx");
|
|
57364
57365
|
rotationClaimWriteHookForTest?.();
|
|
57365
|
-
|
|
57366
|
-
fs9.fdatasyncSync(fd);
|
|
57366
|
+
writeLockOwner(fd);
|
|
57367
57367
|
} catch (error62) {
|
|
57368
57368
|
if (fd !== void 0) {
|
|
57369
57369
|
let closeError;
|
|
@@ -57422,8 +57422,7 @@ async function withRotationClaimAsync(dir, action) {
|
|
|
57422
57422
|
try {
|
|
57423
57423
|
fd = await openExclusiveAsync(claimPath);
|
|
57424
57424
|
rotationClaimWriteHookForTest?.();
|
|
57425
|
-
|
|
57426
|
-
fs9.fdatasyncSync(fd);
|
|
57425
|
+
writeLockOwner(fd);
|
|
57427
57426
|
} catch (error62) {
|
|
57428
57427
|
if (fd !== void 0) {
|
|
57429
57428
|
let closeError;
|
|
@@ -57575,8 +57574,7 @@ async function withScopeLockAsyncUnlocked(dir, action, deadline) {
|
|
|
57575
57574
|
let acquisitionError;
|
|
57576
57575
|
try {
|
|
57577
57576
|
fd = fs9.openSync(lockPath, "wx");
|
|
57578
|
-
|
|
57579
|
-
fs9.fdatasyncSync(fd);
|
|
57577
|
+
writeLockOwner(fd);
|
|
57580
57578
|
} catch (error62) {
|
|
57581
57579
|
acquisitionError = error62;
|
|
57582
57580
|
if (fd !== void 0) {
|
|
@@ -58023,11 +58021,11 @@ function crc32c(bytes) {
|
|
|
58023
58021
|
return (crc ^ 4294967295) >>> 0;
|
|
58024
58022
|
}
|
|
58025
58023
|
|
|
58026
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
58024
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/personal-vault.js
|
|
58027
58025
|
import * as fs15 from "fs";
|
|
58028
58026
|
import * as path13 from "path";
|
|
58029
58027
|
|
|
58030
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
58028
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/journal.js
|
|
58031
58029
|
import * as fs14 from "fs";
|
|
58032
58030
|
import * as os2 from "os";
|
|
58033
58031
|
import * as path12 from "path";
|
|
@@ -58035,7 +58033,7 @@ import * as crypto8 from "crypto";
|
|
|
58035
58033
|
import { spawn } from "node:child_process";
|
|
58036
58034
|
import { fileURLToPath } from "node:url";
|
|
58037
58035
|
|
|
58038
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
58036
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/journal-decode-window.js
|
|
58039
58037
|
var JOURNAL_DECODE_WINDOW = 1e4;
|
|
58040
58038
|
var rowsInFlight = 0;
|
|
58041
58039
|
var peakRowsInFlight = 0;
|
|
@@ -58094,7 +58092,7 @@ function journalFingerprintMatchesStat(fingerprint, lstat3) {
|
|
|
58094
58092
|
return lstat3.size === fingerprint.size && lstat3.mtimeMs === fingerprint.mtimeMs && lstat3.ctimeMs === fingerprint.ctimeMs;
|
|
58095
58093
|
}
|
|
58096
58094
|
|
|
58097
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
58095
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/journal-row-store.js
|
|
58098
58096
|
var HASH_BYTES = 32;
|
|
58099
58097
|
var ETAG_BYTES = 16;
|
|
58100
58098
|
var INITIAL_ROW_CAPACITY = 16;
|
|
@@ -59624,7 +59622,7 @@ function readOptionalBoolean(entry, key, flags, presentBit, valueBit) {
|
|
|
59624
59622
|
entry[key] = Boolean(flags & valueBit);
|
|
59625
59623
|
}
|
|
59626
59624
|
|
|
59627
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59625
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/journal-record-proxy.js
|
|
59628
59626
|
var rowsByRecordProxy = /* @__PURE__ */ new WeakMap();
|
|
59629
59627
|
function journalRecordRows(files) {
|
|
59630
59628
|
return rowsByRecordProxy.get(files);
|
|
@@ -59690,13 +59688,13 @@ function createJournalRecordProxy(store) {
|
|
|
59690
59688
|
return proxy;
|
|
59691
59689
|
}
|
|
59692
59690
|
|
|
59693
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59691
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-decoder.js
|
|
59694
59692
|
import { StringDecoder } from "node:string_decoder";
|
|
59695
59693
|
|
|
59696
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59694
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-v4.js
|
|
59697
59695
|
import * as crypto4 from "node:crypto";
|
|
59698
59696
|
|
|
59699
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59697
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-rows.js
|
|
59700
59698
|
var packedJournalRows = /* @__PURE__ */ new WeakMap();
|
|
59701
59699
|
var sharedAreaJournalRowStores = /* @__PURE__ */ new Map();
|
|
59702
59700
|
function areaJournalRowsCacheKey(rootDir, slug) {
|
|
@@ -59719,7 +59717,7 @@ function forgetSharedAreaJournalRows(cacheKey) {
|
|
|
59719
59717
|
sharedAreaJournalRowStores.delete(cacheKey);
|
|
59720
59718
|
}
|
|
59721
59719
|
|
|
59722
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59720
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-v4.js
|
|
59723
59721
|
var JOURNAL_SNAPSHOT_V4_MAGIC = SNAPSHOT_V4_MAGIC;
|
|
59724
59722
|
var SNAPSHOT_FIXED_HEADER_BYTES2 = 52;
|
|
59725
59723
|
var SECTION_ALIGNMENT_BYTES = 8;
|
|
@@ -60255,7 +60253,7 @@ function assertLittleEndian() {
|
|
|
60255
60253
|
throw new Error("HQSNAP4 requires a little-endian host");
|
|
60256
60254
|
}
|
|
60257
60255
|
|
|
60258
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60256
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-decoder.js
|
|
60259
60257
|
function decodeJournalSnapshot(chunks, magic) {
|
|
60260
60258
|
if (magic.equals(SNAPSHOT_V3_MAGIC))
|
|
60261
60259
|
return decodeV3JournalSnapshot(chunks);
|
|
@@ -60609,12 +60607,12 @@ function isPunctuation(value) {
|
|
|
60609
60607
|
return value === "{" || value === "}" || value === "[" || value === "]" || value === ":" || value === ",";
|
|
60610
60608
|
}
|
|
60611
60609
|
|
|
60612
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60610
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/posix-key.js
|
|
60613
60611
|
function toPosixKey(key) {
|
|
60614
60612
|
return key.split("\\").join("/");
|
|
60615
60613
|
}
|
|
60616
60614
|
|
|
60617
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60615
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/path-ancestors.js
|
|
60618
60616
|
function isUnderAnyRoot(key, roots) {
|
|
60619
60617
|
if (roots.has(key))
|
|
60620
60618
|
return true;
|
|
@@ -60627,7 +60625,7 @@ function isUnderAnyRoot(key, roots) {
|
|
|
60627
60625
|
return false;
|
|
60628
60626
|
}
|
|
60629
60627
|
|
|
60630
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60628
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/journal-ledger-stream.js
|
|
60631
60629
|
import * as fs10 from "node:fs";
|
|
60632
60630
|
import { StringDecoder as StringDecoder2 } from "node:string_decoder";
|
|
60633
60631
|
var CHUNK_BYTES = 1 << 18;
|
|
@@ -60741,12 +60739,12 @@ function streamJournalLedgerRows(filePath, onRow) {
|
|
|
60741
60739
|
}
|
|
60742
60740
|
}
|
|
60743
60741
|
|
|
60744
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60742
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-migration.js
|
|
60745
60743
|
import * as crypto7 from "node:crypto";
|
|
60746
60744
|
import * as fs13 from "node:fs";
|
|
60747
60745
|
import * as path11 from "node:path";
|
|
60748
60746
|
|
|
60749
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60747
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/operation-lock.js
|
|
60750
60748
|
import * as crypto5 from "crypto";
|
|
60751
60749
|
import * as fs11 from "fs";
|
|
60752
60750
|
import * as os from "os";
|
|
@@ -61435,7 +61433,7 @@ function withOperationLockSync(hqRoot, command5, fn, opts = {}) {
|
|
|
61435
61433
|
}
|
|
61436
61434
|
}
|
|
61437
61435
|
|
|
61438
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
61436
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger.js
|
|
61439
61437
|
import * as crypto6 from "node:crypto";
|
|
61440
61438
|
var DIRECT_DELTA = 1;
|
|
61441
61439
|
var PREPARED_TRANSACTION = 2;
|
|
@@ -62864,7 +62862,7 @@ function cloneMetadata(metadata) {
|
|
|
62864
62862
|
return result;
|
|
62865
62863
|
}
|
|
62866
62864
|
|
|
62867
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
62865
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/area-resolver.js
|
|
62868
62866
|
import * as fs12 from "fs";
|
|
62869
62867
|
import * as path10 from "path";
|
|
62870
62868
|
var AREA_LAYOUT_FORMAT = 1;
|
|
@@ -63175,7 +63173,7 @@ function compareText(left, right) {
|
|
|
63175
63173
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
63176
63174
|
}
|
|
63177
63175
|
|
|
63178
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
63176
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-migration.js
|
|
63179
63177
|
function logSwallowed2(line) {
|
|
63180
63178
|
process.stderr.write(line);
|
|
63181
63179
|
}
|
|
@@ -63954,7 +63952,7 @@ function canonicalJsonOrUndefined(value) {
|
|
|
63954
63952
|
return value === void 0 ? void 0 : canonicalJson2(value);
|
|
63955
63953
|
}
|
|
63956
63954
|
|
|
63957
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
63955
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/per-area-maintenance.js
|
|
63958
63956
|
var AREA_MAINTENANCE_CURSOR_FORMAT = 1;
|
|
63959
63957
|
var CURSOR_SET = 1;
|
|
63960
63958
|
var AreaMaintenanceCursorStore = class _AreaMaintenanceCursorStore {
|
|
@@ -64056,7 +64054,7 @@ function sameAreas(left, right) {
|
|
|
64056
64054
|
return left.length === right.length && left.every((areaId, index) => areaId === right[index]);
|
|
64057
64055
|
}
|
|
64058
64056
|
|
|
64059
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
64057
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/journal.js
|
|
64060
64058
|
var TOMBSTONE_TTL_MS = 30 * 24 * 60 * 60 * 1e3;
|
|
64061
64059
|
var JOURNAL_VERSION_CURRENT = "2";
|
|
64062
64060
|
var MAX_PULLS_PER_COMPANY = 50;
|
|
@@ -66273,7 +66271,7 @@ function gcTombstones(journal, now = Date.now()) {
|
|
|
66273
66271
|
return removed;
|
|
66274
66272
|
}
|
|
66275
66273
|
|
|
66276
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66274
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/personal-vault.js
|
|
66277
66275
|
function logSwallowed3(line) {
|
|
66278
66276
|
process.stderr.write(line);
|
|
66279
66277
|
}
|
|
@@ -66651,7 +66649,7 @@ function purgeExcludedPersonalVaultJournalEntries(journal, hqRoot, syncRoot, sho
|
|
|
66651
66649
|
return { removed, byReason };
|
|
66652
66650
|
}
|
|
66653
66651
|
|
|
66654
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66652
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/local-link-warning.js
|
|
66655
66653
|
import fs16 from "node:fs";
|
|
66656
66654
|
import path14 from "node:path";
|
|
66657
66655
|
var LOCAL_LINK_REMEDY = "Repair or remove the link, then sync again. For release-shipped links, run hq rescue. On Windows, enable Developer Mode before repairing symlinks.";
|
|
@@ -66768,7 +66766,7 @@ function linkWarningMessage(warning4) {
|
|
|
66768
66766
|
return `Skipped symbolic link (${warning4.reason}). ${warning4.remedy}`;
|
|
66769
66767
|
}
|
|
66770
66768
|
|
|
66771
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66769
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/parent-link-alias.js
|
|
66772
66770
|
import fs17 from "node:fs";
|
|
66773
66771
|
import path15 from "node:path";
|
|
66774
66772
|
function linkedParentBelowRoot(root5, dir, realRoot, realDir) {
|
|
@@ -66819,12 +66817,12 @@ function inRootAliasPath(root5, absolutePath) {
|
|
|
66819
66817
|
return path15.join(rel, path15.basename(absolutePath)).split(path15.sep).join("/");
|
|
66820
66818
|
}
|
|
66821
66819
|
|
|
66822
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66820
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
66823
66821
|
import * as fs26 from "fs";
|
|
66824
66822
|
import * as path21 from "path";
|
|
66825
66823
|
import * as crypto11 from "crypto";
|
|
66826
66824
|
|
|
66827
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66825
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/local-replacement.js
|
|
66828
66826
|
import * as crypto9 from "crypto";
|
|
66829
66827
|
import * as fs18 from "fs";
|
|
66830
66828
|
import * as os3 from "os";
|
|
@@ -66880,11 +66878,11 @@ function shouldRecordLocalDeleteIntent(localPath, absent) {
|
|
|
66880
66878
|
return absent && !isLocalPathBeingReplaced(localPath);
|
|
66881
66879
|
}
|
|
66882
66880
|
|
|
66883
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66881
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
66884
66882
|
import { Readable as Readable10, Transform as Transform3 } from "stream";
|
|
66885
66883
|
import { pipeline } from "stream/promises";
|
|
66886
66884
|
|
|
66887
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66885
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/net-errors.js
|
|
66888
66886
|
var TRANSIENT_NETWORK_EXIT = 75;
|
|
66889
66887
|
var TRANSIENT_CODES = /* @__PURE__ */ new Set([
|
|
66890
66888
|
"ECONNREFUSED",
|
|
@@ -66994,7 +66992,7 @@ function hasDeniedConnect(err, depth) {
|
|
|
66994
66992
|
return false;
|
|
66995
66993
|
}
|
|
66996
66994
|
|
|
66997
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66995
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-entity-meta.js
|
|
66998
66996
|
var ONTOLOGY_ENTITY_KEY = /^ontology\/entities\/[a-z][a-z0-9-]*\/[^/]+\.md$/;
|
|
66999
66997
|
var ENTITY_LAST_UPDATED_META_KEY = "hq-entity-last-updated";
|
|
67000
66998
|
function ontologyVaultKey(relPath) {
|
|
@@ -67026,13 +67024,13 @@ function buildEntityMetadata(key, body) {
|
|
|
67026
67024
|
return stamp === null ? {} : { [ENTITY_LAST_UPDATED_META_KEY]: stamp };
|
|
67027
67025
|
}
|
|
67028
67026
|
|
|
67029
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67027
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
67030
67028
|
var import_client_s3 = __toESM(require_dist_cjs16(), 1);
|
|
67031
67029
|
import * as http3 from "node:http";
|
|
67032
67030
|
import * as https2 from "node:https";
|
|
67033
67031
|
import { Transform as Transform2 } from "node:stream";
|
|
67034
67032
|
|
|
67035
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67033
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/s3-content-checksum.js
|
|
67036
67034
|
import { createHash as createHash14 } from "node:crypto";
|
|
67037
67035
|
var CHECKSUM_HEADER_NAMES = [
|
|
67038
67036
|
"content-md5",
|
|
@@ -67103,7 +67101,7 @@ function headersForObjectLockPut(url2, headers, body) {
|
|
|
67103
67101
|
return out;
|
|
67104
67102
|
}
|
|
67105
67103
|
|
|
67106
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67104
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bandwidth.js
|
|
67107
67105
|
import { Transform } from "node:stream";
|
|
67108
67106
|
var MAX_BYTES_PER_SEC_ENV = "HQ_SYNC_MAX_BYTES_PER_SEC";
|
|
67109
67107
|
var MAX_CONCURRENCY_ENV = "HQ_SYNC_MAX_CONCURRENCY";
|
|
@@ -67504,7 +67502,7 @@ function getBandwidthGovernor() {
|
|
|
67504
67502
|
return singleton;
|
|
67505
67503
|
}
|
|
67506
67504
|
|
|
67507
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67505
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/client-info.js
|
|
67508
67506
|
var HEADER_CLIENT_NAME = "x-hq-client-name";
|
|
67509
67507
|
var HEADER_CLIENT_VERSION = "x-hq-client-version";
|
|
67510
67508
|
var HEADER_HQ_CORE_VERSION = "x-hq-core-version";
|
|
@@ -67527,7 +67525,7 @@ function buildClientHeaders(info) {
|
|
|
67527
67525
|
return headers;
|
|
67528
67526
|
}
|
|
67529
67527
|
|
|
67530
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67528
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/telemetry-events.js
|
|
67531
67529
|
var MAX_EVENTS_PER_BATCH = 50;
|
|
67532
67530
|
var DEFAULT_TIMEOUT_MS = 1500;
|
|
67533
67531
|
var MAX_PROPERTIES = 40;
|
|
@@ -67671,12 +67669,12 @@ function describeError(err) {
|
|
|
67671
67669
|
return err instanceof Error ? err.name : typeof err;
|
|
67672
67670
|
}
|
|
67673
67671
|
|
|
67674
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67672
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/http-keepalive.js
|
|
67675
67673
|
import * as http from "node:http";
|
|
67676
67674
|
import * as https from "node:https";
|
|
67677
67675
|
import { Readable as Readable9 } from "node:stream";
|
|
67678
67676
|
|
|
67679
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67677
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/realtime-telemetry.js
|
|
67680
67678
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
67681
67679
|
import { monitorEventLoopDelay } from "node:perf_hooks";
|
|
67682
67680
|
var REALTIME_TELEMETRY_EVENT = "sync.realtime.timing";
|
|
@@ -67866,7 +67864,7 @@ function writeRealtimeTelemetryToStderr(record2) {
|
|
|
67866
67864
|
`);
|
|
67867
67865
|
}
|
|
67868
67866
|
|
|
67869
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67867
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/http-keepalive.js
|
|
67870
67868
|
var HTTP_AGENT = new http.Agent({ keepAlive: true, maxSockets: 8 });
|
|
67871
67869
|
var HTTPS_AGENT = new https.Agent({ keepAlive: true, maxSockets: 8 });
|
|
67872
67870
|
function getKeepAliveAgent(secure) {
|
|
@@ -67926,7 +67924,7 @@ function requestWithKeepAlive(url2, init) {
|
|
|
67926
67924
|
});
|
|
67927
67925
|
}
|
|
67928
67926
|
|
|
67929
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67927
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync-request-counter.js
|
|
67930
67928
|
var counts = { vault: 0, list: 0, object: 0 };
|
|
67931
67929
|
var UNCOUNTED_VAULT_PATH_PREFIX = "/v1/telemetry/";
|
|
67932
67930
|
function syncRequestKindForVaultPath(path85) {
|
|
@@ -86817,7 +86815,7 @@ function date5(params) {
|
|
|
86817
86815
|
return _coercedDate(ZodDate, params);
|
|
86818
86816
|
}
|
|
86819
86817
|
|
|
86820
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
86818
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cognito-auth.js
|
|
86821
86819
|
import { spawnSync } from "child_process";
|
|
86822
86820
|
import * as crypto10 from "crypto";
|
|
86823
86821
|
import * as fs24 from "fs";
|
|
@@ -87339,7 +87337,7 @@ defineLazyProperty(apps, "browser", () => "browser");
|
|
|
87339
87337
|
defineLazyProperty(apps, "browserPrivate", () => "browserPrivate");
|
|
87340
87338
|
var open_default = open4;
|
|
87341
87339
|
|
|
87342
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87340
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cognito-auth.js
|
|
87343
87341
|
var CognitoAuthError = class extends Error {
|
|
87344
87342
|
constructor(message) {
|
|
87345
87343
|
super(message);
|
|
@@ -88899,7 +88897,7 @@ function pickNewerSession(fromKeychain, other) {
|
|
|
88899
88897
|
return expiresAtMs(other) > expiresAtMs(fromKeychain) ? other : fromKeychain;
|
|
88900
88898
|
}
|
|
88901
88899
|
|
|
88902
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88900
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/credential-scope-error.js
|
|
88903
88901
|
var POLICY_WRITE_SCOPE_TRUNCATED = "POLICY_WRITE_SCOPE_TRUNCATED";
|
|
88904
88902
|
var VaultCredentialScopeError = class extends Error {
|
|
88905
88903
|
droppedWriteGrantPrefixes;
|
|
@@ -88941,7 +88939,7 @@ function assertCredentialScopeUsable(diagnostic) {
|
|
|
88941
88939
|
}
|
|
88942
88940
|
}
|
|
88943
88941
|
|
|
88944
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88942
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/plan-limit.js
|
|
88945
88943
|
var PLAN_LIMIT_REACHED_ERROR = "plan_limit_reached";
|
|
88946
88944
|
var PLAN_LIMIT_CODES = /* @__PURE__ */ new Set([
|
|
88947
88945
|
"PLAN_LIMIT_EXCEEDED",
|
|
@@ -89084,7 +89082,7 @@ function formatPlanLimitNotice(event) {
|
|
|
89084
89082
|
return ` ! ${files} paused by your plan limit.${reason} Upgrade: ${event.upgradeUrl}`;
|
|
89085
89083
|
}
|
|
89086
89084
|
|
|
89087
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
89085
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/vault-client.js
|
|
89088
89086
|
var DEFAULT_GLOBAL_FETCH = globalThis.fetch;
|
|
89089
89087
|
var VaultClientError = class extends Error {
|
|
89090
89088
|
statusCode;
|
|
@@ -90083,7 +90081,7 @@ function parseVaultErrorBody(body) {
|
|
|
90083
90081
|
}
|
|
90084
90082
|
}
|
|
90085
90083
|
|
|
90086
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
90084
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/vault-key-grammar.js
|
|
90087
90085
|
var KEY_CONTROL_CHARS = /[\x00-\x1F\x7F]/;
|
|
90088
90086
|
var MAX_URI_DECODE_DEPTH = 4;
|
|
90089
90087
|
function classifyVaultKey(key, _scope) {
|
|
@@ -90190,7 +90188,7 @@ function isPresignKeyGrammarCode(code) {
|
|
|
90190
90188
|
return typeof code === "string" && (code === "INVALID_KEY" || code.startsWith("INVALID_KEY_") || code.startsWith("PRESIGN_KEY_"));
|
|
90191
90189
|
}
|
|
90192
90190
|
|
|
90193
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
90191
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
90194
90192
|
var OBJECT_IO_REQUEST_TIMEOUT_MS = 6e4;
|
|
90195
90193
|
var OBJECT_IO_REQUEST_TIMEOUT_PER_MIB_MS = 8e3;
|
|
90196
90194
|
var OBJECT_IO_BODY_IDLE_TIMEOUT_MS = 15e3;
|
|
@@ -91671,7 +91669,7 @@ function presignObjectIOFactory(vault, refresherFor, forceRefresherFor, options
|
|
|
91671
91669
|
};
|
|
91672
91670
|
}
|
|
91673
91671
|
|
|
91674
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91672
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/file-mode-portability.js
|
|
91675
91673
|
var WIN32_SYNTHETIC_MODES = /* @__PURE__ */ new Set([438, 292]);
|
|
91676
91674
|
function portableModeStamp(mode, platform3 = process.platform) {
|
|
91677
91675
|
if (platform3 === "win32")
|
|
@@ -91682,7 +91680,7 @@ function isPortableModeSignal(mode) {
|
|
|
91682
91680
|
return !WIN32_SYNTHETIC_MODES.has(mode & 511);
|
|
91683
91681
|
}
|
|
91684
91682
|
|
|
91685
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91683
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/script-eol.js
|
|
91686
91684
|
import * as path19 from "path";
|
|
91687
91685
|
var SCRIPT_EXTENSIONS = /* @__PURE__ */ new Set([".sh", ".bash", ".zsh"]);
|
|
91688
91686
|
var SHEBANG = Buffer.from("#!");
|
|
@@ -91738,7 +91736,7 @@ function normalizeScriptLineEndings(body) {
|
|
|
91738
91736
|
return changed ? out.subarray(0, n3) : null;
|
|
91739
91737
|
}
|
|
91740
91738
|
|
|
91741
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91739
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/symlink-target-policy.js
|
|
91742
91740
|
import path20 from "node:path";
|
|
91743
91741
|
import fs25 from "node:fs";
|
|
91744
91742
|
function personalSymlinkTargetLinkPath(relativePath) {
|
|
@@ -91961,7 +91959,7 @@ function redactShape(target, classification) {
|
|
|
91961
91959
|
return parents > 0 ? `relative-parent-${Math.min(parents, 8)}` : "relative-path";
|
|
91962
91960
|
}
|
|
91963
91961
|
|
|
91964
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91962
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
91965
91963
|
var DOWNLOAD_STREAM_MAX_RETRIES = 3;
|
|
91966
91964
|
var DOWNLOAD_STREAM_BASE_DELAY_MS = 400;
|
|
91967
91965
|
function sleepMs(ms) {
|
|
@@ -93499,7 +93497,7 @@ function getMimeType(filePath) {
|
|
|
93499
93497
|
return mimeTypes[ext] || "application/octet-stream";
|
|
93500
93498
|
}
|
|
93501
93499
|
|
|
93502
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
93500
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/windows-extended-path.js
|
|
93503
93501
|
import fs27 from "node:fs";
|
|
93504
93502
|
var EXTENDED_UNC = /^[\\/]{2}\?[\\/]UNC[\\/]/i;
|
|
93505
93503
|
var EXTENDED_DRIVE = /^[\\/]{2}\?[\\/](?=[A-Za-z]:(?:[\\/]|$))/;
|
|
@@ -93521,7 +93519,7 @@ function realpathRootSync(p3, impl = DEFAULT_IMPL) {
|
|
|
93521
93519
|
}
|
|
93522
93520
|
}
|
|
93523
93521
|
|
|
93524
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
93522
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/push-event.js
|
|
93525
93523
|
var CONTENT_HASH_PATTERN = /^sha256:[0-9a-f]{64}$/;
|
|
93526
93524
|
var ISO8601_DATETIME_PATTERN = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/;
|
|
93527
93525
|
function nativeSeparatorsToPosix(relativePath, sep23) {
|
|
@@ -93616,7 +93614,7 @@ function decodePushEvent(input2) {
|
|
|
93616
93614
|
return parsed.data;
|
|
93617
93615
|
}
|
|
93618
93616
|
|
|
93619
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
93617
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-routes.js
|
|
93620
93618
|
import * as path22 from "path";
|
|
93621
93619
|
function routeChangeToTarget(relPath, kind) {
|
|
93622
93620
|
const norm = relPath.split(path22.sep).join("/").replace(/^\.\//, "");
|
|
@@ -93785,7 +93783,7 @@ function carriedFlags(baseArgv) {
|
|
|
93785
93783
|
return carried;
|
|
93786
93784
|
}
|
|
93787
93785
|
|
|
93788
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
93786
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/push-transport.js
|
|
93789
93787
|
var moduleLoadFetch = globalThis.fetch;
|
|
93790
93788
|
var moduleLoadAbortController = globalThis.AbortController;
|
|
93791
93789
|
var successOutcomes = /* @__PURE__ */ new WeakMap();
|
|
@@ -94007,7 +94005,7 @@ var HttpPushTransport = class {
|
|
|
94007
94005
|
}
|
|
94008
94006
|
};
|
|
94009
94007
|
|
|
94010
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94008
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/case-alias.js
|
|
94011
94009
|
import * as fs28 from "fs";
|
|
94012
94010
|
import * as path23 from "path";
|
|
94013
94011
|
function foldVaultKey(key) {
|
|
@@ -94155,7 +94153,7 @@ function directoryFoldsCase(dir) {
|
|
|
94155
94153
|
return false;
|
|
94156
94154
|
}
|
|
94157
94155
|
|
|
94158
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94156
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/watcher.js
|
|
94159
94157
|
var DEBOUNCE_MS = 2e3;
|
|
94160
94158
|
var DEFAULT_EVENT_DEBOUNCE_MS = 6e4;
|
|
94161
94159
|
var DEFAULT_EVENT_MAX_WAIT_MS = 12e4;
|
|
@@ -97345,7 +97343,7 @@ var PushEventEmitter = class _PushEventEmitter {
|
|
|
97345
97343
|
}
|
|
97346
97344
|
};
|
|
97347
97345
|
|
|
97348
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
97346
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-self-profile.js
|
|
97349
97347
|
var SELF_PROFILE_ENV = "HQ_SYNC_SELF_PROFILE";
|
|
97350
97348
|
var SELF_PROFILE_CPU_CORES_ENV = "HQ_SYNC_SELF_PROFILE_CPU_CORES";
|
|
97351
97349
|
var SELF_PROFILE_RSS_MB_ENV = "HQ_SYNC_SELF_PROFILE_RSS_MB";
|
|
@@ -97960,7 +97958,7 @@ function readRunnerVersion() {
|
|
|
97960
97958
|
}
|
|
97961
97959
|
}
|
|
97962
97960
|
|
|
97963
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
97961
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
97964
97962
|
import * as os28 from "os";
|
|
97965
97963
|
import * as path84 from "path";
|
|
97966
97964
|
import * as fs90 from "fs";
|
|
@@ -97968,7 +97966,7 @@ import { randomUUID as randomUUID14 } from "node:crypto";
|
|
|
97968
97966
|
import { monitorEventLoopDelay as monitorEventLoopDelay2, performance as performance4 } from "node:perf_hooks";
|
|
97969
97967
|
import { fileURLToPath as fileURLToPath6 } from "url";
|
|
97970
97968
|
|
|
97971
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
97969
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/context.js
|
|
97972
97970
|
import { createHash as createHash18 } from "node:crypto";
|
|
97973
97971
|
var REFRESH_THRESHOLD_MS = 2 * 60 * 1e3;
|
|
97974
97972
|
var DEFAULT_SESSION_DURATION_SECONDS = 900;
|
|
@@ -98199,13 +98197,13 @@ async function vendSelfCredentials(personUid, config2) {
|
|
|
98199
98197
|
return postVend(route, { personUid }, config2);
|
|
98200
98198
|
}
|
|
98201
98199
|
|
|
98202
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98200
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/realtime-rollout.js
|
|
98203
98201
|
var DEFAULT_REALTIME_AUTHORIZATION_TIMEOUT_MS = 15e3;
|
|
98204
98202
|
|
|
98205
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98203
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/candidate-uploader.js
|
|
98206
98204
|
var MAX_SMALL_CANDIDATE_BYTES = 8 * 1024 * 1024;
|
|
98207
98205
|
|
|
98208
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98206
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/multipart-uploader.js
|
|
98209
98207
|
var DEFAULT_GLOBAL_FETCH3 = globalThis.fetch;
|
|
98210
98208
|
var MULTIPART_PART_SIZE_BYTES = 8 * 1024 * 1024;
|
|
98211
98209
|
var MAX_MULTIPART_BYTES_IN_FLIGHT = 64 * 1024 * 1024;
|
|
@@ -98255,7 +98253,7 @@ var MultipartByteBudget = class {
|
|
|
98255
98253
|
};
|
|
98256
98254
|
var processByteBudget = new MultipartByteBudget();
|
|
98257
98255
|
|
|
98258
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98256
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/server-owned-skips.js
|
|
98259
98257
|
var SERVER_OWNED_FOLDERS = [
|
|
98260
98258
|
{
|
|
98261
98259
|
folder: "sources/slack-dm/",
|
|
@@ -98318,13 +98316,13 @@ function groupServerOwnedSkips(paths, options = {}) {
|
|
|
98318
98316
|
return groups;
|
|
98319
98317
|
}
|
|
98320
98318
|
|
|
98321
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98319
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync-progress.js
|
|
98322
98320
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
98323
98321
|
import * as fs32 from "fs";
|
|
98324
98322
|
import * as os8 from "os";
|
|
98325
98323
|
import * as path27 from "path";
|
|
98326
98324
|
|
|
98327
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98325
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/conflict-notices.js
|
|
98328
98326
|
import { createHash as createHash19 } from "node:crypto";
|
|
98329
98327
|
import * as fs31 from "node:fs";
|
|
98330
98328
|
import * as os7 from "node:os";
|
|
@@ -98473,7 +98471,7 @@ function readPendingConflictNotices() {
|
|
|
98473
98471
|
return readNotices().filter((notice) => !acknowledged.has(notice.id)).slice(-MAX_PENDING_CONFLICT_NOTICES);
|
|
98474
98472
|
}
|
|
98475
98473
|
|
|
98476
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98474
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync-progress.js
|
|
98477
98475
|
function logSwallowed5(line) {
|
|
98478
98476
|
process.stderr.write(line);
|
|
98479
98477
|
}
|
|
@@ -98760,7 +98758,7 @@ function createPassSummaryRecorder() {
|
|
|
98760
98758
|
};
|
|
98761
98759
|
}
|
|
98762
98760
|
|
|
98763
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98761
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/prefix-coalesce.js
|
|
98764
98762
|
var SCOPE_PREFIX_MARKER = "\0hq-scope:";
|
|
98765
98763
|
var SCOPE_PREFIX_MARKER_PREFIX = `${SCOPE_PREFIX_MARKER}prefix`;
|
|
98766
98764
|
var SCOPE_PREFIX_MARKER_EXACT = `${SCOPE_PREFIX_MARKER}exact`;
|
|
@@ -98960,7 +98958,7 @@ function grantPathToScopePrefix(grantPath, slug) {
|
|
|
98960
98958
|
return pathToScopePrefix(p3);
|
|
98961
98959
|
}
|
|
98962
98960
|
|
|
98963
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98961
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/scope-shrink.js
|
|
98964
98962
|
import * as fs33 from "fs";
|
|
98965
98963
|
import * as path28 from "path";
|
|
98966
98964
|
function buildScopeShrinkPlan(input2) {
|
|
@@ -99256,18 +99254,18 @@ function applyScopeShrink(input2) {
|
|
|
99256
99254
|
};
|
|
99257
99255
|
}
|
|
99258
99256
|
|
|
99259
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99257
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/secret-path-policy.js
|
|
99260
99258
|
init_dist();
|
|
99261
99259
|
import * as fs34 from "fs";
|
|
99262
99260
|
import * as path29 from "path";
|
|
99263
99261
|
|
|
99264
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99262
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/flag-company-uid.js
|
|
99265
99263
|
var FLAG_COMPANY_UID_PATTERN = /^cmp_[A-Za-z0-9]{3,128}$/;
|
|
99266
99264
|
function flagCompanyUid(uid) {
|
|
99267
99265
|
return FLAG_COMPANY_UID_PATTERN.test(uid) ? uid : void 0;
|
|
99268
99266
|
}
|
|
99269
99267
|
|
|
99270
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99268
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/secret-path-policy.js
|
|
99271
99269
|
var SKIP_SECRET_PATHS_FLAG = "sync.skip-secret-paths";
|
|
99272
99270
|
var WAL_REJECTED_DELTA_RECOVERY_FLAG = "sync.wal-rejected-delta-recovery";
|
|
99273
99271
|
var FLAG_REFRESH_INTERVAL_MS = 5 * 6e4;
|
|
@@ -99417,7 +99415,7 @@ function isSkipSecretPathsEnabled(config2, companyUid, failClosed = false) {
|
|
|
99417
99415
|
return defaultSkipSecretPathsGate(config2, companyUid, failClosed);
|
|
99418
99416
|
}
|
|
99419
99417
|
|
|
99420
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99418
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/remote-pull.js
|
|
99421
99419
|
var VEND_PATH_CAP = 10;
|
|
99422
99420
|
var POST_FILTER_THRESHOLD = 50;
|
|
99423
99421
|
var VEND_FANOUT_CONCURRENCY = 5;
|
|
@@ -99504,20 +99502,20 @@ function dedupByKey(files) {
|
|
|
99504
99502
|
return out;
|
|
99505
99503
|
}
|
|
99506
99504
|
|
|
99507
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99505
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/multipart-upload.js
|
|
99508
99506
|
var MULTIPART_DEFAULT_PART_SIZE = 16 * 1024 * 1024;
|
|
99509
99507
|
var MIB = 1024 * 1024;
|
|
99510
99508
|
|
|
99511
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99509
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/pull-scope.js
|
|
99512
99510
|
import * as fs35 from "fs";
|
|
99513
99511
|
import * as path30 from "path";
|
|
99514
99512
|
|
|
99515
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99513
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/push-only-prefixes.js
|
|
99516
99514
|
var SESSIONS_SCOPE_PREFIX = "sessions/";
|
|
99517
99515
|
var SESSION_LOGS_PUSH_ONLY_PREFIX = "workspace/.session-logs/";
|
|
99518
99516
|
var HQ_OFFLOAD_PREFIX = ".hq-offload/";
|
|
99519
99517
|
|
|
99520
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99518
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/pull-scope.js
|
|
99521
99519
|
function sessionsPushOnlyScope(scope) {
|
|
99522
99520
|
return { ...scope, excludePrefixes: [SESSIONS_SCOPE_PREFIX] };
|
|
99523
99521
|
}
|
|
@@ -99613,7 +99611,7 @@ function readPinnedPrefixes(hqRoot, slug) {
|
|
|
99613
99611
|
return [];
|
|
99614
99612
|
}
|
|
99615
99613
|
|
|
99616
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99614
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/plan-limit-pause.js
|
|
99617
99615
|
import * as fs36 from "fs";
|
|
99618
99616
|
import * as path31 from "path";
|
|
99619
99617
|
var PLAN_LIMIT_PAUSE_RETRY_MS = 60 * 60 * 1e3;
|
|
@@ -99830,13 +99828,13 @@ var PlanLimitPauseStore = class _PlanLimitPauseStore {
|
|
|
99830
99828
|
}
|
|
99831
99829
|
};
|
|
99832
99830
|
|
|
99833
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99831
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/telemetry.js
|
|
99834
99832
|
import { createHash as createHash20 } from "node:crypto";
|
|
99835
99833
|
import { promises as fs41 } from "node:fs";
|
|
99836
99834
|
import * as os9 from "node:os";
|
|
99837
99835
|
import * as path35 from "node:path";
|
|
99838
99836
|
|
|
99839
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99837
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/telemetry-scan-cap.js
|
|
99840
99838
|
import { promises as fs37 } from "node:fs";
|
|
99841
99839
|
async function hasUnreadBytes(filePath, stored) {
|
|
99842
99840
|
let stat5;
|
|
@@ -99854,7 +99852,7 @@ async function hasUnreadBytes(filePath, stored) {
|
|
|
99854
99852
|
return stat5.size > offset;
|
|
99855
99853
|
}
|
|
99856
99854
|
|
|
99857
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99855
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/company-resolver.js
|
|
99858
99856
|
import { promises as fs38 } from "node:fs";
|
|
99859
99857
|
import * as path32 from "node:path";
|
|
99860
99858
|
|
|
@@ -102924,7 +102922,7 @@ var {
|
|
|
102924
102922
|
safeDump
|
|
102925
102923
|
} = yaml;
|
|
102926
102924
|
|
|
102927
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
102925
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/company-resolver.js
|
|
102928
102926
|
function logSwallowed6(line) {
|
|
102929
102927
|
process.stderr.write(line);
|
|
102930
102928
|
}
|
|
@@ -103135,7 +103133,7 @@ function resolveCompanyForCwd(cwd, map5) {
|
|
|
103135
103133
|
return collapsed !== c5 ? match(collapsed) : void 0;
|
|
103136
103134
|
}
|
|
103137
103135
|
|
|
103138
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
103136
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/usage-company-fallback.js
|
|
103139
103137
|
import { promises as fs39 } from "node:fs";
|
|
103140
103138
|
import * as path33 from "node:path";
|
|
103141
103139
|
var TRUSTED_META_SOURCES = /* @__PURE__ */ new Set(["session"]);
|
|
@@ -103582,7 +103580,7 @@ function createUsageCompanyFallback(options) {
|
|
|
103582
103580
|
};
|
|
103583
103581
|
}
|
|
103584
103582
|
|
|
103585
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
103583
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/telemetry/consent-source.js
|
|
103586
103584
|
var KNOWN_SOURCES = /* @__PURE__ */ new Set([
|
|
103587
103585
|
"plan-required",
|
|
103588
103586
|
"notice-pending",
|
|
@@ -103662,7 +103660,7 @@ function decideCollection(resp, local) {
|
|
|
103662
103660
|
}
|
|
103663
103661
|
}
|
|
103664
103662
|
|
|
103665
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
103663
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/telemetry/pre-consent-buffer.js
|
|
103666
103664
|
import { randomBytes as randomBytes8 } from "node:crypto";
|
|
103667
103665
|
import { promises as fs40 } from "node:fs";
|
|
103668
103666
|
import * as path34 from "node:path";
|
|
@@ -103894,7 +103892,7 @@ async function discardPreConsentBuffer(file2, opts = {}) {
|
|
|
103894
103892
|
});
|
|
103895
103893
|
}
|
|
103896
103894
|
|
|
103897
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
103895
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/telemetry.js
|
|
103898
103896
|
function emptyCursor() {
|
|
103899
103897
|
return { version: "1", files: {} };
|
|
103900
103898
|
}
|
|
@@ -104868,7 +104866,7 @@ async function collectAndSendTelemetry(opts) {
|
|
|
104868
104866
|
};
|
|
104869
104867
|
}
|
|
104870
104868
|
|
|
104871
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104869
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/skill-telemetry.js
|
|
104872
104870
|
import { createHash as createHash21 } from "node:crypto";
|
|
104873
104871
|
import { promises as fs42 } from "node:fs";
|
|
104874
104872
|
import * as os10 from "node:os";
|
|
@@ -105739,12 +105737,12 @@ async function collectAndSendSkillTelemetry(opts) {
|
|
|
105739
105737
|
};
|
|
105740
105738
|
}
|
|
105741
105739
|
|
|
105742
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105740
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
105743
105741
|
import * as fs59 from "fs";
|
|
105744
105742
|
import * as os18 from "os";
|
|
105745
105743
|
import * as path52 from "path";
|
|
105746
105744
|
|
|
105747
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105745
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync-pass-event.js
|
|
105748
105746
|
import { createHash as createHash22 } from "node:crypto";
|
|
105749
105747
|
import * as os11 from "node:os";
|
|
105750
105748
|
var SYNC_PASS_EVENT_NAME = "sync_pass";
|
|
@@ -105837,7 +105835,7 @@ function startSyncPassObservation(context, deps = {}) {
|
|
|
105837
105835
|
};
|
|
105838
105836
|
}
|
|
105839
105837
|
|
|
105840
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105838
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync-object-events.js
|
|
105841
105839
|
import { createHash as createHash23 } from "node:crypto";
|
|
105842
105840
|
var SYNC_CONFLICT_EVENT_NAME = "sync_conflict";
|
|
105843
105841
|
var SYNC_OVERWRITE_EVENT_NAME = "sync_overwrite";
|
|
@@ -105974,7 +105972,7 @@ function createSyncObjectEventSink(deps) {
|
|
|
105974
105972
|
};
|
|
105975
105973
|
}
|
|
105976
105974
|
|
|
105977
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105975
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/symlink-target-refusal-flag.js
|
|
105978
105976
|
init_dist();
|
|
105979
105977
|
var SYMLINK_TARGET_REFUSAL_FLAG = "sync.symlink-target-refusal";
|
|
105980
105978
|
var FLAG_READ_TIMEOUT_MS = 2e3;
|
|
@@ -106023,7 +106021,7 @@ async function resolveSymlinkTargetRefusalFlag(input2) {
|
|
|
106023
106021
|
}
|
|
106024
106022
|
}
|
|
106025
106023
|
|
|
106026
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106024
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/company-vault-transport.js
|
|
106027
106025
|
function selectObjectIOFactory(client, refresherFor, forceRefresherFor) {
|
|
106028
106026
|
if (typeof client.presign === "function" && typeof client.listFiles === "function") {
|
|
106029
106027
|
return presignObjectIOFactory(client, refresherFor, forceRefresherFor);
|
|
@@ -106041,7 +106039,7 @@ function ensureCompanyVaultTransport(vaultConfig, deps = {}) {
|
|
|
106041
106039
|
vaultConfig.companyVaultUsesPresign = objectIOFactory !== null;
|
|
106042
106040
|
}
|
|
106043
106041
|
|
|
106044
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106042
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync-decision-log.js
|
|
106045
106043
|
import * as fs43 from "node:fs";
|
|
106046
106044
|
import * as path37 from "node:path";
|
|
106047
106045
|
import { randomUUID as randomUUID4 } from "node:crypto";
|
|
@@ -106086,7 +106084,7 @@ function appendSyncDecision(input2, options = {}) {
|
|
|
106086
106084
|
}
|
|
106087
106085
|
}
|
|
106088
106086
|
|
|
106089
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106087
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/scattered-delete-burst.js
|
|
106090
106088
|
import * as fs44 from "fs";
|
|
106091
106089
|
import * as path38 from "path";
|
|
106092
106090
|
var SCATTERED_DELETE_MIN_ABS = 20;
|
|
@@ -106152,7 +106150,7 @@ function detectScatteredDeleteBurst(candidateKeys, journal, syncRoot, uploadedHa
|
|
|
106152
106150
|
return { keys, areas: areas.size, samplePaths: keys.slice(0, SCATTERED_DELETE_SAMPLE_CAP) };
|
|
106153
106151
|
}
|
|
106154
106152
|
|
|
106155
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106153
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/unattended-delete-hold.js
|
|
106156
106154
|
var UNATTENDED_SYNC_ENV = "HQ_SYNC_UNATTENDED";
|
|
106157
106155
|
var MACHINE_ENTITY_TYPES = /* @__PURE__ */ new Set(["agent", "outpost", "company-outpost"]);
|
|
106158
106156
|
var unattendedForProcess = false;
|
|
@@ -106244,10 +106242,10 @@ function unattendedPullDeleteDecision(hold, entry) {
|
|
|
106244
106242
|
return entry.direction === "up" ? "defer" : "restore";
|
|
106245
106243
|
}
|
|
106246
106244
|
|
|
106247
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106245
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
106248
106246
|
import * as crypto16 from "crypto";
|
|
106249
106247
|
|
|
106250
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106248
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/private-folder-transport.js
|
|
106251
106249
|
import * as fs45 from "fs";
|
|
106252
106250
|
import * as path39 from "path";
|
|
106253
106251
|
var CONTENT_SHA256_RE2 = /^[a-f0-9]{64}$/;
|
|
@@ -106330,7 +106328,7 @@ async function primePrivateFolderUpload(input2) {
|
|
|
106330
106328
|
}]);
|
|
106331
106329
|
}
|
|
106332
106330
|
|
|
106333
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106331
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/session-log-retention.js
|
|
106334
106332
|
import * as crypto12 from "node:crypto";
|
|
106335
106333
|
import * as fs46 from "node:fs";
|
|
106336
106334
|
import * as os12 from "node:os";
|
|
@@ -106656,7 +106654,7 @@ function pruneSyncedSessionLogs(root5) {
|
|
|
106656
106654
|
}
|
|
106657
106655
|
}
|
|
106658
106656
|
|
|
106659
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106657
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/full-pass-caps.js
|
|
106660
106658
|
var FULL_PASS_CPU_CAP_FLAG = "sync.full-pass.cpu-cap-pct";
|
|
106661
106659
|
var FULL_PASS_HEAP_CAP_FLAG = "sync.full-pass.heap-cap-mb";
|
|
106662
106660
|
var FULL_PASS_DURABLE_PROGRESS_FLAG = "sync.full-pass-durable-progress";
|
|
@@ -107233,7 +107231,7 @@ var FullPassCapController = class {
|
|
|
107233
107231
|
}
|
|
107234
107232
|
};
|
|
107235
107233
|
|
|
107236
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107234
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/conflict.js
|
|
107237
107235
|
import * as fs47 from "fs";
|
|
107238
107236
|
import * as readline from "readline";
|
|
107239
107237
|
function conflictPromptHeadline(conflict) {
|
|
@@ -107437,7 +107435,7 @@ async function promptConflict(conflict) {
|
|
|
107437
107435
|
}
|
|
107438
107436
|
}
|
|
107439
107437
|
|
|
107440
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107438
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/reconcile-skip-reason.js
|
|
107441
107439
|
var HUMAN_UP_TO_DATE_LINE_CAP = 20;
|
|
107442
107440
|
var HUMAN_SIZE_LIMIT_LINE_CAP = 5;
|
|
107443
107441
|
function isUpToDateSkipReason(reason) {
|
|
@@ -107514,7 +107512,7 @@ function createHumanSkipLineLog() {
|
|
|
107514
107512
|
};
|
|
107515
107513
|
}
|
|
107516
107514
|
|
|
107517
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107515
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/tombstones.js
|
|
107518
107516
|
import * as crypto13 from "node:crypto";
|
|
107519
107517
|
import * as fs48 from "node:fs";
|
|
107520
107518
|
import * as os13 from "node:os";
|
|
@@ -107908,7 +107906,7 @@ async function fetchTombstonePage(url2, token) {
|
|
|
107908
107906
|
throw new TombstoneFetchError(`FILE_TOMBSTONE fetch failed after ${attemptsMade} attempts; refusing to sync without delete suppression`, attemptsMade, lastError);
|
|
107909
107907
|
}
|
|
107910
107908
|
|
|
107911
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107909
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync-core.js
|
|
107912
107910
|
import { execSync } from "child_process";
|
|
107913
107911
|
import * as fs49 from "fs";
|
|
107914
107912
|
import * as os14 from "os";
|
|
@@ -108058,11 +108056,11 @@ function hasRemoteChanged(remote, entry) {
|
|
|
108058
108056
|
return remote.lastModified.getTime() > syncedAt;
|
|
108059
108057
|
}
|
|
108060
108058
|
|
|
108061
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108059
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-file.js
|
|
108062
108060
|
import * as crypto14 from "crypto";
|
|
108063
108061
|
import * as path44 from "path";
|
|
108064
108062
|
|
|
108065
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108063
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/machine-id.js
|
|
108066
108064
|
import { createHash as createHash26, randomUUID as randomUUID6 } from "node:crypto";
|
|
108067
108065
|
import * as fs50 from "node:fs";
|
|
108068
108066
|
import * as os15 from "node:os";
|
|
@@ -108182,7 +108180,7 @@ function readShortMachineId(hqRoot) {
|
|
|
108182
108180
|
return createHash26("sha1").update(full).digest("hex").slice(0, 6);
|
|
108183
108181
|
}
|
|
108184
108182
|
|
|
108185
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108183
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-file.js
|
|
108186
108184
|
var CONFLICT_BACKUPS_DIR = ".hq/conflict-backups";
|
|
108187
108185
|
var CONFLICT_PROBE_DIR = ".hq/tmp";
|
|
108188
108186
|
function safeTimestamp(detectedAt) {
|
|
@@ -108200,7 +108198,7 @@ function buildConflictId(originalRelative, detectedAt) {
|
|
|
108200
108198
|
return `${safePath}-${safeTimestamp(detectedAt)}`;
|
|
108201
108199
|
}
|
|
108202
108200
|
|
|
108203
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108201
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-index.js
|
|
108204
108202
|
import * as crypto15 from "crypto";
|
|
108205
108203
|
import * as fs51 from "fs";
|
|
108206
108204
|
import * as path45 from "path";
|
|
@@ -108354,7 +108352,7 @@ function pruneConflictIndex(hqRoot) {
|
|
|
108354
108352
|
return result;
|
|
108355
108353
|
}
|
|
108356
108354
|
|
|
108357
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108355
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/append-only-merge.js
|
|
108358
108356
|
import * as fs52 from "node:fs";
|
|
108359
108357
|
function isAppendOnlyPath(relativePath) {
|
|
108360
108358
|
const base = relativePath.split(/[\\/]/).pop() ?? "";
|
|
@@ -108426,7 +108424,7 @@ function appendIfUnchanged(file2, expected, merged) {
|
|
|
108426
108424
|
return "appended";
|
|
108427
108425
|
}
|
|
108428
108426
|
|
|
108429
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108427
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/append-log-merge.js
|
|
108430
108428
|
import { createHash as createHash27 } from "node:crypto";
|
|
108431
108429
|
import * as fs53 from "node:fs";
|
|
108432
108430
|
import * as path46 from "node:path";
|
|
@@ -108705,7 +108703,7 @@ function replaceKeepingMode(file2, expected, merged) {
|
|
|
108705
108703
|
return "appended";
|
|
108706
108704
|
}
|
|
108707
108705
|
|
|
108708
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108706
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/board-merge.js
|
|
108709
108707
|
import * as fs54 from "node:fs";
|
|
108710
108708
|
import * as path47 from "node:path";
|
|
108711
108709
|
function isBoardJsonPath(relativePath) {
|
|
@@ -108851,7 +108849,7 @@ function replaceIfUnchanged(file2, expected, merged) {
|
|
|
108851
108849
|
return "appended";
|
|
108852
108850
|
}
|
|
108853
108851
|
|
|
108854
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108852
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/same-path-upload-lock.js
|
|
108855
108853
|
import { createHash as createHash28, randomBytes as randomBytes11 } from "node:crypto";
|
|
108856
108854
|
import * as fs55 from "node:fs";
|
|
108857
108855
|
import * as os16 from "node:os";
|
|
@@ -109175,7 +109173,7 @@ function findUploadIntent(scope, relativePath, hash3, notBeforeMs, remoteLastMod
|
|
|
109175
109173
|
return best;
|
|
109176
109174
|
}
|
|
109177
109175
|
|
|
109178
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109176
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-entity-push.js
|
|
109179
109177
|
init_dist();
|
|
109180
109178
|
import { createHash as createHash29 } from "node:crypto";
|
|
109181
109179
|
var ONTOLOGY_ENTITY_PUSH_FLAG = "checkpoint.ontology";
|
|
@@ -109269,7 +109267,7 @@ ${caller}`;
|
|
|
109269
109267
|
return failed ? false : value;
|
|
109270
109268
|
}
|
|
109271
109269
|
|
|
109272
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109270
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-outbox.js
|
|
109273
109271
|
import fs56 from "node:fs";
|
|
109274
109272
|
import path49 from "node:path";
|
|
109275
109273
|
var ONTOLOGY_OUTBOX_SCHEMA = "hq-ontology-outbox.v1";
|
|
@@ -109335,7 +109333,7 @@ function entityIsFreshForCreate(body, nowMs) {
|
|
|
109335
109333
|
return age >= -ENTITY_CREATE_FUTURE_SKEW_MS && age <= ENTITY_CREATE_WINDOW_MS;
|
|
109336
109334
|
}
|
|
109337
109335
|
|
|
109338
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109336
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/skill-register-landed-bytes.js
|
|
109339
109337
|
init_dist();
|
|
109340
109338
|
import { createHash as createHash30 } from "node:crypto";
|
|
109341
109339
|
var SKILL_REGISTER_LANDED_BYTES_FLAG = "sync.skill-register-landed-bytes";
|
|
@@ -109409,7 +109407,7 @@ ${caller}`;
|
|
|
109409
109407
|
return failed ? false : value;
|
|
109410
109408
|
}
|
|
109411
109409
|
|
|
109412
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109410
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/personal-connector-settings-sync.js
|
|
109413
109411
|
init_dist();
|
|
109414
109412
|
import { createHash as createHash31 } from "node:crypto";
|
|
109415
109413
|
var PERSONAL_CONNECTOR_SETTINGS_SYNC_FLAG = "personal.connector-settings-sync";
|
|
@@ -109472,7 +109470,7 @@ ${caller}`;
|
|
|
109472
109470
|
return failed ? false : value;
|
|
109473
109471
|
}
|
|
109474
109472
|
|
|
109475
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109473
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/describe-error.js
|
|
109476
109474
|
import * as path50 from "node:path";
|
|
109477
109475
|
var MAX_DIAGNOSTIC_LENGTH = 1024;
|
|
109478
109476
|
function sanitizeDiagnostic(value) {
|
|
@@ -109605,7 +109603,7 @@ function pushFailureTelemetryLabel(value) {
|
|
|
109605
109603
|
return safe.slice(0, 128) || "unknown";
|
|
109606
109604
|
}
|
|
109607
109605
|
|
|
109608
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109606
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/readlink-safe.js
|
|
109609
109607
|
import * as fs57 from "fs";
|
|
109610
109608
|
function toPortableSymlinkTarget(target, platform3 = process.platform) {
|
|
109611
109609
|
return platform3 === "win32" ? target.replaceAll("\\", "/") : target;
|
|
@@ -109624,14 +109622,14 @@ function readlinkOrNull(linkPath, readlink = (path85) => fs57.readlinkSync(path8
|
|
|
109624
109622
|
}
|
|
109625
109623
|
}
|
|
109626
109624
|
|
|
109627
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109625
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/reconcile-cursor.js
|
|
109628
109626
|
function checkpointReconcileApply(checkpoint, paths) {
|
|
109629
109627
|
if (!checkpoint)
|
|
109630
109628
|
return;
|
|
109631
109629
|
checkpoint.store.checkpointApply(checkpoint.cursor, [...new Set(paths)].map((path85) => ({ path: path85, durable: true })));
|
|
109632
109630
|
}
|
|
109633
109631
|
|
|
109634
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109632
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/handback-keep.js
|
|
109635
109633
|
import * as fs58 from "fs";
|
|
109636
109634
|
import * as os17 from "os";
|
|
109637
109635
|
import * as path51 from "path";
|
|
@@ -109782,7 +109780,7 @@ function updateVault(file2, uid, drop, seen) {
|
|
|
109782
109780
|
return false;
|
|
109783
109781
|
}
|
|
109784
109782
|
|
|
109785
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109783
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/mass-delete-guards.js
|
|
109786
109784
|
init_dist();
|
|
109787
109785
|
import { createHash as createHash32 } from "node:crypto";
|
|
109788
109786
|
var MASS_DELETE_GUARDS_FLAG = "sync.delete-absolute-volume-and-release-root-guards";
|
|
@@ -109927,7 +109925,7 @@ function warnFlagReadFailure(write) {
|
|
|
109927
109925
|
`)))(line);
|
|
109928
109926
|
}
|
|
109929
109927
|
|
|
109930
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109928
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
109931
109929
|
async function remoteContentDiffers(ctx, relativePath, localHash, hqRoot, symlinkOptions) {
|
|
109932
109930
|
const probeKey = crypto16.createHash("sha256").update(relativePath).digest("hex").slice(0, 16);
|
|
109933
109931
|
const probePath = path52.join(os18.tmpdir(), `hq-conflict-probe-${readShortMachineId(hqRoot)}-${probeKey}.tmp`);
|
|
@@ -115153,12 +115151,12 @@ function computeDecommissionPlan(journal, prefixes, policy, alreadyPlanned, skip
|
|
|
115153
115151
|
return out;
|
|
115154
115152
|
}
|
|
115155
115153
|
|
|
115156
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115154
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
115157
115155
|
import * as fs66 from "fs";
|
|
115158
115156
|
import * as path59 from "path";
|
|
115159
115157
|
import { isDeepStrictEqual } from "node:util";
|
|
115160
115158
|
|
|
115161
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115159
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/remote-file-spool.js
|
|
115162
115160
|
import * as fs60 from "node:fs";
|
|
115163
115161
|
import * as os19 from "node:os";
|
|
115164
115162
|
import * as path53 from "node:path";
|
|
@@ -115237,7 +115235,7 @@ function* readRows(filename) {
|
|
|
115237
115235
|
}
|
|
115238
115236
|
}
|
|
115239
115237
|
|
|
115240
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115238
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/hq-root-recovery.js
|
|
115241
115239
|
import { execFile as execFile6 } from "child_process";
|
|
115242
115240
|
import { randomBytes as randomBytes13 } from "crypto";
|
|
115243
115241
|
import * as fs62 from "fs";
|
|
@@ -115245,7 +115243,7 @@ import * as os20 from "os";
|
|
|
115245
115243
|
import * as path55 from "path";
|
|
115246
115244
|
import { promisify as promisify6 } from "util";
|
|
115247
115245
|
|
|
115248
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115246
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/backup-prune.js
|
|
115249
115247
|
import * as crypto17 from "crypto";
|
|
115250
115248
|
import * as fs61 from "fs";
|
|
115251
115249
|
import * as path54 from "path";
|
|
@@ -115431,7 +115429,7 @@ function inventoryManagedSnapshots(backupRoot, canonicalRoot3, isCopyingOwnerLiv
|
|
|
115431
115429
|
return { entries: entries3, ...plan, unmanaged: [...unmanaged, ...plan.unmanaged] };
|
|
115432
115430
|
}
|
|
115433
115431
|
|
|
115434
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115432
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/hq-root-recovery.js
|
|
115435
115433
|
var execFileAsync5 = promisify6(execFile6);
|
|
115436
115434
|
var HQ_LAYOUT_DIRS = ["repos", "repos/public", "repos/private"];
|
|
115437
115435
|
function gitSidecarDir(hqRoot, homeDir = os20.homedir()) {
|
|
@@ -115804,10 +115802,10 @@ function recoverHqRootLocalState(hqRoot, opts = {}) {
|
|
|
115804
115802
|
};
|
|
115805
115803
|
}
|
|
115806
115804
|
|
|
115807
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115805
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/doctor.js
|
|
115808
115806
|
var SKILLS_KEY_PREFIX = ".claude/skills/";
|
|
115809
115807
|
|
|
115810
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115808
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/content-hash.js
|
|
115811
115809
|
var SHA256_CONTENT_HASH = /^sha256:([a-f0-9]{64})$/;
|
|
115812
115810
|
function rawSha256FromContentHash(contentHash) {
|
|
115813
115811
|
if (contentHash === void 0)
|
|
@@ -115818,7 +115816,7 @@ function contentHashMatchesRawSha256(contentHash, rawHash) {
|
|
|
115818
115816
|
return rawSha256FromContentHash(contentHash) === rawHash;
|
|
115819
115817
|
}
|
|
115820
115818
|
|
|
115821
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115819
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/kms10-etag-safe-pull.js
|
|
115822
115820
|
import { createHash as createHash35 } from "node:crypto";
|
|
115823
115821
|
var KMS10_COPY_MARKER_META_KEY = "hq-kms10-reencrypt-current";
|
|
115824
115822
|
var KMS10_COPY_ORIGINAL_KEY_HASH_META_KEY = "hq-kms10-original-key-sha256";
|
|
@@ -115843,7 +115841,7 @@ function isKms10CopyOfJournalBase(listed, head, journalHash, journalEtag, expect
|
|
|
115843
115841
|
return normalizeEtag(head.metadata?.["hq-kms10-original-etag"] ?? "") === normalizeEtag(journalEtag);
|
|
115844
115842
|
}
|
|
115845
115843
|
|
|
115846
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115844
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/targeted-upsert-exact-list.js
|
|
115847
115845
|
init_dist();
|
|
115848
115846
|
import { createHash as createHash36 } from "node:crypto";
|
|
115849
115847
|
function logSwallowed9(line) {
|
|
@@ -115960,7 +115958,7 @@ function isTargetedUpsertExactListEnabled(config2, companyUid) {
|
|
|
115960
115958
|
return defaultTargetedUpsertExactListGate(config2, companyUid);
|
|
115961
115959
|
}
|
|
115962
115960
|
|
|
115963
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115961
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/targeted-pull-prefixes.js
|
|
115964
115962
|
var TARGETED_PULL_PREFIX_GROUP_MIN_PATHS = 16;
|
|
115965
115963
|
function coalesceDenseTargetedPullPaths(paths) {
|
|
115966
115964
|
const normalized = paths.map((path85) => path85.replace(/\\/g, "/"));
|
|
@@ -115998,15 +115996,15 @@ function coalesceDenseTargetedPullPaths(paths) {
|
|
|
115998
115996
|
return result;
|
|
115999
115997
|
}
|
|
116000
115998
|
|
|
116001
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115999
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
116002
116000
|
import { createHash as createHash38 } from "node:crypto";
|
|
116003
116001
|
|
|
116004
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
116002
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex.js
|
|
116005
116003
|
import { spawnSync as spawnSync3 } from "child_process";
|
|
116006
116004
|
import * as fs65 from "fs";
|
|
116007
116005
|
import * as path58 from "path";
|
|
116008
116006
|
|
|
116009
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
116007
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex-knowledge.js
|
|
116010
116008
|
import { spawnSync as spawnSync2 } from "child_process";
|
|
116011
116009
|
import * as fs63 from "fs";
|
|
116012
116010
|
import * as path56 from "path";
|
|
@@ -116269,7 +116267,7 @@ function materializeLegacyKnowledgeRepos(root5) {
|
|
|
116269
116267
|
}
|
|
116270
116268
|
}
|
|
116271
116269
|
|
|
116272
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
116270
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/session-log-capture.js
|
|
116273
116271
|
import * as crypto18 from "node:crypto";
|
|
116274
116272
|
import * as fs64 from "node:fs";
|
|
116275
116273
|
import * as os21 from "node:os";
|
|
@@ -117213,7 +117211,7 @@ function captureSessionLogs(root5, options = {}) {
|
|
|
117213
117211
|
}
|
|
117214
117212
|
}
|
|
117215
117213
|
|
|
117216
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
117214
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex.js
|
|
117217
117215
|
function isDir2(p3) {
|
|
117218
117216
|
try {
|
|
117219
117217
|
return fs65.statSync(p3).isDirectory();
|
|
@@ -117890,7 +117888,7 @@ function emitReindexTelemetry(opts, result, lockResult) {
|
|
|
117890
117888
|
}, { claims: opts.telemetryClaims });
|
|
117891
117889
|
}
|
|
117892
117890
|
|
|
117893
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
117891
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
117894
117892
|
async function yieldToCooperativeCheckpoint2(work, cooperativeCheckpoint, force, resumedAt) {
|
|
117895
117893
|
work.rowsSinceYield += 1;
|
|
117896
117894
|
if (!force && work.rowsSinceYield < cooperativeUnitSize()) {
|
|
@@ -122146,10 +122144,19 @@ function defaultConsoleLogger2(event, humanSkipLines) {
|
|
|
122146
122144
|
}
|
|
122147
122145
|
}
|
|
122148
122146
|
|
|
122149
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122147
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/rescue-core.js
|
|
122150
122148
|
import { createRequire } from "node:module";
|
|
122151
122149
|
|
|
122152
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122150
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/hq-core-source.js
|
|
122151
|
+
var HQ_CORE_SOURCE_DEFAULTS = Object.freeze({
|
|
122152
|
+
repo: "indigoai-us/hq-core",
|
|
122153
|
+
stagingRepo: "indigoai-us/hq-core-staging",
|
|
122154
|
+
apiBase: "https://api.github.com",
|
|
122155
|
+
codeloadBase: "https://codeload.github.com",
|
|
122156
|
+
webBase: "https://github.com"
|
|
122157
|
+
});
|
|
122158
|
+
|
|
122159
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/rescue-native-copy.js
|
|
122153
122160
|
var POSIX_CHARACTER_CLASSES = {
|
|
122154
122161
|
alnum: "A-Za-z0-9",
|
|
122155
122162
|
alpha: "A-Za-z",
|
|
@@ -122283,7 +122290,7 @@ function compileRsyncPattern(rawPattern) {
|
|
|
122283
122290
|
};
|
|
122284
122291
|
}
|
|
122285
122292
|
|
|
122286
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122293
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/rescue-core.js
|
|
122287
122294
|
var MAX_CLONE_BATCH_PATH_BYTES = 64 * 1024;
|
|
122288
122295
|
var require2 = createRequire(import.meta.url);
|
|
122289
122296
|
var GIT_BATCH_MAX_BUFFER = 256 * 1024 * 1024;
|
|
@@ -122331,7 +122338,7 @@ var INSTALL_EXCLUDED_MATCHERS = INSTALL_EXCLUDED_PATTERNS.map(compileRsyncPatter
|
|
|
122331
122338
|
var CYGWIN_SYMLINK_COOKIE = Buffer.from("!<symlink>", "latin1");
|
|
122332
122339
|
var PRESERVED_FILE_COMPARE_CHUNK_BYTES = 64 * 1024;
|
|
122333
122340
|
|
|
122334
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122341
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/schemas/source-channels.js
|
|
122335
122342
|
var SOURCE_CHANNELS = Object.freeze([
|
|
122336
122343
|
"meeting",
|
|
122337
122344
|
"email",
|
|
@@ -122340,7 +122347,7 @@ var SOURCE_CHANNELS = Object.freeze([
|
|
|
122340
122347
|
"notion"
|
|
122341
122348
|
]);
|
|
122342
122349
|
|
|
122343
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122350
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/schemas/signal-types.js
|
|
122344
122351
|
var SIGNAL_TYPES = Object.freeze([
|
|
122345
122352
|
"action_item",
|
|
122346
122353
|
"commitment",
|
|
@@ -122350,7 +122357,7 @@ var SIGNAL_TYPES = Object.freeze([
|
|
|
122350
122357
|
"summary"
|
|
122351
122358
|
]);
|
|
122352
122359
|
|
|
122353
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122360
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/feature-flags.js
|
|
122354
122361
|
var PARALLEL_COORDINATOR_ENV_VAR = "HQ_SYNC_PARALLEL_COORDINATOR";
|
|
122355
122362
|
var AREA_STORAGE_ENV_VAR = "HQ_SYNC_AREA_STORAGE";
|
|
122356
122363
|
function parseFeatureSwitch(value) {
|
|
@@ -122419,7 +122426,7 @@ function isEventSyncLocallyDisabled(value) {
|
|
|
122419
122426
|
}
|
|
122420
122427
|
}
|
|
122421
122428
|
|
|
122422
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122429
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/metrics.js
|
|
122423
122430
|
var import_client_cloudwatch = __toESM(require_dist_cjs18(), 1);
|
|
122424
122431
|
var SYNC_METRIC_NAMESPACE = "HQPro/Sync";
|
|
122425
122432
|
var SYNC_LATENCY_METRIC_NAME = "hq-cloud.sync.p95_latency_seconds";
|
|
@@ -122487,7 +122494,7 @@ async function publishSyncLatencyMetric(metric, opts = {}) {
|
|
|
122487
122494
|
}
|
|
122488
122495
|
}
|
|
122489
122496
|
|
|
122490
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122497
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/push-receiver.js
|
|
122491
122498
|
var DEFAULT_RECEIVER_DISPOSE_DRAIN_MS = 5e3;
|
|
122492
122499
|
var RECEIVER_SHUTDOWN_RELEASE_BUDGET_MS = 1500;
|
|
122493
122500
|
var DEFAULT_WAIT_TIME_SECONDS = 20;
|
|
@@ -124020,10 +124027,10 @@ function defaultSleep(ms, signal) {
|
|
|
124020
124027
|
});
|
|
124021
124028
|
}
|
|
124022
124029
|
|
|
124023
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124030
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/logger.js
|
|
124024
124031
|
var import_pino = __toESM(require_pino(), 1);
|
|
124025
124032
|
|
|
124026
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124033
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/path-leases.js
|
|
124027
124034
|
function assertCanonicalPath(path85) {
|
|
124028
124035
|
if (path85.length === 0 || path85.startsWith("/") || path85.endsWith("/") || path85.includes("\\") || path85.split("/").some((part) => part.length === 0 || part === "." || part === "..")) {
|
|
124029
124036
|
throw new Error(`path lease requires a canonical relative path: ${path85}`);
|
|
@@ -124086,7 +124093,7 @@ var PathLease = class {
|
|
|
124086
124093
|
}
|
|
124087
124094
|
};
|
|
124088
124095
|
|
|
124089
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124096
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/parallel-sync-coordinator.js
|
|
124090
124097
|
var MAX_REALTIME_PULL_YIELDS = 3;
|
|
124091
124098
|
var MAX_REALTIME_PULL_YIELD_MS = 6e4;
|
|
124092
124099
|
var REALTIME_PULL_YIELD_STATE_TTL_MS = 10 * 6e4;
|
|
@@ -124595,7 +124602,7 @@ var DefaultParallelSyncCoordinator = class {
|
|
|
124595
124602
|
}
|
|
124596
124603
|
};
|
|
124597
124604
|
|
|
124598
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124605
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/sync-work.js
|
|
124599
124606
|
var InlineSyncWorkerAdapter = class {
|
|
124600
124607
|
handler;
|
|
124601
124608
|
constructor(handler) {
|
|
@@ -124606,11 +124613,11 @@ var InlineSyncWorkerAdapter = class {
|
|
|
124606
124613
|
}
|
|
124607
124614
|
};
|
|
124608
124615
|
|
|
124609
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124616
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/manifest/build-manifest.js
|
|
124610
124617
|
import * as fs68 from "node:fs";
|
|
124611
124618
|
import * as path62 from "node:path";
|
|
124612
124619
|
|
|
124613
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124620
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/company-slug.js
|
|
124614
124621
|
import * as path60 from "node:path";
|
|
124615
124622
|
var UNSAFE_SLUG_KEYS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
124616
124623
|
function isSafeCompanySlug(companiesDir, slug) {
|
|
@@ -124627,7 +124634,7 @@ function isSafeCompanySlug(companiesDir, slug) {
|
|
|
124627
124634
|
return path60.dirname(companyDir) === resolvedCompaniesDir;
|
|
124628
124635
|
}
|
|
124629
124636
|
|
|
124630
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124637
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/manifest/contract.js
|
|
124631
124638
|
var SYNC_MANIFEST_CONTRACT_VERSION = 1;
|
|
124632
124639
|
var SYNC_MANIFEST_SCOPE_KINDS = ["personal", "company"];
|
|
124633
124640
|
var SYNC_MANIFEST_SOURCES = ["desktop", "cli"];
|
|
@@ -124796,7 +124803,7 @@ var SYNC_MANIFEST_CONTRACT_DESCRIPTOR = {
|
|
|
124796
124803
|
}
|
|
124797
124804
|
};
|
|
124798
124805
|
|
|
124799
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124806
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/manifest/snapshot-store.js
|
|
124800
124807
|
import * as crypto19 from "node:crypto";
|
|
124801
124808
|
import * as fs67 from "node:fs";
|
|
124802
124809
|
import * as path61 from "node:path";
|
|
@@ -124971,7 +124978,7 @@ function writeSnapshotIncrementally(tmp, snapshot) {
|
|
|
124971
124978
|
}
|
|
124972
124979
|
var SNAPSHOT_WRITE_BATCH_CHARS = 256 * 1024;
|
|
124973
124980
|
|
|
124974
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124981
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/manifest/build-manifest.js
|
|
124975
124982
|
function logSwallowed11(line) {
|
|
124976
124983
|
process.stderr.write(line);
|
|
124977
124984
|
}
|
|
@@ -125580,10 +125587,10 @@ function buildChunk(input2, firstChunkRemovedPaths, chunkIndex, chunkCount, entr
|
|
|
125580
125587
|
return upload;
|
|
125581
125588
|
}
|
|
125582
125589
|
|
|
125583
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125590
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/manifest/upload-manifest.js
|
|
125584
125591
|
import * as fs70 from "node:fs";
|
|
125585
125592
|
|
|
125586
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125593
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/manifest/leg-skip-store.js
|
|
125587
125594
|
import * as fs69 from "node:fs";
|
|
125588
125595
|
import * as path63 from "node:path";
|
|
125589
125596
|
function logSwallowed12(line) {
|
|
@@ -125639,7 +125646,7 @@ function clearManifestLegSkip(stateDir5, scopeKey) {
|
|
|
125639
125646
|
}
|
|
125640
125647
|
}
|
|
125641
125648
|
|
|
125642
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125649
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/manifest/upload-manifest.js
|
|
125643
125650
|
var MANIFEST_UPLOAD_DISABLED_ENV = "HQ_SYNC_MANIFEST_DISABLED";
|
|
125644
125651
|
var DEFAULT_MANIFEST_UPLOAD_MIN_INTERVAL_MS = 24 * 60 * 60 * 1e3;
|
|
125645
125652
|
var DEFAULT_MANIFEST_UPLOAD_WALL_MS = 6e4;
|
|
@@ -126208,7 +126215,7 @@ async function runUploadPassBody(options, scopeKey, persisted) {
|
|
|
126208
126215
|
};
|
|
126209
126216
|
}
|
|
126210
126217
|
|
|
126211
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126218
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/watcher-catchup-skip-store.js
|
|
126212
126219
|
import * as fs71 from "node:fs";
|
|
126213
126220
|
import * as path64 from "node:path";
|
|
126214
126221
|
import { createHash as createHash40, randomUUID as randomUUID7 } from "node:crypto";
|
|
@@ -126456,7 +126463,7 @@ function validUnresolvedCompanyRecord(value) {
|
|
|
126456
126463
|
return typeof record2.company === "string" && record2.company.length > 0 && record2.reason === "unresolved-company" && typeof record2.recordedAt === "number" && Number.isFinite(record2.recordedAt);
|
|
126457
126464
|
}
|
|
126458
126465
|
|
|
126459
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126466
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/version.js
|
|
126460
126467
|
import { readFileSync as readFileSync42 } from "node:fs";
|
|
126461
126468
|
import { fileURLToPath as fileURLToPath4 } from "node:url";
|
|
126462
126469
|
import path65 from "node:path";
|
|
@@ -126464,7 +126471,7 @@ var here = path65.dirname(fileURLToPath4(import.meta.url));
|
|
|
126464
126471
|
var pkg = JSON.parse(readFileSync42(path65.resolve(here, "..", "package.json"), "utf-8"));
|
|
126465
126472
|
var HQ_CLOUD_VERSION = pkg.version;
|
|
126466
126473
|
|
|
126467
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126474
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/outcome-telemetry.js
|
|
126468
126475
|
import { promises as fs72 } from "node:fs";
|
|
126469
126476
|
import * as os22 from "node:os";
|
|
126470
126477
|
import * as path66 from "node:path";
|
|
@@ -126838,7 +126845,7 @@ async function collectAndSendOutcomeTelemetry(opts) {
|
|
|
126838
126845
|
return { enabled: true, optInSource, filesScanned, eventsSent, batchesSent };
|
|
126839
126846
|
}
|
|
126840
126847
|
|
|
126841
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126848
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/qmd-reindex.js
|
|
126842
126849
|
import * as fs73 from "fs";
|
|
126843
126850
|
import * as path67 from "path";
|
|
126844
126851
|
import { spawn as spawn2 } from "child_process";
|
|
@@ -127488,7 +127495,7 @@ function defaultHasIndexableProjectContent(projectsDir) {
|
|
|
127488
127495
|
return false;
|
|
127489
127496
|
}
|
|
127490
127497
|
|
|
127491
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127498
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/qmd-runner-admission.js
|
|
127492
127499
|
import fs74 from "node:fs";
|
|
127493
127500
|
import path68 from "node:path";
|
|
127494
127501
|
import { randomUUID as randomUUID8 } from "node:crypto";
|
|
@@ -127592,7 +127599,7 @@ nonce=${nonce}
|
|
|
127592
127599
|
};
|
|
127593
127600
|
}
|
|
127594
127601
|
|
|
127595
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127602
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/telemetry-admission.js
|
|
127596
127603
|
var DEFAULT_INTERVAL_MS = 10 * 60 * 1e3;
|
|
127597
127604
|
var MAX_INTERVAL_SEC = 24 * 60 * 60;
|
|
127598
127605
|
var STALE_IN_FLIGHT_TIMEOUT_MULTIPLE = 5;
|
|
@@ -127669,7 +127676,7 @@ function recordTelemetryRunStarted(store, nowMs, run) {
|
|
|
127669
127676
|
store.inFlight = tracked;
|
|
127670
127677
|
}
|
|
127671
127678
|
|
|
127672
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127679
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex-async.js
|
|
127673
127680
|
import { Worker } from "node:worker_threads";
|
|
127674
127681
|
function reindexAsync(options) {
|
|
127675
127682
|
if (import.meta.url.endsWith(".ts"))
|
|
@@ -127728,7 +127735,7 @@ function reindexAsync(options) {
|
|
|
127728
127735
|
});
|
|
127729
127736
|
}
|
|
127730
127737
|
|
|
127731
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127738
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/agent-codex-instructions.js
|
|
127732
127739
|
import * as crypto20 from "crypto";
|
|
127733
127740
|
import * as fs75 from "fs";
|
|
127734
127741
|
import * as os23 from "os";
|
|
@@ -127888,7 +127895,7 @@ function materializeCodexAgents(opts) {
|
|
|
127888
127895
|
}
|
|
127889
127896
|
}
|
|
127890
127897
|
|
|
127891
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127898
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-post-sync-flags.js
|
|
127892
127899
|
var POST_SYNC_FLAG_KEYS = {
|
|
127893
127900
|
qmdReindex: "sync.qmd-reindex",
|
|
127894
127901
|
conflictPrune: "sync.conflict-prune",
|
|
@@ -127908,12 +127915,12 @@ function createPostSyncFlagEvaluator(options = {}) {
|
|
|
127908
127915
|
};
|
|
127909
127916
|
}
|
|
127910
127917
|
|
|
127911
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127918
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-manifest.js
|
|
127912
127919
|
import { createHash as createHash41, randomUUID as randomUUID9 } from "node:crypto";
|
|
127913
127920
|
import * as fs77 from "node:fs/promises";
|
|
127914
127921
|
import * as path71 from "node:path";
|
|
127915
127922
|
|
|
127916
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127923
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-installation-id.js
|
|
127917
127924
|
import * as fs76 from "node:fs";
|
|
127918
127925
|
import * as os24 from "node:os";
|
|
127919
127926
|
import * as path70 from "node:path";
|
|
@@ -127963,7 +127970,7 @@ function readDesktopInstallationId(options) {
|
|
|
127963
127970
|
return void 0;
|
|
127964
127971
|
}
|
|
127965
127972
|
|
|
127966
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127973
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-manifest.js
|
|
127967
127974
|
var RUNNER_MANIFEST_WALK_WALL_MS = 9e4;
|
|
127968
127975
|
var RUNNER_MANIFEST_PHASE_WALL_MS = 24e4;
|
|
127969
127976
|
var RUNNER_MANIFEST_REPAIR_POLL_SPACING_MS = 60 * 60 * 1e3;
|
|
@@ -128656,14 +128663,14 @@ function manifestLegFailureKinds(input2) {
|
|
|
128656
128663
|
return kinds;
|
|
128657
128664
|
}
|
|
128658
128665
|
|
|
128659
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128666
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/exit-codes.js
|
|
128660
128667
|
var PARTIAL_SYNC_EXIT = 2;
|
|
128661
128668
|
var UNRESOLVED_COMPANY_EXIT = 19;
|
|
128662
128669
|
var WATCH_RUNNER_ALREADY_OWNED_EXIT = 20;
|
|
128663
128670
|
var WATCH_OWNER_LEASE_LOST_EXIT = 21;
|
|
128664
128671
|
var PREFLIGHT_HALT_EXIT = 22;
|
|
128665
128672
|
|
|
128666
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128673
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-audit.js
|
|
128667
128674
|
import * as crypto21 from "node:crypto";
|
|
128668
128675
|
import * as fs78 from "node:fs";
|
|
128669
128676
|
import * as path72 from "node:path";
|
|
@@ -128712,7 +128719,7 @@ function hashNormalizedKey(key) {
|
|
|
128712
128719
|
return crypto21.createHash("sha256").update(normalized, "utf8").digest("hex");
|
|
128713
128720
|
}
|
|
128714
128721
|
|
|
128715
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128722
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/watch-owner-lease.js
|
|
128716
128723
|
import { spawnSync as spawnSync4 } from "node:child_process";
|
|
128717
128724
|
import { randomUUID as randomUUID10 } from "node:crypto";
|
|
128718
128725
|
import * as fs79 from "node:fs";
|
|
@@ -129083,11 +129090,11 @@ function acquireWatchOwnerLease(hqRoot, owner = "unknown", options = {}) {
|
|
|
129083
129090
|
};
|
|
129084
129091
|
}
|
|
129085
129092
|
|
|
129086
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129093
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-engine-owned.js
|
|
129087
129094
|
import * as fs81 from "fs";
|
|
129088
129095
|
import * as path75 from "path";
|
|
129089
129096
|
|
|
129090
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129097
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-planning.js
|
|
129091
129098
|
import { execFileSync as execFileSync2 } from "node:child_process";
|
|
129092
129099
|
import * as fs80 from "node:fs";
|
|
129093
129100
|
import * as os25 from "node:os";
|
|
@@ -129443,7 +129450,7 @@ function emitFanoutPlan(emit, plan) {
|
|
|
129443
129450
|
emit({ type: "fanout-plan", companies: plan });
|
|
129444
129451
|
}
|
|
129445
129452
|
|
|
129446
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129453
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-engine-owned.js
|
|
129447
129454
|
function readJsonObject(file2) {
|
|
129448
129455
|
try {
|
|
129449
129456
|
const parsed = JSON.parse(fs81.readFileSync(file2, "utf8"));
|
|
@@ -129537,7 +129544,7 @@ function applyLivePersonalSkip(spawnSkip) {
|
|
|
129537
129544
|
return owned.personal || spawnSkip && !restored.personal;
|
|
129538
129545
|
}
|
|
129539
129546
|
|
|
129540
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129547
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/watch-parent.js
|
|
129541
129548
|
var WATCH_PARENT_CHECK_INTERVAL_MS = 1e3;
|
|
129542
129549
|
function processExists(pid) {
|
|
129543
129550
|
try {
|
|
@@ -129588,7 +129595,7 @@ function startWatchParentExitMonitor(options) {
|
|
|
129588
129595
|
};
|
|
129589
129596
|
}
|
|
129590
129597
|
|
|
129591
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129598
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-events.js
|
|
129592
129599
|
var ERROR_TYPES = /* @__PURE__ */ new Set([
|
|
129593
129600
|
"error",
|
|
129594
129601
|
"auth-error"
|
|
@@ -129634,7 +129641,7 @@ function emitUncaughtRunnerError(err, streams) {
|
|
|
129634
129641
|
}
|
|
129635
129642
|
}
|
|
129636
129643
|
|
|
129637
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129644
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/runner-output-guard.js
|
|
129638
129645
|
var BROKEN_OUTPUT_CODES = /* @__PURE__ */ new Set([
|
|
129639
129646
|
"EPIPE",
|
|
129640
129647
|
"ECONNRESET",
|
|
@@ -129698,7 +129705,7 @@ function installRunnerOutputGuard(streams = [process.stdout, process.stderr], re
|
|
|
129698
129705
|
};
|
|
129699
129706
|
}
|
|
129700
129707
|
|
|
129701
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129708
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-stdout.js
|
|
129702
129709
|
import { format as format2 } from "node:util";
|
|
129703
129710
|
function redirectRunnerConsoleToStderr(runnerConsole, stderr) {
|
|
129704
129711
|
const writeDiagnostic = (...args) => {
|
|
@@ -129714,7 +129721,7 @@ function runWithRunnerConsoleStderr(startRunner, runnerConsole = console, stderr
|
|
|
129714
129721
|
return startRunner();
|
|
129715
129722
|
}
|
|
129716
129723
|
|
|
129717
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129724
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-pass-request.js
|
|
129718
129725
|
import * as fs82 from "node:fs";
|
|
129719
129726
|
import * as path76 from "node:path";
|
|
129720
129727
|
function buildPassRequestArgv(passArgv, company) {
|
|
@@ -129965,7 +129972,7 @@ var SyncPassRequestDirectory = class _SyncPassRequestDirectory {
|
|
|
129965
129972
|
}
|
|
129966
129973
|
};
|
|
129967
129974
|
|
|
129968
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129975
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/active-company.js
|
|
129969
129976
|
import { randomUUID as randomUUID11 } from "node:crypto";
|
|
129970
129977
|
import * as fs83 from "node:fs";
|
|
129971
129978
|
import * as path77 from "node:path";
|
|
@@ -130057,7 +130064,7 @@ function seedActiveCompany(options) {
|
|
|
130057
130064
|
return { written: true, activeCompany };
|
|
130058
130065
|
}
|
|
130059
130066
|
|
|
130060
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130067
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/manifest-reconcile.js
|
|
130061
130068
|
import { randomUUID as randomUUID12 } from "node:crypto";
|
|
130062
130069
|
import * as fs84 from "node:fs";
|
|
130063
130070
|
import * as path78 from "node:path";
|
|
@@ -130288,17 +130295,17 @@ async function reconcileCompanyManifest(options) {
|
|
|
130288
130295
|
return reconcileManifest(options.hqRoot, resolvedTargets);
|
|
130289
130296
|
}
|
|
130290
130297
|
|
|
130291
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130298
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-company.js
|
|
130292
130299
|
import * as fs85 from "fs";
|
|
130293
130300
|
import * as path79 from "path";
|
|
130294
130301
|
import { createHash as createHash43, randomUUID as randomUUID13 } from "node:crypto";
|
|
130295
130302
|
|
|
130296
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130303
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/scope-inventory-client.js
|
|
130297
130304
|
function allowsLegacyNetwork(decision) {
|
|
130298
130305
|
return decision.network === "allow-legacy";
|
|
130299
130306
|
}
|
|
130300
130307
|
|
|
130301
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130308
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/lib/sync-leg-error-summary.js
|
|
130302
130309
|
import os26 from "node:os";
|
|
130303
130310
|
var ERRNO_NAMES = new Set(Object.keys(os26.constants.errno));
|
|
130304
130311
|
var EXTRA_CODES = /* @__PURE__ */ new Set([
|
|
@@ -130503,7 +130510,7 @@ function buildSyncLegErrorSummary(input2) {
|
|
|
130503
130510
|
return segments.join(":").slice(0, 128);
|
|
130504
130511
|
}
|
|
130505
130512
|
|
|
130506
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130513
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-rollup.js
|
|
130507
130514
|
function createCompanyState(company) {
|
|
130508
130515
|
return {
|
|
130509
130516
|
company,
|
|
@@ -130565,7 +130572,7 @@ function rollupAllComplete(plan, stateByCompany) {
|
|
|
130565
130572
|
};
|
|
130566
130573
|
}
|
|
130567
130574
|
|
|
130568
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130575
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-company.js
|
|
130569
130576
|
var PRUNED_SAMPLE_PATHS = 5;
|
|
130570
130577
|
var SIZE_LIMIT_SKIP_EVENT_INTERVAL_MS = PLAN_LIMIT_PAUSE_RETRY_MS;
|
|
130571
130578
|
var SIZE_LIMIT_SKIP_MEMORY_MAX = 1e4;
|
|
@@ -131794,7 +131801,7 @@ function normalizePullChangedPaths(target, changedPaths) {
|
|
|
131794
131801
|
});
|
|
131795
131802
|
}
|
|
131796
131803
|
|
|
131797
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131804
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-telemetry.js
|
|
131798
131805
|
async function emitTelemetry(options) {
|
|
131799
131806
|
const telemetryFn = options.collectTelemetry ?? options.defaultCollectTelemetry;
|
|
131800
131807
|
return telemetryFn().catch((err) => {
|
|
@@ -131806,7 +131813,7 @@ async function emitTelemetry(options) {
|
|
|
131806
131813
|
});
|
|
131807
131814
|
}
|
|
131808
131815
|
|
|
131809
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131816
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-loop.js
|
|
131810
131817
|
import * as os27 from "os";
|
|
131811
131818
|
import * as path83 from "path";
|
|
131812
131819
|
import * as fs89 from "fs";
|
|
@@ -131814,7 +131821,7 @@ import { createHash as createHash44 } from "node:crypto";
|
|
|
131814
131821
|
import * as v8 from "node:v8";
|
|
131815
131822
|
import { performance as performance3 } from "node:perf_hooks";
|
|
131816
131823
|
|
|
131817
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131824
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/push-failure-backoff.js
|
|
131818
131825
|
var PUSH_FAILURE_BACKOFF_BASE_MS = 5e3;
|
|
131819
131826
|
var PUSH_FAILURE_BACKOFF_CAP_MS = 5 * 6e4;
|
|
131820
131827
|
var RoutePushFailureBackoff = class {
|
|
@@ -131841,12 +131848,12 @@ var systemPushRetryScheduler = {
|
|
|
131841
131848
|
clearTimeout: (handle) => clearTimeout(handle)
|
|
131842
131849
|
};
|
|
131843
131850
|
|
|
131844
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131851
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
131845
131852
|
var import_client_sqs = __toESM(require_dist_cjs20(), 1);
|
|
131846
131853
|
import { readFileSync as readFileSync51 } from "node:fs";
|
|
131847
131854
|
import { join as join69 } from "node:path";
|
|
131848
131855
|
|
|
131849
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131856
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/inbound-event-admission.js
|
|
131850
131857
|
import * as fs86 from "node:fs";
|
|
131851
131858
|
import * as path80 from "node:path";
|
|
131852
131859
|
function logSwallowed14(line) {
|
|
@@ -131912,7 +131919,7 @@ function isInboundEventPlaceable(hqRoot, event) {
|
|
|
131912
131919
|
}
|
|
131913
131920
|
}
|
|
131914
131921
|
|
|
131915
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131922
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/unchanged-push-events.js
|
|
131916
131923
|
import fs87 from "node:fs";
|
|
131917
131924
|
import path81 from "node:path";
|
|
131918
131925
|
function journalCoordinatesForPushEvent(relativePath) {
|
|
@@ -131954,7 +131961,7 @@ function unchangedPushEventPaths(events, hqRoot, lookup) {
|
|
|
131954
131961
|
return unchanged;
|
|
131955
131962
|
}
|
|
131956
131963
|
|
|
131957
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131964
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
131958
131965
|
function resolveEventSync(override) {
|
|
131959
131966
|
return !isEventSyncLocallyDisabled(override);
|
|
131960
131967
|
}
|
|
@@ -132666,7 +132673,7 @@ async function startEventSync(opts) {
|
|
|
132666
132673
|
};
|
|
132667
132674
|
}
|
|
132668
132675
|
|
|
132669
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132676
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-auto-migration.js
|
|
132670
132677
|
var AREA_AUTO_MIGRATION_STARTED_EVENT = "area_migration_started";
|
|
132671
132678
|
var AREA_AUTO_MIGRATION_COMPLETED_EVENT = "area_migration_completed";
|
|
132672
132679
|
var AREA_AUTO_MIGRATION_SOURCE = "sync-runner";
|
|
@@ -132819,7 +132826,7 @@ function describe3(error62) {
|
|
|
132819
132826
|
return error62 instanceof Error ? error62.message : String(error62);
|
|
132820
132827
|
}
|
|
132821
132828
|
|
|
132822
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132829
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-heap-telemetry.js
|
|
132823
132830
|
import * as perfHooks from "node:perf_hooks";
|
|
132824
132831
|
var CENSUS_TOKEN = /^[A-Za-z][A-Za-z0-9_]{0,48}$/;
|
|
132825
132832
|
var HeapCensus = class {
|
|
@@ -133806,7 +133813,7 @@ function nodeHeapReaders(v82) {
|
|
|
133806
133813
|
};
|
|
133807
133814
|
}
|
|
133808
133815
|
|
|
133809
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133816
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/sync/idle-full-reconcile.js
|
|
133810
133817
|
var MAX_UNOBSERVED_TICK_GAP_MS = 6e4;
|
|
133811
133818
|
var MAX_CLOCK_DRIFT_MS = 5e3;
|
|
133812
133819
|
var MAX_SCHEDULED_FULL_SKIP_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -133864,7 +133871,7 @@ function canSkipScheduledFullReconcile(proof) {
|
|
|
133864
133871
|
return true;
|
|
133865
133872
|
}
|
|
133866
133873
|
|
|
133867
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133874
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/legacy-sync-wake.js
|
|
133868
133875
|
import * as fs88 from "node:fs";
|
|
133869
133876
|
import * as path82 from "node:path";
|
|
133870
133877
|
var MAX_WAKE_BYTES = 1024 * 1024;
|
|
@@ -134026,7 +134033,7 @@ var LegacySyncWakeBridge = class {
|
|
|
134026
134033
|
}
|
|
134027
134034
|
};
|
|
134028
134035
|
|
|
134029
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134036
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-loop.js
|
|
134030
134037
|
var FULL_RECONCILE_EVERY_TICKS = 10;
|
|
134031
134038
|
var warnedUnresolvedReceiverCompanies = /* @__PURE__ */ new Set();
|
|
134032
134039
|
var EVENT_SYNC_STARTUP_SHUTDOWN_WAIT_MS = 5e3;
|
|
@@ -139546,7 +139553,7 @@ async function runWatchLoop(argv, parsed, deps, runtime) {
|
|
|
139546
139553
|
}
|
|
139547
139554
|
}
|
|
139548
139555
|
|
|
139549
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
139556
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-auth-wait.js
|
|
139550
139557
|
var AUTH_WAIT_INITIAL_RECHECK_MS = 6e4;
|
|
139551
139558
|
var AUTH_WAIT_STEADY_RECHECK_MS = 5 * 6e4;
|
|
139552
139559
|
var AUTH_WAIT_LIVENESS_INTERVAL_MS = 30 * 6e4;
|
|
@@ -139619,7 +139626,7 @@ async function waitForValidAuth(opts) {
|
|
|
139619
139626
|
return "stopped";
|
|
139620
139627
|
}
|
|
139621
139628
|
|
|
139622
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
139629
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.121/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
139623
139630
|
var SESSION_LOG_CAPTURE_QUIET_FOR_MS = 10 * 6e4;
|
|
139624
139631
|
var SESSION_LOG_CAPTURE_MAX_STALENESS_MS = 60 * 6e4;
|
|
139625
139632
|
var DEFAULT_COGNITO = {
|