@indigoai-us/hq-cli 5.345.151 → 5.345.152
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 +41 -0
- package/dist/command-catalog.generated.d.ts +3 -3
- package/dist/command-catalog.generated.js +3 -3
- package/dist/commands/files.js +23 -7
- package/dist/commands/rescue.d.ts +7 -0
- package/dist/commands/rescue.js +22 -13
- package/dist/commands/secrets.d.ts +13 -0
- package/dist/commands/secrets.js +51 -8
- package/dist/hq-cloud-sync-runner/bin/sync-runner.js +186 -186
- package/dist/hq-cloud-sync-runner/package.json +1 -1
- package/dist/utils/hook-trust.d.ts +27 -0
- package/dist/utils/hook-trust.js +150 -8
- package/dist/utils/shipped-codex-hooks.d.ts +17 -0
- package/dist/utils/shipped-codex-hooks.js +86 -0
- package/package.json +8 -8
|
@@ -79366,14 +79366,14 @@ var require_dist_cjs42 = __commonJS({
|
|
|
79366
79366
|
}
|
|
79367
79367
|
});
|
|
79368
79368
|
|
|
79369
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79369
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-self-profile.js
|
|
79370
79370
|
import * as fs26 from "node:fs";
|
|
79371
79371
|
import * as os6 from "node:os";
|
|
79372
79372
|
import * as path22 from "node:path";
|
|
79373
79373
|
import { Session } from "node:inspector";
|
|
79374
79374
|
import { fileURLToPath as fileURLToPath3, pathToFileURL } from "node:url";
|
|
79375
79375
|
|
|
79376
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79376
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/watcher.js
|
|
79377
79377
|
import * as fs25 from "fs";
|
|
79378
79378
|
import { createHash as createHash18 } from "node:crypto";
|
|
79379
79379
|
import { readFile as readFile8, stat as stat4 } from "node:fs/promises";
|
|
@@ -81069,7 +81069,7 @@ function watch(paths, options = {}) {
|
|
|
81069
81069
|
return watcher;
|
|
81070
81070
|
}
|
|
81071
81071
|
|
|
81072
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81072
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cloud-placeholder.js
|
|
81073
81073
|
import * as fs from "fs";
|
|
81074
81074
|
import * as path from "path";
|
|
81075
81075
|
var CLOUD_PLACEHOLDER_SUFFIX = ".hqcloud";
|
|
@@ -81479,18 +81479,18 @@ function writeCloudPlaceholder(placeholderPath, placeholder) {
|
|
|
81479
81479
|
}
|
|
81480
81480
|
}
|
|
81481
81481
|
|
|
81482
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81482
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/ignore.js
|
|
81483
81483
|
var import_ignore = __toESM(require_ignore(), 1);
|
|
81484
81484
|
import * as fs2 from "fs";
|
|
81485
81485
|
import * as path2 from "path";
|
|
81486
81486
|
|
|
81487
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81487
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/restore-staging.js
|
|
81488
81488
|
var RESTORE_STAGING_SUFFIX = /\.hq-restore-(?:\d+(?:-\d+)?|probe-\d+-[0-9a-z]+)$/i;
|
|
81489
81489
|
function isRestoreStagingPath(relativePath) {
|
|
81490
81490
|
return relativePath.split(/[\\/]/).some((segment) => RESTORE_STAGING_SUFFIX.test(segment));
|
|
81491
81491
|
}
|
|
81492
81492
|
|
|
81493
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81493
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/best-effort-error.js
|
|
81494
81494
|
var EXPECTED_ABSENCE_CODES = /* @__PURE__ */ new Set([
|
|
81495
81495
|
"ENOENT",
|
|
81496
81496
|
"NoSuchKey",
|
|
@@ -81532,7 +81532,7 @@ function noteSwallowedError(log, event, error64, options = {}) {
|
|
|
81532
81532
|
`);
|
|
81533
81533
|
}
|
|
81534
81534
|
|
|
81535
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81535
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/ignore.js
|
|
81536
81536
|
function logSwallowed(line) {
|
|
81537
81537
|
process.stderr.write(line);
|
|
81538
81538
|
}
|
|
@@ -82210,7 +82210,7 @@ function isWithinSizeLimit(filePath, maxBytes = SYNC_MAX_FILE_BYTES) {
|
|
|
82210
82210
|
}
|
|
82211
82211
|
}
|
|
82212
82212
|
|
|
82213
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
82213
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/watch-roots.js
|
|
82214
82214
|
import * as fs3 from "fs";
|
|
82215
82215
|
import * as path3 from "path";
|
|
82216
82216
|
function defaultListChildDirs(dir, onSymlinkEntry) {
|
|
@@ -82284,7 +82284,7 @@ function isCoveredByRecursiveRoot(absolutePath, recursiveRoots) {
|
|
|
82284
82284
|
}
|
|
82285
82285
|
}
|
|
82286
82286
|
|
|
82287
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
82287
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/watch-coverage.js
|
|
82288
82288
|
import * as fs4 from "fs";
|
|
82289
82289
|
function directoryIdentityAt(absolutePath) {
|
|
82290
82290
|
try {
|
|
@@ -82321,7 +82321,7 @@ function probeScopedWatchCoverage(input2) {
|
|
|
82321
82321
|
return { ok: true };
|
|
82322
82322
|
}
|
|
82323
82323
|
|
|
82324
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
82324
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/local-path-codec.js
|
|
82325
82325
|
import * as path4 from "path";
|
|
82326
82326
|
var WIN32_RESERVED_CHARS = /[<>:"/\\|?*]/;
|
|
82327
82327
|
var WIN32_DEVICE_NAME = /^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\..*)?$/i;
|
|
@@ -82379,7 +82379,7 @@ function canonicalVaultKeySpelling(key) {
|
|
|
82379
82379
|
return segments.join("/");
|
|
82380
82380
|
}
|
|
82381
82381
|
|
|
82382
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
82382
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/personal-vault-exclusions.js
|
|
82383
82383
|
import * as path5 from "path";
|
|
82384
82384
|
import * as fs5 from "fs";
|
|
82385
82385
|
function hasSegment(relPath, segment) {
|
|
@@ -82676,7 +82676,7 @@ function wrapFilterWithPersonalVaultDefaults(underlying, syncRoot, onExcluded, o
|
|
|
82676
82676
|
};
|
|
82677
82677
|
}
|
|
82678
82678
|
|
|
82679
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
82679
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/state-store.js
|
|
82680
82680
|
import * as crypto2 from "node:crypto";
|
|
82681
82681
|
import * as fs6 from "node:fs";
|
|
82682
82682
|
import * as path6 from "node:path";
|
|
@@ -85485,11 +85485,11 @@ function crc32c(bytes) {
|
|
|
85485
85485
|
return (crc ^ 4294967295) >>> 0;
|
|
85486
85486
|
}
|
|
85487
85487
|
|
|
85488
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
85488
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/personal-vault.js
|
|
85489
85489
|
import * as fs13 from "fs";
|
|
85490
85490
|
import * as path11 from "path";
|
|
85491
85491
|
|
|
85492
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
85492
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/journal.js
|
|
85493
85493
|
import * as fs12 from "fs";
|
|
85494
85494
|
import * as os2 from "os";
|
|
85495
85495
|
import * as path10 from "path";
|
|
@@ -85497,7 +85497,7 @@ import * as crypto7 from "crypto";
|
|
|
85497
85497
|
import { spawn } from "node:child_process";
|
|
85498
85498
|
import { fileURLToPath } from "node:url";
|
|
85499
85499
|
|
|
85500
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
85500
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/journal-decode-window.js
|
|
85501
85501
|
var JOURNAL_DECODE_WINDOW = 1e4;
|
|
85502
85502
|
var rowsInFlight = 0;
|
|
85503
85503
|
var peakRowsInFlight = 0;
|
|
@@ -85556,7 +85556,7 @@ function journalFingerprintMatchesStat(fingerprint, lstat3) {
|
|
|
85556
85556
|
return lstat3.size === fingerprint.size && lstat3.mtimeMs === fingerprint.mtimeMs && lstat3.ctimeMs === fingerprint.ctimeMs;
|
|
85557
85557
|
}
|
|
85558
85558
|
|
|
85559
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
85559
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/journal-row-store.js
|
|
85560
85560
|
var HASH_BYTES = 32;
|
|
85561
85561
|
var ETAG_BYTES = 16;
|
|
85562
85562
|
var INITIAL_ROW_CAPACITY = 16;
|
|
@@ -87066,7 +87066,7 @@ function readOptionalBoolean(entry, key, flags, presentBit, valueBit) {
|
|
|
87066
87066
|
entry[key] = Boolean(flags & valueBit);
|
|
87067
87067
|
}
|
|
87068
87068
|
|
|
87069
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87069
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/journal-record-proxy.js
|
|
87070
87070
|
var rowsByRecordProxy = /* @__PURE__ */ new WeakMap();
|
|
87071
87071
|
function journalRecordRows(files) {
|
|
87072
87072
|
return rowsByRecordProxy.get(files);
|
|
@@ -87132,7 +87132,7 @@ function createJournalRecordProxy(store) {
|
|
|
87132
87132
|
return proxy;
|
|
87133
87133
|
}
|
|
87134
87134
|
|
|
87135
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87135
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/fsync-compat.js
|
|
87136
87136
|
import * as fs7 from "node:fs";
|
|
87137
87137
|
var UNSUPPORTED_DIRECTORY_FSYNC_CODES = /* @__PURE__ */ new Set(["EINVAL", "ENOTSUP", "EOPNOTSUPP", "EPERM"]);
|
|
87138
87138
|
var loggedSkips = /* @__PURE__ */ new Set();
|
|
@@ -87156,13 +87156,13 @@ function fsyncWithCompatibility(fd, options) {
|
|
|
87156
87156
|
}
|
|
87157
87157
|
}
|
|
87158
87158
|
|
|
87159
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87159
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-decoder.js
|
|
87160
87160
|
import { StringDecoder } from "node:string_decoder";
|
|
87161
87161
|
|
|
87162
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87162
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-v4.js
|
|
87163
87163
|
import * as crypto3 from "node:crypto";
|
|
87164
87164
|
|
|
87165
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87165
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-rows.js
|
|
87166
87166
|
var packedJournalRows = /* @__PURE__ */ new WeakMap();
|
|
87167
87167
|
var sharedAreaJournalRowStores = /* @__PURE__ */ new Map();
|
|
87168
87168
|
function areaJournalRowsCacheKey(rootDir, slug) {
|
|
@@ -87185,7 +87185,7 @@ function forgetSharedAreaJournalRows(cacheKey) {
|
|
|
87185
87185
|
sharedAreaJournalRowStores.delete(cacheKey);
|
|
87186
87186
|
}
|
|
87187
87187
|
|
|
87188
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87188
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-v4.js
|
|
87189
87189
|
var JOURNAL_SNAPSHOT_V4_MAGIC = SNAPSHOT_V4_MAGIC;
|
|
87190
87190
|
var SNAPSHOT_FIXED_HEADER_BYTES2 = 52;
|
|
87191
87191
|
var SECTION_ALIGNMENT_BYTES = 8;
|
|
@@ -87717,7 +87717,7 @@ function assertLittleEndian() {
|
|
|
87717
87717
|
throw new Error("HQSNAP4 requires a little-endian host");
|
|
87718
87718
|
}
|
|
87719
87719
|
|
|
87720
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87720
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-decoder.js
|
|
87721
87721
|
function decodeJournalSnapshot(chunks, magic) {
|
|
87722
87722
|
if (magic.equals(SNAPSHOT_V3_MAGIC))
|
|
87723
87723
|
return decodeV3JournalSnapshot(chunks);
|
|
@@ -88069,12 +88069,12 @@ function isPunctuation(value) {
|
|
|
88069
88069
|
return value === "{" || value === "}" || value === "[" || value === "]" || value === ":" || value === ",";
|
|
88070
88070
|
}
|
|
88071
88071
|
|
|
88072
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88072
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/posix-key.js
|
|
88073
88073
|
function toPosixKey(key) {
|
|
88074
88074
|
return key.split("\\").join("/");
|
|
88075
88075
|
}
|
|
88076
88076
|
|
|
88077
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88077
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/path-ancestors.js
|
|
88078
88078
|
function isUnderAnyRoot(key, roots) {
|
|
88079
88079
|
if (roots.has(key))
|
|
88080
88080
|
return true;
|
|
@@ -88087,7 +88087,7 @@ function isUnderAnyRoot(key, roots) {
|
|
|
88087
88087
|
return false;
|
|
88088
88088
|
}
|
|
88089
88089
|
|
|
88090
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88090
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/journal-ledger-stream.js
|
|
88091
88091
|
import * as fs8 from "node:fs";
|
|
88092
88092
|
import { StringDecoder as StringDecoder2 } from "node:string_decoder";
|
|
88093
88093
|
var CHUNK_BYTES = 1 << 18;
|
|
@@ -88201,7 +88201,7 @@ function streamJournalLedgerRows(filePath, onRow) {
|
|
|
88201
88201
|
}
|
|
88202
88202
|
}
|
|
88203
88203
|
|
|
88204
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88204
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/area-resolver.js
|
|
88205
88205
|
import * as fs9 from "fs";
|
|
88206
88206
|
import * as path7 from "path";
|
|
88207
88207
|
var AREA_LAYOUT_FORMAT = 1;
|
|
@@ -88512,12 +88512,12 @@ function compareText(left, right) {
|
|
|
88512
88512
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
88513
88513
|
}
|
|
88514
88514
|
|
|
88515
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88515
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-migration.js
|
|
88516
88516
|
import * as crypto6 from "node:crypto";
|
|
88517
88517
|
import * as fs11 from "node:fs";
|
|
88518
88518
|
import * as path9 from "node:path";
|
|
88519
88519
|
|
|
88520
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88520
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/operation-lock.js
|
|
88521
88521
|
import * as crypto4 from "crypto";
|
|
88522
88522
|
import * as fs10 from "fs";
|
|
88523
88523
|
import * as os from "os";
|
|
@@ -89147,7 +89147,7 @@ function withOperationLockSync(hqRoot, command5, fn, opts = {}) {
|
|
|
89147
89147
|
}
|
|
89148
89148
|
}
|
|
89149
89149
|
|
|
89150
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
89150
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger.js
|
|
89151
89151
|
import * as crypto5 from "node:crypto";
|
|
89152
89152
|
var DIRECT_DELTA = 1;
|
|
89153
89153
|
var PREPARED_TRANSACTION = 2;
|
|
@@ -90576,7 +90576,7 @@ function cloneMetadata(metadata) {
|
|
|
90576
90576
|
return result;
|
|
90577
90577
|
}
|
|
90578
90578
|
|
|
90579
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
90579
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-migration.js
|
|
90580
90580
|
function logSwallowed2(line) {
|
|
90581
90581
|
process.stderr.write(line);
|
|
90582
90582
|
}
|
|
@@ -91336,7 +91336,7 @@ function canonicalJsonOrUndefined(value) {
|
|
|
91336
91336
|
return value === void 0 ? void 0 : canonicalJson2(value);
|
|
91337
91337
|
}
|
|
91338
91338
|
|
|
91339
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91339
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/per-area-maintenance.js
|
|
91340
91340
|
var AREA_MAINTENANCE_CURSOR_FORMAT = 1;
|
|
91341
91341
|
var CURSOR_SET = 1;
|
|
91342
91342
|
var AreaMaintenanceCursorStore = class _AreaMaintenanceCursorStore {
|
|
@@ -91438,7 +91438,7 @@ function sameAreas(left, right) {
|
|
|
91438
91438
|
return left.length === right.length && left.every((areaId, index) => areaId === right[index]);
|
|
91439
91439
|
}
|
|
91440
91440
|
|
|
91441
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91441
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/journal.js
|
|
91442
91442
|
var TOMBSTONE_TTL_MS = 30 * 24 * 60 * 60 * 1e3;
|
|
91443
91443
|
var JOURNAL_VERSION_CURRENT = "2";
|
|
91444
91444
|
var MAX_PULLS_PER_COMPANY = 50;
|
|
@@ -93400,7 +93400,7 @@ function gcTombstones(journal, now = Date.now()) {
|
|
|
93400
93400
|
return removed;
|
|
93401
93401
|
}
|
|
93402
93402
|
|
|
93403
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
93403
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/personal-vault.js
|
|
93404
93404
|
function logSwallowed3(line) {
|
|
93405
93405
|
process.stderr.write(line);
|
|
93406
93406
|
}
|
|
@@ -93744,7 +93744,7 @@ function purgeExcludedPersonalVaultJournalEntries(journal, hqRoot, syncRoot, sho
|
|
|
93744
93744
|
return { removed, byReason };
|
|
93745
93745
|
}
|
|
93746
93746
|
|
|
93747
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
93747
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/local-link-warning.js
|
|
93748
93748
|
import fs14 from "node:fs";
|
|
93749
93749
|
import path12 from "node:path";
|
|
93750
93750
|
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.";
|
|
@@ -93861,12 +93861,12 @@ function linkWarningMessage(warning6) {
|
|
|
93861
93861
|
return `Skipped symbolic link (${warning6.reason}). ${warning6.remedy}`;
|
|
93862
93862
|
}
|
|
93863
93863
|
|
|
93864
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
93864
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
93865
93865
|
import * as fs23 from "fs";
|
|
93866
93866
|
import * as path18 from "path";
|
|
93867
93867
|
import * as crypto10 from "crypto";
|
|
93868
93868
|
|
|
93869
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
93869
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/local-replacement.js
|
|
93870
93870
|
import * as crypto8 from "crypto";
|
|
93871
93871
|
import * as fs15 from "fs";
|
|
93872
93872
|
import * as os3 from "os";
|
|
@@ -93922,11 +93922,11 @@ function shouldRecordLocalDeleteIntent(localPath, absent) {
|
|
|
93922
93922
|
return absent && !isLocalPathBeingReplaced(localPath);
|
|
93923
93923
|
}
|
|
93924
93924
|
|
|
93925
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
93925
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
93926
93926
|
import { Readable as Readable20, Transform as Transform3 } from "stream";
|
|
93927
93927
|
import { pipeline } from "stream/promises";
|
|
93928
93928
|
|
|
93929
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
93929
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/net-errors.js
|
|
93930
93930
|
var TRANSIENT_NETWORK_EXIT = 75;
|
|
93931
93931
|
var TRANSIENT_CODES = /* @__PURE__ */ new Set([
|
|
93932
93932
|
"ECONNREFUSED",
|
|
@@ -94009,7 +94009,7 @@ function isRemoteObjectGoneError(err) {
|
|
|
94009
94009
|
return /\bhttp=404\b/.test(err.message);
|
|
94010
94010
|
}
|
|
94011
94011
|
|
|
94012
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94012
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-entity-meta.js
|
|
94013
94013
|
var ONTOLOGY_ENTITY_KEY = /^ontology\/entities\/[a-z][a-z0-9-]*\/[^/]+\.md$/;
|
|
94014
94014
|
var ENTITY_LAST_UPDATED_META_KEY = "hq-entity-last-updated";
|
|
94015
94015
|
function ontologyVaultKey(relPath) {
|
|
@@ -94041,13 +94041,13 @@ function buildEntityMetadata(key, body) {
|
|
|
94041
94041
|
return stamp === null ? {} : { [ENTITY_LAST_UPDATED_META_KEY]: stamp };
|
|
94042
94042
|
}
|
|
94043
94043
|
|
|
94044
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94044
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
94045
94045
|
var import_client_s3 = __toESM(require_dist_cjs36(), 1);
|
|
94046
94046
|
import * as http3 from "node:http";
|
|
94047
94047
|
import * as https2 from "node:https";
|
|
94048
94048
|
import { Transform as Transform2 } from "node:stream";
|
|
94049
94049
|
|
|
94050
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94050
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/s3-content-checksum.js
|
|
94051
94051
|
import { createHash as createHash15 } from "node:crypto";
|
|
94052
94052
|
var CHECKSUM_HEADER_NAMES = [
|
|
94053
94053
|
"content-md5",
|
|
@@ -94118,7 +94118,7 @@ function headersForObjectLockPut(url2, headers, body) {
|
|
|
94118
94118
|
return out;
|
|
94119
94119
|
}
|
|
94120
94120
|
|
|
94121
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94121
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bandwidth.js
|
|
94122
94122
|
import { Transform } from "node:stream";
|
|
94123
94123
|
var MAX_BYTES_PER_SEC_ENV = "HQ_SYNC_MAX_BYTES_PER_SEC";
|
|
94124
94124
|
var MAX_CONCURRENCY_ENV = "HQ_SYNC_MAX_CONCURRENCY";
|
|
@@ -94519,7 +94519,7 @@ function getBandwidthGovernor() {
|
|
|
94519
94519
|
return singleton;
|
|
94520
94520
|
}
|
|
94521
94521
|
|
|
94522
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94522
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/client-info.js
|
|
94523
94523
|
var HEADER_CLIENT_NAME = "x-hq-client-name";
|
|
94524
94524
|
var HEADER_CLIENT_VERSION = "x-hq-client-version";
|
|
94525
94525
|
var HEADER_HQ_CORE_VERSION = "x-hq-core-version";
|
|
@@ -94542,7 +94542,7 @@ function buildClientHeaders(info) {
|
|
|
94542
94542
|
return headers;
|
|
94543
94543
|
}
|
|
94544
94544
|
|
|
94545
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94545
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/telemetry-events.js
|
|
94546
94546
|
var MAX_EVENTS_PER_BATCH = 50;
|
|
94547
94547
|
var DEFAULT_TIMEOUT_MS = 1500;
|
|
94548
94548
|
var MAX_PROPERTIES = 40;
|
|
@@ -94686,12 +94686,12 @@ function describeError(err) {
|
|
|
94686
94686
|
return err instanceof Error ? err.name : typeof err;
|
|
94687
94687
|
}
|
|
94688
94688
|
|
|
94689
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94689
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/http-keepalive.js
|
|
94690
94690
|
import * as http from "node:http";
|
|
94691
94691
|
import * as https from "node:https";
|
|
94692
94692
|
import { Readable as Readable19 } from "node:stream";
|
|
94693
94693
|
|
|
94694
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94694
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/realtime-telemetry.js
|
|
94695
94695
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
94696
94696
|
import { monitorEventLoopDelay } from "node:perf_hooks";
|
|
94697
94697
|
var REALTIME_TELEMETRY_EVENT = "sync.realtime.timing";
|
|
@@ -94881,7 +94881,7 @@ function writeRealtimeTelemetryToStderr(record2) {
|
|
|
94881
94881
|
`);
|
|
94882
94882
|
}
|
|
94883
94883
|
|
|
94884
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94884
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/http-keepalive.js
|
|
94885
94885
|
var HTTP_AGENT = new http.Agent({ keepAlive: true, maxSockets: 8 });
|
|
94886
94886
|
var HTTPS_AGENT = new https.Agent({ keepAlive: true, maxSockets: 8 });
|
|
94887
94887
|
function getKeepAliveAgent(secure) {
|
|
@@ -113807,7 +113807,7 @@ function date7(params) {
|
|
|
113807
113807
|
return _coercedDate(ZodDate, params);
|
|
113808
113808
|
}
|
|
113809
113809
|
|
|
113810
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
113810
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cognito-auth.js
|
|
113811
113811
|
import { spawnSync } from "child_process";
|
|
113812
113812
|
import * as crypto9 from "crypto";
|
|
113813
113813
|
import * as fs21 from "fs";
|
|
@@ -114329,7 +114329,7 @@ defineLazyProperty(apps, "browser", () => "browser");
|
|
|
114329
114329
|
defineLazyProperty(apps, "browserPrivate", () => "browserPrivate");
|
|
114330
114330
|
var open_default = open4;
|
|
114331
114331
|
|
|
114332
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
114332
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cognito-auth.js
|
|
114333
114333
|
var CognitoAuthError = class extends Error {
|
|
114334
114334
|
constructor(message) {
|
|
114335
114335
|
super(message);
|
|
@@ -115587,7 +115587,7 @@ function pickNewerSession(fromKeychain, other) {
|
|
|
115587
115587
|
return expiresAtMs(other) > expiresAtMs(fromKeychain) ? other : fromKeychain;
|
|
115588
115588
|
}
|
|
115589
115589
|
|
|
115590
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115590
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/credential-scope-error.js
|
|
115591
115591
|
var POLICY_WRITE_SCOPE_TRUNCATED = "POLICY_WRITE_SCOPE_TRUNCATED";
|
|
115592
115592
|
var VaultCredentialScopeError = class extends Error {
|
|
115593
115593
|
droppedWriteGrantPrefixes;
|
|
@@ -115629,7 +115629,7 @@ function assertCredentialScopeUsable(diagnostic) {
|
|
|
115629
115629
|
}
|
|
115630
115630
|
}
|
|
115631
115631
|
|
|
115632
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115632
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/plan-limit.js
|
|
115633
115633
|
var PLAN_LIMIT_REACHED_ERROR = "plan_limit_reached";
|
|
115634
115634
|
var PLAN_LIMIT_CODES = /* @__PURE__ */ new Set([
|
|
115635
115635
|
"PLAN_LIMIT_EXCEEDED",
|
|
@@ -115727,7 +115727,7 @@ function formatPlanLimitNotice(event) {
|
|
|
115727
115727
|
return ` ! ${files} paused by your plan limit.${reason} Upgrade: ${event.upgradeUrl}`;
|
|
115728
115728
|
}
|
|
115729
115729
|
|
|
115730
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115730
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/vault-client.js
|
|
115731
115731
|
var DEFAULT_GLOBAL_FETCH = globalThis.fetch;
|
|
115732
115732
|
var VaultClientError = class extends Error {
|
|
115733
115733
|
statusCode;
|
|
@@ -116675,7 +116675,7 @@ function parseVaultErrorBody(body) {
|
|
|
116675
116675
|
}
|
|
116676
116676
|
}
|
|
116677
116677
|
|
|
116678
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
116678
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
116679
116679
|
var OBJECT_IO_REQUEST_TIMEOUT_MS = 6e4;
|
|
116680
116680
|
var OBJECT_IO_REQUEST_TIMEOUT_PER_MIB_MS = 8e3;
|
|
116681
116681
|
var OBJECT_IO_BODY_IDLE_TIMEOUT_MS = 15e3;
|
|
@@ -118077,7 +118077,7 @@ function presignObjectIOFactory(vault, refresherFor, forceRefresherFor, options
|
|
|
118077
118077
|
};
|
|
118078
118078
|
}
|
|
118079
118079
|
|
|
118080
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
118080
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/file-mode-portability.js
|
|
118081
118081
|
var WIN32_SYNTHETIC_MODES = /* @__PURE__ */ new Set([438, 292]);
|
|
118082
118082
|
function portableModeStamp(mode, platform5 = process.platform) {
|
|
118083
118083
|
if (platform5 === "win32")
|
|
@@ -118088,7 +118088,7 @@ function isPortableModeSignal(mode) {
|
|
|
118088
118088
|
return !WIN32_SYNTHETIC_MODES.has(mode & 511);
|
|
118089
118089
|
}
|
|
118090
118090
|
|
|
118091
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
118091
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/script-eol.js
|
|
118092
118092
|
import * as path16 from "path";
|
|
118093
118093
|
var SCRIPT_EXTENSIONS = /* @__PURE__ */ new Set([".sh", ".bash", ".zsh"]);
|
|
118094
118094
|
var SHEBANG = Buffer.from("#!");
|
|
@@ -118119,7 +118119,7 @@ function normalizeScriptLineEndings(body) {
|
|
|
118119
118119
|
return changed ? out.subarray(0, n3) : null;
|
|
118120
118120
|
}
|
|
118121
118121
|
|
|
118122
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
118122
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/symlink-target-policy.js
|
|
118123
118123
|
import path17 from "node:path";
|
|
118124
118124
|
import fs22 from "node:fs";
|
|
118125
118125
|
function personalSymlinkTargetLinkPath(relativePath) {
|
|
@@ -118342,7 +118342,7 @@ function redactShape(target, classification) {
|
|
|
118342
118342
|
return parents > 0 ? `relative-parent-${Math.min(parents, 8)}` : "relative-path";
|
|
118343
118343
|
}
|
|
118344
118344
|
|
|
118345
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
118345
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
118346
118346
|
var DOWNLOAD_STREAM_MAX_RETRIES = 3;
|
|
118347
118347
|
var DOWNLOAD_STREAM_BASE_DELAY_MS = 400;
|
|
118348
118348
|
function sleepMs(ms) {
|
|
@@ -119543,7 +119543,7 @@ function getMimeType(filePath) {
|
|
|
119543
119543
|
return mimeTypes[ext] || "application/octet-stream";
|
|
119544
119544
|
}
|
|
119545
119545
|
|
|
119546
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119546
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/push-event.js
|
|
119547
119547
|
var CONTENT_HASH_PATTERN = /^sha256:[0-9a-f]{64}$/;
|
|
119548
119548
|
var ISO8601_DATETIME_PATTERN = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/;
|
|
119549
119549
|
function nativeSeparatorsToPosix(relativePath, sep26) {
|
|
@@ -119638,7 +119638,7 @@ function decodePushEvent(input2) {
|
|
|
119638
119638
|
return parsed.data;
|
|
119639
119639
|
}
|
|
119640
119640
|
|
|
119641
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119641
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-routes.js
|
|
119642
119642
|
import * as path19 from "path";
|
|
119643
119643
|
function routeChangeToTarget(relPath, kind) {
|
|
119644
119644
|
const norm = relPath.split(path19.sep).join("/").replace(/^\.\//, "");
|
|
@@ -119807,7 +119807,7 @@ function carriedFlags(baseArgv) {
|
|
|
119807
119807
|
return carried;
|
|
119808
119808
|
}
|
|
119809
119809
|
|
|
119810
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119810
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/push-transport.js
|
|
119811
119811
|
var moduleLoadFetch = globalThis.fetch;
|
|
119812
119812
|
var moduleLoadAbortController = globalThis.AbortController;
|
|
119813
119813
|
var successOutcomes = /* @__PURE__ */ new WeakMap();
|
|
@@ -120029,7 +120029,7 @@ var HttpPushTransport = class {
|
|
|
120029
120029
|
}
|
|
120030
120030
|
};
|
|
120031
120031
|
|
|
120032
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
120032
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/case-alias.js
|
|
120033
120033
|
import * as fs24 from "fs";
|
|
120034
120034
|
import * as path20 from "path";
|
|
120035
120035
|
function foldVaultKey(key) {
|
|
@@ -120177,7 +120177,7 @@ function directoryFoldsCase(dir) {
|
|
|
120177
120177
|
return false;
|
|
120178
120178
|
}
|
|
120179
120179
|
|
|
120180
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
120180
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/watcher.js
|
|
120181
120181
|
var DEBOUNCE_MS = 2e3;
|
|
120182
120182
|
var DEFAULT_EVENT_DEBOUNCE_MS = 6e4;
|
|
120183
120183
|
var DEFAULT_EVENT_MAX_WAIT_MS = 12e4;
|
|
@@ -123340,7 +123340,7 @@ var PushEventEmitter = class _PushEventEmitter {
|
|
|
123340
123340
|
}
|
|
123341
123341
|
};
|
|
123342
123342
|
|
|
123343
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
123343
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-self-profile.js
|
|
123344
123344
|
var SELF_PROFILE_ENV = "HQ_SYNC_SELF_PROFILE";
|
|
123345
123345
|
var SELF_PROFILE_CPU_CORES_ENV = "HQ_SYNC_SELF_PROFILE_CPU_CORES";
|
|
123346
123346
|
var SELF_PROFILE_RSS_MB_ENV = "HQ_SYNC_SELF_PROFILE_RSS_MB";
|
|
@@ -123955,7 +123955,7 @@ function readRunnerVersion() {
|
|
|
123955
123955
|
}
|
|
123956
123956
|
}
|
|
123957
123957
|
|
|
123958
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
123958
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
123959
123959
|
import * as os23 from "os";
|
|
123960
123960
|
import * as path72 from "path";
|
|
123961
123961
|
import * as fs75 from "fs";
|
|
@@ -123963,7 +123963,7 @@ import { randomUUID as randomUUID14 } from "node:crypto";
|
|
|
123963
123963
|
import { monitorEventLoopDelay as monitorEventLoopDelay2, performance as performance4 } from "node:perf_hooks";
|
|
123964
123964
|
import { fileURLToPath as fileURLToPath6 } from "url";
|
|
123965
123965
|
|
|
123966
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
123966
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/context.js
|
|
123967
123967
|
var REFRESH_THRESHOLD_MS = 2 * 60 * 1e3;
|
|
123968
123968
|
var DEFAULT_SESSION_DURATION_SECONDS = 900;
|
|
123969
123969
|
var PRESIGN_NO_VEND_EXPIRES_AT = "9999-12-31T23:59:59.000Z";
|
|
@@ -124186,13 +124186,13 @@ async function vendSelfCredentials(personUid, config2) {
|
|
|
124186
124186
|
return postVend(route, { personUid }, config2);
|
|
124187
124187
|
}
|
|
124188
124188
|
|
|
124189
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124189
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/realtime-rollout.js
|
|
124190
124190
|
var DEFAULT_REALTIME_AUTHORIZATION_TIMEOUT_MS = 15e3;
|
|
124191
124191
|
|
|
124192
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124192
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/candidate-uploader.js
|
|
124193
124193
|
var MAX_SMALL_CANDIDATE_BYTES = 8 * 1024 * 1024;
|
|
124194
124194
|
|
|
124195
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124195
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/multipart-uploader.js
|
|
124196
124196
|
var DEFAULT_GLOBAL_FETCH3 = globalThis.fetch;
|
|
124197
124197
|
var MULTIPART_PART_SIZE_BYTES = 8 * 1024 * 1024;
|
|
124198
124198
|
var MAX_MULTIPART_BYTES_IN_FLIGHT = 64 * 1024 * 1024;
|
|
@@ -124242,13 +124242,13 @@ var MultipartByteBudget = class {
|
|
|
124242
124242
|
};
|
|
124243
124243
|
var processByteBudget = new MultipartByteBudget();
|
|
124244
124244
|
|
|
124245
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124245
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync-progress.js
|
|
124246
124246
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
124247
124247
|
import * as fs28 from "fs";
|
|
124248
124248
|
import * as os8 from "os";
|
|
124249
124249
|
import * as path24 from "path";
|
|
124250
124250
|
|
|
124251
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124251
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/conflict-notices.js
|
|
124252
124252
|
import { createHash as createHash19 } from "node:crypto";
|
|
124253
124253
|
import * as fs27 from "node:fs";
|
|
124254
124254
|
import * as os7 from "node:os";
|
|
@@ -124397,7 +124397,7 @@ function readPendingConflictNotices() {
|
|
|
124397
124397
|
return readNotices().filter((notice) => !acknowledged.has(notice.id)).slice(-MAX_PENDING_CONFLICT_NOTICES);
|
|
124398
124398
|
}
|
|
124399
124399
|
|
|
124400
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124400
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync-progress.js
|
|
124401
124401
|
function logSwallowed5(line) {
|
|
124402
124402
|
process.stderr.write(line);
|
|
124403
124403
|
}
|
|
@@ -124684,7 +124684,7 @@ function createPassSummaryRecorder() {
|
|
|
124684
124684
|
};
|
|
124685
124685
|
}
|
|
124686
124686
|
|
|
124687
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124687
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/prefix-coalesce.js
|
|
124688
124688
|
var SCOPE_PREFIX_MARKER = "\0hq-scope:";
|
|
124689
124689
|
var SCOPE_PREFIX_MARKER_PREFIX = `${SCOPE_PREFIX_MARKER}prefix`;
|
|
124690
124690
|
var SCOPE_PREFIX_MARKER_EXACT = `${SCOPE_PREFIX_MARKER}exact`;
|
|
@@ -124884,7 +124884,7 @@ function grantPathToScopePrefix(grantPath, slug) {
|
|
|
124884
124884
|
return pathToScopePrefix(p3);
|
|
124885
124885
|
}
|
|
124886
124886
|
|
|
124887
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124887
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/scope-shrink.js
|
|
124888
124888
|
import * as fs29 from "fs";
|
|
124889
124889
|
import * as path25 from "path";
|
|
124890
124890
|
function buildScopeShrinkPlan(input2) {
|
|
@@ -125180,18 +125180,18 @@ function applyScopeShrink(input2) {
|
|
|
125180
125180
|
};
|
|
125181
125181
|
}
|
|
125182
125182
|
|
|
125183
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125183
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/secret-path-policy.js
|
|
125184
125184
|
init_dist();
|
|
125185
125185
|
import * as fs30 from "fs";
|
|
125186
125186
|
import * as path26 from "path";
|
|
125187
125187
|
|
|
125188
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125188
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/flag-company-uid.js
|
|
125189
125189
|
var FLAG_COMPANY_UID_PATTERN = /^cmp_[A-Za-z0-9]{3,128}$/;
|
|
125190
125190
|
function flagCompanyUid(uid) {
|
|
125191
125191
|
return FLAG_COMPANY_UID_PATTERN.test(uid) ? uid : void 0;
|
|
125192
125192
|
}
|
|
125193
125193
|
|
|
125194
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125194
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/secret-path-policy.js
|
|
125195
125195
|
var SKIP_SECRET_PATHS_FLAG = "sync.skip-secret-paths";
|
|
125196
125196
|
var FLAG_REFRESH_INTERVAL_MS = 5 * 6e4;
|
|
125197
125197
|
var FLAG_REQUEST_TIMEOUT_MS = 2e3;
|
|
@@ -125328,7 +125328,7 @@ function isSkipSecretPathsEnabled(config2, companyUid, failClosed = false) {
|
|
|
125328
125328
|
return defaultSkipSecretPathsGate(config2, companyUid, failClosed);
|
|
125329
125329
|
}
|
|
125330
125330
|
|
|
125331
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125331
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/remote-pull.js
|
|
125332
125332
|
var VEND_PATH_CAP = 10;
|
|
125333
125333
|
var POST_FILTER_THRESHOLD = 50;
|
|
125334
125334
|
var VEND_FANOUT_CONCURRENCY = 5;
|
|
@@ -125415,11 +125415,11 @@ function dedupByKey(files) {
|
|
|
125415
125415
|
return out;
|
|
125416
125416
|
}
|
|
125417
125417
|
|
|
125418
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125418
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/multipart-upload.js
|
|
125419
125419
|
var MULTIPART_DEFAULT_PART_SIZE = 16 * 1024 * 1024;
|
|
125420
125420
|
var MIB = 1024 * 1024;
|
|
125421
125421
|
|
|
125422
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125422
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/pull-scope.js
|
|
125423
125423
|
import * as fs31 from "fs";
|
|
125424
125424
|
import * as path27 from "path";
|
|
125425
125425
|
var SESSIONS_SCOPE_PREFIX = "sessions/";
|
|
@@ -125490,7 +125490,7 @@ function readPinnedPrefixes(hqRoot, slug) {
|
|
|
125490
125490
|
return [];
|
|
125491
125491
|
}
|
|
125492
125492
|
|
|
125493
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125493
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/plan-limit-pause.js
|
|
125494
125494
|
import * as fs32 from "fs";
|
|
125495
125495
|
import * as path28 from "path";
|
|
125496
125496
|
var PLAN_LIMIT_PAUSE_RETRY_MS = 60 * 60 * 1e3;
|
|
@@ -125656,13 +125656,13 @@ var PlanLimitPauseStore = class _PlanLimitPauseStore {
|
|
|
125656
125656
|
}
|
|
125657
125657
|
};
|
|
125658
125658
|
|
|
125659
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125659
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/telemetry.js
|
|
125660
125660
|
import { createHash as createHash20 } from "node:crypto";
|
|
125661
125661
|
import { promises as fs35 } from "node:fs";
|
|
125662
125662
|
import * as os9 from "node:os";
|
|
125663
125663
|
import * as path31 from "node:path";
|
|
125664
125664
|
|
|
125665
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125665
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/company-resolver.js
|
|
125666
125666
|
import { promises as fs33 } from "node:fs";
|
|
125667
125667
|
import * as path29 from "node:path";
|
|
125668
125668
|
|
|
@@ -128290,7 +128290,7 @@ var jsYaml = {
|
|
|
128290
128290
|
safeDump
|
|
128291
128291
|
};
|
|
128292
128292
|
|
|
128293
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128293
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/company-resolver.js
|
|
128294
128294
|
function logSwallowed6(line) {
|
|
128295
128295
|
process.stderr.write(line);
|
|
128296
128296
|
}
|
|
@@ -128501,7 +128501,7 @@ function resolveCompanyForCwd(cwd, map9) {
|
|
|
128501
128501
|
return collapsed !== c5 ? match(collapsed) : void 0;
|
|
128502
128502
|
}
|
|
128503
128503
|
|
|
128504
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128504
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/usage-company-fallback.js
|
|
128505
128505
|
import { promises as fs34 } from "node:fs";
|
|
128506
128506
|
import * as path30 from "node:path";
|
|
128507
128507
|
var TRUSTED_META_SOURCES = /* @__PURE__ */ new Set(["session"]);
|
|
@@ -128948,7 +128948,7 @@ function createUsageCompanyFallback(options) {
|
|
|
128948
128948
|
};
|
|
128949
128949
|
}
|
|
128950
128950
|
|
|
128951
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128951
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/telemetry.js
|
|
128952
128952
|
function emptyCursor() {
|
|
128953
128953
|
return { version: "1", files: {} };
|
|
128954
128954
|
}
|
|
@@ -129830,7 +129830,7 @@ async function collectAndSendTelemetry(opts) {
|
|
|
129830
129830
|
};
|
|
129831
129831
|
}
|
|
129832
129832
|
|
|
129833
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129833
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/skill-telemetry.js
|
|
129834
129834
|
import { createHash as createHash21 } from "node:crypto";
|
|
129835
129835
|
import { promises as fs36 } from "node:fs";
|
|
129836
129836
|
import * as os10 from "node:os";
|
|
@@ -130623,12 +130623,12 @@ async function collectAndSendSkillTelemetry(opts) {
|
|
|
130623
130623
|
};
|
|
130624
130624
|
}
|
|
130625
130625
|
|
|
130626
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130626
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
130627
130627
|
import * as fs47 from "fs";
|
|
130628
130628
|
import * as os14 from "os";
|
|
130629
130629
|
import * as path43 from "path";
|
|
130630
130630
|
|
|
130631
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130631
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/symlink-target-refusal-flag.js
|
|
130632
130632
|
init_dist();
|
|
130633
130633
|
var SYMLINK_TARGET_REFUSAL_FLAG = "sync.symlink-target-refusal";
|
|
130634
130634
|
var FLAG_READ_TIMEOUT_MS = 2e3;
|
|
@@ -130677,7 +130677,7 @@ async function resolveSymlinkTargetRefusalFlag(input2) {
|
|
|
130677
130677
|
}
|
|
130678
130678
|
}
|
|
130679
130679
|
|
|
130680
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130680
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/company-vault-transport.js
|
|
130681
130681
|
function selectObjectIOFactory(client, refresherFor, forceRefresherFor) {
|
|
130682
130682
|
if (typeof client.presign === "function" && typeof client.listFiles === "function") {
|
|
130683
130683
|
return presignObjectIOFactory(client, refresherFor, forceRefresherFor);
|
|
@@ -130695,7 +130695,7 @@ function ensureCompanyVaultTransport(vaultConfig, deps = {}) {
|
|
|
130695
130695
|
vaultConfig.companyVaultUsesPresign = objectIOFactory !== null;
|
|
130696
130696
|
}
|
|
130697
130697
|
|
|
130698
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130698
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync-decision-log.js
|
|
130699
130699
|
import * as fs37 from "node:fs";
|
|
130700
130700
|
import * as path33 from "node:path";
|
|
130701
130701
|
import { randomUUID as randomUUID4 } from "node:crypto";
|
|
@@ -130740,10 +130740,10 @@ function appendSyncDecision(input2, options = {}) {
|
|
|
130740
130740
|
}
|
|
130741
130741
|
}
|
|
130742
130742
|
|
|
130743
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130743
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
130744
130744
|
import * as crypto14 from "crypto";
|
|
130745
130745
|
|
|
130746
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130746
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/private-folder-transport.js
|
|
130747
130747
|
import * as fs38 from "fs";
|
|
130748
130748
|
import * as path34 from "path";
|
|
130749
130749
|
var CONTENT_SHA256_RE2 = /^[a-f0-9]{64}$/;
|
|
@@ -130835,7 +130835,7 @@ async function primePrivateFolderUpload(input2) {
|
|
|
130835
130835
|
}]);
|
|
130836
130836
|
}
|
|
130837
130837
|
|
|
130838
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130838
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/full-pass-caps.js
|
|
130839
130839
|
var FULL_PASS_CPU_CAP_FLAG = "sync.full-pass.cpu-cap-pct";
|
|
130840
130840
|
var FULL_PASS_HEAP_CAP_FLAG = "sync.full-pass.heap-cap-mb";
|
|
130841
130841
|
var FULL_PASS_DURABLE_PROGRESS_FLAG = "sync.full-pass-durable-progress";
|
|
@@ -131412,7 +131412,7 @@ var FullPassCapController = class {
|
|
|
131412
131412
|
}
|
|
131413
131413
|
};
|
|
131414
131414
|
|
|
131415
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131415
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/conflict.js
|
|
131416
131416
|
import * as readline from "readline";
|
|
131417
131417
|
function parseFrontmatterVersion(body) {
|
|
131418
131418
|
if (!body || body.length === 0)
|
|
@@ -131540,7 +131540,7 @@ async function promptConflict(conflict) {
|
|
|
131540
131540
|
}
|
|
131541
131541
|
}
|
|
131542
131542
|
|
|
131543
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131543
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/reconcile-skip-reason.js
|
|
131544
131544
|
var HUMAN_UP_TO_DATE_LINE_CAP = 20;
|
|
131545
131545
|
function isUpToDateSkipReason(reason) {
|
|
131546
131546
|
return reason === "already_up_to_date" || reason === "already_landed";
|
|
@@ -131598,7 +131598,7 @@ function createHumanSkipLineLog() {
|
|
|
131598
131598
|
};
|
|
131599
131599
|
}
|
|
131600
131600
|
|
|
131601
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131601
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/tombstones.js
|
|
131602
131602
|
import * as crypto11 from "node:crypto";
|
|
131603
131603
|
import * as fs39 from "node:fs";
|
|
131604
131604
|
import * as os11 from "node:os";
|
|
@@ -131990,7 +131990,7 @@ async function fetchTombstonePage(url2, token) {
|
|
|
131990
131990
|
throw new TombstoneFetchError(`FILE_TOMBSTONE fetch failed after ${attemptsMade} attempts; refusing to sync without delete suppression`, attemptsMade, lastError);
|
|
131991
131991
|
}
|
|
131992
131992
|
|
|
131993
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131993
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync-core.js
|
|
131994
131994
|
import { execSync } from "child_process";
|
|
131995
131995
|
import * as fs40 from "fs";
|
|
131996
131996
|
import * as os12 from "os";
|
|
@@ -132137,11 +132137,11 @@ function hasRemoteChanged(remote, entry) {
|
|
|
132137
132137
|
return remote.lastModified.getTime() > syncedAt;
|
|
132138
132138
|
}
|
|
132139
132139
|
|
|
132140
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132140
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-file.js
|
|
132141
132141
|
import * as crypto12 from "crypto";
|
|
132142
132142
|
import * as path38 from "path";
|
|
132143
132143
|
|
|
132144
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132144
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/machine-id.js
|
|
132145
132145
|
import { createHash as createHash23, randomUUID as randomUUID6 } from "node:crypto";
|
|
132146
132146
|
import * as fs41 from "node:fs";
|
|
132147
132147
|
import * as os13 from "node:os";
|
|
@@ -132250,7 +132250,7 @@ function readShortMachineId(hqRoot) {
|
|
|
132250
132250
|
return createHash23("sha1").update(full).digest("hex").slice(0, 6);
|
|
132251
132251
|
}
|
|
132252
132252
|
|
|
132253
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132253
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-file.js
|
|
132254
132254
|
var CONFLICT_BACKUPS_DIR = ".hq/conflict-backups";
|
|
132255
132255
|
var CONFLICT_PROBE_DIR = ".hq/tmp";
|
|
132256
132256
|
function safeTimestamp(detectedAt) {
|
|
@@ -132268,7 +132268,7 @@ function buildConflictId(originalRelative, detectedAt) {
|
|
|
132268
132268
|
return `${safePath}-${safeTimestamp(detectedAt)}`;
|
|
132269
132269
|
}
|
|
132270
132270
|
|
|
132271
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132271
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-index.js
|
|
132272
132272
|
import * as crypto13 from "crypto";
|
|
132273
132273
|
import * as fs42 from "fs";
|
|
132274
132274
|
import * as path39 from "path";
|
|
@@ -132422,7 +132422,7 @@ function pruneConflictIndex(hqRoot) {
|
|
|
132422
132422
|
return result;
|
|
132423
132423
|
}
|
|
132424
132424
|
|
|
132425
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132425
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/append-only-merge.js
|
|
132426
132426
|
import * as fs43 from "node:fs";
|
|
132427
132427
|
function isAppendOnlyPath(relativePath) {
|
|
132428
132428
|
const base = relativePath.split(/[\\/]/).pop() ?? "";
|
|
@@ -132494,7 +132494,7 @@ function appendIfUnchanged(file2, expected, merged) {
|
|
|
132494
132494
|
return "appended";
|
|
132495
132495
|
}
|
|
132496
132496
|
|
|
132497
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132497
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/board-merge.js
|
|
132498
132498
|
import * as fs44 from "node:fs";
|
|
132499
132499
|
import * as path40 from "node:path";
|
|
132500
132500
|
function isBoardJsonPath(relativePath) {
|
|
@@ -132640,7 +132640,7 @@ function replaceIfUnchanged(file2, expected, merged) {
|
|
|
132640
132640
|
return "appended";
|
|
132641
132641
|
}
|
|
132642
132642
|
|
|
132643
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132643
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/same-path-upload-lock.js
|
|
132644
132644
|
var SAME_PATH_UPLOAD_WAIT_MS = 6e4;
|
|
132645
132645
|
var SAME_PATH_LANDED_KEY_CAP = 4096;
|
|
132646
132646
|
var SAME_PATH_LANDED_PER_KEY_CAP = 8;
|
|
@@ -132830,7 +132830,7 @@ var SamePathUploadSupersededError = class extends Error {
|
|
|
132830
132830
|
}
|
|
132831
132831
|
};
|
|
132832
132832
|
|
|
132833
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132833
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/cloud-authoritative.js
|
|
132834
132834
|
var CLOUD_AUTHORITATIVE_PATTERNS = [
|
|
132835
132835
|
/^company-brief\.md$/,
|
|
132836
132836
|
/^board\.json$/,
|
|
@@ -132868,7 +132868,7 @@ function isLocallyIneligibleForPush(relPath, options = {}) {
|
|
|
132868
132868
|
return isCloudAuthoritative(relPath);
|
|
132869
132869
|
}
|
|
132870
132870
|
|
|
132871
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132871
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-entity-push.js
|
|
132872
132872
|
init_dist();
|
|
132873
132873
|
import { createHash as createHash24 } from "node:crypto";
|
|
132874
132874
|
var ONTOLOGY_ENTITY_PUSH_FLAG = "checkpoint.ontology";
|
|
@@ -132949,7 +132949,7 @@ ${caller}`;
|
|
|
132949
132949
|
return failed ? false : value;
|
|
132950
132950
|
}
|
|
132951
132951
|
|
|
132952
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132952
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-outbox.js
|
|
132953
132953
|
import fs45 from "node:fs";
|
|
132954
132954
|
import path41 from "node:path";
|
|
132955
132955
|
var ONTOLOGY_OUTBOX_SCHEMA = "hq-ontology-outbox.v1";
|
|
@@ -133015,7 +133015,7 @@ function entityIsFreshForCreate(body, nowMs) {
|
|
|
133015
133015
|
return age >= -ENTITY_CREATE_FUTURE_SKEW_MS && age <= ENTITY_CREATE_WINDOW_MS;
|
|
133016
133016
|
}
|
|
133017
133017
|
|
|
133018
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133018
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/skill-register-landed-bytes.js
|
|
133019
133019
|
init_dist();
|
|
133020
133020
|
import { createHash as createHash25 } from "node:crypto";
|
|
133021
133021
|
var SKILL_REGISTER_LANDED_BYTES_FLAG = "sync.skill-register-landed-bytes";
|
|
@@ -133089,7 +133089,7 @@ ${caller}`;
|
|
|
133089
133089
|
return failed ? false : value;
|
|
133090
133090
|
}
|
|
133091
133091
|
|
|
133092
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133092
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/personal-connector-settings-sync.js
|
|
133093
133093
|
init_dist();
|
|
133094
133094
|
import { createHash as createHash26 } from "node:crypto";
|
|
133095
133095
|
var PERSONAL_CONNECTOR_SETTINGS_SYNC_FLAG = "personal.connector-settings-sync";
|
|
@@ -133152,7 +133152,7 @@ ${caller}`;
|
|
|
133152
133152
|
return failed ? false : value;
|
|
133153
133153
|
}
|
|
133154
133154
|
|
|
133155
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133155
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/describe-error.js
|
|
133156
133156
|
import * as path42 from "node:path";
|
|
133157
133157
|
var MAX_DIAGNOSTIC_LENGTH = 1024;
|
|
133158
133158
|
function sanitizeDiagnostic(value) {
|
|
@@ -133285,7 +133285,7 @@ function pushFailureTelemetryLabel(value) {
|
|
|
133285
133285
|
return safe.slice(0, 128) || "unknown";
|
|
133286
133286
|
}
|
|
133287
133287
|
|
|
133288
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133288
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/readlink-safe.js
|
|
133289
133289
|
import * as fs46 from "fs";
|
|
133290
133290
|
function toPortableSymlinkTarget(target, platform5 = process.platform) {
|
|
133291
133291
|
return platform5 === "win32" ? target.replaceAll("\\", "/") : target;
|
|
@@ -133304,14 +133304,14 @@ function readlinkOrNull(linkPath, readlink = (path73) => fs46.readlinkSync(path7
|
|
|
133304
133304
|
}
|
|
133305
133305
|
}
|
|
133306
133306
|
|
|
133307
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133307
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/reconcile-cursor.js
|
|
133308
133308
|
function checkpointReconcileApply(checkpoint, paths) {
|
|
133309
133309
|
if (!checkpoint)
|
|
133310
133310
|
return;
|
|
133311
133311
|
checkpoint.store.checkpointApply(checkpoint.cursor, [...new Set(paths)].map((path73) => ({ path: path73, durable: true })));
|
|
133312
133312
|
}
|
|
133313
133313
|
|
|
133314
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133314
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/mass-delete-guards.js
|
|
133315
133315
|
init_dist();
|
|
133316
133316
|
import { createHash as createHash27 } from "node:crypto";
|
|
133317
133317
|
var MASS_DELETE_GUARDS_FLAG = "sync.delete-absolute-volume-and-release-root-guards";
|
|
@@ -133456,7 +133456,7 @@ function warnFlagReadFailure(write) {
|
|
|
133456
133456
|
`)))(line);
|
|
133457
133457
|
}
|
|
133458
133458
|
|
|
133459
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133459
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
133460
133460
|
async function remoteContentDiffers(ctx, relativePath, localHash, hqRoot, symlinkOptions) {
|
|
133461
133461
|
const probeKey = crypto14.createHash("sha256").update(relativePath).digest("hex").slice(0, 16);
|
|
133462
133462
|
const probePath = path43.join(os14.tmpdir(), `hq-conflict-probe-${readShortMachineId(hqRoot)}-${probeKey}.tmp`);
|
|
@@ -137938,11 +137938,11 @@ function computeDecommissionPlan(journal, prefixes, policy, alreadyPlanned, skip
|
|
|
137938
137938
|
return out;
|
|
137939
137939
|
}
|
|
137940
137940
|
|
|
137941
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
137941
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
137942
137942
|
import * as fs55 from "fs";
|
|
137943
137943
|
import * as path51 from "path";
|
|
137944
137944
|
|
|
137945
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
137945
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/remote-file-spool.js
|
|
137946
137946
|
import * as fs48 from "node:fs";
|
|
137947
137947
|
import * as os15 from "node:os";
|
|
137948
137948
|
import * as path44 from "node:path";
|
|
@@ -138021,12 +138021,12 @@ function* readRows(filename) {
|
|
|
138021
138021
|
}
|
|
138022
138022
|
}
|
|
138023
138023
|
|
|
138024
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138024
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/hq-root-recovery.js
|
|
138025
138025
|
import * as fs50 from "fs";
|
|
138026
138026
|
import * as os16 from "os";
|
|
138027
138027
|
import * as path46 from "path";
|
|
138028
138028
|
|
|
138029
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138029
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/backup-prune.js
|
|
138030
138030
|
import * as crypto15 from "crypto";
|
|
138031
138031
|
import * as fs49 from "fs";
|
|
138032
138032
|
import * as path45 from "path";
|
|
@@ -138212,7 +138212,7 @@ function inventoryManagedSnapshots(backupRoot, canonicalRoot3, isCopyingOwnerLiv
|
|
|
138212
138212
|
return { entries: entries3, ...plan, unmanaged: [...unmanaged, ...plan.unmanaged] };
|
|
138213
138213
|
}
|
|
138214
138214
|
|
|
138215
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138215
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/hq-root-recovery.js
|
|
138216
138216
|
var HQ_LAYOUT_DIRS = ["repos", "repos/public", "repos/private"];
|
|
138217
138217
|
function gitSidecarDir(hqRoot, homeDir = os16.homedir()) {
|
|
138218
138218
|
return path46.join(homeDir, ".hq", "hq-root-git", canonicalRootHash(path46.resolve(hqRoot)));
|
|
@@ -138399,10 +138399,10 @@ function recoverHqRootLocalState(hqRoot, opts = {}) {
|
|
|
138399
138399
|
};
|
|
138400
138400
|
}
|
|
138401
138401
|
|
|
138402
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138402
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/doctor.js
|
|
138403
138403
|
var SKILLS_KEY_PREFIX = ".claude/skills/";
|
|
138404
138404
|
|
|
138405
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138405
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/content-hash.js
|
|
138406
138406
|
var SHA256_CONTENT_HASH = /^sha256:([a-f0-9]{64})$/;
|
|
138407
138407
|
function rawSha256FromContentHash(contentHash) {
|
|
138408
138408
|
if (contentHash === void 0)
|
|
@@ -138413,7 +138413,7 @@ function contentHashMatchesRawSha256(contentHash, rawHash) {
|
|
|
138413
138413
|
return rawSha256FromContentHash(contentHash) === rawHash;
|
|
138414
138414
|
}
|
|
138415
138415
|
|
|
138416
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138416
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/kms10-etag-safe-pull.js
|
|
138417
138417
|
import { createHash as createHash30 } from "node:crypto";
|
|
138418
138418
|
var KMS10_COPY_MARKER_META_KEY = "hq-kms10-reencrypt-current";
|
|
138419
138419
|
var KMS10_COPY_ORIGINAL_KEY_HASH_META_KEY = "hq-kms10-original-key-sha256";
|
|
@@ -138438,7 +138438,7 @@ function isKms10CopyOfJournalBase(listed, head, journalHash, journalEtag, expect
|
|
|
138438
138438
|
return normalizeEtag(head.metadata?.["hq-kms10-original-etag"] ?? "") === normalizeEtag(journalEtag);
|
|
138439
138439
|
}
|
|
138440
138440
|
|
|
138441
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138441
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/targeted-upsert-exact-list.js
|
|
138442
138442
|
init_dist();
|
|
138443
138443
|
import { createHash as createHash31 } from "node:crypto";
|
|
138444
138444
|
function logSwallowed8(line) {
|
|
@@ -138555,7 +138555,7 @@ function isTargetedUpsertExactListEnabled(config2, companyUid) {
|
|
|
138555
138555
|
return defaultTargetedUpsertExactListGate(config2, companyUid);
|
|
138556
138556
|
}
|
|
138557
138557
|
|
|
138558
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138558
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/targeted-pull-prefixes.js
|
|
138559
138559
|
var TARGETED_PULL_PREFIX_GROUP_MIN_PATHS = 16;
|
|
138560
138560
|
function coalesceDenseTargetedPullPaths(paths) {
|
|
138561
138561
|
const normalized = paths.map((path73) => path73.replace(/\\/g, "/"));
|
|
@@ -138593,15 +138593,15 @@ function coalesceDenseTargetedPullPaths(paths) {
|
|
|
138593
138593
|
return result;
|
|
138594
138594
|
}
|
|
138595
138595
|
|
|
138596
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138596
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
138597
138597
|
import { createHash as createHash34 } from "node:crypto";
|
|
138598
138598
|
|
|
138599
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138599
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex.js
|
|
138600
138600
|
import { spawnSync as spawnSync3 } from "child_process";
|
|
138601
138601
|
import * as fs54 from "fs";
|
|
138602
138602
|
import * as path50 from "path";
|
|
138603
138603
|
|
|
138604
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138604
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex-knowledge.js
|
|
138605
138605
|
import { spawnSync as spawnSync2 } from "child_process";
|
|
138606
138606
|
import * as fs51 from "fs";
|
|
138607
138607
|
import * as path47 from "path";
|
|
@@ -138864,7 +138864,7 @@ function materializeLegacyKnowledgeRepos(root5) {
|
|
|
138864
138864
|
}
|
|
138865
138865
|
}
|
|
138866
138866
|
|
|
138867
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138867
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/session-log-capture.js
|
|
138868
138868
|
import * as crypto16 from "node:crypto";
|
|
138869
138869
|
import * as fs52 from "node:fs";
|
|
138870
138870
|
import * as os17 from "node:os";
|
|
@@ -139805,7 +139805,7 @@ function captureSessionLogs(root5, options = {}) {
|
|
|
139805
139805
|
}
|
|
139806
139806
|
}
|
|
139807
139807
|
|
|
139808
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
139808
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/session-log-retention.js
|
|
139809
139809
|
import * as crypto17 from "node:crypto";
|
|
139810
139810
|
import * as fs53 from "node:fs";
|
|
139811
139811
|
import * as os18 from "node:os";
|
|
@@ -140066,7 +140066,7 @@ function pruneSyncedSessionLogs(root5) {
|
|
|
140066
140066
|
}
|
|
140067
140067
|
}
|
|
140068
140068
|
|
|
140069
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140069
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex.js
|
|
140070
140070
|
function isDir2(p3) {
|
|
140071
140071
|
try {
|
|
140072
140072
|
return fs54.statSync(p3).isDirectory();
|
|
@@ -140590,7 +140590,7 @@ function emitReindexTelemetry(opts, result, lockResult) {
|
|
|
140590
140590
|
}, { claims: opts.telemetryClaims });
|
|
140591
140591
|
}
|
|
140592
140592
|
|
|
140593
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140593
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
140594
140594
|
async function yieldToCooperativeCheckpoint2(work, cooperativeCheckpoint, force, resumedAt) {
|
|
140595
140595
|
work.rowsSinceYield += 1;
|
|
140596
140596
|
if (!force && work.rowsSinceYield < cooperativeUnitSize()) {
|
|
@@ -144046,7 +144046,7 @@ function defaultConsoleLogger2(event, humanSkipLines) {
|
|
|
144046
144046
|
}
|
|
144047
144047
|
}
|
|
144048
144048
|
|
|
144049
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
144049
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/rescue-core.js
|
|
144050
144050
|
import { createRequire } from "node:module";
|
|
144051
144051
|
var MAX_CLONE_BATCH_PATH_BYTES = 64 * 1024;
|
|
144052
144052
|
var require2 = createRequire(import.meta.url);
|
|
@@ -144056,7 +144056,7 @@ var PRECLONE_FREE_SPACE_FLOOR_BYTES = 1024 ** 3;
|
|
|
144056
144056
|
var CYGWIN_SYMLINK_COOKIE = Buffer.from("!<symlink>", "latin1");
|
|
144057
144057
|
var PRESERVED_FILE_COMPARE_CHUNK_BYTES = 64 * 1024;
|
|
144058
144058
|
|
|
144059
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
144059
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/schemas/source-channels.js
|
|
144060
144060
|
var SOURCE_CHANNELS = Object.freeze([
|
|
144061
144061
|
"meeting",
|
|
144062
144062
|
"email",
|
|
@@ -144065,7 +144065,7 @@ var SOURCE_CHANNELS = Object.freeze([
|
|
|
144065
144065
|
"notion"
|
|
144066
144066
|
]);
|
|
144067
144067
|
|
|
144068
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
144068
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/schemas/signal-types.js
|
|
144069
144069
|
var SIGNAL_TYPES = Object.freeze([
|
|
144070
144070
|
"action_item",
|
|
144071
144071
|
"commitment",
|
|
@@ -144075,7 +144075,7 @@ var SIGNAL_TYPES = Object.freeze([
|
|
|
144075
144075
|
"summary"
|
|
144076
144076
|
]);
|
|
144077
144077
|
|
|
144078
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
144078
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/feature-flags.js
|
|
144079
144079
|
var PARALLEL_COORDINATOR_ENV_VAR = "HQ_SYNC_PARALLEL_COORDINATOR";
|
|
144080
144080
|
var AREA_STORAGE_ENV_VAR = "HQ_SYNC_AREA_STORAGE";
|
|
144081
144081
|
function parseFeatureSwitch(value) {
|
|
@@ -144144,7 +144144,7 @@ function isEventSyncLocallyDisabled(value) {
|
|
|
144144
144144
|
}
|
|
144145
144145
|
}
|
|
144146
144146
|
|
|
144147
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
144147
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/metrics.js
|
|
144148
144148
|
var import_client_cloudwatch = __toESM(require_dist_cjs40(), 1);
|
|
144149
144149
|
var SYNC_METRIC_NAMESPACE = "HQPro/Sync";
|
|
144150
144150
|
var SYNC_LATENCY_METRIC_NAME = "hq-cloud.sync.p95_latency_seconds";
|
|
@@ -144212,7 +144212,7 @@ async function publishSyncLatencyMetric(metric, opts = {}) {
|
|
|
144212
144212
|
}
|
|
144213
144213
|
}
|
|
144214
144214
|
|
|
144215
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
144215
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/push-receiver.js
|
|
144216
144216
|
var DEFAULT_RECEIVER_DISPOSE_DRAIN_MS = 5e3;
|
|
144217
144217
|
var RECEIVER_SHUTDOWN_RELEASE_BUDGET_MS = 1500;
|
|
144218
144218
|
var DEFAULT_WAIT_TIME_SECONDS = 20;
|
|
@@ -145745,10 +145745,10 @@ function defaultSleep(ms, signal) {
|
|
|
145745
145745
|
});
|
|
145746
145746
|
}
|
|
145747
145747
|
|
|
145748
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
145748
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/logger.js
|
|
145749
145749
|
var import_pino = __toESM(require_pino(), 1);
|
|
145750
145750
|
|
|
145751
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
145751
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/path-leases.js
|
|
145752
145752
|
function assertCanonicalPath(path73) {
|
|
145753
145753
|
if (path73.length === 0 || path73.startsWith("/") || path73.endsWith("/") || path73.includes("\\") || path73.split("/").some((part) => part.length === 0 || part === "." || part === "..")) {
|
|
145754
145754
|
throw new Error(`path lease requires a canonical relative path: ${path73}`);
|
|
@@ -145811,7 +145811,7 @@ var PathLease = class {
|
|
|
145811
145811
|
}
|
|
145812
145812
|
};
|
|
145813
145813
|
|
|
145814
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
145814
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/parallel-sync-coordinator.js
|
|
145815
145815
|
var MAX_REALTIME_PULL_YIELDS = 3;
|
|
145816
145816
|
var MAX_REALTIME_PULL_YIELD_MS = 6e4;
|
|
145817
145817
|
var REALTIME_PULL_YIELD_STATE_TTL_MS = 10 * 6e4;
|
|
@@ -146318,7 +146318,7 @@ var DefaultParallelSyncCoordinator = class {
|
|
|
146318
146318
|
}
|
|
146319
146319
|
};
|
|
146320
146320
|
|
|
146321
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146321
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/sync-work.js
|
|
146322
146322
|
var InlineSyncWorkerAdapter = class {
|
|
146323
146323
|
handler;
|
|
146324
146324
|
constructor(handler) {
|
|
@@ -146329,11 +146329,11 @@ var InlineSyncWorkerAdapter = class {
|
|
|
146329
146329
|
}
|
|
146330
146330
|
};
|
|
146331
146331
|
|
|
146332
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146332
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/manifest/build-manifest.js
|
|
146333
146333
|
import * as fs57 from "node:fs";
|
|
146334
146334
|
import * as path54 from "node:path";
|
|
146335
146335
|
|
|
146336
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146336
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/company-slug.js
|
|
146337
146337
|
import * as path52 from "node:path";
|
|
146338
146338
|
var UNSAFE_SLUG_KEYS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
146339
146339
|
function isSafeCompanySlug(companiesDir, slug) {
|
|
@@ -146350,7 +146350,7 @@ function isSafeCompanySlug(companiesDir, slug) {
|
|
|
146350
146350
|
return path52.dirname(companyDir) === resolvedCompaniesDir;
|
|
146351
146351
|
}
|
|
146352
146352
|
|
|
146353
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146353
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/manifest/contract.js
|
|
146354
146354
|
var SYNC_MANIFEST_CONTRACT_VERSION = 1;
|
|
146355
146355
|
var SYNC_MANIFEST_SCOPE_KINDS = ["personal", "company"];
|
|
146356
146356
|
var SYNC_MANIFEST_SOURCES = ["desktop", "cli"];
|
|
@@ -146519,7 +146519,7 @@ var SYNC_MANIFEST_CONTRACT_DESCRIPTOR = {
|
|
|
146519
146519
|
}
|
|
146520
146520
|
};
|
|
146521
146521
|
|
|
146522
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146522
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/manifest/snapshot-store.js
|
|
146523
146523
|
import * as crypto18 from "node:crypto";
|
|
146524
146524
|
import * as fs56 from "node:fs";
|
|
146525
146525
|
import * as path53 from "node:path";
|
|
@@ -146694,7 +146694,7 @@ function writeSnapshotIncrementally(tmp, snapshot) {
|
|
|
146694
146694
|
}
|
|
146695
146695
|
var SNAPSHOT_WRITE_BATCH_CHARS = 256 * 1024;
|
|
146696
146696
|
|
|
146697
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146697
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/manifest/build-manifest.js
|
|
146698
146698
|
function logSwallowed11(line) {
|
|
146699
146699
|
process.stderr.write(line);
|
|
146700
146700
|
}
|
|
@@ -147303,7 +147303,7 @@ function buildChunk(input2, firstChunkRemovedPaths, chunkIndex, chunkCount, entr
|
|
|
147303
147303
|
return upload;
|
|
147304
147304
|
}
|
|
147305
147305
|
|
|
147306
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
147306
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/manifest/upload-manifest.js
|
|
147307
147307
|
import * as fs58 from "node:fs";
|
|
147308
147308
|
var MANIFEST_UPLOAD_DISABLED_ENV = "HQ_SYNC_MANIFEST_DISABLED";
|
|
147309
147309
|
var DEFAULT_MANIFEST_UPLOAD_MIN_INTERVAL_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -147872,7 +147872,7 @@ async function runUploadPassBody(options, scopeKey, persisted) {
|
|
|
147872
147872
|
};
|
|
147873
147873
|
}
|
|
147874
147874
|
|
|
147875
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
147875
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/watcher-catchup-skip-store.js
|
|
147876
147876
|
import * as fs59 from "node:fs";
|
|
147877
147877
|
import * as path55 from "node:path";
|
|
147878
147878
|
import { createHash as createHash36, randomUUID as randomUUID7 } from "node:crypto";
|
|
@@ -148120,7 +148120,7 @@ function validUnresolvedCompanyRecord(value) {
|
|
|
148120
148120
|
return typeof record2.company === "string" && record2.company.length > 0 && record2.reason === "unresolved-company" && typeof record2.recordedAt === "number" && Number.isFinite(record2.recordedAt);
|
|
148121
148121
|
}
|
|
148122
148122
|
|
|
148123
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148123
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/version.js
|
|
148124
148124
|
import { readFileSync as readFileSync35 } from "node:fs";
|
|
148125
148125
|
import { fileURLToPath as fileURLToPath4 } from "node:url";
|
|
148126
148126
|
import path56 from "node:path";
|
|
@@ -148128,7 +148128,7 @@ var here = path56.dirname(fileURLToPath4(import.meta.url));
|
|
|
148128
148128
|
var pkg = JSON.parse(readFileSync35(path56.resolve(here, "..", "package.json"), "utf-8"));
|
|
148129
148129
|
var HQ_CLOUD_VERSION = pkg.version;
|
|
148130
148130
|
|
|
148131
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148131
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/outcome-telemetry.js
|
|
148132
148132
|
import { promises as fs60 } from "node:fs";
|
|
148133
148133
|
import * as os19 from "node:os";
|
|
148134
148134
|
import * as path57 from "node:path";
|
|
@@ -148507,7 +148507,7 @@ async function collectAndSendOutcomeTelemetry(opts) {
|
|
|
148507
148507
|
return { enabled: true, optInSource, filesScanned, eventsSent, batchesSent };
|
|
148508
148508
|
}
|
|
148509
148509
|
|
|
148510
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148510
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/qmd-reindex.js
|
|
148511
148511
|
import * as fs61 from "fs";
|
|
148512
148512
|
import * as path58 from "path";
|
|
148513
148513
|
import { spawn as spawn2 } from "child_process";
|
|
@@ -149157,7 +149157,7 @@ function defaultHasIndexableProjectContent(projectsDir) {
|
|
|
149157
149157
|
return false;
|
|
149158
149158
|
}
|
|
149159
149159
|
|
|
149160
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149160
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/qmd-runner-admission.js
|
|
149161
149161
|
import fs62 from "node:fs";
|
|
149162
149162
|
import path59 from "node:path";
|
|
149163
149163
|
import { randomUUID as randomUUID8 } from "node:crypto";
|
|
@@ -149261,7 +149261,7 @@ nonce=${nonce}
|
|
|
149261
149261
|
};
|
|
149262
149262
|
}
|
|
149263
149263
|
|
|
149264
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149264
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex-async.js
|
|
149265
149265
|
import { Worker } from "node:worker_threads";
|
|
149266
149266
|
function reindexAsync(options) {
|
|
149267
149267
|
if (import.meta.url.endsWith(".ts"))
|
|
@@ -149320,7 +149320,7 @@ function reindexAsync(options) {
|
|
|
149320
149320
|
});
|
|
149321
149321
|
}
|
|
149322
149322
|
|
|
149323
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149323
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/agent-codex-instructions.js
|
|
149324
149324
|
import * as crypto19 from "crypto";
|
|
149325
149325
|
import * as fs63 from "fs";
|
|
149326
149326
|
import * as os20 from "os";
|
|
@@ -149480,7 +149480,7 @@ function materializeCodexAgents(opts) {
|
|
|
149480
149480
|
}
|
|
149481
149481
|
}
|
|
149482
149482
|
|
|
149483
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149483
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-post-sync-flags.js
|
|
149484
149484
|
var POST_SYNC_FLAG_KEYS = {
|
|
149485
149485
|
qmdReindex: "sync.qmd-reindex",
|
|
149486
149486
|
conflictPrune: "sync.conflict-prune",
|
|
@@ -149500,12 +149500,12 @@ function createPostSyncFlagEvaluator(options = {}) {
|
|
|
149500
149500
|
};
|
|
149501
149501
|
}
|
|
149502
149502
|
|
|
149503
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149503
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-manifest.js
|
|
149504
149504
|
import { createHash as createHash37, randomUUID as randomUUID9 } from "node:crypto";
|
|
149505
149505
|
import * as fs65 from "node:fs/promises";
|
|
149506
149506
|
import * as path62 from "node:path";
|
|
149507
149507
|
|
|
149508
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149508
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-installation-id.js
|
|
149509
149509
|
import * as fs64 from "node:fs";
|
|
149510
149510
|
import * as os21 from "node:os";
|
|
149511
149511
|
import * as path61 from "node:path";
|
|
@@ -149555,7 +149555,7 @@ function readDesktopInstallationId(options) {
|
|
|
149555
149555
|
return void 0;
|
|
149556
149556
|
}
|
|
149557
149557
|
|
|
149558
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149558
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-manifest.js
|
|
149559
149559
|
var RUNNER_MANIFEST_WALK_WALL_MS = 9e4;
|
|
149560
149560
|
var RUNNER_MANIFEST_PHASE_WALL_MS = 24e4;
|
|
149561
149561
|
var RUNNER_MANIFEST_REPAIR_POLL_SPACING_MS = 60 * 60 * 1e3;
|
|
@@ -150177,14 +150177,14 @@ async function runPostSyncManifestUploads(options) {
|
|
|
150177
150177
|
return emitted;
|
|
150178
150178
|
}
|
|
150179
150179
|
|
|
150180
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150180
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/lib/exit-codes.js
|
|
150181
150181
|
var PARTIAL_SYNC_EXIT = 2;
|
|
150182
150182
|
var UNRESOLVED_COMPANY_EXIT = 19;
|
|
150183
150183
|
var WATCH_RUNNER_ALREADY_OWNED_EXIT = 20;
|
|
150184
150184
|
var WATCH_OWNER_LEASE_LOST_EXIT = 21;
|
|
150185
150185
|
var PREFLIGHT_HALT_EXIT = 22;
|
|
150186
150186
|
|
|
150187
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150187
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-audit.js
|
|
150188
150188
|
import * as crypto20 from "node:crypto";
|
|
150189
150189
|
import * as fs66 from "node:fs";
|
|
150190
150190
|
import * as path63 from "node:path";
|
|
@@ -150233,7 +150233,7 @@ function hashNormalizedKey(key) {
|
|
|
150233
150233
|
return crypto20.createHash("sha256").update(normalized, "utf8").digest("hex");
|
|
150234
150234
|
}
|
|
150235
150235
|
|
|
150236
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150236
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/watch-owner-lease.js
|
|
150237
150237
|
import { spawnSync as spawnSync4 } from "node:child_process";
|
|
150238
150238
|
import { randomUUID as randomUUID10 } from "node:crypto";
|
|
150239
150239
|
import * as fs67 from "node:fs";
|
|
@@ -150604,7 +150604,7 @@ function acquireWatchOwnerLease(hqRoot, owner = "unknown", options = {}) {
|
|
|
150604
150604
|
};
|
|
150605
150605
|
}
|
|
150606
150606
|
|
|
150607
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150607
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/watch-parent.js
|
|
150608
150608
|
var WATCH_PARENT_CHECK_INTERVAL_MS = 1e3;
|
|
150609
150609
|
function processExists(pid) {
|
|
150610
150610
|
try {
|
|
@@ -150655,7 +150655,7 @@ function startWatchParentExitMonitor(options) {
|
|
|
150655
150655
|
};
|
|
150656
150656
|
}
|
|
150657
150657
|
|
|
150658
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150658
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-events.js
|
|
150659
150659
|
var ERROR_TYPES = /* @__PURE__ */ new Set([
|
|
150660
150660
|
"error",
|
|
150661
150661
|
"auth-error"
|
|
@@ -150701,7 +150701,7 @@ function emitUncaughtRunnerError(err, streams) {
|
|
|
150701
150701
|
}
|
|
150702
150702
|
}
|
|
150703
150703
|
|
|
150704
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150704
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-stdout.js
|
|
150705
150705
|
import { format as format4 } from "node:util";
|
|
150706
150706
|
function redirectRunnerConsoleToStderr(runnerConsole, stderr) {
|
|
150707
150707
|
const writeDiagnostic = (...args) => {
|
|
@@ -150717,7 +150717,7 @@ function runWithRunnerConsoleStderr(startRunner, runnerConsole = console, stderr
|
|
|
150717
150717
|
return startRunner();
|
|
150718
150718
|
}
|
|
150719
150719
|
|
|
150720
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150720
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-planning.js
|
|
150721
150721
|
function verifiedMemberCompanyUids(options) {
|
|
150722
150722
|
if (!options.companies)
|
|
150723
150723
|
return void 0;
|
|
@@ -150882,7 +150882,7 @@ function emitFanoutPlan(emit, plan) {
|
|
|
150882
150882
|
emit({ type: "fanout-plan", companies: plan });
|
|
150883
150883
|
}
|
|
150884
150884
|
|
|
150885
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150885
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-pass-request.js
|
|
150886
150886
|
import * as fs68 from "node:fs";
|
|
150887
150887
|
import * as path65 from "node:path";
|
|
150888
150888
|
function buildPassRequestArgv(passArgv, company) {
|
|
@@ -151133,7 +151133,7 @@ var SyncPassRequestDirectory = class _SyncPassRequestDirectory {
|
|
|
151133
151133
|
}
|
|
151134
151134
|
};
|
|
151135
151135
|
|
|
151136
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151136
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/active-company.js
|
|
151137
151137
|
import { randomUUID as randomUUID11 } from "node:crypto";
|
|
151138
151138
|
import * as fs69 from "node:fs";
|
|
151139
151139
|
import * as path66 from "node:path";
|
|
@@ -151225,7 +151225,7 @@ function seedActiveCompany(options) {
|
|
|
151225
151225
|
return { written: true, activeCompany };
|
|
151226
151226
|
}
|
|
151227
151227
|
|
|
151228
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151228
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/manifest-reconcile.js
|
|
151229
151229
|
import { randomUUID as randomUUID12 } from "node:crypto";
|
|
151230
151230
|
import * as fs70 from "node:fs";
|
|
151231
151231
|
import * as path67 from "node:path";
|
|
@@ -151439,17 +151439,17 @@ async function reconcileCompanyManifest(options) {
|
|
|
151439
151439
|
return reconcileManifest(options.hqRoot, resolvedTargets);
|
|
151440
151440
|
}
|
|
151441
151441
|
|
|
151442
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151442
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-company.js
|
|
151443
151443
|
import * as fs71 from "fs";
|
|
151444
151444
|
import * as path68 from "path";
|
|
151445
151445
|
import { createHash as createHash39, randomUUID as randomUUID13 } from "node:crypto";
|
|
151446
151446
|
|
|
151447
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151447
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/scope-inventory-client.js
|
|
151448
151448
|
function allowsLegacyNetwork(decision) {
|
|
151449
151449
|
return decision.network === "allow-legacy";
|
|
151450
151450
|
}
|
|
151451
151451
|
|
|
151452
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151452
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-rollup.js
|
|
151453
151453
|
function createCompanyState(company) {
|
|
151454
151454
|
return {
|
|
151455
151455
|
company,
|
|
@@ -151511,7 +151511,7 @@ function rollupAllComplete(plan, stateByCompany) {
|
|
|
151511
151511
|
};
|
|
151512
151512
|
}
|
|
151513
151513
|
|
|
151514
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151514
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-company.js
|
|
151515
151515
|
var PRUNED_SAMPLE_PATHS = 5;
|
|
151516
151516
|
function journalErrorClass(error64) {
|
|
151517
151517
|
if (error64 instanceof JournalIncompleteUpsertError)
|
|
@@ -152490,7 +152490,7 @@ function normalizePullChangedPaths(target, changedPaths) {
|
|
|
152490
152490
|
});
|
|
152491
152491
|
}
|
|
152492
152492
|
|
|
152493
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152493
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-telemetry.js
|
|
152494
152494
|
async function emitTelemetry(options) {
|
|
152495
152495
|
const telemetryFn = options.collectTelemetry ?? options.defaultCollectTelemetry;
|
|
152496
152496
|
await telemetryFn().catch((err) => {
|
|
@@ -152501,7 +152501,7 @@ async function emitTelemetry(options) {
|
|
|
152501
152501
|
});
|
|
152502
152502
|
}
|
|
152503
152503
|
|
|
152504
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152504
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-loop.js
|
|
152505
152505
|
import * as os22 from "os";
|
|
152506
152506
|
import * as path71 from "path";
|
|
152507
152507
|
import * as fs74 from "fs";
|
|
@@ -152509,7 +152509,7 @@ import { createHash as createHash40 } from "node:crypto";
|
|
|
152509
152509
|
import * as v8 from "node:v8";
|
|
152510
152510
|
import { performance as performance3 } from "node:perf_hooks";
|
|
152511
152511
|
|
|
152512
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152512
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/push-failure-backoff.js
|
|
152513
152513
|
var PUSH_FAILURE_BACKOFF_BASE_MS = 5e3;
|
|
152514
152514
|
var PUSH_FAILURE_BACKOFF_CAP_MS = 5 * 6e4;
|
|
152515
152515
|
var RoutePushFailureBackoff = class {
|
|
@@ -152536,12 +152536,12 @@ var systemPushRetryScheduler = {
|
|
|
152536
152536
|
clearTimeout: (handle) => clearTimeout(handle)
|
|
152537
152537
|
};
|
|
152538
152538
|
|
|
152539
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152539
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
152540
152540
|
var import_client_sqs = __toESM(require_dist_cjs42(), 1);
|
|
152541
152541
|
import { readFileSync as readFileSync42 } from "node:fs";
|
|
152542
152542
|
import { join as join69 } from "node:path";
|
|
152543
152543
|
|
|
152544
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152544
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/inbound-event-admission.js
|
|
152545
152545
|
import * as fs72 from "node:fs";
|
|
152546
152546
|
import * as path69 from "node:path";
|
|
152547
152547
|
function logSwallowed13(line) {
|
|
@@ -152607,7 +152607,7 @@ function isInboundEventPlaceable(hqRoot, event) {
|
|
|
152607
152607
|
}
|
|
152608
152608
|
}
|
|
152609
152609
|
|
|
152610
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152610
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/unchanged-push-events.js
|
|
152611
152611
|
import fs73 from "node:fs";
|
|
152612
152612
|
import path70 from "node:path";
|
|
152613
152613
|
function journalCoordinatesForPushEvent(relativePath) {
|
|
@@ -152649,7 +152649,7 @@ function unchangedPushEventPaths(events, hqRoot, lookup) {
|
|
|
152649
152649
|
return unchanged;
|
|
152650
152650
|
}
|
|
152651
152651
|
|
|
152652
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152652
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
152653
152653
|
function resolveEventSync(override) {
|
|
152654
152654
|
return !isEventSyncLocallyDisabled(override);
|
|
152655
152655
|
}
|
|
@@ -153361,7 +153361,7 @@ async function startEventSync(opts) {
|
|
|
153361
153361
|
};
|
|
153362
153362
|
}
|
|
153363
153363
|
|
|
153364
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153364
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-auto-migration.js
|
|
153365
153365
|
var AREA_AUTO_MIGRATION_STARTED_EVENT = "area_migration_started";
|
|
153366
153366
|
var AREA_AUTO_MIGRATION_COMPLETED_EVENT = "area_migration_completed";
|
|
153367
153367
|
var AREA_AUTO_MIGRATION_SOURCE = "sync-runner";
|
|
@@ -153514,7 +153514,7 @@ function describe3(error64) {
|
|
|
153514
153514
|
return error64 instanceof Error ? error64.message : String(error64);
|
|
153515
153515
|
}
|
|
153516
153516
|
|
|
153517
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153517
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-heap-telemetry.js
|
|
153518
153518
|
import * as perfHooks from "node:perf_hooks";
|
|
153519
153519
|
var CENSUS_TOKEN = /^[A-Za-z][A-Za-z0-9_]{0,48}$/;
|
|
153520
153520
|
var HeapCensus = class {
|
|
@@ -154501,7 +154501,7 @@ function nodeHeapReaders(v82) {
|
|
|
154501
154501
|
};
|
|
154502
154502
|
}
|
|
154503
154503
|
|
|
154504
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154504
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/sync/idle-full-reconcile.js
|
|
154505
154505
|
var MAX_UNOBSERVED_TICK_GAP_MS = 6e4;
|
|
154506
154506
|
var MAX_CLOCK_DRIFT_MS = 5e3;
|
|
154507
154507
|
var FullPassContinuity = class {
|
|
@@ -154556,7 +154556,7 @@ function canSkipScheduledFullReconcile(proof) {
|
|
|
154556
154556
|
return true;
|
|
154557
154557
|
}
|
|
154558
154558
|
|
|
154559
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154559
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-loop.js
|
|
154560
154560
|
var FULL_RECONCILE_EVERY_TICKS = 10;
|
|
154561
154561
|
var warnedUnresolvedReceiverCompanies = /* @__PURE__ */ new Set();
|
|
154562
154562
|
var EVENT_SYNC_STARTUP_SHUTDOWN_WAIT_MS = 5e3;
|
|
@@ -159792,7 +159792,7 @@ async function runWatchLoop(argv, parsed, deps, runtime) {
|
|
|
159792
159792
|
}
|
|
159793
159793
|
}
|
|
159794
159794
|
|
|
159795
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
159795
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-auth-wait.js
|
|
159796
159796
|
var AUTH_WAIT_INITIAL_RECHECK_MS = 6e4;
|
|
159797
159797
|
var AUTH_WAIT_STEADY_RECHECK_MS = 5 * 6e4;
|
|
159798
159798
|
var AUTH_WAIT_LIVENESS_INTERVAL_MS = 30 * 6e4;
|
|
@@ -159865,7 +159865,7 @@ async function waitForValidAuth(opts) {
|
|
|
159865
159865
|
return "stopped";
|
|
159866
159866
|
}
|
|
159867
159867
|
|
|
159868
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
159868
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.91/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
159869
159869
|
var SESSION_LOG_CAPTURE_QUIET_FOR_MS = 10 * 6e4;
|
|
159870
159870
|
var SESSION_LOG_CAPTURE_MAX_STALENESS_MS = 60 * 6e4;
|
|
159871
159871
|
var DEFAULT_COGNITO = {
|