@indigoai-us/hq-cli 5.345.205 → 5.345.207
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 +39 -0
- package/assets/scaffold/core/scripts/checkpoint-stop-gate.sh +111 -15
- package/dist/command-catalog.generated.d.ts +14 -2
- package/dist/command-catalog.generated.js +17 -2
- package/dist/commands/bot.d.ts +6 -0
- package/dist/commands/bot.js +88 -12
- package/dist/commands/core-checkpoint-stop-gate-native.js +130 -25
- package/dist/commands/files.d.ts +36 -0
- package/dist/commands/files.js +80 -1
- package/dist/commands/lanes-shared.d.ts +13 -0
- package/dist/commands/lanes.d.ts +2 -0
- package/dist/commands/lanes.js +44 -4
- package/dist/commands/sources.js +1 -1
- package/dist/commands/storage-offload.d.ts +8 -1
- package/dist/commands/storage-offload.js +6 -1
- package/dist/commands/storage.js +4 -0
- package/dist/hq-cloud-sync-runner/bin/sync-runner.js +260 -250
- package/dist/hq-cloud-sync-runner/package.json +1 -1
- package/dist/lib/bot/fleet-cron.js +4 -1
- package/dist/lib/bot/fleet-local.js +9 -9
- package/dist/lib/bot/fleet-owner-companies.d.ts +7 -0
- package/dist/lib/bot/fleet-owner-companies.js +16 -4
- package/dist/lib/bot/jobs/hot-signal-sync.d.ts +2 -0
- package/dist/lib/bot/jobs/hot-signal-sync.js +18 -1
- package/dist/lib/bot/jobs/meeting-detect.d.ts +41 -2
- package/dist/lib/bot/jobs/meeting-detect.js +280 -16
- package/dist/lib/bot/run.d.ts +1 -0
- package/dist/lib/bot/run.js +4 -2
- package/dist/lib/bot/runtime-failure.js +4 -2
- package/dist/lib/capacity/collect.d.ts +7 -0
- package/dist/lib/capacity/collect.js +22 -16
- package/dist/lib/capacity/route.d.ts +23 -0
- package/dist/lib/capacity/route.js +41 -2
- package/dist/lib/company-skill-wrapper.js +33 -4
- 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/hot-channels/alert.d.ts +4 -1
- package/dist/lib/hot-channels/alert.js +10 -4
- package/dist/lib/hot-channels/ledger.d.ts +4 -4
- package/dist/lib/hot-channels/ledger.js +2 -0
- package/dist/lib/hot-channels/run.d.ts +6 -0
- package/dist/lib/hot-channels/run.js +7 -2
- package/dist/lib/hot-channels/signals-pass.d.ts +11 -2
- package/dist/lib/hot-channels/signals-pass.js +129 -15
- package/dist/lib/lanes/links.d.ts +2 -0
- package/dist/lib/lanes/links.js +12 -1
- package/dist/lib/live-meetings.js +1 -1
- package/dist/lib/sync-core/release.d.ts +1 -1
- package/dist/lib/sync-core/release.js +1 -1
- package/dist/utils/redact-error-text.js +1 -0
- package/dist/utils/resident-package-preload.js +32 -4
- package/package.json +8 -8
|
@@ -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.109/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.109/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.109/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";
|
|
@@ -50914,7 +50914,7 @@ function writeJsonAtomic(filePath, value) {
|
|
|
50914
50914
|
}
|
|
50915
50915
|
}
|
|
50916
50916
|
|
|
50917
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
50917
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/manifest-folder-alias.js
|
|
50918
50918
|
import * as fs3 from "node:fs";
|
|
50919
50919
|
import * as path2 from "node:path";
|
|
50920
50920
|
function readManifestCloudCompanies(hqRoot) {
|
|
@@ -50989,14 +50989,14 @@ function manifestFolderAlias(byUid, companyUid, cloudSlug, onDuplicate) {
|
|
|
50989
50989
|
return entry.slug;
|
|
50990
50990
|
}
|
|
50991
50991
|
|
|
50992
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
50992
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-self-profile.js
|
|
50993
50993
|
import * as fs29 from "node:fs";
|
|
50994
50994
|
import * as os6 from "node:os";
|
|
50995
50995
|
import * as path25 from "node:path";
|
|
50996
50996
|
import { Session } from "node:inspector";
|
|
50997
50997
|
import { fileURLToPath as fileURLToPath3, pathToFileURL } from "node:url";
|
|
50998
50998
|
|
|
50999
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
50999
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/watcher.js
|
|
51000
51000
|
import * as fs28 from "fs";
|
|
51001
51001
|
import { createHash as createHash17 } from "node:crypto";
|
|
51002
51002
|
import { readFile as readFile3, stat as stat4 } from "node:fs/promises";
|
|
@@ -52692,7 +52692,7 @@ function watch(paths, options = {}) {
|
|
|
52692
52692
|
return watcher;
|
|
52693
52693
|
}
|
|
52694
52694
|
|
|
52695
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
52695
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cloud-placeholder.js
|
|
52696
52696
|
import * as fs4 from "fs";
|
|
52697
52697
|
import * as path3 from "path";
|
|
52698
52698
|
var CLOUD_PLACEHOLDER_SUFFIX = ".hqcloud";
|
|
@@ -53130,18 +53130,18 @@ function writeCloudPlaceholder(placeholderPath, placeholder) {
|
|
|
53130
53130
|
}
|
|
53131
53131
|
}
|
|
53132
53132
|
|
|
53133
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53133
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/ignore.js
|
|
53134
53134
|
var import_ignore = __toESM(require_ignore(), 1);
|
|
53135
53135
|
import * as fs5 from "fs";
|
|
53136
53136
|
import * as path4 from "path";
|
|
53137
53137
|
|
|
53138
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53138
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/restore-staging.js
|
|
53139
53139
|
var RESTORE_STAGING_SUFFIX = /\.hq-restore-(?:\d+(?:-\d+)?|probe-\d+-[0-9a-z]+)$/i;
|
|
53140
53140
|
function isRestoreStagingPath(relativePath) {
|
|
53141
53141
|
return relativePath.split(/[\\/]/).some((segment) => RESTORE_STAGING_SUFFIX.test(segment));
|
|
53142
53142
|
}
|
|
53143
53143
|
|
|
53144
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53144
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/best-effort-error.js
|
|
53145
53145
|
var EXPECTED_ABSENCE_CODES = /* @__PURE__ */ new Set([
|
|
53146
53146
|
"ENOENT",
|
|
53147
53147
|
"NoSuchKey",
|
|
@@ -53183,7 +53183,55 @@ function noteSwallowedError(log, event, error62, options = {}) {
|
|
|
53183
53183
|
`);
|
|
53184
53184
|
}
|
|
53185
53185
|
|
|
53186
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53186
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/cloud-authoritative.js
|
|
53187
|
+
var CLOUD_AUTHORITATIVE_PATTERNS = [
|
|
53188
|
+
/^company-brief\.md$/,
|
|
53189
|
+
/^board\.json$/,
|
|
53190
|
+
/^ontology\//,
|
|
53191
|
+
/^signals\//,
|
|
53192
|
+
/^sources\//,
|
|
53193
|
+
/^secrets\//
|
|
53194
|
+
];
|
|
53195
|
+
function isCloudAuthoritative(relPath) {
|
|
53196
|
+
const vaultRel = relPath.split("\\").join("/").replace(/^\.?\//, "").replace(/^companies\/[^/]+\//, "");
|
|
53197
|
+
return CLOUD_AUTHORITATIVE_PATTERNS.some((re) => re.test(vaultRel));
|
|
53198
|
+
}
|
|
53199
|
+
function cloudAuthoritativePathClass(relPath) {
|
|
53200
|
+
const vaultRel = relPath.split("\\").join("/").replace(/^\.?\//, "").replace(/^companies\/[^/]+\//, "");
|
|
53201
|
+
if (vaultRel === "company-brief.md")
|
|
53202
|
+
return "company-brief";
|
|
53203
|
+
if (vaultRel === "board.json")
|
|
53204
|
+
return "board";
|
|
53205
|
+
if (/^ontology\//.test(vaultRel))
|
|
53206
|
+
return "ontology";
|
|
53207
|
+
if (/^signals\//.test(vaultRel))
|
|
53208
|
+
return "signals";
|
|
53209
|
+
if (/^sources\//.test(vaultRel))
|
|
53210
|
+
return "sources";
|
|
53211
|
+
if (/^secrets\//.test(vaultRel))
|
|
53212
|
+
return "secrets";
|
|
53213
|
+
return void 0;
|
|
53214
|
+
}
|
|
53215
|
+
function isLocallyIneligibleForPush(relPath, options = {}) {
|
|
53216
|
+
const vaultRel = relPath.split("\\").join("/").replace(/^\.?\//, "").replace(/^companies\/[^/]+\//, "");
|
|
53217
|
+
if (options.boardClientOwned && vaultRel === "board.json")
|
|
53218
|
+
return false;
|
|
53219
|
+
if (/^ontology\/entities\//.test(vaultRel) && options.ontologyEntityPush === true)
|
|
53220
|
+
return false;
|
|
53221
|
+
return isCloudAuthoritative(relPath);
|
|
53222
|
+
}
|
|
53223
|
+
function isPullReconciledServerOwned(relPath) {
|
|
53224
|
+
const vaultRel = relPath.split("\\").join("/").replace(/^\.?\//, "").replace(/^companies\/[^/]+\//, "");
|
|
53225
|
+
if (vaultRel === "board.json")
|
|
53226
|
+
return false;
|
|
53227
|
+
if (/^ontology\/entities\//.test(vaultRel))
|
|
53228
|
+
return false;
|
|
53229
|
+
if (/^secrets\//.test(vaultRel))
|
|
53230
|
+
return false;
|
|
53231
|
+
return isCloudAuthoritative(vaultRel);
|
|
53232
|
+
}
|
|
53233
|
+
|
|
53234
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/ignore.js
|
|
53187
53235
|
function logSwallowed(line) {
|
|
53188
53236
|
process.stderr.write(line);
|
|
53189
53237
|
}
|
|
@@ -53726,6 +53774,15 @@ function createIgnoreMatchersFromSnapshot(snapshot, options = {}) {
|
|
|
53726
53774
|
const ancestorMatcher = hqinclude ? compileAncestorMatcher(hqinclude) : null;
|
|
53727
53775
|
return { ig, includeMatcher, ancestorMatcher };
|
|
53728
53776
|
}
|
|
53777
|
+
var COMPANY_ROOT_DIR = /^companies(?:\/[^/]+)?$/;
|
|
53778
|
+
var BELOW_COMPANY_ROOT = /^companies\/[^/]+\/./;
|
|
53779
|
+
function isAllowlistAdmittedServerOwnedPath(relative21, isDir3) {
|
|
53780
|
+
if (isDir3 && COMPANY_ROOT_DIR.test(relative21))
|
|
53781
|
+
return true;
|
|
53782
|
+
if (!BELOW_COMPANY_ROOT.test(relative21))
|
|
53783
|
+
return false;
|
|
53784
|
+
return isPullReconciledServerOwned(isDir3 ? relative21 + "/" : relative21);
|
|
53785
|
+
}
|
|
53729
53786
|
function resolveIncludeVerdict(matchers, relative21, isDir3, probe, countEvaluation) {
|
|
53730
53787
|
if (!matchers.includeMatcher)
|
|
53731
53788
|
return true;
|
|
@@ -53737,7 +53794,7 @@ function resolveIncludeVerdict(matchers, relative21, isDir3, probe, countEvaluat
|
|
|
53737
53794
|
if (relDir && matchers.ancestorMatcher(relDir))
|
|
53738
53795
|
return true;
|
|
53739
53796
|
}
|
|
53740
|
-
return
|
|
53797
|
+
return isAllowlistAdmittedServerOwnedPath(relative21, isDir3);
|
|
53741
53798
|
}
|
|
53742
53799
|
function evaluateRelativeIgnoreFilter(matchers, relative21, isDir3, stats) {
|
|
53743
53800
|
if (isRestoreStagingPath(relative21))
|
|
@@ -53896,7 +53953,7 @@ function isWithinSizeLimit(filePath, maxBytes = SYNC_MAX_FILE_BYTES) {
|
|
|
53896
53953
|
}
|
|
53897
53954
|
}
|
|
53898
53955
|
|
|
53899
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53956
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/watch-roots.js
|
|
53900
53957
|
import * as fs6 from "fs";
|
|
53901
53958
|
import * as path5 from "path";
|
|
53902
53959
|
function defaultListChildDirs(dir, onSymlinkEntry) {
|
|
@@ -53970,7 +54027,7 @@ function isCoveredByRecursiveRoot(absolutePath, recursiveRoots) {
|
|
|
53970
54027
|
}
|
|
53971
54028
|
}
|
|
53972
54029
|
|
|
53973
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
54030
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/watch-coverage.js
|
|
53974
54031
|
import * as fs7 from "fs";
|
|
53975
54032
|
function directoryIdentityAt(absolutePath) {
|
|
53976
54033
|
try {
|
|
@@ -54007,7 +54064,7 @@ function probeScopedWatchCoverage(input2) {
|
|
|
54007
54064
|
return { ok: true };
|
|
54008
54065
|
}
|
|
54009
54066
|
|
|
54010
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
54067
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/local-path-codec.js
|
|
54011
54068
|
import * as path6 from "path";
|
|
54012
54069
|
var WIN32_RESERVED_CHARS = /[<>:"/\\|?*]/;
|
|
54013
54070
|
var WIN32_DEVICE_NAME = /^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\..*)?$/i;
|
|
@@ -54065,7 +54122,7 @@ function canonicalVaultKeySpelling(key) {
|
|
|
54065
54122
|
return segments.join("/");
|
|
54066
54123
|
}
|
|
54067
54124
|
|
|
54068
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
54125
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/personal-vault-exclusions.js
|
|
54069
54126
|
import * as path7 from "path";
|
|
54070
54127
|
import * as fs8 from "fs";
|
|
54071
54128
|
function hasSegment(relPath, segment) {
|
|
@@ -54362,7 +54419,7 @@ function wrapFilterWithPersonalVaultDefaults(underlying, syncRoot, onExcluded, o
|
|
|
54362
54419
|
};
|
|
54363
54420
|
}
|
|
54364
54421
|
|
|
54365
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
54422
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/state-store.js
|
|
54366
54423
|
import * as crypto3 from "node:crypto";
|
|
54367
54424
|
import * as fs9 from "node:fs";
|
|
54368
54425
|
import * as path8 from "node:path";
|
|
@@ -57418,11 +57475,11 @@ function crc32c(bytes) {
|
|
|
57418
57475
|
return (crc ^ 4294967295) >>> 0;
|
|
57419
57476
|
}
|
|
57420
57477
|
|
|
57421
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
57478
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/personal-vault.js
|
|
57422
57479
|
import * as fs15 from "fs";
|
|
57423
57480
|
import * as path13 from "path";
|
|
57424
57481
|
|
|
57425
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
57482
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/journal.js
|
|
57426
57483
|
import * as fs14 from "fs";
|
|
57427
57484
|
import * as os2 from "os";
|
|
57428
57485
|
import * as path12 from "path";
|
|
@@ -57430,7 +57487,7 @@ import * as crypto8 from "crypto";
|
|
|
57430
57487
|
import { spawn } from "node:child_process";
|
|
57431
57488
|
import { fileURLToPath } from "node:url";
|
|
57432
57489
|
|
|
57433
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
57490
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/journal-decode-window.js
|
|
57434
57491
|
var JOURNAL_DECODE_WINDOW = 1e4;
|
|
57435
57492
|
var rowsInFlight = 0;
|
|
57436
57493
|
var peakRowsInFlight = 0;
|
|
@@ -57489,7 +57546,7 @@ function journalFingerprintMatchesStat(fingerprint, lstat3) {
|
|
|
57489
57546
|
return lstat3.size === fingerprint.size && lstat3.mtimeMs === fingerprint.mtimeMs && lstat3.ctimeMs === fingerprint.ctimeMs;
|
|
57490
57547
|
}
|
|
57491
57548
|
|
|
57492
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
57549
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/journal-row-store.js
|
|
57493
57550
|
var HASH_BYTES = 32;
|
|
57494
57551
|
var ETAG_BYTES = 16;
|
|
57495
57552
|
var INITIAL_ROW_CAPACITY = 16;
|
|
@@ -58999,7 +59056,7 @@ function readOptionalBoolean(entry, key, flags, presentBit, valueBit) {
|
|
|
58999
59056
|
entry[key] = Boolean(flags & valueBit);
|
|
59000
59057
|
}
|
|
59001
59058
|
|
|
59002
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59059
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/journal-record-proxy.js
|
|
59003
59060
|
var rowsByRecordProxy = /* @__PURE__ */ new WeakMap();
|
|
59004
59061
|
function journalRecordRows(files) {
|
|
59005
59062
|
return rowsByRecordProxy.get(files);
|
|
@@ -59065,13 +59122,13 @@ function createJournalRecordProxy(store) {
|
|
|
59065
59122
|
return proxy;
|
|
59066
59123
|
}
|
|
59067
59124
|
|
|
59068
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59125
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-decoder.js
|
|
59069
59126
|
import { StringDecoder } from "node:string_decoder";
|
|
59070
59127
|
|
|
59071
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59128
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-v4.js
|
|
59072
59129
|
import * as crypto4 from "node:crypto";
|
|
59073
59130
|
|
|
59074
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59131
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-rows.js
|
|
59075
59132
|
var packedJournalRows = /* @__PURE__ */ new WeakMap();
|
|
59076
59133
|
var sharedAreaJournalRowStores = /* @__PURE__ */ new Map();
|
|
59077
59134
|
function areaJournalRowsCacheKey(rootDir, slug) {
|
|
@@ -59094,7 +59151,7 @@ function forgetSharedAreaJournalRows(cacheKey) {
|
|
|
59094
59151
|
sharedAreaJournalRowStores.delete(cacheKey);
|
|
59095
59152
|
}
|
|
59096
59153
|
|
|
59097
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59154
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-v4.js
|
|
59098
59155
|
var JOURNAL_SNAPSHOT_V4_MAGIC = SNAPSHOT_V4_MAGIC;
|
|
59099
59156
|
var SNAPSHOT_FIXED_HEADER_BYTES2 = 52;
|
|
59100
59157
|
var SECTION_ALIGNMENT_BYTES = 8;
|
|
@@ -59626,7 +59683,7 @@ function assertLittleEndian() {
|
|
|
59626
59683
|
throw new Error("HQSNAP4 requires a little-endian host");
|
|
59627
59684
|
}
|
|
59628
59685
|
|
|
59629
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59686
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-decoder.js
|
|
59630
59687
|
function decodeJournalSnapshot(chunks, magic) {
|
|
59631
59688
|
if (magic.equals(SNAPSHOT_V3_MAGIC))
|
|
59632
59689
|
return decodeV3JournalSnapshot(chunks);
|
|
@@ -59978,12 +60035,12 @@ function isPunctuation(value) {
|
|
|
59978
60035
|
return value === "{" || value === "}" || value === "[" || value === "]" || value === ":" || value === ",";
|
|
59979
60036
|
}
|
|
59980
60037
|
|
|
59981
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60038
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/posix-key.js
|
|
59982
60039
|
function toPosixKey(key) {
|
|
59983
60040
|
return key.split("\\").join("/");
|
|
59984
60041
|
}
|
|
59985
60042
|
|
|
59986
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60043
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/path-ancestors.js
|
|
59987
60044
|
function isUnderAnyRoot(key, roots) {
|
|
59988
60045
|
if (roots.has(key))
|
|
59989
60046
|
return true;
|
|
@@ -59996,7 +60053,7 @@ function isUnderAnyRoot(key, roots) {
|
|
|
59996
60053
|
return false;
|
|
59997
60054
|
}
|
|
59998
60055
|
|
|
59999
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60056
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/journal-ledger-stream.js
|
|
60000
60057
|
import * as fs10 from "node:fs";
|
|
60001
60058
|
import { StringDecoder as StringDecoder2 } from "node:string_decoder";
|
|
60002
60059
|
var CHUNK_BYTES = 1 << 18;
|
|
@@ -60110,7 +60167,7 @@ function streamJournalLedgerRows(filePath, onRow) {
|
|
|
60110
60167
|
}
|
|
60111
60168
|
}
|
|
60112
60169
|
|
|
60113
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60170
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/area-resolver.js
|
|
60114
60171
|
import * as fs11 from "fs";
|
|
60115
60172
|
import * as path9 from "path";
|
|
60116
60173
|
var AREA_LAYOUT_FORMAT = 1;
|
|
@@ -60421,12 +60478,12 @@ function compareText(left, right) {
|
|
|
60421
60478
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
60422
60479
|
}
|
|
60423
60480
|
|
|
60424
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60481
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-migration.js
|
|
60425
60482
|
import * as crypto7 from "node:crypto";
|
|
60426
60483
|
import * as fs13 from "node:fs";
|
|
60427
60484
|
import * as path11 from "node:path";
|
|
60428
60485
|
|
|
60429
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60486
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/operation-lock.js
|
|
60430
60487
|
import * as crypto5 from "crypto";
|
|
60431
60488
|
import * as fs12 from "fs";
|
|
60432
60489
|
import * as os from "os";
|
|
@@ -61056,7 +61113,7 @@ function withOperationLockSync(hqRoot, command5, fn, opts = {}) {
|
|
|
61056
61113
|
}
|
|
61057
61114
|
}
|
|
61058
61115
|
|
|
61059
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
61116
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger.js
|
|
61060
61117
|
import * as crypto6 from "node:crypto";
|
|
61061
61118
|
var DIRECT_DELTA = 1;
|
|
61062
61119
|
var PREPARED_TRANSACTION = 2;
|
|
@@ -62485,7 +62542,7 @@ function cloneMetadata(metadata) {
|
|
|
62485
62542
|
return result;
|
|
62486
62543
|
}
|
|
62487
62544
|
|
|
62488
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
62545
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-migration.js
|
|
62489
62546
|
function logSwallowed2(line) {
|
|
62490
62547
|
process.stderr.write(line);
|
|
62491
62548
|
}
|
|
@@ -63245,7 +63302,7 @@ function canonicalJsonOrUndefined(value) {
|
|
|
63245
63302
|
return value === void 0 ? void 0 : canonicalJson2(value);
|
|
63246
63303
|
}
|
|
63247
63304
|
|
|
63248
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
63305
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/per-area-maintenance.js
|
|
63249
63306
|
var AREA_MAINTENANCE_CURSOR_FORMAT = 1;
|
|
63250
63307
|
var CURSOR_SET = 1;
|
|
63251
63308
|
var AreaMaintenanceCursorStore = class _AreaMaintenanceCursorStore {
|
|
@@ -63347,7 +63404,7 @@ function sameAreas(left, right) {
|
|
|
63347
63404
|
return left.length === right.length && left.every((areaId, index) => areaId === right[index]);
|
|
63348
63405
|
}
|
|
63349
63406
|
|
|
63350
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
63407
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/journal.js
|
|
63351
63408
|
var TOMBSTONE_TTL_MS = 30 * 24 * 60 * 60 * 1e3;
|
|
63352
63409
|
var JOURNAL_VERSION_CURRENT = "2";
|
|
63353
63410
|
var MAX_PULLS_PER_COMPANY = 50;
|
|
@@ -65562,7 +65619,7 @@ function gcTombstones(journal, now = Date.now()) {
|
|
|
65562
65619
|
return removed;
|
|
65563
65620
|
}
|
|
65564
65621
|
|
|
65565
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
65622
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/personal-vault.js
|
|
65566
65623
|
function logSwallowed3(line) {
|
|
65567
65624
|
process.stderr.write(line);
|
|
65568
65625
|
}
|
|
@@ -65940,7 +65997,7 @@ function purgeExcludedPersonalVaultJournalEntries(journal, hqRoot, syncRoot, sho
|
|
|
65940
65997
|
return { removed, byReason };
|
|
65941
65998
|
}
|
|
65942
65999
|
|
|
65943
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66000
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/local-link-warning.js
|
|
65944
66001
|
import fs16 from "node:fs";
|
|
65945
66002
|
import path14 from "node:path";
|
|
65946
66003
|
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.";
|
|
@@ -66057,7 +66114,7 @@ function linkWarningMessage(warning4) {
|
|
|
66057
66114
|
return `Skipped symbolic link (${warning4.reason}). ${warning4.remedy}`;
|
|
66058
66115
|
}
|
|
66059
66116
|
|
|
66060
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66117
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/parent-link-alias.js
|
|
66061
66118
|
import fs17 from "node:fs";
|
|
66062
66119
|
import path15 from "node:path";
|
|
66063
66120
|
function linkedParentBelowRoot(root5, dir, realRoot, realDir) {
|
|
@@ -66108,12 +66165,12 @@ function inRootAliasPath(root5, absolutePath) {
|
|
|
66108
66165
|
return path15.join(rel, path15.basename(absolutePath)).split(path15.sep).join("/");
|
|
66109
66166
|
}
|
|
66110
66167
|
|
|
66111
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66168
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
66112
66169
|
import * as fs26 from "fs";
|
|
66113
66170
|
import * as path21 from "path";
|
|
66114
66171
|
import * as crypto11 from "crypto";
|
|
66115
66172
|
|
|
66116
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66173
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/local-replacement.js
|
|
66117
66174
|
import * as crypto9 from "crypto";
|
|
66118
66175
|
import * as fs18 from "fs";
|
|
66119
66176
|
import * as os3 from "os";
|
|
@@ -66169,11 +66226,11 @@ function shouldRecordLocalDeleteIntent(localPath, absent) {
|
|
|
66169
66226
|
return absent && !isLocalPathBeingReplaced(localPath);
|
|
66170
66227
|
}
|
|
66171
66228
|
|
|
66172
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66229
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
66173
66230
|
import { Readable as Readable10, Transform as Transform3 } from "stream";
|
|
66174
66231
|
import { pipeline } from "stream/promises";
|
|
66175
66232
|
|
|
66176
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66233
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/net-errors.js
|
|
66177
66234
|
var TRANSIENT_NETWORK_EXIT = 75;
|
|
66178
66235
|
var TRANSIENT_CODES = /* @__PURE__ */ new Set([
|
|
66179
66236
|
"ECONNREFUSED",
|
|
@@ -66283,7 +66340,7 @@ function hasDeniedConnect(err, depth) {
|
|
|
66283
66340
|
return false;
|
|
66284
66341
|
}
|
|
66285
66342
|
|
|
66286
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66343
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-entity-meta.js
|
|
66287
66344
|
var ONTOLOGY_ENTITY_KEY = /^ontology\/entities\/[a-z][a-z0-9-]*\/[^/]+\.md$/;
|
|
66288
66345
|
var ENTITY_LAST_UPDATED_META_KEY = "hq-entity-last-updated";
|
|
66289
66346
|
function ontologyVaultKey(relPath) {
|
|
@@ -66315,13 +66372,13 @@ function buildEntityMetadata(key, body) {
|
|
|
66315
66372
|
return stamp === null ? {} : { [ENTITY_LAST_UPDATED_META_KEY]: stamp };
|
|
66316
66373
|
}
|
|
66317
66374
|
|
|
66318
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66375
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
66319
66376
|
var import_client_s3 = __toESM(require_dist_cjs16(), 1);
|
|
66320
66377
|
import * as http3 from "node:http";
|
|
66321
66378
|
import * as https2 from "node:https";
|
|
66322
66379
|
import { Transform as Transform2 } from "node:stream";
|
|
66323
66380
|
|
|
66324
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66381
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/s3-content-checksum.js
|
|
66325
66382
|
import { createHash as createHash14 } from "node:crypto";
|
|
66326
66383
|
var CHECKSUM_HEADER_NAMES = [
|
|
66327
66384
|
"content-md5",
|
|
@@ -66392,7 +66449,7 @@ function headersForObjectLockPut(url2, headers, body) {
|
|
|
66392
66449
|
return out;
|
|
66393
66450
|
}
|
|
66394
66451
|
|
|
66395
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66452
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bandwidth.js
|
|
66396
66453
|
import { Transform } from "node:stream";
|
|
66397
66454
|
var MAX_BYTES_PER_SEC_ENV = "HQ_SYNC_MAX_BYTES_PER_SEC";
|
|
66398
66455
|
var MAX_CONCURRENCY_ENV = "HQ_SYNC_MAX_CONCURRENCY";
|
|
@@ -66793,7 +66850,7 @@ function getBandwidthGovernor() {
|
|
|
66793
66850
|
return singleton;
|
|
66794
66851
|
}
|
|
66795
66852
|
|
|
66796
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66853
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/client-info.js
|
|
66797
66854
|
var HEADER_CLIENT_NAME = "x-hq-client-name";
|
|
66798
66855
|
var HEADER_CLIENT_VERSION = "x-hq-client-version";
|
|
66799
66856
|
var HEADER_HQ_CORE_VERSION = "x-hq-core-version";
|
|
@@ -66816,7 +66873,7 @@ function buildClientHeaders(info) {
|
|
|
66816
66873
|
return headers;
|
|
66817
66874
|
}
|
|
66818
66875
|
|
|
66819
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66876
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/telemetry-events.js
|
|
66820
66877
|
var MAX_EVENTS_PER_BATCH = 50;
|
|
66821
66878
|
var DEFAULT_TIMEOUT_MS = 1500;
|
|
66822
66879
|
var MAX_PROPERTIES = 40;
|
|
@@ -66960,12 +67017,12 @@ function describeError(err) {
|
|
|
66960
67017
|
return err instanceof Error ? err.name : typeof err;
|
|
66961
67018
|
}
|
|
66962
67019
|
|
|
66963
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67020
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/http-keepalive.js
|
|
66964
67021
|
import * as http from "node:http";
|
|
66965
67022
|
import * as https from "node:https";
|
|
66966
67023
|
import { Readable as Readable9 } from "node:stream";
|
|
66967
67024
|
|
|
66968
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67025
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/realtime-telemetry.js
|
|
66969
67026
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
66970
67027
|
import { monitorEventLoopDelay } from "node:perf_hooks";
|
|
66971
67028
|
var REALTIME_TELEMETRY_EVENT = "sync.realtime.timing";
|
|
@@ -67155,7 +67212,7 @@ function writeRealtimeTelemetryToStderr(record2) {
|
|
|
67155
67212
|
`);
|
|
67156
67213
|
}
|
|
67157
67214
|
|
|
67158
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67215
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/http-keepalive.js
|
|
67159
67216
|
var HTTP_AGENT = new http.Agent({ keepAlive: true, maxSockets: 8 });
|
|
67160
67217
|
var HTTPS_AGENT = new https.Agent({ keepAlive: true, maxSockets: 8 });
|
|
67161
67218
|
function getKeepAliveAgent(secure) {
|
|
@@ -67215,7 +67272,7 @@ function requestWithKeepAlive(url2, init) {
|
|
|
67215
67272
|
});
|
|
67216
67273
|
}
|
|
67217
67274
|
|
|
67218
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67275
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync-request-counter.js
|
|
67219
67276
|
var counts = { vault: 0, list: 0, object: 0 };
|
|
67220
67277
|
var UNCOUNTED_VAULT_PATH_PREFIX = "/v1/telemetry/";
|
|
67221
67278
|
function syncRequestKindForVaultPath(path80) {
|
|
@@ -86106,7 +86163,7 @@ function date5(params) {
|
|
|
86106
86163
|
return _coercedDate(ZodDate, params);
|
|
86107
86164
|
}
|
|
86108
86165
|
|
|
86109
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
86166
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cognito-auth.js
|
|
86110
86167
|
import { spawnSync } from "child_process";
|
|
86111
86168
|
import * as crypto10 from "crypto";
|
|
86112
86169
|
import * as fs24 from "fs";
|
|
@@ -86628,7 +86685,7 @@ defineLazyProperty(apps, "browser", () => "browser");
|
|
|
86628
86685
|
defineLazyProperty(apps, "browserPrivate", () => "browserPrivate");
|
|
86629
86686
|
var open_default = open4;
|
|
86630
86687
|
|
|
86631
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
86688
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cognito-auth.js
|
|
86632
86689
|
var CognitoAuthError = class extends Error {
|
|
86633
86690
|
constructor(message) {
|
|
86634
86691
|
super(message);
|
|
@@ -88047,7 +88104,7 @@ function pickNewerSession(fromKeychain, other) {
|
|
|
88047
88104
|
return expiresAtMs(other) > expiresAtMs(fromKeychain) ? other : fromKeychain;
|
|
88048
88105
|
}
|
|
88049
88106
|
|
|
88050
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88107
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/credential-scope-error.js
|
|
88051
88108
|
var POLICY_WRITE_SCOPE_TRUNCATED = "POLICY_WRITE_SCOPE_TRUNCATED";
|
|
88052
88109
|
var VaultCredentialScopeError = class extends Error {
|
|
88053
88110
|
droppedWriteGrantPrefixes;
|
|
@@ -88089,7 +88146,7 @@ function assertCredentialScopeUsable(diagnostic) {
|
|
|
88089
88146
|
}
|
|
88090
88147
|
}
|
|
88091
88148
|
|
|
88092
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88149
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/plan-limit.js
|
|
88093
88150
|
var PLAN_LIMIT_REACHED_ERROR = "plan_limit_reached";
|
|
88094
88151
|
var PLAN_LIMIT_CODES = /* @__PURE__ */ new Set([
|
|
88095
88152
|
"PLAN_LIMIT_EXCEEDED",
|
|
@@ -88232,7 +88289,7 @@ function formatPlanLimitNotice(event) {
|
|
|
88232
88289
|
return ` ! ${files} paused by your plan limit.${reason} Upgrade: ${event.upgradeUrl}`;
|
|
88233
88290
|
}
|
|
88234
88291
|
|
|
88235
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88292
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/vault-client.js
|
|
88236
88293
|
var DEFAULT_GLOBAL_FETCH = globalThis.fetch;
|
|
88237
88294
|
var VaultClientError = class extends Error {
|
|
88238
88295
|
statusCode;
|
|
@@ -89194,7 +89251,7 @@ function parseVaultErrorBody(body) {
|
|
|
89194
89251
|
}
|
|
89195
89252
|
}
|
|
89196
89253
|
|
|
89197
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
89254
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
89198
89255
|
var OBJECT_IO_REQUEST_TIMEOUT_MS = 6e4;
|
|
89199
89256
|
var OBJECT_IO_REQUEST_TIMEOUT_PER_MIB_MS = 8e3;
|
|
89200
89257
|
var OBJECT_IO_BODY_IDLE_TIMEOUT_MS = 15e3;
|
|
@@ -90626,7 +90683,7 @@ function presignObjectIOFactory(vault, refresherFor, forceRefresherFor, options
|
|
|
90626
90683
|
};
|
|
90627
90684
|
}
|
|
90628
90685
|
|
|
90629
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
90686
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/file-mode-portability.js
|
|
90630
90687
|
var WIN32_SYNTHETIC_MODES = /* @__PURE__ */ new Set([438, 292]);
|
|
90631
90688
|
function portableModeStamp(mode, platform3 = process.platform) {
|
|
90632
90689
|
if (platform3 === "win32")
|
|
@@ -90637,7 +90694,7 @@ function isPortableModeSignal(mode) {
|
|
|
90637
90694
|
return !WIN32_SYNTHETIC_MODES.has(mode & 511);
|
|
90638
90695
|
}
|
|
90639
90696
|
|
|
90640
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
90697
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/script-eol.js
|
|
90641
90698
|
import * as path19 from "path";
|
|
90642
90699
|
var SCRIPT_EXTENSIONS = /* @__PURE__ */ new Set([".sh", ".bash", ".zsh"]);
|
|
90643
90700
|
var SHEBANG = Buffer.from("#!");
|
|
@@ -90693,7 +90750,7 @@ function normalizeScriptLineEndings(body) {
|
|
|
90693
90750
|
return changed ? out.subarray(0, n3) : null;
|
|
90694
90751
|
}
|
|
90695
90752
|
|
|
90696
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
90753
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/symlink-target-policy.js
|
|
90697
90754
|
import path20 from "node:path";
|
|
90698
90755
|
import fs25 from "node:fs";
|
|
90699
90756
|
function personalSymlinkTargetLinkPath(relativePath) {
|
|
@@ -90916,7 +90973,7 @@ function redactShape(target, classification) {
|
|
|
90916
90973
|
return parents > 0 ? `relative-parent-${Math.min(parents, 8)}` : "relative-path";
|
|
90917
90974
|
}
|
|
90918
90975
|
|
|
90919
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
90976
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
90920
90977
|
var DOWNLOAD_STREAM_MAX_RETRIES = 3;
|
|
90921
90978
|
var DOWNLOAD_STREAM_BASE_DELAY_MS = 400;
|
|
90922
90979
|
function sleepMs(ms) {
|
|
@@ -92196,7 +92253,7 @@ function getMimeType(filePath) {
|
|
|
92196
92253
|
return mimeTypes[ext] || "application/octet-stream";
|
|
92197
92254
|
}
|
|
92198
92255
|
|
|
92199
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
92256
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/push-event.js
|
|
92200
92257
|
var CONTENT_HASH_PATTERN = /^sha256:[0-9a-f]{64}$/;
|
|
92201
92258
|
var ISO8601_DATETIME_PATTERN = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/;
|
|
92202
92259
|
function nativeSeparatorsToPosix(relativePath, sep23) {
|
|
@@ -92291,7 +92348,7 @@ function decodePushEvent(input2) {
|
|
|
92291
92348
|
return parsed.data;
|
|
92292
92349
|
}
|
|
92293
92350
|
|
|
92294
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
92351
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-routes.js
|
|
92295
92352
|
import * as path22 from "path";
|
|
92296
92353
|
function routeChangeToTarget(relPath, kind) {
|
|
92297
92354
|
const norm = relPath.split(path22.sep).join("/").replace(/^\.\//, "");
|
|
@@ -92460,7 +92517,7 @@ function carriedFlags(baseArgv) {
|
|
|
92460
92517
|
return carried;
|
|
92461
92518
|
}
|
|
92462
92519
|
|
|
92463
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
92520
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/push-transport.js
|
|
92464
92521
|
var moduleLoadFetch = globalThis.fetch;
|
|
92465
92522
|
var moduleLoadAbortController = globalThis.AbortController;
|
|
92466
92523
|
var successOutcomes = /* @__PURE__ */ new WeakMap();
|
|
@@ -92682,7 +92739,7 @@ var HttpPushTransport = class {
|
|
|
92682
92739
|
}
|
|
92683
92740
|
};
|
|
92684
92741
|
|
|
92685
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
92742
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/case-alias.js
|
|
92686
92743
|
import * as fs27 from "fs";
|
|
92687
92744
|
import * as path23 from "path";
|
|
92688
92745
|
function foldVaultKey(key) {
|
|
@@ -92830,7 +92887,7 @@ function directoryFoldsCase(dir) {
|
|
|
92830
92887
|
return false;
|
|
92831
92888
|
}
|
|
92832
92889
|
|
|
92833
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
92890
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/watcher.js
|
|
92834
92891
|
var DEBOUNCE_MS = 2e3;
|
|
92835
92892
|
var DEFAULT_EVENT_DEBOUNCE_MS = 6e4;
|
|
92836
92893
|
var DEFAULT_EVENT_MAX_WAIT_MS = 12e4;
|
|
@@ -95993,7 +96050,7 @@ var PushEventEmitter = class _PushEventEmitter {
|
|
|
95993
96050
|
}
|
|
95994
96051
|
};
|
|
95995
96052
|
|
|
95996
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
96053
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-self-profile.js
|
|
95997
96054
|
var SELF_PROFILE_ENV = "HQ_SYNC_SELF_PROFILE";
|
|
95998
96055
|
var SELF_PROFILE_CPU_CORES_ENV = "HQ_SYNC_SELF_PROFILE_CPU_CORES";
|
|
95999
96056
|
var SELF_PROFILE_RSS_MB_ENV = "HQ_SYNC_SELF_PROFILE_RSS_MB";
|
|
@@ -96608,7 +96665,7 @@ function readRunnerVersion() {
|
|
|
96608
96665
|
}
|
|
96609
96666
|
}
|
|
96610
96667
|
|
|
96611
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
96668
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
96612
96669
|
import * as os26 from "os";
|
|
96613
96670
|
import * as path79 from "path";
|
|
96614
96671
|
import * as fs83 from "fs";
|
|
@@ -96616,7 +96673,7 @@ import { randomUUID as randomUUID14 } from "node:crypto";
|
|
|
96616
96673
|
import { monitorEventLoopDelay as monitorEventLoopDelay2, performance as performance4 } from "node:perf_hooks";
|
|
96617
96674
|
import { fileURLToPath as fileURLToPath6 } from "url";
|
|
96618
96675
|
|
|
96619
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
96676
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/context.js
|
|
96620
96677
|
import { createHash as createHash18 } from "node:crypto";
|
|
96621
96678
|
var REFRESH_THRESHOLD_MS = 2 * 60 * 1e3;
|
|
96622
96679
|
var DEFAULT_SESSION_DURATION_SECONDS = 900;
|
|
@@ -96847,13 +96904,13 @@ async function vendSelfCredentials(personUid, config2) {
|
|
|
96847
96904
|
return postVend(route, { personUid }, config2);
|
|
96848
96905
|
}
|
|
96849
96906
|
|
|
96850
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
96907
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/realtime-rollout.js
|
|
96851
96908
|
var DEFAULT_REALTIME_AUTHORIZATION_TIMEOUT_MS = 15e3;
|
|
96852
96909
|
|
|
96853
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
96910
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/candidate-uploader.js
|
|
96854
96911
|
var MAX_SMALL_CANDIDATE_BYTES = 8 * 1024 * 1024;
|
|
96855
96912
|
|
|
96856
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
96913
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/multipart-uploader.js
|
|
96857
96914
|
var DEFAULT_GLOBAL_FETCH3 = globalThis.fetch;
|
|
96858
96915
|
var MULTIPART_PART_SIZE_BYTES = 8 * 1024 * 1024;
|
|
96859
96916
|
var MAX_MULTIPART_BYTES_IN_FLIGHT = 64 * 1024 * 1024;
|
|
@@ -96903,55 +96960,7 @@ var MultipartByteBudget = class {
|
|
|
96903
96960
|
};
|
|
96904
96961
|
var processByteBudget = new MultipartByteBudget();
|
|
96905
96962
|
|
|
96906
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
96907
|
-
var CLOUD_AUTHORITATIVE_PATTERNS = [
|
|
96908
|
-
/^company-brief\.md$/,
|
|
96909
|
-
/^board\.json$/,
|
|
96910
|
-
/^ontology\//,
|
|
96911
|
-
/^signals\//,
|
|
96912
|
-
/^sources\//,
|
|
96913
|
-
/^secrets\//
|
|
96914
|
-
];
|
|
96915
|
-
function isCloudAuthoritative(relPath) {
|
|
96916
|
-
const vaultRel = relPath.split("\\").join("/").replace(/^\.?\//, "").replace(/^companies\/[^/]+\//, "");
|
|
96917
|
-
return CLOUD_AUTHORITATIVE_PATTERNS.some((re) => re.test(vaultRel));
|
|
96918
|
-
}
|
|
96919
|
-
function cloudAuthoritativePathClass(relPath) {
|
|
96920
|
-
const vaultRel = relPath.split("\\").join("/").replace(/^\.?\//, "").replace(/^companies\/[^/]+\//, "");
|
|
96921
|
-
if (vaultRel === "company-brief.md")
|
|
96922
|
-
return "company-brief";
|
|
96923
|
-
if (vaultRel === "board.json")
|
|
96924
|
-
return "board";
|
|
96925
|
-
if (/^ontology\//.test(vaultRel))
|
|
96926
|
-
return "ontology";
|
|
96927
|
-
if (/^signals\//.test(vaultRel))
|
|
96928
|
-
return "signals";
|
|
96929
|
-
if (/^sources\//.test(vaultRel))
|
|
96930
|
-
return "sources";
|
|
96931
|
-
if (/^secrets\//.test(vaultRel))
|
|
96932
|
-
return "secrets";
|
|
96933
|
-
return void 0;
|
|
96934
|
-
}
|
|
96935
|
-
function isLocallyIneligibleForPush(relPath, options = {}) {
|
|
96936
|
-
const vaultRel = relPath.split("\\").join("/").replace(/^\.?\//, "").replace(/^companies\/[^/]+\//, "");
|
|
96937
|
-
if (options.boardClientOwned && vaultRel === "board.json")
|
|
96938
|
-
return false;
|
|
96939
|
-
if (/^ontology\/entities\//.test(vaultRel) && options.ontologyEntityPush === true)
|
|
96940
|
-
return false;
|
|
96941
|
-
return isCloudAuthoritative(relPath);
|
|
96942
|
-
}
|
|
96943
|
-
function isPullReconciledServerOwned(relPath) {
|
|
96944
|
-
const vaultRel = relPath.split("\\").join("/").replace(/^\.?\//, "").replace(/^companies\/[^/]+\//, "");
|
|
96945
|
-
if (vaultRel === "board.json")
|
|
96946
|
-
return false;
|
|
96947
|
-
if (/^ontology\/entities\//.test(vaultRel))
|
|
96948
|
-
return false;
|
|
96949
|
-
if (/^secrets\//.test(vaultRel))
|
|
96950
|
-
return false;
|
|
96951
|
-
return isCloudAuthoritative(vaultRel);
|
|
96952
|
-
}
|
|
96953
|
-
|
|
96954
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.108/node_modules/@indigoai-us/hq-cloud/dist/lib/server-owned-skips.js
|
|
96963
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/server-owned-skips.js
|
|
96955
96964
|
var SERVER_OWNED_FOLDERS = [
|
|
96956
96965
|
{
|
|
96957
96966
|
folder: "sources/slack-dm/",
|
|
@@ -97014,13 +97023,13 @@ function groupServerOwnedSkips(paths, options = {}) {
|
|
|
97014
97023
|
return groups;
|
|
97015
97024
|
}
|
|
97016
97025
|
|
|
97017
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
97026
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync-progress.js
|
|
97018
97027
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
97019
97028
|
import * as fs31 from "fs";
|
|
97020
97029
|
import * as os8 from "os";
|
|
97021
97030
|
import * as path27 from "path";
|
|
97022
97031
|
|
|
97023
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
97032
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/conflict-notices.js
|
|
97024
97033
|
import { createHash as createHash19 } from "node:crypto";
|
|
97025
97034
|
import * as fs30 from "node:fs";
|
|
97026
97035
|
import * as os7 from "node:os";
|
|
@@ -97169,7 +97178,7 @@ function readPendingConflictNotices() {
|
|
|
97169
97178
|
return readNotices().filter((notice) => !acknowledged.has(notice.id)).slice(-MAX_PENDING_CONFLICT_NOTICES);
|
|
97170
97179
|
}
|
|
97171
97180
|
|
|
97172
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
97181
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync-progress.js
|
|
97173
97182
|
function logSwallowed5(line) {
|
|
97174
97183
|
process.stderr.write(line);
|
|
97175
97184
|
}
|
|
@@ -97456,7 +97465,7 @@ function createPassSummaryRecorder() {
|
|
|
97456
97465
|
};
|
|
97457
97466
|
}
|
|
97458
97467
|
|
|
97459
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
97468
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/prefix-coalesce.js
|
|
97460
97469
|
var SCOPE_PREFIX_MARKER = "\0hq-scope:";
|
|
97461
97470
|
var SCOPE_PREFIX_MARKER_PREFIX = `${SCOPE_PREFIX_MARKER}prefix`;
|
|
97462
97471
|
var SCOPE_PREFIX_MARKER_EXACT = `${SCOPE_PREFIX_MARKER}exact`;
|
|
@@ -97656,7 +97665,7 @@ function grantPathToScopePrefix(grantPath, slug) {
|
|
|
97656
97665
|
return pathToScopePrefix(p3);
|
|
97657
97666
|
}
|
|
97658
97667
|
|
|
97659
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
97668
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/scope-shrink.js
|
|
97660
97669
|
import * as fs32 from "fs";
|
|
97661
97670
|
import * as path28 from "path";
|
|
97662
97671
|
function buildScopeShrinkPlan(input2) {
|
|
@@ -97952,18 +97961,18 @@ function applyScopeShrink(input2) {
|
|
|
97952
97961
|
};
|
|
97953
97962
|
}
|
|
97954
97963
|
|
|
97955
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
97964
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/secret-path-policy.js
|
|
97956
97965
|
init_dist();
|
|
97957
97966
|
import * as fs33 from "fs";
|
|
97958
97967
|
import * as path29 from "path";
|
|
97959
97968
|
|
|
97960
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
97969
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/flag-company-uid.js
|
|
97961
97970
|
var FLAG_COMPANY_UID_PATTERN = /^cmp_[A-Za-z0-9]{3,128}$/;
|
|
97962
97971
|
function flagCompanyUid(uid) {
|
|
97963
97972
|
return FLAG_COMPANY_UID_PATTERN.test(uid) ? uid : void 0;
|
|
97964
97973
|
}
|
|
97965
97974
|
|
|
97966
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
97975
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/secret-path-policy.js
|
|
97967
97976
|
var SKIP_SECRET_PATHS_FLAG = "sync.skip-secret-paths";
|
|
97968
97977
|
var WAL_REJECTED_DELTA_RECOVERY_FLAG = "sync.wal-rejected-delta-recovery";
|
|
97969
97978
|
var FLAG_REFRESH_INTERVAL_MS = 5 * 6e4;
|
|
@@ -98113,7 +98122,7 @@ function isSkipSecretPathsEnabled(config2, companyUid, failClosed = false) {
|
|
|
98113
98122
|
return defaultSkipSecretPathsGate(config2, companyUid, failClosed);
|
|
98114
98123
|
}
|
|
98115
98124
|
|
|
98116
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98125
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/remote-pull.js
|
|
98117
98126
|
var VEND_PATH_CAP = 10;
|
|
98118
98127
|
var POST_FILTER_THRESHOLD = 50;
|
|
98119
98128
|
var VEND_FANOUT_CONCURRENCY = 5;
|
|
@@ -98200,11 +98209,11 @@ function dedupByKey(files) {
|
|
|
98200
98209
|
return out;
|
|
98201
98210
|
}
|
|
98202
98211
|
|
|
98203
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98212
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/multipart-upload.js
|
|
98204
98213
|
var MULTIPART_DEFAULT_PART_SIZE = 16 * 1024 * 1024;
|
|
98205
98214
|
var MIB = 1024 * 1024;
|
|
98206
98215
|
|
|
98207
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98216
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/pull-scope.js
|
|
98208
98217
|
import * as fs34 from "fs";
|
|
98209
98218
|
import * as path30 from "path";
|
|
98210
98219
|
var SESSIONS_SCOPE_PREFIX = "sessions/";
|
|
@@ -98276,7 +98285,7 @@ function readPinnedPrefixes(hqRoot, slug) {
|
|
|
98276
98285
|
return [];
|
|
98277
98286
|
}
|
|
98278
98287
|
|
|
98279
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98288
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/plan-limit-pause.js
|
|
98280
98289
|
import * as fs35 from "fs";
|
|
98281
98290
|
import * as path31 from "path";
|
|
98282
98291
|
var PLAN_LIMIT_PAUSE_RETRY_MS = 60 * 60 * 1e3;
|
|
@@ -98493,13 +98502,13 @@ var PlanLimitPauseStore = class _PlanLimitPauseStore {
|
|
|
98493
98502
|
}
|
|
98494
98503
|
};
|
|
98495
98504
|
|
|
98496
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98505
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/telemetry.js
|
|
98497
98506
|
import { createHash as createHash20 } from "node:crypto";
|
|
98498
98507
|
import { promises as fs40 } from "node:fs";
|
|
98499
98508
|
import * as os9 from "node:os";
|
|
98500
98509
|
import * as path35 from "node:path";
|
|
98501
98510
|
|
|
98502
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98511
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/telemetry-scan-cap.js
|
|
98503
98512
|
import { promises as fs36 } from "node:fs";
|
|
98504
98513
|
async function hasUnreadBytes(filePath, stored) {
|
|
98505
98514
|
let stat5;
|
|
@@ -98517,7 +98526,7 @@ async function hasUnreadBytes(filePath, stored) {
|
|
|
98517
98526
|
return stat5.size > offset;
|
|
98518
98527
|
}
|
|
98519
98528
|
|
|
98520
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98529
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/company-resolver.js
|
|
98521
98530
|
import { promises as fs37 } from "node:fs";
|
|
98522
98531
|
import * as path32 from "node:path";
|
|
98523
98532
|
|
|
@@ -101587,7 +101596,7 @@ var {
|
|
|
101587
101596
|
safeDump
|
|
101588
101597
|
} = yaml;
|
|
101589
101598
|
|
|
101590
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
101599
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/company-resolver.js
|
|
101591
101600
|
function logSwallowed6(line) {
|
|
101592
101601
|
process.stderr.write(line);
|
|
101593
101602
|
}
|
|
@@ -101798,7 +101807,7 @@ function resolveCompanyForCwd(cwd, map5) {
|
|
|
101798
101807
|
return collapsed !== c5 ? match(collapsed) : void 0;
|
|
101799
101808
|
}
|
|
101800
101809
|
|
|
101801
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
101810
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/usage-company-fallback.js
|
|
101802
101811
|
import { promises as fs38 } from "node:fs";
|
|
101803
101812
|
import * as path33 from "node:path";
|
|
101804
101813
|
var TRUSTED_META_SOURCES = /* @__PURE__ */ new Set(["session"]);
|
|
@@ -102245,7 +102254,7 @@ function createUsageCompanyFallback(options) {
|
|
|
102245
102254
|
};
|
|
102246
102255
|
}
|
|
102247
102256
|
|
|
102248
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
102257
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/telemetry/consent-source.js
|
|
102249
102258
|
var KNOWN_SOURCES = /* @__PURE__ */ new Set([
|
|
102250
102259
|
"plan-required",
|
|
102251
102260
|
"notice-pending",
|
|
@@ -102325,7 +102334,7 @@ function decideCollection(resp, local) {
|
|
|
102325
102334
|
}
|
|
102326
102335
|
}
|
|
102327
102336
|
|
|
102328
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
102337
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/telemetry/pre-consent-buffer.js
|
|
102329
102338
|
import { randomBytes as randomBytes8 } from "node:crypto";
|
|
102330
102339
|
import { promises as fs39 } from "node:fs";
|
|
102331
102340
|
import * as path34 from "node:path";
|
|
@@ -102557,7 +102566,7 @@ async function discardPreConsentBuffer(file2, opts = {}) {
|
|
|
102557
102566
|
});
|
|
102558
102567
|
}
|
|
102559
102568
|
|
|
102560
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
102569
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/telemetry.js
|
|
102561
102570
|
function emptyCursor() {
|
|
102562
102571
|
return { version: "1", files: {} };
|
|
102563
102572
|
}
|
|
@@ -103516,7 +103525,7 @@ async function collectAndSendTelemetry(opts) {
|
|
|
103516
103525
|
};
|
|
103517
103526
|
}
|
|
103518
103527
|
|
|
103519
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
103528
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/skill-telemetry.js
|
|
103520
103529
|
import { createHash as createHash21 } from "node:crypto";
|
|
103521
103530
|
import { promises as fs41 } from "node:fs";
|
|
103522
103531
|
import * as os10 from "node:os";
|
|
@@ -104387,12 +104396,12 @@ async function collectAndSendSkillTelemetry(opts) {
|
|
|
104387
104396
|
};
|
|
104388
104397
|
}
|
|
104389
104398
|
|
|
104390
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104399
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
104391
104400
|
import * as fs53 from "fs";
|
|
104392
104401
|
import * as os16 from "os";
|
|
104393
104402
|
import * as path48 from "path";
|
|
104394
104403
|
|
|
104395
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104404
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync-pass-event.js
|
|
104396
104405
|
import { createHash as createHash22 } from "node:crypto";
|
|
104397
104406
|
import * as os11 from "node:os";
|
|
104398
104407
|
var SYNC_PASS_EVENT_NAME = "sync_pass";
|
|
@@ -104485,7 +104494,7 @@ function startSyncPassObservation(context, deps = {}) {
|
|
|
104485
104494
|
};
|
|
104486
104495
|
}
|
|
104487
104496
|
|
|
104488
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104497
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync-object-events.js
|
|
104489
104498
|
import { createHash as createHash23 } from "node:crypto";
|
|
104490
104499
|
var SYNC_CONFLICT_EVENT_NAME = "sync_conflict";
|
|
104491
104500
|
var SYNC_OVERWRITE_EVENT_NAME = "sync_overwrite";
|
|
@@ -104622,7 +104631,7 @@ function createSyncObjectEventSink(deps) {
|
|
|
104622
104631
|
};
|
|
104623
104632
|
}
|
|
104624
104633
|
|
|
104625
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104634
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/symlink-target-refusal-flag.js
|
|
104626
104635
|
init_dist();
|
|
104627
104636
|
var SYMLINK_TARGET_REFUSAL_FLAG = "sync.symlink-target-refusal";
|
|
104628
104637
|
var FLAG_READ_TIMEOUT_MS = 2e3;
|
|
@@ -104671,7 +104680,7 @@ async function resolveSymlinkTargetRefusalFlag(input2) {
|
|
|
104671
104680
|
}
|
|
104672
104681
|
}
|
|
104673
104682
|
|
|
104674
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104683
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/company-vault-transport.js
|
|
104675
104684
|
function selectObjectIOFactory(client, refresherFor, forceRefresherFor) {
|
|
104676
104685
|
if (typeof client.presign === "function" && typeof client.listFiles === "function") {
|
|
104677
104686
|
return presignObjectIOFactory(client, refresherFor, forceRefresherFor);
|
|
@@ -104689,7 +104698,7 @@ function ensureCompanyVaultTransport(vaultConfig, deps = {}) {
|
|
|
104689
104698
|
vaultConfig.companyVaultUsesPresign = objectIOFactory !== null;
|
|
104690
104699
|
}
|
|
104691
104700
|
|
|
104692
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104701
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync-decision-log.js
|
|
104693
104702
|
import * as fs42 from "node:fs";
|
|
104694
104703
|
import * as path37 from "node:path";
|
|
104695
104704
|
import { randomUUID as randomUUID4 } from "node:crypto";
|
|
@@ -104734,10 +104743,10 @@ function appendSyncDecision(input2, options = {}) {
|
|
|
104734
104743
|
}
|
|
104735
104744
|
}
|
|
104736
104745
|
|
|
104737
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104746
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
104738
104747
|
import * as crypto15 from "crypto";
|
|
104739
104748
|
|
|
104740
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104749
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/private-folder-transport.js
|
|
104741
104750
|
import * as fs43 from "fs";
|
|
104742
104751
|
import * as path38 from "path";
|
|
104743
104752
|
var CONTENT_SHA256_RE2 = /^[a-f0-9]{64}$/;
|
|
@@ -104829,7 +104838,7 @@ async function primePrivateFolderUpload(input2) {
|
|
|
104829
104838
|
}]);
|
|
104830
104839
|
}
|
|
104831
104840
|
|
|
104832
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104841
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/full-pass-caps.js
|
|
104833
104842
|
var FULL_PASS_CPU_CAP_FLAG = "sync.full-pass.cpu-cap-pct";
|
|
104834
104843
|
var FULL_PASS_HEAP_CAP_FLAG = "sync.full-pass.heap-cap-mb";
|
|
104835
104844
|
var FULL_PASS_DURABLE_PROGRESS_FLAG = "sync.full-pass-durable-progress";
|
|
@@ -105406,7 +105415,7 @@ var FullPassCapController = class {
|
|
|
105406
105415
|
}
|
|
105407
105416
|
};
|
|
105408
105417
|
|
|
105409
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105418
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/conflict.js
|
|
105410
105419
|
import * as readline from "readline";
|
|
105411
105420
|
function parseFrontmatterVersion(body) {
|
|
105412
105421
|
if (!body || body.length === 0)
|
|
@@ -105562,7 +105571,7 @@ async function promptConflict(conflict) {
|
|
|
105562
105571
|
}
|
|
105563
105572
|
}
|
|
105564
105573
|
|
|
105565
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105574
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/reconcile-skip-reason.js
|
|
105566
105575
|
var HUMAN_UP_TO_DATE_LINE_CAP = 20;
|
|
105567
105576
|
function isUpToDateSkipReason(reason) {
|
|
105568
105577
|
return reason === "already_up_to_date" || reason === "already_landed";
|
|
@@ -105622,7 +105631,7 @@ function createHumanSkipLineLog() {
|
|
|
105622
105631
|
};
|
|
105623
105632
|
}
|
|
105624
105633
|
|
|
105625
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105634
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/tombstones.js
|
|
105626
105635
|
import * as crypto12 from "node:crypto";
|
|
105627
105636
|
import * as fs44 from "node:fs";
|
|
105628
105637
|
import * as os12 from "node:os";
|
|
@@ -106016,7 +106025,7 @@ async function fetchTombstonePage(url2, token) {
|
|
|
106016
106025
|
throw new TombstoneFetchError(`FILE_TOMBSTONE fetch failed after ${attemptsMade} attempts; refusing to sync without delete suppression`, attemptsMade, lastError);
|
|
106017
106026
|
}
|
|
106018
106027
|
|
|
106019
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106028
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync-core.js
|
|
106020
106029
|
import { execSync } from "child_process";
|
|
106021
106030
|
import * as fs45 from "fs";
|
|
106022
106031
|
import * as os13 from "os";
|
|
@@ -106166,11 +106175,11 @@ function hasRemoteChanged(remote, entry) {
|
|
|
106166
106175
|
return remote.lastModified.getTime() > syncedAt;
|
|
106167
106176
|
}
|
|
106168
106177
|
|
|
106169
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106178
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-file.js
|
|
106170
106179
|
import * as crypto13 from "crypto";
|
|
106171
106180
|
import * as path42 from "path";
|
|
106172
106181
|
|
|
106173
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106182
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/machine-id.js
|
|
106174
106183
|
import { createHash as createHash25, randomUUID as randomUUID6 } from "node:crypto";
|
|
106175
106184
|
import * as fs46 from "node:fs";
|
|
106176
106185
|
import * as os14 from "node:os";
|
|
@@ -106290,7 +106299,7 @@ function readShortMachineId(hqRoot) {
|
|
|
106290
106299
|
return createHash25("sha1").update(full).digest("hex").slice(0, 6);
|
|
106291
106300
|
}
|
|
106292
106301
|
|
|
106293
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106302
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-file.js
|
|
106294
106303
|
var CONFLICT_BACKUPS_DIR = ".hq/conflict-backups";
|
|
106295
106304
|
var CONFLICT_PROBE_DIR = ".hq/tmp";
|
|
106296
106305
|
function safeTimestamp(detectedAt) {
|
|
@@ -106308,7 +106317,7 @@ function buildConflictId(originalRelative, detectedAt) {
|
|
|
106308
106317
|
return `${safePath}-${safeTimestamp(detectedAt)}`;
|
|
106309
106318
|
}
|
|
106310
106319
|
|
|
106311
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106320
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-index.js
|
|
106312
106321
|
import * as crypto14 from "crypto";
|
|
106313
106322
|
import * as fs47 from "fs";
|
|
106314
106323
|
import * as path43 from "path";
|
|
@@ -106462,7 +106471,7 @@ function pruneConflictIndex(hqRoot) {
|
|
|
106462
106471
|
return result;
|
|
106463
106472
|
}
|
|
106464
106473
|
|
|
106465
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106474
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/append-only-merge.js
|
|
106466
106475
|
import * as fs48 from "node:fs";
|
|
106467
106476
|
function isAppendOnlyPath(relativePath) {
|
|
106468
106477
|
const base = relativePath.split(/[\\/]/).pop() ?? "";
|
|
@@ -106534,7 +106543,7 @@ function appendIfUnchanged(file2, expected, merged) {
|
|
|
106534
106543
|
return "appended";
|
|
106535
106544
|
}
|
|
106536
106545
|
|
|
106537
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106546
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/board-merge.js
|
|
106538
106547
|
import * as fs49 from "node:fs";
|
|
106539
106548
|
import * as path44 from "node:path";
|
|
106540
106549
|
function isBoardJsonPath(relativePath) {
|
|
@@ -106680,7 +106689,7 @@ function replaceIfUnchanged(file2, expected, merged) {
|
|
|
106680
106689
|
return "appended";
|
|
106681
106690
|
}
|
|
106682
106691
|
|
|
106683
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106692
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/same-path-upload-lock.js
|
|
106684
106693
|
import { createHash as createHash26, randomBytes as randomBytes11 } from "node:crypto";
|
|
106685
106694
|
import * as fs50 from "node:fs";
|
|
106686
106695
|
import * as os15 from "node:os";
|
|
@@ -106997,7 +107006,7 @@ function findUploadIntent(scope, relativePath, hash3, notBeforeMs) {
|
|
|
106997
107006
|
return best;
|
|
106998
107007
|
}
|
|
106999
107008
|
|
|
107000
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107009
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-entity-push.js
|
|
107001
107010
|
init_dist();
|
|
107002
107011
|
import { createHash as createHash27 } from "node:crypto";
|
|
107003
107012
|
var ONTOLOGY_ENTITY_PUSH_FLAG = "checkpoint.ontology";
|
|
@@ -107091,7 +107100,7 @@ ${caller}`;
|
|
|
107091
107100
|
return failed ? false : value;
|
|
107092
107101
|
}
|
|
107093
107102
|
|
|
107094
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107103
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-outbox.js
|
|
107095
107104
|
import fs51 from "node:fs";
|
|
107096
107105
|
import path46 from "node:path";
|
|
107097
107106
|
var ONTOLOGY_OUTBOX_SCHEMA = "hq-ontology-outbox.v1";
|
|
@@ -107157,7 +107166,7 @@ function entityIsFreshForCreate(body, nowMs) {
|
|
|
107157
107166
|
return age >= -ENTITY_CREATE_FUTURE_SKEW_MS && age <= ENTITY_CREATE_WINDOW_MS;
|
|
107158
107167
|
}
|
|
107159
107168
|
|
|
107160
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107169
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/skill-register-landed-bytes.js
|
|
107161
107170
|
init_dist();
|
|
107162
107171
|
import { createHash as createHash28 } from "node:crypto";
|
|
107163
107172
|
var SKILL_REGISTER_LANDED_BYTES_FLAG = "sync.skill-register-landed-bytes";
|
|
@@ -107231,7 +107240,7 @@ ${caller}`;
|
|
|
107231
107240
|
return failed ? false : value;
|
|
107232
107241
|
}
|
|
107233
107242
|
|
|
107234
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107243
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/personal-connector-settings-sync.js
|
|
107235
107244
|
init_dist();
|
|
107236
107245
|
import { createHash as createHash29 } from "node:crypto";
|
|
107237
107246
|
var PERSONAL_CONNECTOR_SETTINGS_SYNC_FLAG = "personal.connector-settings-sync";
|
|
@@ -107294,7 +107303,7 @@ ${caller}`;
|
|
|
107294
107303
|
return failed ? false : value;
|
|
107295
107304
|
}
|
|
107296
107305
|
|
|
107297
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107306
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/describe-error.js
|
|
107298
107307
|
import * as path47 from "node:path";
|
|
107299
107308
|
var MAX_DIAGNOSTIC_LENGTH = 1024;
|
|
107300
107309
|
function sanitizeDiagnostic(value) {
|
|
@@ -107427,7 +107436,7 @@ function pushFailureTelemetryLabel(value) {
|
|
|
107427
107436
|
return safe.slice(0, 128) || "unknown";
|
|
107428
107437
|
}
|
|
107429
107438
|
|
|
107430
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107439
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/readlink-safe.js
|
|
107431
107440
|
import * as fs52 from "fs";
|
|
107432
107441
|
function toPortableSymlinkTarget(target, platform3 = process.platform) {
|
|
107433
107442
|
return platform3 === "win32" ? target.replaceAll("\\", "/") : target;
|
|
@@ -107446,14 +107455,14 @@ function readlinkOrNull(linkPath, readlink = (path80) => fs52.readlinkSync(path8
|
|
|
107446
107455
|
}
|
|
107447
107456
|
}
|
|
107448
107457
|
|
|
107449
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107458
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/reconcile-cursor.js
|
|
107450
107459
|
function checkpointReconcileApply(checkpoint, paths) {
|
|
107451
107460
|
if (!checkpoint)
|
|
107452
107461
|
return;
|
|
107453
107462
|
checkpoint.store.checkpointApply(checkpoint.cursor, [...new Set(paths)].map((path80) => ({ path: path80, durable: true })));
|
|
107454
107463
|
}
|
|
107455
107464
|
|
|
107456
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107465
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/mass-delete-guards.js
|
|
107457
107466
|
init_dist();
|
|
107458
107467
|
import { createHash as createHash30 } from "node:crypto";
|
|
107459
107468
|
var MASS_DELETE_GUARDS_FLAG = "sync.delete-absolute-volume-and-release-root-guards";
|
|
@@ -107598,7 +107607,7 @@ function warnFlagReadFailure(write) {
|
|
|
107598
107607
|
`)))(line);
|
|
107599
107608
|
}
|
|
107600
107609
|
|
|
107601
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107610
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
107602
107611
|
async function remoteContentDiffers(ctx, relativePath, localHash, hqRoot, symlinkOptions) {
|
|
107603
107612
|
const probeKey = crypto15.createHash("sha256").update(relativePath).digest("hex").slice(0, 16);
|
|
107604
107613
|
const probePath = path48.join(os16.tmpdir(), `hq-conflict-probe-${readShortMachineId(hqRoot)}-${probeKey}.tmp`);
|
|
@@ -112503,12 +112512,12 @@ function computeDecommissionPlan(journal, prefixes, policy, alreadyPlanned, skip
|
|
|
112503
112512
|
return out;
|
|
112504
112513
|
}
|
|
112505
112514
|
|
|
112506
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
112515
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
112507
112516
|
import * as fs61 from "fs";
|
|
112508
112517
|
import * as path56 from "path";
|
|
112509
112518
|
import { isDeepStrictEqual } from "node:util";
|
|
112510
112519
|
|
|
112511
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
112520
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/remote-file-spool.js
|
|
112512
112521
|
import * as fs54 from "node:fs";
|
|
112513
112522
|
import * as os17 from "node:os";
|
|
112514
112523
|
import * as path49 from "node:path";
|
|
@@ -112587,7 +112596,7 @@ function* readRows(filename) {
|
|
|
112587
112596
|
}
|
|
112588
112597
|
}
|
|
112589
112598
|
|
|
112590
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
112599
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/hq-root-recovery.js
|
|
112591
112600
|
import { execFile as execFile6 } from "child_process";
|
|
112592
112601
|
import { randomBytes as randomBytes13 } from "crypto";
|
|
112593
112602
|
import * as fs56 from "fs";
|
|
@@ -112595,7 +112604,7 @@ import * as os18 from "os";
|
|
|
112595
112604
|
import * as path51 from "path";
|
|
112596
112605
|
import { promisify as promisify6 } from "util";
|
|
112597
112606
|
|
|
112598
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
112607
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/backup-prune.js
|
|
112599
112608
|
import * as crypto16 from "crypto";
|
|
112600
112609
|
import * as fs55 from "fs";
|
|
112601
112610
|
import * as path50 from "path";
|
|
@@ -112781,7 +112790,7 @@ function inventoryManagedSnapshots(backupRoot, canonicalRoot3, isCopyingOwnerLiv
|
|
|
112781
112790
|
return { entries: entries3, ...plan, unmanaged: [...unmanaged, ...plan.unmanaged] };
|
|
112782
112791
|
}
|
|
112783
112792
|
|
|
112784
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
112793
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/hq-root-recovery.js
|
|
112785
112794
|
var execFileAsync5 = promisify6(execFile6);
|
|
112786
112795
|
var HQ_LAYOUT_DIRS = ["repos", "repos/public", "repos/private"];
|
|
112787
112796
|
function gitSidecarDir(hqRoot, homeDir = os18.homedir()) {
|
|
@@ -113154,10 +113163,10 @@ function recoverHqRootLocalState(hqRoot, opts = {}) {
|
|
|
113154
113163
|
};
|
|
113155
113164
|
}
|
|
113156
113165
|
|
|
113157
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
113166
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/doctor.js
|
|
113158
113167
|
var SKILLS_KEY_PREFIX = ".claude/skills/";
|
|
113159
113168
|
|
|
113160
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
113169
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/content-hash.js
|
|
113161
113170
|
var SHA256_CONTENT_HASH = /^sha256:([a-f0-9]{64})$/;
|
|
113162
113171
|
function rawSha256FromContentHash(contentHash) {
|
|
113163
113172
|
if (contentHash === void 0)
|
|
@@ -113168,7 +113177,7 @@ function contentHashMatchesRawSha256(contentHash, rawHash) {
|
|
|
113168
113177
|
return rawSha256FromContentHash(contentHash) === rawHash;
|
|
113169
113178
|
}
|
|
113170
113179
|
|
|
113171
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
113180
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/kms10-etag-safe-pull.js
|
|
113172
113181
|
import { createHash as createHash33 } from "node:crypto";
|
|
113173
113182
|
var KMS10_COPY_MARKER_META_KEY = "hq-kms10-reencrypt-current";
|
|
113174
113183
|
var KMS10_COPY_ORIGINAL_KEY_HASH_META_KEY = "hq-kms10-original-key-sha256";
|
|
@@ -113193,7 +113202,7 @@ function isKms10CopyOfJournalBase(listed, head, journalHash, journalEtag, expect
|
|
|
113193
113202
|
return normalizeEtag(head.metadata?.["hq-kms10-original-etag"] ?? "") === normalizeEtag(journalEtag);
|
|
113194
113203
|
}
|
|
113195
113204
|
|
|
113196
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
113205
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/targeted-upsert-exact-list.js
|
|
113197
113206
|
init_dist();
|
|
113198
113207
|
import { createHash as createHash34 } from "node:crypto";
|
|
113199
113208
|
function logSwallowed8(line) {
|
|
@@ -113310,7 +113319,7 @@ function isTargetedUpsertExactListEnabled(config2, companyUid) {
|
|
|
113310
113319
|
return defaultTargetedUpsertExactListGate(config2, companyUid);
|
|
113311
113320
|
}
|
|
113312
113321
|
|
|
113313
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
113322
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/targeted-pull-prefixes.js
|
|
113314
113323
|
var TARGETED_PULL_PREFIX_GROUP_MIN_PATHS = 16;
|
|
113315
113324
|
function coalesceDenseTargetedPullPaths(paths) {
|
|
113316
113325
|
const normalized = paths.map((path80) => path80.replace(/\\/g, "/"));
|
|
@@ -113348,15 +113357,15 @@ function coalesceDenseTargetedPullPaths(paths) {
|
|
|
113348
113357
|
return result;
|
|
113349
113358
|
}
|
|
113350
113359
|
|
|
113351
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
113360
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
113352
113361
|
import { createHash as createHash37 } from "node:crypto";
|
|
113353
113362
|
|
|
113354
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
113363
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex.js
|
|
113355
113364
|
import { spawnSync as spawnSync3 } from "child_process";
|
|
113356
113365
|
import * as fs60 from "fs";
|
|
113357
113366
|
import * as path55 from "path";
|
|
113358
113367
|
|
|
113359
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
113368
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex-knowledge.js
|
|
113360
113369
|
import { spawnSync as spawnSync2 } from "child_process";
|
|
113361
113370
|
import * as fs57 from "fs";
|
|
113362
113371
|
import * as path52 from "path";
|
|
@@ -113619,7 +113628,7 @@ function materializeLegacyKnowledgeRepos(root5) {
|
|
|
113619
113628
|
}
|
|
113620
113629
|
}
|
|
113621
113630
|
|
|
113622
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
113631
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/session-log-capture.js
|
|
113623
113632
|
import * as crypto17 from "node:crypto";
|
|
113624
113633
|
import * as fs58 from "node:fs";
|
|
113625
113634
|
import * as os19 from "node:os";
|
|
@@ -114563,7 +114572,7 @@ function captureSessionLogs(root5, options = {}) {
|
|
|
114563
114572
|
}
|
|
114564
114573
|
}
|
|
114565
114574
|
|
|
114566
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
114575
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/session-log-retention.js
|
|
114567
114576
|
import * as crypto18 from "node:crypto";
|
|
114568
114577
|
import * as fs59 from "node:fs";
|
|
114569
114578
|
import * as os20 from "node:os";
|
|
@@ -114824,7 +114833,7 @@ function pruneSyncedSessionLogs(root5) {
|
|
|
114824
114833
|
}
|
|
114825
114834
|
}
|
|
114826
114835
|
|
|
114827
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
114836
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex.js
|
|
114828
114837
|
function isDir2(p3) {
|
|
114829
114838
|
try {
|
|
114830
114839
|
return fs60.statSync(p3).isDirectory();
|
|
@@ -115378,7 +115387,7 @@ function emitReindexTelemetry(opts, result, lockResult) {
|
|
|
115378
115387
|
}, { claims: opts.telemetryClaims });
|
|
115379
115388
|
}
|
|
115380
115389
|
|
|
115381
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115390
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
115382
115391
|
async function yieldToCooperativeCheckpoint2(work, cooperativeCheckpoint, force, resumedAt) {
|
|
115383
115392
|
work.rowsSinceYield += 1;
|
|
115384
115393
|
if (!force && work.rowsSinceYield < cooperativeUnitSize()) {
|
|
@@ -119307,17 +119316,18 @@ function defaultConsoleLogger2(event, humanSkipLines) {
|
|
|
119307
119316
|
}
|
|
119308
119317
|
}
|
|
119309
119318
|
|
|
119310
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119319
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/rescue-core.js
|
|
119311
119320
|
import { createRequire } from "node:module";
|
|
119312
119321
|
var MAX_CLONE_BATCH_PATH_BYTES = 64 * 1024;
|
|
119313
119322
|
var require2 = createRequire(import.meta.url);
|
|
119323
|
+
var GIT_BATCH_MAX_BUFFER = 256 * 1024 * 1024;
|
|
119314
119324
|
var SNAPSHOT_CLONE_METADATA_ALLOWANCE_BYTES = 64 * 1024 ** 2;
|
|
119315
119325
|
var CLOUD_UPDATE_OVERLAY_FREE_SPACE_FLOOR_BYTES = 16 * 1024 ** 2;
|
|
119316
119326
|
var PRECLONE_FREE_SPACE_FLOOR_BYTES = 1024 ** 3;
|
|
119317
119327
|
var CYGWIN_SYMLINK_COOKIE = Buffer.from("!<symlink>", "latin1");
|
|
119318
119328
|
var PRESERVED_FILE_COMPARE_CHUNK_BYTES = 64 * 1024;
|
|
119319
119329
|
|
|
119320
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119330
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/schemas/source-channels.js
|
|
119321
119331
|
var SOURCE_CHANNELS = Object.freeze([
|
|
119322
119332
|
"meeting",
|
|
119323
119333
|
"email",
|
|
@@ -119326,7 +119336,7 @@ var SOURCE_CHANNELS = Object.freeze([
|
|
|
119326
119336
|
"notion"
|
|
119327
119337
|
]);
|
|
119328
119338
|
|
|
119329
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119339
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/schemas/signal-types.js
|
|
119330
119340
|
var SIGNAL_TYPES = Object.freeze([
|
|
119331
119341
|
"action_item",
|
|
119332
119342
|
"commitment",
|
|
@@ -119336,7 +119346,7 @@ var SIGNAL_TYPES = Object.freeze([
|
|
|
119336
119346
|
"summary"
|
|
119337
119347
|
]);
|
|
119338
119348
|
|
|
119339
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119349
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/feature-flags.js
|
|
119340
119350
|
var PARALLEL_COORDINATOR_ENV_VAR = "HQ_SYNC_PARALLEL_COORDINATOR";
|
|
119341
119351
|
var AREA_STORAGE_ENV_VAR = "HQ_SYNC_AREA_STORAGE";
|
|
119342
119352
|
function parseFeatureSwitch(value) {
|
|
@@ -119405,7 +119415,7 @@ function isEventSyncLocallyDisabled(value) {
|
|
|
119405
119415
|
}
|
|
119406
119416
|
}
|
|
119407
119417
|
|
|
119408
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119418
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/metrics.js
|
|
119409
119419
|
var import_client_cloudwatch = __toESM(require_dist_cjs18(), 1);
|
|
119410
119420
|
var SYNC_METRIC_NAMESPACE = "HQPro/Sync";
|
|
119411
119421
|
var SYNC_LATENCY_METRIC_NAME = "hq-cloud.sync.p95_latency_seconds";
|
|
@@ -119473,7 +119483,7 @@ async function publishSyncLatencyMetric(metric, opts = {}) {
|
|
|
119473
119483
|
}
|
|
119474
119484
|
}
|
|
119475
119485
|
|
|
119476
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119486
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/push-receiver.js
|
|
119477
119487
|
var DEFAULT_RECEIVER_DISPOSE_DRAIN_MS = 5e3;
|
|
119478
119488
|
var RECEIVER_SHUTDOWN_RELEASE_BUDGET_MS = 1500;
|
|
119479
119489
|
var DEFAULT_WAIT_TIME_SECONDS = 20;
|
|
@@ -121006,10 +121016,10 @@ function defaultSleep(ms, signal) {
|
|
|
121006
121016
|
});
|
|
121007
121017
|
}
|
|
121008
121018
|
|
|
121009
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121019
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/logger.js
|
|
121010
121020
|
var import_pino = __toESM(require_pino(), 1);
|
|
121011
121021
|
|
|
121012
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121022
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/path-leases.js
|
|
121013
121023
|
function assertCanonicalPath(path80) {
|
|
121014
121024
|
if (path80.length === 0 || path80.startsWith("/") || path80.endsWith("/") || path80.includes("\\") || path80.split("/").some((part) => part.length === 0 || part === "." || part === "..")) {
|
|
121015
121025
|
throw new Error(`path lease requires a canonical relative path: ${path80}`);
|
|
@@ -121072,7 +121082,7 @@ var PathLease = class {
|
|
|
121072
121082
|
}
|
|
121073
121083
|
};
|
|
121074
121084
|
|
|
121075
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121085
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/parallel-sync-coordinator.js
|
|
121076
121086
|
var MAX_REALTIME_PULL_YIELDS = 3;
|
|
121077
121087
|
var MAX_REALTIME_PULL_YIELD_MS = 6e4;
|
|
121078
121088
|
var REALTIME_PULL_YIELD_STATE_TTL_MS = 10 * 6e4;
|
|
@@ -121579,7 +121589,7 @@ var DefaultParallelSyncCoordinator = class {
|
|
|
121579
121589
|
}
|
|
121580
121590
|
};
|
|
121581
121591
|
|
|
121582
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121592
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/sync-work.js
|
|
121583
121593
|
var InlineSyncWorkerAdapter = class {
|
|
121584
121594
|
handler;
|
|
121585
121595
|
constructor(handler) {
|
|
@@ -121590,11 +121600,11 @@ var InlineSyncWorkerAdapter = class {
|
|
|
121590
121600
|
}
|
|
121591
121601
|
};
|
|
121592
121602
|
|
|
121593
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121603
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/manifest/build-manifest.js
|
|
121594
121604
|
import * as fs63 from "node:fs";
|
|
121595
121605
|
import * as path59 from "node:path";
|
|
121596
121606
|
|
|
121597
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121607
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/company-slug.js
|
|
121598
121608
|
import * as path57 from "node:path";
|
|
121599
121609
|
var UNSAFE_SLUG_KEYS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
121600
121610
|
function isSafeCompanySlug(companiesDir, slug) {
|
|
@@ -121611,7 +121621,7 @@ function isSafeCompanySlug(companiesDir, slug) {
|
|
|
121611
121621
|
return path57.dirname(companyDir) === resolvedCompaniesDir;
|
|
121612
121622
|
}
|
|
121613
121623
|
|
|
121614
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121624
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/manifest/contract.js
|
|
121615
121625
|
var SYNC_MANIFEST_CONTRACT_VERSION = 1;
|
|
121616
121626
|
var SYNC_MANIFEST_SCOPE_KINDS = ["personal", "company"];
|
|
121617
121627
|
var SYNC_MANIFEST_SOURCES = ["desktop", "cli"];
|
|
@@ -121780,7 +121790,7 @@ var SYNC_MANIFEST_CONTRACT_DESCRIPTOR = {
|
|
|
121780
121790
|
}
|
|
121781
121791
|
};
|
|
121782
121792
|
|
|
121783
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121793
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/manifest/snapshot-store.js
|
|
121784
121794
|
import * as crypto19 from "node:crypto";
|
|
121785
121795
|
import * as fs62 from "node:fs";
|
|
121786
121796
|
import * as path58 from "node:path";
|
|
@@ -121955,7 +121965,7 @@ function writeSnapshotIncrementally(tmp, snapshot) {
|
|
|
121955
121965
|
}
|
|
121956
121966
|
var SNAPSHOT_WRITE_BATCH_CHARS = 256 * 1024;
|
|
121957
121967
|
|
|
121958
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121968
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/manifest/build-manifest.js
|
|
121959
121969
|
function logSwallowed11(line) {
|
|
121960
121970
|
process.stderr.write(line);
|
|
121961
121971
|
}
|
|
@@ -122564,10 +122574,10 @@ function buildChunk(input2, firstChunkRemovedPaths, chunkIndex, chunkCount, entr
|
|
|
122564
122574
|
return upload;
|
|
122565
122575
|
}
|
|
122566
122576
|
|
|
122567
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122577
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/manifest/upload-manifest.js
|
|
122568
122578
|
import * as fs65 from "node:fs";
|
|
122569
122579
|
|
|
122570
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122580
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/manifest/leg-skip-store.js
|
|
122571
122581
|
import * as fs64 from "node:fs";
|
|
122572
122582
|
import * as path60 from "node:path";
|
|
122573
122583
|
function logSwallowed12(line) {
|
|
@@ -122623,7 +122633,7 @@ function clearManifestLegSkip(stateDir5, scopeKey) {
|
|
|
122623
122633
|
}
|
|
122624
122634
|
}
|
|
122625
122635
|
|
|
122626
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122636
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/manifest/upload-manifest.js
|
|
122627
122637
|
var MANIFEST_UPLOAD_DISABLED_ENV = "HQ_SYNC_MANIFEST_DISABLED";
|
|
122628
122638
|
var DEFAULT_MANIFEST_UPLOAD_MIN_INTERVAL_MS = 24 * 60 * 60 * 1e3;
|
|
122629
122639
|
var DEFAULT_MANIFEST_UPLOAD_WALL_MS = 6e4;
|
|
@@ -123192,7 +123202,7 @@ async function runUploadPassBody(options, scopeKey, persisted) {
|
|
|
123192
123202
|
};
|
|
123193
123203
|
}
|
|
123194
123204
|
|
|
123195
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
123205
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/watcher-catchup-skip-store.js
|
|
123196
123206
|
import * as fs66 from "node:fs";
|
|
123197
123207
|
import * as path61 from "node:path";
|
|
123198
123208
|
import { createHash as createHash39, randomUUID as randomUUID7 } from "node:crypto";
|
|
@@ -123440,7 +123450,7 @@ function validUnresolvedCompanyRecord(value) {
|
|
|
123440
123450
|
return typeof record2.company === "string" && record2.company.length > 0 && record2.reason === "unresolved-company" && typeof record2.recordedAt === "number" && Number.isFinite(record2.recordedAt);
|
|
123441
123451
|
}
|
|
123442
123452
|
|
|
123443
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
123453
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/version.js
|
|
123444
123454
|
import { readFileSync as readFileSync39 } from "node:fs";
|
|
123445
123455
|
import { fileURLToPath as fileURLToPath4 } from "node:url";
|
|
123446
123456
|
import path62 from "node:path";
|
|
@@ -123448,7 +123458,7 @@ var here = path62.dirname(fileURLToPath4(import.meta.url));
|
|
|
123448
123458
|
var pkg = JSON.parse(readFileSync39(path62.resolve(here, "..", "package.json"), "utf-8"));
|
|
123449
123459
|
var HQ_CLOUD_VERSION = pkg.version;
|
|
123450
123460
|
|
|
123451
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
123461
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/outcome-telemetry.js
|
|
123452
123462
|
import { promises as fs67 } from "node:fs";
|
|
123453
123463
|
import * as os21 from "node:os";
|
|
123454
123464
|
import * as path63 from "node:path";
|
|
@@ -123822,7 +123832,7 @@ async function collectAndSendOutcomeTelemetry(opts) {
|
|
|
123822
123832
|
return { enabled: true, optInSource, filesScanned, eventsSent, batchesSent };
|
|
123823
123833
|
}
|
|
123824
123834
|
|
|
123825
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
123835
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/qmd-reindex.js
|
|
123826
123836
|
import * as fs68 from "fs";
|
|
123827
123837
|
import * as path64 from "path";
|
|
123828
123838
|
import { spawn as spawn2 } from "child_process";
|
|
@@ -124472,7 +124482,7 @@ function defaultHasIndexableProjectContent(projectsDir) {
|
|
|
124472
124482
|
return false;
|
|
124473
124483
|
}
|
|
124474
124484
|
|
|
124475
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124485
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/qmd-runner-admission.js
|
|
124476
124486
|
import fs69 from "node:fs";
|
|
124477
124487
|
import path65 from "node:path";
|
|
124478
124488
|
import { randomUUID as randomUUID8 } from "node:crypto";
|
|
@@ -124576,7 +124586,7 @@ nonce=${nonce}
|
|
|
124576
124586
|
};
|
|
124577
124587
|
}
|
|
124578
124588
|
|
|
124579
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124589
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/telemetry-admission.js
|
|
124580
124590
|
var DEFAULT_INTERVAL_MS = 10 * 60 * 1e3;
|
|
124581
124591
|
var MAX_INTERVAL_SEC = 24 * 60 * 60;
|
|
124582
124592
|
var STALE_IN_FLIGHT_TIMEOUT_MULTIPLE = 5;
|
|
@@ -124653,7 +124663,7 @@ function recordTelemetryRunStarted(store, nowMs, run) {
|
|
|
124653
124663
|
store.inFlight = tracked;
|
|
124654
124664
|
}
|
|
124655
124665
|
|
|
124656
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124666
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex-async.js
|
|
124657
124667
|
import { Worker } from "node:worker_threads";
|
|
124658
124668
|
function reindexAsync(options) {
|
|
124659
124669
|
if (import.meta.url.endsWith(".ts"))
|
|
@@ -124712,7 +124722,7 @@ function reindexAsync(options) {
|
|
|
124712
124722
|
});
|
|
124713
124723
|
}
|
|
124714
124724
|
|
|
124715
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124725
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/agent-codex-instructions.js
|
|
124716
124726
|
import * as crypto20 from "crypto";
|
|
124717
124727
|
import * as fs70 from "fs";
|
|
124718
124728
|
import * as os22 from "os";
|
|
@@ -124872,7 +124882,7 @@ function materializeCodexAgents(opts) {
|
|
|
124872
124882
|
}
|
|
124873
124883
|
}
|
|
124874
124884
|
|
|
124875
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124885
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-post-sync-flags.js
|
|
124876
124886
|
var POST_SYNC_FLAG_KEYS = {
|
|
124877
124887
|
qmdReindex: "sync.qmd-reindex",
|
|
124878
124888
|
conflictPrune: "sync.conflict-prune",
|
|
@@ -124892,12 +124902,12 @@ function createPostSyncFlagEvaluator(options = {}) {
|
|
|
124892
124902
|
};
|
|
124893
124903
|
}
|
|
124894
124904
|
|
|
124895
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124905
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-manifest.js
|
|
124896
124906
|
import { createHash as createHash40, randomUUID as randomUUID9 } from "node:crypto";
|
|
124897
124907
|
import * as fs72 from "node:fs/promises";
|
|
124898
124908
|
import * as path68 from "node:path";
|
|
124899
124909
|
|
|
124900
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124910
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-installation-id.js
|
|
124901
124911
|
import * as fs71 from "node:fs";
|
|
124902
124912
|
import * as os23 from "node:os";
|
|
124903
124913
|
import * as path67 from "node:path";
|
|
@@ -124947,7 +124957,7 @@ function readDesktopInstallationId(options) {
|
|
|
124947
124957
|
return void 0;
|
|
124948
124958
|
}
|
|
124949
124959
|
|
|
124950
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124960
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-manifest.js
|
|
124951
124961
|
var RUNNER_MANIFEST_WALK_WALL_MS = 9e4;
|
|
124952
124962
|
var RUNNER_MANIFEST_PHASE_WALL_MS = 24e4;
|
|
124953
124963
|
var RUNNER_MANIFEST_REPAIR_POLL_SPACING_MS = 60 * 60 * 1e3;
|
|
@@ -125640,14 +125650,14 @@ function manifestLegFailureKinds(input2) {
|
|
|
125640
125650
|
return kinds;
|
|
125641
125651
|
}
|
|
125642
125652
|
|
|
125643
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125653
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/exit-codes.js
|
|
125644
125654
|
var PARTIAL_SYNC_EXIT = 2;
|
|
125645
125655
|
var UNRESOLVED_COMPANY_EXIT = 19;
|
|
125646
125656
|
var WATCH_RUNNER_ALREADY_OWNED_EXIT = 20;
|
|
125647
125657
|
var WATCH_OWNER_LEASE_LOST_EXIT = 21;
|
|
125648
125658
|
var PREFLIGHT_HALT_EXIT = 22;
|
|
125649
125659
|
|
|
125650
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125660
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-audit.js
|
|
125651
125661
|
import * as crypto21 from "node:crypto";
|
|
125652
125662
|
import * as fs73 from "node:fs";
|
|
125653
125663
|
import * as path69 from "node:path";
|
|
@@ -125696,7 +125706,7 @@ function hashNormalizedKey(key) {
|
|
|
125696
125706
|
return crypto21.createHash("sha256").update(normalized, "utf8").digest("hex");
|
|
125697
125707
|
}
|
|
125698
125708
|
|
|
125699
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125709
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/watch-owner-lease.js
|
|
125700
125710
|
import { spawnSync as spawnSync4 } from "node:child_process";
|
|
125701
125711
|
import { randomUUID as randomUUID10 } from "node:crypto";
|
|
125702
125712
|
import * as fs74 from "node:fs";
|
|
@@ -126067,7 +126077,7 @@ function acquireWatchOwnerLease(hqRoot, owner = "unknown", options = {}) {
|
|
|
126067
126077
|
};
|
|
126068
126078
|
}
|
|
126069
126079
|
|
|
126070
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126080
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/watch-parent.js
|
|
126071
126081
|
var WATCH_PARENT_CHECK_INTERVAL_MS = 1e3;
|
|
126072
126082
|
function processExists(pid) {
|
|
126073
126083
|
try {
|
|
@@ -126118,7 +126128,7 @@ function startWatchParentExitMonitor(options) {
|
|
|
126118
126128
|
};
|
|
126119
126129
|
}
|
|
126120
126130
|
|
|
126121
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126131
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-events.js
|
|
126122
126132
|
var ERROR_TYPES = /* @__PURE__ */ new Set([
|
|
126123
126133
|
"error",
|
|
126124
126134
|
"auth-error"
|
|
@@ -126164,7 +126174,7 @@ function emitUncaughtRunnerError(err, streams) {
|
|
|
126164
126174
|
}
|
|
126165
126175
|
}
|
|
126166
126176
|
|
|
126167
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126177
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-stdout.js
|
|
126168
126178
|
import { format as format2 } from "node:util";
|
|
126169
126179
|
function redirectRunnerConsoleToStderr(runnerConsole, stderr) {
|
|
126170
126180
|
const writeDiagnostic = (...args) => {
|
|
@@ -126180,7 +126190,7 @@ function runWithRunnerConsoleStderr(startRunner, runnerConsole = console, stderr
|
|
|
126180
126190
|
return startRunner();
|
|
126181
126191
|
}
|
|
126182
126192
|
|
|
126183
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126193
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-planning.js
|
|
126184
126194
|
function verifiedMemberCompanyUids(options) {
|
|
126185
126195
|
if (!options.companies)
|
|
126186
126196
|
return void 0;
|
|
@@ -126446,7 +126456,7 @@ function emitFanoutPlan(emit, plan) {
|
|
|
126446
126456
|
emit({ type: "fanout-plan", companies: plan });
|
|
126447
126457
|
}
|
|
126448
126458
|
|
|
126449
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126459
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-pass-request.js
|
|
126450
126460
|
import * as fs75 from "node:fs";
|
|
126451
126461
|
import * as path71 from "node:path";
|
|
126452
126462
|
function buildPassRequestArgv(passArgv, company) {
|
|
@@ -126697,7 +126707,7 @@ var SyncPassRequestDirectory = class _SyncPassRequestDirectory {
|
|
|
126697
126707
|
}
|
|
126698
126708
|
};
|
|
126699
126709
|
|
|
126700
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126710
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/active-company.js
|
|
126701
126711
|
import { randomUUID as randomUUID11 } from "node:crypto";
|
|
126702
126712
|
import * as fs76 from "node:fs";
|
|
126703
126713
|
import * as path72 from "node:path";
|
|
@@ -126789,7 +126799,7 @@ function seedActiveCompany(options) {
|
|
|
126789
126799
|
return { written: true, activeCompany };
|
|
126790
126800
|
}
|
|
126791
126801
|
|
|
126792
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126802
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/manifest-reconcile.js
|
|
126793
126803
|
import { randomUUID as randomUUID12 } from "node:crypto";
|
|
126794
126804
|
import * as fs77 from "node:fs";
|
|
126795
126805
|
import * as path73 from "node:path";
|
|
@@ -127020,17 +127030,17 @@ async function reconcileCompanyManifest(options) {
|
|
|
127020
127030
|
return reconcileManifest(options.hqRoot, resolvedTargets);
|
|
127021
127031
|
}
|
|
127022
127032
|
|
|
127023
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127033
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-company.js
|
|
127024
127034
|
import * as fs78 from "fs";
|
|
127025
127035
|
import * as path74 from "path";
|
|
127026
127036
|
import { createHash as createHash42, randomUUID as randomUUID13 } from "node:crypto";
|
|
127027
127037
|
|
|
127028
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127038
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/scope-inventory-client.js
|
|
127029
127039
|
function allowsLegacyNetwork(decision) {
|
|
127030
127040
|
return decision.network === "allow-legacy";
|
|
127031
127041
|
}
|
|
127032
127042
|
|
|
127033
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127043
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/lib/sync-leg-error-summary.js
|
|
127034
127044
|
import os24 from "node:os";
|
|
127035
127045
|
var ERRNO_NAMES = new Set(Object.keys(os24.constants.errno));
|
|
127036
127046
|
var EXTRA_CODES = /* @__PURE__ */ new Set([
|
|
@@ -127235,7 +127245,7 @@ function buildSyncLegErrorSummary(input2) {
|
|
|
127235
127245
|
return segments.join(":").slice(0, 128);
|
|
127236
127246
|
}
|
|
127237
127247
|
|
|
127238
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127248
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-rollup.js
|
|
127239
127249
|
function createCompanyState(company) {
|
|
127240
127250
|
return {
|
|
127241
127251
|
company,
|
|
@@ -127297,7 +127307,7 @@ function rollupAllComplete(plan, stateByCompany) {
|
|
|
127297
127307
|
};
|
|
127298
127308
|
}
|
|
127299
127309
|
|
|
127300
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127310
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-company.js
|
|
127301
127311
|
var PRUNED_SAMPLE_PATHS = 5;
|
|
127302
127312
|
function journalErrorClass(error62) {
|
|
127303
127313
|
if (error62 instanceof JournalIncompleteUpsertError)
|
|
@@ -128416,7 +128426,7 @@ function normalizePullChangedPaths(target, changedPaths) {
|
|
|
128416
128426
|
});
|
|
128417
128427
|
}
|
|
128418
128428
|
|
|
128419
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128429
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-telemetry.js
|
|
128420
128430
|
async function emitTelemetry(options) {
|
|
128421
128431
|
const telemetryFn = options.collectTelemetry ?? options.defaultCollectTelemetry;
|
|
128422
128432
|
return telemetryFn().catch((err) => {
|
|
@@ -128428,7 +128438,7 @@ async function emitTelemetry(options) {
|
|
|
128428
128438
|
});
|
|
128429
128439
|
}
|
|
128430
128440
|
|
|
128431
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128441
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-loop.js
|
|
128432
128442
|
import * as os25 from "os";
|
|
128433
128443
|
import * as path78 from "path";
|
|
128434
128444
|
import * as fs82 from "fs";
|
|
@@ -128436,7 +128446,7 @@ import { createHash as createHash43 } from "node:crypto";
|
|
|
128436
128446
|
import * as v8 from "node:v8";
|
|
128437
128447
|
import { performance as performance3 } from "node:perf_hooks";
|
|
128438
128448
|
|
|
128439
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128449
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/push-failure-backoff.js
|
|
128440
128450
|
var PUSH_FAILURE_BACKOFF_BASE_MS = 5e3;
|
|
128441
128451
|
var PUSH_FAILURE_BACKOFF_CAP_MS = 5 * 6e4;
|
|
128442
128452
|
var RoutePushFailureBackoff = class {
|
|
@@ -128463,12 +128473,12 @@ var systemPushRetryScheduler = {
|
|
|
128463
128473
|
clearTimeout: (handle) => clearTimeout(handle)
|
|
128464
128474
|
};
|
|
128465
128475
|
|
|
128466
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128476
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
128467
128477
|
var import_client_sqs = __toESM(require_dist_cjs20(), 1);
|
|
128468
128478
|
import { readFileSync as readFileSync46 } from "node:fs";
|
|
128469
128479
|
import { join as join65 } from "node:path";
|
|
128470
128480
|
|
|
128471
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128481
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/inbound-event-admission.js
|
|
128472
128482
|
import * as fs79 from "node:fs";
|
|
128473
128483
|
import * as path75 from "node:path";
|
|
128474
128484
|
function logSwallowed14(line) {
|
|
@@ -128534,7 +128544,7 @@ function isInboundEventPlaceable(hqRoot, event) {
|
|
|
128534
128544
|
}
|
|
128535
128545
|
}
|
|
128536
128546
|
|
|
128537
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128547
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/unchanged-push-events.js
|
|
128538
128548
|
import fs80 from "node:fs";
|
|
128539
128549
|
import path76 from "node:path";
|
|
128540
128550
|
function journalCoordinatesForPushEvent(relativePath) {
|
|
@@ -128576,7 +128586,7 @@ function unchangedPushEventPaths(events, hqRoot, lookup) {
|
|
|
128576
128586
|
return unchanged;
|
|
128577
128587
|
}
|
|
128578
128588
|
|
|
128579
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128589
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
128580
128590
|
function resolveEventSync(override) {
|
|
128581
128591
|
return !isEventSyncLocallyDisabled(override);
|
|
128582
128592
|
}
|
|
@@ -129288,7 +129298,7 @@ async function startEventSync(opts) {
|
|
|
129288
129298
|
};
|
|
129289
129299
|
}
|
|
129290
129300
|
|
|
129291
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129301
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-auto-migration.js
|
|
129292
129302
|
var AREA_AUTO_MIGRATION_STARTED_EVENT = "area_migration_started";
|
|
129293
129303
|
var AREA_AUTO_MIGRATION_COMPLETED_EVENT = "area_migration_completed";
|
|
129294
129304
|
var AREA_AUTO_MIGRATION_SOURCE = "sync-runner";
|
|
@@ -129441,7 +129451,7 @@ function describe3(error62) {
|
|
|
129441
129451
|
return error62 instanceof Error ? error62.message : String(error62);
|
|
129442
129452
|
}
|
|
129443
129453
|
|
|
129444
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129454
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-heap-telemetry.js
|
|
129445
129455
|
import * as perfHooks from "node:perf_hooks";
|
|
129446
129456
|
var CENSUS_TOKEN = /^[A-Za-z][A-Za-z0-9_]{0,48}$/;
|
|
129447
129457
|
var HeapCensus = class {
|
|
@@ -130428,7 +130438,7 @@ function nodeHeapReaders(v82) {
|
|
|
130428
130438
|
};
|
|
130429
130439
|
}
|
|
130430
130440
|
|
|
130431
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130441
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/sync/idle-full-reconcile.js
|
|
130432
130442
|
var MAX_UNOBSERVED_TICK_GAP_MS = 6e4;
|
|
130433
130443
|
var MAX_CLOCK_DRIFT_MS = 5e3;
|
|
130434
130444
|
var FullPassContinuity = class {
|
|
@@ -130483,7 +130493,7 @@ function canSkipScheduledFullReconcile(proof) {
|
|
|
130483
130493
|
return true;
|
|
130484
130494
|
}
|
|
130485
130495
|
|
|
130486
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130496
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/legacy-sync-wake.js
|
|
130487
130497
|
import * as fs81 from "node:fs";
|
|
130488
130498
|
import * as path77 from "node:path";
|
|
130489
130499
|
var MAX_WAKE_BYTES = 1024 * 1024;
|
|
@@ -130645,7 +130655,7 @@ var LegacySyncWakeBridge = class {
|
|
|
130645
130655
|
}
|
|
130646
130656
|
};
|
|
130647
130657
|
|
|
130648
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130658
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-loop.js
|
|
130649
130659
|
var FULL_RECONCILE_EVERY_TICKS = 10;
|
|
130650
130660
|
var warnedUnresolvedReceiverCompanies = /* @__PURE__ */ new Set();
|
|
130651
130661
|
var EVENT_SYNC_STARTUP_SHUTDOWN_WAIT_MS = 5e3;
|
|
@@ -136139,7 +136149,7 @@ async function runWatchLoop(argv, parsed, deps, runtime) {
|
|
|
136139
136149
|
}
|
|
136140
136150
|
}
|
|
136141
136151
|
|
|
136142
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
136152
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-auth-wait.js
|
|
136143
136153
|
var AUTH_WAIT_INITIAL_RECHECK_MS = 6e4;
|
|
136144
136154
|
var AUTH_WAIT_STEADY_RECHECK_MS = 5 * 6e4;
|
|
136145
136155
|
var AUTH_WAIT_LIVENESS_INTERVAL_MS = 30 * 6e4;
|
|
@@ -136212,7 +136222,7 @@ async function waitForValidAuth(opts) {
|
|
|
136212
136222
|
return "stopped";
|
|
136213
136223
|
}
|
|
136214
136224
|
|
|
136215
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
136225
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.109/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
136216
136226
|
var SESSION_LOG_CAPTURE_QUIET_FOR_MS = 10 * 6e4;
|
|
136217
136227
|
var SESSION_LOG_CAPTURE_MAX_STALENESS_MS = 60 * 6e4;
|
|
136218
136228
|
var DEFAULT_COGNITO = {
|