@indigoai-us/hq-cli 5.345.180 → 5.345.182
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 +7 -0
- package/dist/commands/bot.js +37 -9
- package/dist/hq-cloud-sync-runner/bin/sync-runner.js +204 -201
- package/dist/hq-cloud-sync-runner/package.json +1 -1
- package/dist/lib/bot/fleet-local.d.ts +7 -3
- package/dist/lib/bot/fleet-local.js +171 -53
- package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
- package/dist/lib/flag-registry-worker-source.generated.js +1 -1
- package/dist/lib/sync-core/flag.d.ts +1 -1
- package/dist/lib/sync-core/flag.js +1 -1
- package/package.json +8 -8
|
@@ -79366,12 +79366,12 @@ 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.106/node_modules/@indigoai-us/hq-cloud/dist/push-identity-fence.js
|
|
79370
79370
|
import * as crypto2 from "crypto";
|
|
79371
79371
|
import * as fs2 from "fs";
|
|
79372
79372
|
import * as path from "path";
|
|
79373
79373
|
|
|
79374
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79374
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/fsync-compat.js
|
|
79375
79375
|
import * as fs from "node:fs";
|
|
79376
79376
|
var UNSUPPORTED_DIRECTORY_FSYNC_CODES = /* @__PURE__ */ new Set(["EINVAL", "ENOTSUP", "EOPNOTSUPP", "EPERM"]);
|
|
79377
79377
|
var loggedSkips = /* @__PURE__ */ new Set();
|
|
@@ -79395,7 +79395,7 @@ function fsyncWithCompatibility(fd, options) {
|
|
|
79395
79395
|
}
|
|
79396
79396
|
}
|
|
79397
79397
|
|
|
79398
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79398
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/push-identity-fence.js
|
|
79399
79399
|
var RECORD_FORMAT = "hq-push-identity@2";
|
|
79400
79400
|
var MACHINE_FORMAT = "hq-push-identity-machine@1";
|
|
79401
79401
|
var PERSON_FORMAT = "hq-push-identity-person@1";
|
|
@@ -79665,14 +79665,14 @@ function writeJsonAtomic(filePath, value) {
|
|
|
79665
79665
|
}
|
|
79666
79666
|
}
|
|
79667
79667
|
|
|
79668
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79668
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-self-profile.js
|
|
79669
79669
|
import * as fs28 from "node:fs";
|
|
79670
79670
|
import * as os6 from "node:os";
|
|
79671
79671
|
import * as path24 from "node:path";
|
|
79672
79672
|
import { Session } from "node:inspector";
|
|
79673
79673
|
import { fileURLToPath as fileURLToPath3, pathToFileURL } from "node:url";
|
|
79674
79674
|
|
|
79675
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79675
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/watcher.js
|
|
79676
79676
|
import * as fs27 from "fs";
|
|
79677
79677
|
import { createHash as createHash19 } from "node:crypto";
|
|
79678
79678
|
import { readFile as readFile8, stat as stat4 } from "node:fs/promises";
|
|
@@ -81368,7 +81368,7 @@ function watch(paths, options = {}) {
|
|
|
81368
81368
|
return watcher;
|
|
81369
81369
|
}
|
|
81370
81370
|
|
|
81371
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81371
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cloud-placeholder.js
|
|
81372
81372
|
import * as fs3 from "fs";
|
|
81373
81373
|
import * as path2 from "path";
|
|
81374
81374
|
var CLOUD_PLACEHOLDER_SUFFIX = ".hqcloud";
|
|
@@ -81806,18 +81806,18 @@ function writeCloudPlaceholder(placeholderPath, placeholder) {
|
|
|
81806
81806
|
}
|
|
81807
81807
|
}
|
|
81808
81808
|
|
|
81809
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81809
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/ignore.js
|
|
81810
81810
|
var import_ignore = __toESM(require_ignore(), 1);
|
|
81811
81811
|
import * as fs4 from "fs";
|
|
81812
81812
|
import * as path3 from "path";
|
|
81813
81813
|
|
|
81814
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81814
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/restore-staging.js
|
|
81815
81815
|
var RESTORE_STAGING_SUFFIX = /\.hq-restore-(?:\d+(?:-\d+)?|probe-\d+-[0-9a-z]+)$/i;
|
|
81816
81816
|
function isRestoreStagingPath(relativePath) {
|
|
81817
81817
|
return relativePath.split(/[\\/]/).some((segment) => RESTORE_STAGING_SUFFIX.test(segment));
|
|
81818
81818
|
}
|
|
81819
81819
|
|
|
81820
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81820
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/best-effort-error.js
|
|
81821
81821
|
var EXPECTED_ABSENCE_CODES = /* @__PURE__ */ new Set([
|
|
81822
81822
|
"ENOENT",
|
|
81823
81823
|
"NoSuchKey",
|
|
@@ -81859,7 +81859,7 @@ function noteSwallowedError(log, event, error64, options = {}) {
|
|
|
81859
81859
|
`);
|
|
81860
81860
|
}
|
|
81861
81861
|
|
|
81862
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81862
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/ignore.js
|
|
81863
81863
|
function logSwallowed(line) {
|
|
81864
81864
|
process.stderr.write(line);
|
|
81865
81865
|
}
|
|
@@ -82572,7 +82572,7 @@ function isWithinSizeLimit(filePath, maxBytes = SYNC_MAX_FILE_BYTES) {
|
|
|
82572
82572
|
}
|
|
82573
82573
|
}
|
|
82574
82574
|
|
|
82575
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
82575
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/watch-roots.js
|
|
82576
82576
|
import * as fs5 from "fs";
|
|
82577
82577
|
import * as path4 from "path";
|
|
82578
82578
|
function defaultListChildDirs(dir, onSymlinkEntry) {
|
|
@@ -82646,7 +82646,7 @@ function isCoveredByRecursiveRoot(absolutePath, recursiveRoots) {
|
|
|
82646
82646
|
}
|
|
82647
82647
|
}
|
|
82648
82648
|
|
|
82649
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
82649
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/watch-coverage.js
|
|
82650
82650
|
import * as fs6 from "fs";
|
|
82651
82651
|
function directoryIdentityAt(absolutePath) {
|
|
82652
82652
|
try {
|
|
@@ -82683,7 +82683,7 @@ function probeScopedWatchCoverage(input2) {
|
|
|
82683
82683
|
return { ok: true };
|
|
82684
82684
|
}
|
|
82685
82685
|
|
|
82686
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
82686
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/local-path-codec.js
|
|
82687
82687
|
import * as path5 from "path";
|
|
82688
82688
|
var WIN32_RESERVED_CHARS = /[<>:"/\\|?*]/;
|
|
82689
82689
|
var WIN32_DEVICE_NAME = /^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\..*)?$/i;
|
|
@@ -82741,7 +82741,7 @@ function canonicalVaultKeySpelling(key) {
|
|
|
82741
82741
|
return segments.join("/");
|
|
82742
82742
|
}
|
|
82743
82743
|
|
|
82744
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
82744
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/personal-vault-exclusions.js
|
|
82745
82745
|
import * as path6 from "path";
|
|
82746
82746
|
import * as fs7 from "fs";
|
|
82747
82747
|
function hasSegment(relPath, segment) {
|
|
@@ -83038,7 +83038,7 @@ function wrapFilterWithPersonalVaultDefaults(underlying, syncRoot, onExcluded, o
|
|
|
83038
83038
|
};
|
|
83039
83039
|
}
|
|
83040
83040
|
|
|
83041
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
83041
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/state-store.js
|
|
83042
83042
|
import * as crypto3 from "node:crypto";
|
|
83043
83043
|
import * as fs8 from "node:fs";
|
|
83044
83044
|
import * as path7 from "node:path";
|
|
@@ -86094,11 +86094,11 @@ function crc32c(bytes) {
|
|
|
86094
86094
|
return (crc ^ 4294967295) >>> 0;
|
|
86095
86095
|
}
|
|
86096
86096
|
|
|
86097
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
86097
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/personal-vault.js
|
|
86098
86098
|
import * as fs14 from "fs";
|
|
86099
86099
|
import * as path12 from "path";
|
|
86100
86100
|
|
|
86101
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
86101
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/journal.js
|
|
86102
86102
|
import * as fs13 from "fs";
|
|
86103
86103
|
import * as os2 from "os";
|
|
86104
86104
|
import * as path11 from "path";
|
|
@@ -86106,7 +86106,7 @@ import * as crypto8 from "crypto";
|
|
|
86106
86106
|
import { spawn } from "node:child_process";
|
|
86107
86107
|
import { fileURLToPath } from "node:url";
|
|
86108
86108
|
|
|
86109
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
86109
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/journal-decode-window.js
|
|
86110
86110
|
var JOURNAL_DECODE_WINDOW = 1e4;
|
|
86111
86111
|
var rowsInFlight = 0;
|
|
86112
86112
|
var peakRowsInFlight = 0;
|
|
@@ -86165,7 +86165,7 @@ function journalFingerprintMatchesStat(fingerprint, lstat3) {
|
|
|
86165
86165
|
return lstat3.size === fingerprint.size && lstat3.mtimeMs === fingerprint.mtimeMs && lstat3.ctimeMs === fingerprint.ctimeMs;
|
|
86166
86166
|
}
|
|
86167
86167
|
|
|
86168
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
86168
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/journal-row-store.js
|
|
86169
86169
|
var HASH_BYTES = 32;
|
|
86170
86170
|
var ETAG_BYTES = 16;
|
|
86171
86171
|
var INITIAL_ROW_CAPACITY = 16;
|
|
@@ -87675,7 +87675,7 @@ function readOptionalBoolean(entry, key, flags, presentBit, valueBit) {
|
|
|
87675
87675
|
entry[key] = Boolean(flags & valueBit);
|
|
87676
87676
|
}
|
|
87677
87677
|
|
|
87678
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87678
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/journal-record-proxy.js
|
|
87679
87679
|
var rowsByRecordProxy = /* @__PURE__ */ new WeakMap();
|
|
87680
87680
|
function journalRecordRows(files) {
|
|
87681
87681
|
return rowsByRecordProxy.get(files);
|
|
@@ -87741,13 +87741,13 @@ function createJournalRecordProxy(store) {
|
|
|
87741
87741
|
return proxy;
|
|
87742
87742
|
}
|
|
87743
87743
|
|
|
87744
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87744
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-decoder.js
|
|
87745
87745
|
import { StringDecoder } from "node:string_decoder";
|
|
87746
87746
|
|
|
87747
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87747
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-v4.js
|
|
87748
87748
|
import * as crypto4 from "node:crypto";
|
|
87749
87749
|
|
|
87750
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87750
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-rows.js
|
|
87751
87751
|
var packedJournalRows = /* @__PURE__ */ new WeakMap();
|
|
87752
87752
|
var sharedAreaJournalRowStores = /* @__PURE__ */ new Map();
|
|
87753
87753
|
function areaJournalRowsCacheKey(rootDir, slug) {
|
|
@@ -87770,7 +87770,7 @@ function forgetSharedAreaJournalRows(cacheKey) {
|
|
|
87770
87770
|
sharedAreaJournalRowStores.delete(cacheKey);
|
|
87771
87771
|
}
|
|
87772
87772
|
|
|
87773
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87773
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-v4.js
|
|
87774
87774
|
var JOURNAL_SNAPSHOT_V4_MAGIC = SNAPSHOT_V4_MAGIC;
|
|
87775
87775
|
var SNAPSHOT_FIXED_HEADER_BYTES2 = 52;
|
|
87776
87776
|
var SECTION_ALIGNMENT_BYTES = 8;
|
|
@@ -88302,7 +88302,7 @@ function assertLittleEndian() {
|
|
|
88302
88302
|
throw new Error("HQSNAP4 requires a little-endian host");
|
|
88303
88303
|
}
|
|
88304
88304
|
|
|
88305
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88305
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-decoder.js
|
|
88306
88306
|
function decodeJournalSnapshot(chunks, magic) {
|
|
88307
88307
|
if (magic.equals(SNAPSHOT_V3_MAGIC))
|
|
88308
88308
|
return decodeV3JournalSnapshot(chunks);
|
|
@@ -88654,12 +88654,12 @@ function isPunctuation(value) {
|
|
|
88654
88654
|
return value === "{" || value === "}" || value === "[" || value === "]" || value === ":" || value === ",";
|
|
88655
88655
|
}
|
|
88656
88656
|
|
|
88657
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88657
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/posix-key.js
|
|
88658
88658
|
function toPosixKey(key) {
|
|
88659
88659
|
return key.split("\\").join("/");
|
|
88660
88660
|
}
|
|
88661
88661
|
|
|
88662
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88662
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/path-ancestors.js
|
|
88663
88663
|
function isUnderAnyRoot(key, roots) {
|
|
88664
88664
|
if (roots.has(key))
|
|
88665
88665
|
return true;
|
|
@@ -88672,7 +88672,7 @@ function isUnderAnyRoot(key, roots) {
|
|
|
88672
88672
|
return false;
|
|
88673
88673
|
}
|
|
88674
88674
|
|
|
88675
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88675
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/journal-ledger-stream.js
|
|
88676
88676
|
import * as fs9 from "node:fs";
|
|
88677
88677
|
import { StringDecoder as StringDecoder2 } from "node:string_decoder";
|
|
88678
88678
|
var CHUNK_BYTES = 1 << 18;
|
|
@@ -88786,7 +88786,7 @@ function streamJournalLedgerRows(filePath, onRow) {
|
|
|
88786
88786
|
}
|
|
88787
88787
|
}
|
|
88788
88788
|
|
|
88789
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88789
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/area-resolver.js
|
|
88790
88790
|
import * as fs10 from "fs";
|
|
88791
88791
|
import * as path8 from "path";
|
|
88792
88792
|
var AREA_LAYOUT_FORMAT = 1;
|
|
@@ -89097,12 +89097,12 @@ function compareText(left, right) {
|
|
|
89097
89097
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
89098
89098
|
}
|
|
89099
89099
|
|
|
89100
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
89100
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-migration.js
|
|
89101
89101
|
import * as crypto7 from "node:crypto";
|
|
89102
89102
|
import * as fs12 from "node:fs";
|
|
89103
89103
|
import * as path10 from "node:path";
|
|
89104
89104
|
|
|
89105
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
89105
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/operation-lock.js
|
|
89106
89106
|
import * as crypto5 from "crypto";
|
|
89107
89107
|
import * as fs11 from "fs";
|
|
89108
89108
|
import * as os from "os";
|
|
@@ -89732,7 +89732,7 @@ function withOperationLockSync(hqRoot, command5, fn, opts = {}) {
|
|
|
89732
89732
|
}
|
|
89733
89733
|
}
|
|
89734
89734
|
|
|
89735
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
89735
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger.js
|
|
89736
89736
|
import * as crypto6 from "node:crypto";
|
|
89737
89737
|
var DIRECT_DELTA = 1;
|
|
89738
89738
|
var PREPARED_TRANSACTION = 2;
|
|
@@ -91161,7 +91161,7 @@ function cloneMetadata(metadata) {
|
|
|
91161
91161
|
return result;
|
|
91162
91162
|
}
|
|
91163
91163
|
|
|
91164
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91164
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-migration.js
|
|
91165
91165
|
function logSwallowed2(line) {
|
|
91166
91166
|
process.stderr.write(line);
|
|
91167
91167
|
}
|
|
@@ -91921,7 +91921,7 @@ function canonicalJsonOrUndefined(value) {
|
|
|
91921
91921
|
return value === void 0 ? void 0 : canonicalJson2(value);
|
|
91922
91922
|
}
|
|
91923
91923
|
|
|
91924
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91924
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/per-area-maintenance.js
|
|
91925
91925
|
var AREA_MAINTENANCE_CURSOR_FORMAT = 1;
|
|
91926
91926
|
var CURSOR_SET = 1;
|
|
91927
91927
|
var AreaMaintenanceCursorStore = class _AreaMaintenanceCursorStore {
|
|
@@ -92023,7 +92023,7 @@ function sameAreas(left, right) {
|
|
|
92023
92023
|
return left.length === right.length && left.every((areaId, index) => areaId === right[index]);
|
|
92024
92024
|
}
|
|
92025
92025
|
|
|
92026
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
92026
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/journal.js
|
|
92027
92027
|
var TOMBSTONE_TTL_MS = 30 * 24 * 60 * 60 * 1e3;
|
|
92028
92028
|
var JOURNAL_VERSION_CURRENT = "2";
|
|
92029
92029
|
var MAX_PULLS_PER_COMPANY = 50;
|
|
@@ -94238,7 +94238,7 @@ function gcTombstones(journal, now = Date.now()) {
|
|
|
94238
94238
|
return removed;
|
|
94239
94239
|
}
|
|
94240
94240
|
|
|
94241
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94241
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/personal-vault.js
|
|
94242
94242
|
function logSwallowed3(line) {
|
|
94243
94243
|
process.stderr.write(line);
|
|
94244
94244
|
}
|
|
@@ -94616,7 +94616,7 @@ function purgeExcludedPersonalVaultJournalEntries(journal, hqRoot, syncRoot, sho
|
|
|
94616
94616
|
return { removed, byReason };
|
|
94617
94617
|
}
|
|
94618
94618
|
|
|
94619
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94619
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/local-link-warning.js
|
|
94620
94620
|
import fs15 from "node:fs";
|
|
94621
94621
|
import path13 from "node:path";
|
|
94622
94622
|
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.";
|
|
@@ -94733,7 +94733,7 @@ function linkWarningMessage(warning6) {
|
|
|
94733
94733
|
return `Skipped symbolic link (${warning6.reason}). ${warning6.remedy}`;
|
|
94734
94734
|
}
|
|
94735
94735
|
|
|
94736
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94736
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/parent-link-alias.js
|
|
94737
94737
|
import fs16 from "node:fs";
|
|
94738
94738
|
import path14 from "node:path";
|
|
94739
94739
|
function linkedParentBelowRoot(root5, dir, realRoot, realDir) {
|
|
@@ -94784,12 +94784,12 @@ function inRootAliasPath(root5, absolutePath) {
|
|
|
94784
94784
|
return path14.join(rel, path14.basename(absolutePath)).split(path14.sep).join("/");
|
|
94785
94785
|
}
|
|
94786
94786
|
|
|
94787
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94787
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
94788
94788
|
import * as fs25 from "fs";
|
|
94789
94789
|
import * as path20 from "path";
|
|
94790
94790
|
import * as crypto11 from "crypto";
|
|
94791
94791
|
|
|
94792
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94792
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/local-replacement.js
|
|
94793
94793
|
import * as crypto9 from "crypto";
|
|
94794
94794
|
import * as fs17 from "fs";
|
|
94795
94795
|
import * as os3 from "os";
|
|
@@ -94845,11 +94845,11 @@ function shouldRecordLocalDeleteIntent(localPath, absent) {
|
|
|
94845
94845
|
return absent && !isLocalPathBeingReplaced(localPath);
|
|
94846
94846
|
}
|
|
94847
94847
|
|
|
94848
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94848
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
94849
94849
|
import { Readable as Readable20, Transform as Transform3 } from "stream";
|
|
94850
94850
|
import { pipeline } from "stream/promises";
|
|
94851
94851
|
|
|
94852
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94852
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/net-errors.js
|
|
94853
94853
|
var TRANSIENT_NETWORK_EXIT = 75;
|
|
94854
94854
|
var TRANSIENT_CODES = /* @__PURE__ */ new Set([
|
|
94855
94855
|
"ECONNREFUSED",
|
|
@@ -94959,7 +94959,7 @@ function hasDeniedConnect(err, depth) {
|
|
|
94959
94959
|
return false;
|
|
94960
94960
|
}
|
|
94961
94961
|
|
|
94962
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94962
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-entity-meta.js
|
|
94963
94963
|
var ONTOLOGY_ENTITY_KEY = /^ontology\/entities\/[a-z][a-z0-9-]*\/[^/]+\.md$/;
|
|
94964
94964
|
var ENTITY_LAST_UPDATED_META_KEY = "hq-entity-last-updated";
|
|
94965
94965
|
function ontologyVaultKey(relPath) {
|
|
@@ -94991,13 +94991,13 @@ function buildEntityMetadata(key, body) {
|
|
|
94991
94991
|
return stamp === null ? {} : { [ENTITY_LAST_UPDATED_META_KEY]: stamp };
|
|
94992
94992
|
}
|
|
94993
94993
|
|
|
94994
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94994
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
94995
94995
|
var import_client_s3 = __toESM(require_dist_cjs36(), 1);
|
|
94996
94996
|
import * as http3 from "node:http";
|
|
94997
94997
|
import * as https2 from "node:https";
|
|
94998
94998
|
import { Transform as Transform2 } from "node:stream";
|
|
94999
94999
|
|
|
95000
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
95000
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/s3-content-checksum.js
|
|
95001
95001
|
import { createHash as createHash16 } from "node:crypto";
|
|
95002
95002
|
var CHECKSUM_HEADER_NAMES = [
|
|
95003
95003
|
"content-md5",
|
|
@@ -95068,7 +95068,7 @@ function headersForObjectLockPut(url2, headers, body) {
|
|
|
95068
95068
|
return out;
|
|
95069
95069
|
}
|
|
95070
95070
|
|
|
95071
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
95071
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bandwidth.js
|
|
95072
95072
|
import { Transform } from "node:stream";
|
|
95073
95073
|
var MAX_BYTES_PER_SEC_ENV = "HQ_SYNC_MAX_BYTES_PER_SEC";
|
|
95074
95074
|
var MAX_CONCURRENCY_ENV = "HQ_SYNC_MAX_CONCURRENCY";
|
|
@@ -95469,7 +95469,7 @@ function getBandwidthGovernor() {
|
|
|
95469
95469
|
return singleton;
|
|
95470
95470
|
}
|
|
95471
95471
|
|
|
95472
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
95472
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/client-info.js
|
|
95473
95473
|
var HEADER_CLIENT_NAME = "x-hq-client-name";
|
|
95474
95474
|
var HEADER_CLIENT_VERSION = "x-hq-client-version";
|
|
95475
95475
|
var HEADER_HQ_CORE_VERSION = "x-hq-core-version";
|
|
@@ -95492,7 +95492,7 @@ function buildClientHeaders(info) {
|
|
|
95492
95492
|
return headers;
|
|
95493
95493
|
}
|
|
95494
95494
|
|
|
95495
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
95495
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/telemetry-events.js
|
|
95496
95496
|
var MAX_EVENTS_PER_BATCH = 50;
|
|
95497
95497
|
var DEFAULT_TIMEOUT_MS = 1500;
|
|
95498
95498
|
var MAX_PROPERTIES = 40;
|
|
@@ -95636,12 +95636,12 @@ function describeError(err) {
|
|
|
95636
95636
|
return err instanceof Error ? err.name : typeof err;
|
|
95637
95637
|
}
|
|
95638
95638
|
|
|
95639
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
95639
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/http-keepalive.js
|
|
95640
95640
|
import * as http from "node:http";
|
|
95641
95641
|
import * as https from "node:https";
|
|
95642
95642
|
import { Readable as Readable19 } from "node:stream";
|
|
95643
95643
|
|
|
95644
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
95644
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/realtime-telemetry.js
|
|
95645
95645
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
95646
95646
|
import { monitorEventLoopDelay } from "node:perf_hooks";
|
|
95647
95647
|
var REALTIME_TELEMETRY_EVENT = "sync.realtime.timing";
|
|
@@ -95831,7 +95831,7 @@ function writeRealtimeTelemetryToStderr(record2) {
|
|
|
95831
95831
|
`);
|
|
95832
95832
|
}
|
|
95833
95833
|
|
|
95834
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
95834
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/http-keepalive.js
|
|
95835
95835
|
var HTTP_AGENT = new http.Agent({ keepAlive: true, maxSockets: 8 });
|
|
95836
95836
|
var HTTPS_AGENT = new https.Agent({ keepAlive: true, maxSockets: 8 });
|
|
95837
95837
|
function getKeepAliveAgent(secure) {
|
|
@@ -95891,7 +95891,7 @@ function requestWithKeepAlive(url2, init) {
|
|
|
95891
95891
|
});
|
|
95892
95892
|
}
|
|
95893
95893
|
|
|
95894
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
95894
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync-request-counter.js
|
|
95895
95895
|
var counts = { vault: 0, list: 0, object: 0 };
|
|
95896
95896
|
var UNCOUNTED_VAULT_PATH_PREFIX = "/v1/telemetry/";
|
|
95897
95897
|
function syncRequestKindForVaultPath(path78) {
|
|
@@ -114782,7 +114782,7 @@ function date7(params) {
|
|
|
114782
114782
|
return _coercedDate(ZodDate, params);
|
|
114783
114783
|
}
|
|
114784
114784
|
|
|
114785
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
114785
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cognito-auth.js
|
|
114786
114786
|
import { spawnSync } from "child_process";
|
|
114787
114787
|
import * as crypto10 from "crypto";
|
|
114788
114788
|
import * as fs23 from "fs";
|
|
@@ -115304,7 +115304,7 @@ defineLazyProperty(apps, "browser", () => "browser");
|
|
|
115304
115304
|
defineLazyProperty(apps, "browserPrivate", () => "browserPrivate");
|
|
115305
115305
|
var open_default = open4;
|
|
115306
115306
|
|
|
115307
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115307
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cognito-auth.js
|
|
115308
115308
|
var CognitoAuthError = class extends Error {
|
|
115309
115309
|
constructor(message) {
|
|
115310
115310
|
super(message);
|
|
@@ -116616,7 +116616,7 @@ function pickNewerSession(fromKeychain, other) {
|
|
|
116616
116616
|
return expiresAtMs(other) > expiresAtMs(fromKeychain) ? other : fromKeychain;
|
|
116617
116617
|
}
|
|
116618
116618
|
|
|
116619
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
116619
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/credential-scope-error.js
|
|
116620
116620
|
var POLICY_WRITE_SCOPE_TRUNCATED = "POLICY_WRITE_SCOPE_TRUNCATED";
|
|
116621
116621
|
var VaultCredentialScopeError = class extends Error {
|
|
116622
116622
|
droppedWriteGrantPrefixes;
|
|
@@ -116658,7 +116658,7 @@ function assertCredentialScopeUsable(diagnostic) {
|
|
|
116658
116658
|
}
|
|
116659
116659
|
}
|
|
116660
116660
|
|
|
116661
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
116661
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/plan-limit.js
|
|
116662
116662
|
var PLAN_LIMIT_REACHED_ERROR = "plan_limit_reached";
|
|
116663
116663
|
var PLAN_LIMIT_CODES = /* @__PURE__ */ new Set([
|
|
116664
116664
|
"PLAN_LIMIT_EXCEEDED",
|
|
@@ -116801,7 +116801,7 @@ function formatPlanLimitNotice(event) {
|
|
|
116801
116801
|
return ` ! ${files} paused by your plan limit.${reason} Upgrade: ${event.upgradeUrl}`;
|
|
116802
116802
|
}
|
|
116803
116803
|
|
|
116804
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
116804
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/vault-client.js
|
|
116805
116805
|
var DEFAULT_GLOBAL_FETCH = globalThis.fetch;
|
|
116806
116806
|
var VaultClientError = class extends Error {
|
|
116807
116807
|
statusCode;
|
|
@@ -117763,7 +117763,7 @@ function parseVaultErrorBody(body) {
|
|
|
117763
117763
|
}
|
|
117764
117764
|
}
|
|
117765
117765
|
|
|
117766
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
117766
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
117767
117767
|
var OBJECT_IO_REQUEST_TIMEOUT_MS = 6e4;
|
|
117768
117768
|
var OBJECT_IO_REQUEST_TIMEOUT_PER_MIB_MS = 8e3;
|
|
117769
117769
|
var OBJECT_IO_BODY_IDLE_TIMEOUT_MS = 15e3;
|
|
@@ -119195,7 +119195,7 @@ function presignObjectIOFactory(vault, refresherFor, forceRefresherFor, options
|
|
|
119195
119195
|
};
|
|
119196
119196
|
}
|
|
119197
119197
|
|
|
119198
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119198
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/file-mode-portability.js
|
|
119199
119199
|
var WIN32_SYNTHETIC_MODES = /* @__PURE__ */ new Set([438, 292]);
|
|
119200
119200
|
function portableModeStamp(mode, platform5 = process.platform) {
|
|
119201
119201
|
if (platform5 === "win32")
|
|
@@ -119206,7 +119206,7 @@ function isPortableModeSignal(mode) {
|
|
|
119206
119206
|
return !WIN32_SYNTHETIC_MODES.has(mode & 511);
|
|
119207
119207
|
}
|
|
119208
119208
|
|
|
119209
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119209
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/script-eol.js
|
|
119210
119210
|
import * as path18 from "path";
|
|
119211
119211
|
var SCRIPT_EXTENSIONS = /* @__PURE__ */ new Set([".sh", ".bash", ".zsh"]);
|
|
119212
119212
|
var SHEBANG = Buffer.from("#!");
|
|
@@ -119262,7 +119262,7 @@ function normalizeScriptLineEndings(body) {
|
|
|
119262
119262
|
return changed ? out.subarray(0, n3) : null;
|
|
119263
119263
|
}
|
|
119264
119264
|
|
|
119265
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119265
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/symlink-target-policy.js
|
|
119266
119266
|
import path19 from "node:path";
|
|
119267
119267
|
import fs24 from "node:fs";
|
|
119268
119268
|
function personalSymlinkTargetLinkPath(relativePath) {
|
|
@@ -119485,7 +119485,7 @@ function redactShape(target, classification) {
|
|
|
119485
119485
|
return parents > 0 ? `relative-parent-${Math.min(parents, 8)}` : "relative-path";
|
|
119486
119486
|
}
|
|
119487
119487
|
|
|
119488
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119488
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
119489
119489
|
var DOWNLOAD_STREAM_MAX_RETRIES = 3;
|
|
119490
119490
|
var DOWNLOAD_STREAM_BASE_DELAY_MS = 400;
|
|
119491
119491
|
function sleepMs(ms) {
|
|
@@ -120764,7 +120764,7 @@ function getMimeType(filePath) {
|
|
|
120764
120764
|
return mimeTypes[ext] || "application/octet-stream";
|
|
120765
120765
|
}
|
|
120766
120766
|
|
|
120767
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
120767
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/push-event.js
|
|
120768
120768
|
var CONTENT_HASH_PATTERN = /^sha256:[0-9a-f]{64}$/;
|
|
120769
120769
|
var ISO8601_DATETIME_PATTERN = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/;
|
|
120770
120770
|
function nativeSeparatorsToPosix(relativePath, sep26) {
|
|
@@ -120859,7 +120859,7 @@ function decodePushEvent(input2) {
|
|
|
120859
120859
|
return parsed.data;
|
|
120860
120860
|
}
|
|
120861
120861
|
|
|
120862
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
120862
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-routes.js
|
|
120863
120863
|
import * as path21 from "path";
|
|
120864
120864
|
function routeChangeToTarget(relPath, kind) {
|
|
120865
120865
|
const norm = relPath.split(path21.sep).join("/").replace(/^\.\//, "");
|
|
@@ -121028,7 +121028,7 @@ function carriedFlags(baseArgv) {
|
|
|
121028
121028
|
return carried;
|
|
121029
121029
|
}
|
|
121030
121030
|
|
|
121031
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121031
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/push-transport.js
|
|
121032
121032
|
var moduleLoadFetch = globalThis.fetch;
|
|
121033
121033
|
var moduleLoadAbortController = globalThis.AbortController;
|
|
121034
121034
|
var successOutcomes = /* @__PURE__ */ new WeakMap();
|
|
@@ -121250,7 +121250,7 @@ var HttpPushTransport = class {
|
|
|
121250
121250
|
}
|
|
121251
121251
|
};
|
|
121252
121252
|
|
|
121253
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121253
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/case-alias.js
|
|
121254
121254
|
import * as fs26 from "fs";
|
|
121255
121255
|
import * as path22 from "path";
|
|
121256
121256
|
function foldVaultKey(key) {
|
|
@@ -121398,7 +121398,7 @@ function directoryFoldsCase(dir) {
|
|
|
121398
121398
|
return false;
|
|
121399
121399
|
}
|
|
121400
121400
|
|
|
121401
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121401
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/watcher.js
|
|
121402
121402
|
var DEBOUNCE_MS = 2e3;
|
|
121403
121403
|
var DEFAULT_EVENT_DEBOUNCE_MS = 6e4;
|
|
121404
121404
|
var DEFAULT_EVENT_MAX_WAIT_MS = 12e4;
|
|
@@ -124561,7 +124561,7 @@ var PushEventEmitter = class _PushEventEmitter {
|
|
|
124561
124561
|
}
|
|
124562
124562
|
};
|
|
124563
124563
|
|
|
124564
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124564
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-self-profile.js
|
|
124565
124565
|
var SELF_PROFILE_ENV = "HQ_SYNC_SELF_PROFILE";
|
|
124566
124566
|
var SELF_PROFILE_CPU_CORES_ENV = "HQ_SYNC_SELF_PROFILE_CPU_CORES";
|
|
124567
124567
|
var SELF_PROFILE_RSS_MB_ENV = "HQ_SYNC_SELF_PROFILE_RSS_MB";
|
|
@@ -125176,7 +125176,7 @@ function readRunnerVersion() {
|
|
|
125176
125176
|
}
|
|
125177
125177
|
}
|
|
125178
125178
|
|
|
125179
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125179
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
125180
125180
|
import * as os26 from "os";
|
|
125181
125181
|
import * as path77 from "path";
|
|
125182
125182
|
import * as fs81 from "fs";
|
|
@@ -125184,7 +125184,7 @@ import { randomUUID as randomUUID14 } from "node:crypto";
|
|
|
125184
125184
|
import { monitorEventLoopDelay as monitorEventLoopDelay2, performance as performance4 } from "node:perf_hooks";
|
|
125185
125185
|
import { fileURLToPath as fileURLToPath6 } from "url";
|
|
125186
125186
|
|
|
125187
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125187
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/context.js
|
|
125188
125188
|
import { createHash as createHash20 } from "node:crypto";
|
|
125189
125189
|
var REFRESH_THRESHOLD_MS = 2 * 60 * 1e3;
|
|
125190
125190
|
var DEFAULT_SESSION_DURATION_SECONDS = 900;
|
|
@@ -125415,13 +125415,13 @@ async function vendSelfCredentials(personUid, config2) {
|
|
|
125415
125415
|
return postVend(route, { personUid }, config2);
|
|
125416
125416
|
}
|
|
125417
125417
|
|
|
125418
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125418
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/realtime-rollout.js
|
|
125419
125419
|
var DEFAULT_REALTIME_AUTHORIZATION_TIMEOUT_MS = 15e3;
|
|
125420
125420
|
|
|
125421
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125421
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/candidate-uploader.js
|
|
125422
125422
|
var MAX_SMALL_CANDIDATE_BYTES = 8 * 1024 * 1024;
|
|
125423
125423
|
|
|
125424
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125424
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/multipart-uploader.js
|
|
125425
125425
|
var DEFAULT_GLOBAL_FETCH3 = globalThis.fetch;
|
|
125426
125426
|
var MULTIPART_PART_SIZE_BYTES = 8 * 1024 * 1024;
|
|
125427
125427
|
var MAX_MULTIPART_BYTES_IN_FLIGHT = 64 * 1024 * 1024;
|
|
@@ -125471,7 +125471,7 @@ var MultipartByteBudget = class {
|
|
|
125471
125471
|
};
|
|
125472
125472
|
var processByteBudget = new MultipartByteBudget();
|
|
125473
125473
|
|
|
125474
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125474
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/cloud-authoritative.js
|
|
125475
125475
|
var CLOUD_AUTHORITATIVE_PATTERNS = [
|
|
125476
125476
|
/^company-brief\.md$/,
|
|
125477
125477
|
/^board\.json$/,
|
|
@@ -125519,7 +125519,7 @@ function isPullReconciledServerOwned(relPath) {
|
|
|
125519
125519
|
return isCloudAuthoritative(vaultRel);
|
|
125520
125520
|
}
|
|
125521
125521
|
|
|
125522
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125522
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/server-owned-skips.js
|
|
125523
125523
|
var SERVER_OWNED_FOLDERS = [
|
|
125524
125524
|
{
|
|
125525
125525
|
folder: "sources/slack-dm/",
|
|
@@ -125582,13 +125582,13 @@ function groupServerOwnedSkips(paths, options = {}) {
|
|
|
125582
125582
|
return groups;
|
|
125583
125583
|
}
|
|
125584
125584
|
|
|
125585
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125585
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync-progress.js
|
|
125586
125586
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
125587
125587
|
import * as fs30 from "fs";
|
|
125588
125588
|
import * as os8 from "os";
|
|
125589
125589
|
import * as path26 from "path";
|
|
125590
125590
|
|
|
125591
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125591
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/conflict-notices.js
|
|
125592
125592
|
import { createHash as createHash21 } from "node:crypto";
|
|
125593
125593
|
import * as fs29 from "node:fs";
|
|
125594
125594
|
import * as os7 from "node:os";
|
|
@@ -125737,7 +125737,7 @@ function readPendingConflictNotices() {
|
|
|
125737
125737
|
return readNotices().filter((notice) => !acknowledged.has(notice.id)).slice(-MAX_PENDING_CONFLICT_NOTICES);
|
|
125738
125738
|
}
|
|
125739
125739
|
|
|
125740
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125740
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync-progress.js
|
|
125741
125741
|
function logSwallowed5(line) {
|
|
125742
125742
|
process.stderr.write(line);
|
|
125743
125743
|
}
|
|
@@ -126024,7 +126024,7 @@ function createPassSummaryRecorder() {
|
|
|
126024
126024
|
};
|
|
126025
126025
|
}
|
|
126026
126026
|
|
|
126027
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126027
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/prefix-coalesce.js
|
|
126028
126028
|
var SCOPE_PREFIX_MARKER = "\0hq-scope:";
|
|
126029
126029
|
var SCOPE_PREFIX_MARKER_PREFIX = `${SCOPE_PREFIX_MARKER}prefix`;
|
|
126030
126030
|
var SCOPE_PREFIX_MARKER_EXACT = `${SCOPE_PREFIX_MARKER}exact`;
|
|
@@ -126224,7 +126224,7 @@ function grantPathToScopePrefix(grantPath, slug) {
|
|
|
126224
126224
|
return pathToScopePrefix(p3);
|
|
126225
126225
|
}
|
|
126226
126226
|
|
|
126227
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126227
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/scope-shrink.js
|
|
126228
126228
|
import * as fs31 from "fs";
|
|
126229
126229
|
import * as path27 from "path";
|
|
126230
126230
|
function buildScopeShrinkPlan(input2) {
|
|
@@ -126520,18 +126520,18 @@ function applyScopeShrink(input2) {
|
|
|
126520
126520
|
};
|
|
126521
126521
|
}
|
|
126522
126522
|
|
|
126523
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126523
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/secret-path-policy.js
|
|
126524
126524
|
init_dist();
|
|
126525
126525
|
import * as fs32 from "fs";
|
|
126526
126526
|
import * as path28 from "path";
|
|
126527
126527
|
|
|
126528
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126528
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/flag-company-uid.js
|
|
126529
126529
|
var FLAG_COMPANY_UID_PATTERN = /^cmp_[A-Za-z0-9]{3,128}$/;
|
|
126530
126530
|
function flagCompanyUid(uid) {
|
|
126531
126531
|
return FLAG_COMPANY_UID_PATTERN.test(uid) ? uid : void 0;
|
|
126532
126532
|
}
|
|
126533
126533
|
|
|
126534
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126534
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/secret-path-policy.js
|
|
126535
126535
|
var SKIP_SECRET_PATHS_FLAG = "sync.skip-secret-paths";
|
|
126536
126536
|
var WAL_REJECTED_DELTA_RECOVERY_FLAG = "sync.wal-rejected-delta-recovery";
|
|
126537
126537
|
var FLAG_REFRESH_INTERVAL_MS = 5 * 6e4;
|
|
@@ -126681,7 +126681,7 @@ function isSkipSecretPathsEnabled(config2, companyUid, failClosed = false) {
|
|
|
126681
126681
|
return defaultSkipSecretPathsGate(config2, companyUid, failClosed);
|
|
126682
126682
|
}
|
|
126683
126683
|
|
|
126684
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126684
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/remote-pull.js
|
|
126685
126685
|
var VEND_PATH_CAP = 10;
|
|
126686
126686
|
var POST_FILTER_THRESHOLD = 50;
|
|
126687
126687
|
var VEND_FANOUT_CONCURRENCY = 5;
|
|
@@ -126768,11 +126768,11 @@ function dedupByKey(files) {
|
|
|
126768
126768
|
return out;
|
|
126769
126769
|
}
|
|
126770
126770
|
|
|
126771
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126771
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/multipart-upload.js
|
|
126772
126772
|
var MULTIPART_DEFAULT_PART_SIZE = 16 * 1024 * 1024;
|
|
126773
126773
|
var MIB = 1024 * 1024;
|
|
126774
126774
|
|
|
126775
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126775
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/pull-scope.js
|
|
126776
126776
|
import * as fs33 from "fs";
|
|
126777
126777
|
import * as path29 from "path";
|
|
126778
126778
|
var SESSIONS_SCOPE_PREFIX = "sessions/";
|
|
@@ -126843,7 +126843,7 @@ function readPinnedPrefixes(hqRoot, slug) {
|
|
|
126843
126843
|
return [];
|
|
126844
126844
|
}
|
|
126845
126845
|
|
|
126846
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126846
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/plan-limit-pause.js
|
|
126847
126847
|
import * as fs34 from "fs";
|
|
126848
126848
|
import * as path30 from "path";
|
|
126849
126849
|
var PLAN_LIMIT_PAUSE_RETRY_MS = 60 * 60 * 1e3;
|
|
@@ -127060,13 +127060,13 @@ var PlanLimitPauseStore = class _PlanLimitPauseStore {
|
|
|
127060
127060
|
}
|
|
127061
127061
|
};
|
|
127062
127062
|
|
|
127063
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127063
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/telemetry.js
|
|
127064
127064
|
import { createHash as createHash22 } from "node:crypto";
|
|
127065
127065
|
import { promises as fs39 } from "node:fs";
|
|
127066
127066
|
import * as os9 from "node:os";
|
|
127067
127067
|
import * as path34 from "node:path";
|
|
127068
127068
|
|
|
127069
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127069
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/telemetry-scan-cap.js
|
|
127070
127070
|
import { promises as fs35 } from "node:fs";
|
|
127071
127071
|
async function hasUnreadBytes(filePath, stored) {
|
|
127072
127072
|
let stat5;
|
|
@@ -127084,7 +127084,7 @@ async function hasUnreadBytes(filePath, stored) {
|
|
|
127084
127084
|
return stat5.size > offset;
|
|
127085
127085
|
}
|
|
127086
127086
|
|
|
127087
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127087
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/company-resolver.js
|
|
127088
127088
|
import { promises as fs36 } from "node:fs";
|
|
127089
127089
|
import * as path31 from "node:path";
|
|
127090
127090
|
|
|
@@ -129712,7 +129712,7 @@ var jsYaml = {
|
|
|
129712
129712
|
safeDump
|
|
129713
129713
|
};
|
|
129714
129714
|
|
|
129715
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129715
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/company-resolver.js
|
|
129716
129716
|
function logSwallowed6(line) {
|
|
129717
129717
|
process.stderr.write(line);
|
|
129718
129718
|
}
|
|
@@ -129923,7 +129923,7 @@ function resolveCompanyForCwd(cwd, map9) {
|
|
|
129923
129923
|
return collapsed !== c5 ? match(collapsed) : void 0;
|
|
129924
129924
|
}
|
|
129925
129925
|
|
|
129926
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129926
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/usage-company-fallback.js
|
|
129927
129927
|
import { promises as fs37 } from "node:fs";
|
|
129928
129928
|
import * as path32 from "node:path";
|
|
129929
129929
|
var TRUSTED_META_SOURCES = /* @__PURE__ */ new Set(["session"]);
|
|
@@ -130370,7 +130370,7 @@ function createUsageCompanyFallback(options) {
|
|
|
130370
130370
|
};
|
|
130371
130371
|
}
|
|
130372
130372
|
|
|
130373
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130373
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/telemetry/consent-source.js
|
|
130374
130374
|
var KNOWN_SOURCES = /* @__PURE__ */ new Set([
|
|
130375
130375
|
"plan-required",
|
|
130376
130376
|
"notice-pending",
|
|
@@ -130450,7 +130450,7 @@ function decideCollection(resp, local) {
|
|
|
130450
130450
|
}
|
|
130451
130451
|
}
|
|
130452
130452
|
|
|
130453
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130453
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/telemetry/pre-consent-buffer.js
|
|
130454
130454
|
import { randomBytes as randomBytes8 } from "node:crypto";
|
|
130455
130455
|
import { promises as fs38 } from "node:fs";
|
|
130456
130456
|
import * as path33 from "node:path";
|
|
@@ -130682,7 +130682,7 @@ async function discardPreConsentBuffer(file2, opts = {}) {
|
|
|
130682
130682
|
});
|
|
130683
130683
|
}
|
|
130684
130684
|
|
|
130685
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130685
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/telemetry.js
|
|
130686
130686
|
function emptyCursor() {
|
|
130687
130687
|
return { version: "1", files: {} };
|
|
130688
130688
|
}
|
|
@@ -131641,7 +131641,7 @@ async function collectAndSendTelemetry(opts) {
|
|
|
131641
131641
|
};
|
|
131642
131642
|
}
|
|
131643
131643
|
|
|
131644
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131644
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/skill-telemetry.js
|
|
131645
131645
|
import { createHash as createHash23 } from "node:crypto";
|
|
131646
131646
|
import { promises as fs40 } from "node:fs";
|
|
131647
131647
|
import * as os10 from "node:os";
|
|
@@ -132512,12 +132512,12 @@ async function collectAndSendSkillTelemetry(opts) {
|
|
|
132512
132512
|
};
|
|
132513
132513
|
}
|
|
132514
132514
|
|
|
132515
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132515
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
132516
132516
|
import * as fs52 from "fs";
|
|
132517
132517
|
import * as os16 from "os";
|
|
132518
132518
|
import * as path47 from "path";
|
|
132519
132519
|
|
|
132520
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132520
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync-pass-event.js
|
|
132521
132521
|
import { createHash as createHash24 } from "node:crypto";
|
|
132522
132522
|
import * as os11 from "node:os";
|
|
132523
132523
|
var SYNC_PASS_EVENT_NAME = "sync_pass";
|
|
@@ -132610,7 +132610,7 @@ function startSyncPassObservation(context, deps = {}) {
|
|
|
132610
132610
|
};
|
|
132611
132611
|
}
|
|
132612
132612
|
|
|
132613
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132613
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync-object-events.js
|
|
132614
132614
|
import { createHash as createHash25 } from "node:crypto";
|
|
132615
132615
|
var SYNC_CONFLICT_EVENT_NAME = "sync_conflict";
|
|
132616
132616
|
var SYNC_OVERWRITE_EVENT_NAME = "sync_overwrite";
|
|
@@ -132747,7 +132747,7 @@ function createSyncObjectEventSink(deps) {
|
|
|
132747
132747
|
};
|
|
132748
132748
|
}
|
|
132749
132749
|
|
|
132750
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132750
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/symlink-target-refusal-flag.js
|
|
132751
132751
|
init_dist();
|
|
132752
132752
|
var SYMLINK_TARGET_REFUSAL_FLAG = "sync.symlink-target-refusal";
|
|
132753
132753
|
var FLAG_READ_TIMEOUT_MS = 2e3;
|
|
@@ -132796,7 +132796,7 @@ async function resolveSymlinkTargetRefusalFlag(input2) {
|
|
|
132796
132796
|
}
|
|
132797
132797
|
}
|
|
132798
132798
|
|
|
132799
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132799
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/company-vault-transport.js
|
|
132800
132800
|
function selectObjectIOFactory(client, refresherFor, forceRefresherFor) {
|
|
132801
132801
|
if (typeof client.presign === "function" && typeof client.listFiles === "function") {
|
|
132802
132802
|
return presignObjectIOFactory(client, refresherFor, forceRefresherFor);
|
|
@@ -132814,7 +132814,7 @@ function ensureCompanyVaultTransport(vaultConfig, deps = {}) {
|
|
|
132814
132814
|
vaultConfig.companyVaultUsesPresign = objectIOFactory !== null;
|
|
132815
132815
|
}
|
|
132816
132816
|
|
|
132817
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132817
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync-decision-log.js
|
|
132818
132818
|
import * as fs41 from "node:fs";
|
|
132819
132819
|
import * as path36 from "node:path";
|
|
132820
132820
|
import { randomUUID as randomUUID4 } from "node:crypto";
|
|
@@ -132859,10 +132859,10 @@ function appendSyncDecision(input2, options = {}) {
|
|
|
132859
132859
|
}
|
|
132860
132860
|
}
|
|
132861
132861
|
|
|
132862
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132862
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
132863
132863
|
import * as crypto15 from "crypto";
|
|
132864
132864
|
|
|
132865
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132865
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/private-folder-transport.js
|
|
132866
132866
|
import * as fs42 from "fs";
|
|
132867
132867
|
import * as path37 from "path";
|
|
132868
132868
|
var CONTENT_SHA256_RE2 = /^[a-f0-9]{64}$/;
|
|
@@ -132954,7 +132954,7 @@ async function primePrivateFolderUpload(input2) {
|
|
|
132954
132954
|
}]);
|
|
132955
132955
|
}
|
|
132956
132956
|
|
|
132957
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132957
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/full-pass-caps.js
|
|
132958
132958
|
var FULL_PASS_CPU_CAP_FLAG = "sync.full-pass.cpu-cap-pct";
|
|
132959
132959
|
var FULL_PASS_HEAP_CAP_FLAG = "sync.full-pass.heap-cap-mb";
|
|
132960
132960
|
var FULL_PASS_DURABLE_PROGRESS_FLAG = "sync.full-pass-durable-progress";
|
|
@@ -133531,7 +133531,7 @@ var FullPassCapController = class {
|
|
|
133531
133531
|
}
|
|
133532
133532
|
};
|
|
133533
133533
|
|
|
133534
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133534
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/conflict.js
|
|
133535
133535
|
import * as readline from "readline";
|
|
133536
133536
|
function parseFrontmatterVersion(body) {
|
|
133537
133537
|
if (!body || body.length === 0)
|
|
@@ -133687,7 +133687,7 @@ async function promptConflict(conflict) {
|
|
|
133687
133687
|
}
|
|
133688
133688
|
}
|
|
133689
133689
|
|
|
133690
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133690
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/reconcile-skip-reason.js
|
|
133691
133691
|
var HUMAN_UP_TO_DATE_LINE_CAP = 20;
|
|
133692
133692
|
function isUpToDateSkipReason(reason) {
|
|
133693
133693
|
return reason === "already_up_to_date" || reason === "already_landed";
|
|
@@ -133747,7 +133747,7 @@ function createHumanSkipLineLog() {
|
|
|
133747
133747
|
};
|
|
133748
133748
|
}
|
|
133749
133749
|
|
|
133750
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133750
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/tombstones.js
|
|
133751
133751
|
import * as crypto12 from "node:crypto";
|
|
133752
133752
|
import * as fs43 from "node:fs";
|
|
133753
133753
|
import * as os12 from "node:os";
|
|
@@ -134141,7 +134141,7 @@ async function fetchTombstonePage(url2, token) {
|
|
|
134141
134141
|
throw new TombstoneFetchError(`FILE_TOMBSTONE fetch failed after ${attemptsMade} attempts; refusing to sync without delete suppression`, attemptsMade, lastError);
|
|
134142
134142
|
}
|
|
134143
134143
|
|
|
134144
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134144
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync-core.js
|
|
134145
134145
|
import { execSync } from "child_process";
|
|
134146
134146
|
import * as fs44 from "fs";
|
|
134147
134147
|
import * as os13 from "os";
|
|
@@ -134291,11 +134291,11 @@ function hasRemoteChanged(remote, entry) {
|
|
|
134291
134291
|
return remote.lastModified.getTime() > syncedAt;
|
|
134292
134292
|
}
|
|
134293
134293
|
|
|
134294
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134294
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-file.js
|
|
134295
134295
|
import * as crypto13 from "crypto";
|
|
134296
134296
|
import * as path41 from "path";
|
|
134297
134297
|
|
|
134298
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134298
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/machine-id.js
|
|
134299
134299
|
import { createHash as createHash27, randomUUID as randomUUID6 } from "node:crypto";
|
|
134300
134300
|
import * as fs45 from "node:fs";
|
|
134301
134301
|
import * as os14 from "node:os";
|
|
@@ -134415,7 +134415,7 @@ function readShortMachineId(hqRoot) {
|
|
|
134415
134415
|
return createHash27("sha1").update(full).digest("hex").slice(0, 6);
|
|
134416
134416
|
}
|
|
134417
134417
|
|
|
134418
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134418
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-file.js
|
|
134419
134419
|
var CONFLICT_BACKUPS_DIR = ".hq/conflict-backups";
|
|
134420
134420
|
var CONFLICT_PROBE_DIR = ".hq/tmp";
|
|
134421
134421
|
function safeTimestamp(detectedAt) {
|
|
@@ -134433,7 +134433,7 @@ function buildConflictId(originalRelative, detectedAt) {
|
|
|
134433
134433
|
return `${safePath}-${safeTimestamp(detectedAt)}`;
|
|
134434
134434
|
}
|
|
134435
134435
|
|
|
134436
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134436
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-index.js
|
|
134437
134437
|
import * as crypto14 from "crypto";
|
|
134438
134438
|
import * as fs46 from "fs";
|
|
134439
134439
|
import * as path42 from "path";
|
|
@@ -134587,7 +134587,7 @@ function pruneConflictIndex(hqRoot) {
|
|
|
134587
134587
|
return result;
|
|
134588
134588
|
}
|
|
134589
134589
|
|
|
134590
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134590
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/append-only-merge.js
|
|
134591
134591
|
import * as fs47 from "node:fs";
|
|
134592
134592
|
function isAppendOnlyPath(relativePath) {
|
|
134593
134593
|
const base = relativePath.split(/[\\/]/).pop() ?? "";
|
|
@@ -134659,7 +134659,7 @@ function appendIfUnchanged(file2, expected, merged) {
|
|
|
134659
134659
|
return "appended";
|
|
134660
134660
|
}
|
|
134661
134661
|
|
|
134662
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134662
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/board-merge.js
|
|
134663
134663
|
import * as fs48 from "node:fs";
|
|
134664
134664
|
import * as path43 from "node:path";
|
|
134665
134665
|
function isBoardJsonPath(relativePath) {
|
|
@@ -134805,7 +134805,7 @@ function replaceIfUnchanged(file2, expected, merged) {
|
|
|
134805
134805
|
return "appended";
|
|
134806
134806
|
}
|
|
134807
134807
|
|
|
134808
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134808
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/same-path-upload-lock.js
|
|
134809
134809
|
import { createHash as createHash28, randomBytes as randomBytes11 } from "node:crypto";
|
|
134810
134810
|
import * as fs49 from "node:fs";
|
|
134811
134811
|
import * as os15 from "node:os";
|
|
@@ -135122,7 +135122,7 @@ function findUploadIntent(scope, relativePath, hash3, notBeforeMs) {
|
|
|
135122
135122
|
return best;
|
|
135123
135123
|
}
|
|
135124
135124
|
|
|
135125
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
135125
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-entity-push.js
|
|
135126
135126
|
init_dist();
|
|
135127
135127
|
import { createHash as createHash29 } from "node:crypto";
|
|
135128
135128
|
var ONTOLOGY_ENTITY_PUSH_FLAG = "checkpoint.ontology";
|
|
@@ -135216,7 +135216,7 @@ ${caller}`;
|
|
|
135216
135216
|
return failed ? false : value;
|
|
135217
135217
|
}
|
|
135218
135218
|
|
|
135219
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
135219
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-outbox.js
|
|
135220
135220
|
import fs50 from "node:fs";
|
|
135221
135221
|
import path45 from "node:path";
|
|
135222
135222
|
var ONTOLOGY_OUTBOX_SCHEMA = "hq-ontology-outbox.v1";
|
|
@@ -135282,7 +135282,7 @@ function entityIsFreshForCreate(body, nowMs) {
|
|
|
135282
135282
|
return age >= -ENTITY_CREATE_FUTURE_SKEW_MS && age <= ENTITY_CREATE_WINDOW_MS;
|
|
135283
135283
|
}
|
|
135284
135284
|
|
|
135285
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
135285
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/skill-register-landed-bytes.js
|
|
135286
135286
|
init_dist();
|
|
135287
135287
|
import { createHash as createHash30 } from "node:crypto";
|
|
135288
135288
|
var SKILL_REGISTER_LANDED_BYTES_FLAG = "sync.skill-register-landed-bytes";
|
|
@@ -135356,7 +135356,7 @@ ${caller}`;
|
|
|
135356
135356
|
return failed ? false : value;
|
|
135357
135357
|
}
|
|
135358
135358
|
|
|
135359
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
135359
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/personal-connector-settings-sync.js
|
|
135360
135360
|
init_dist();
|
|
135361
135361
|
import { createHash as createHash31 } from "node:crypto";
|
|
135362
135362
|
var PERSONAL_CONNECTOR_SETTINGS_SYNC_FLAG = "personal.connector-settings-sync";
|
|
@@ -135419,7 +135419,7 @@ ${caller}`;
|
|
|
135419
135419
|
return failed ? false : value;
|
|
135420
135420
|
}
|
|
135421
135421
|
|
|
135422
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
135422
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/describe-error.js
|
|
135423
135423
|
import * as path46 from "node:path";
|
|
135424
135424
|
var MAX_DIAGNOSTIC_LENGTH = 1024;
|
|
135425
135425
|
function sanitizeDiagnostic(value) {
|
|
@@ -135552,7 +135552,7 @@ function pushFailureTelemetryLabel(value) {
|
|
|
135552
135552
|
return safe.slice(0, 128) || "unknown";
|
|
135553
135553
|
}
|
|
135554
135554
|
|
|
135555
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
135555
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/readlink-safe.js
|
|
135556
135556
|
import * as fs51 from "fs";
|
|
135557
135557
|
function toPortableSymlinkTarget(target, platform5 = process.platform) {
|
|
135558
135558
|
return platform5 === "win32" ? target.replaceAll("\\", "/") : target;
|
|
@@ -135571,14 +135571,14 @@ function readlinkOrNull(linkPath, readlink = (path78) => fs51.readlinkSync(path7
|
|
|
135571
135571
|
}
|
|
135572
135572
|
}
|
|
135573
135573
|
|
|
135574
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
135574
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/reconcile-cursor.js
|
|
135575
135575
|
function checkpointReconcileApply(checkpoint, paths) {
|
|
135576
135576
|
if (!checkpoint)
|
|
135577
135577
|
return;
|
|
135578
135578
|
checkpoint.store.checkpointApply(checkpoint.cursor, [...new Set(paths)].map((path78) => ({ path: path78, durable: true })));
|
|
135579
135579
|
}
|
|
135580
135580
|
|
|
135581
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
135581
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/mass-delete-guards.js
|
|
135582
135582
|
init_dist();
|
|
135583
135583
|
import { createHash as createHash32 } from "node:crypto";
|
|
135584
135584
|
var MASS_DELETE_GUARDS_FLAG = "sync.delete-absolute-volume-and-release-root-guards";
|
|
@@ -135723,7 +135723,7 @@ function warnFlagReadFailure(write) {
|
|
|
135723
135723
|
`)))(line);
|
|
135724
135724
|
}
|
|
135725
135725
|
|
|
135726
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
135726
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
135727
135727
|
async function remoteContentDiffers(ctx, relativePath, localHash, hqRoot, symlinkOptions) {
|
|
135728
135728
|
const probeKey = crypto15.createHash("sha256").update(relativePath).digest("hex").slice(0, 16);
|
|
135729
135729
|
const probePath = path47.join(os16.tmpdir(), `hq-conflict-probe-${readShortMachineId(hqRoot)}-${probeKey}.tmp`);
|
|
@@ -140622,11 +140622,12 @@ function computeDecommissionPlan(journal, prefixes, policy, alreadyPlanned, skip
|
|
|
140622
140622
|
return out;
|
|
140623
140623
|
}
|
|
140624
140624
|
|
|
140625
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140625
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
140626
140626
|
import * as fs60 from "fs";
|
|
140627
140627
|
import * as path55 from "path";
|
|
140628
|
+
import { isDeepStrictEqual } from "node:util";
|
|
140628
140629
|
|
|
140629
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140630
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/remote-file-spool.js
|
|
140630
140631
|
import * as fs53 from "node:fs";
|
|
140631
140632
|
import * as os17 from "node:os";
|
|
140632
140633
|
import * as path48 from "node:path";
|
|
@@ -140705,7 +140706,7 @@ function* readRows(filename) {
|
|
|
140705
140706
|
}
|
|
140706
140707
|
}
|
|
140707
140708
|
|
|
140708
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140709
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/hq-root-recovery.js
|
|
140709
140710
|
import { execFile as execFile6 } from "child_process";
|
|
140710
140711
|
import { randomBytes as randomBytes13 } from "crypto";
|
|
140711
140712
|
import * as fs55 from "fs";
|
|
@@ -140713,7 +140714,7 @@ import * as os18 from "os";
|
|
|
140713
140714
|
import * as path50 from "path";
|
|
140714
140715
|
import { promisify as promisify6 } from "util";
|
|
140715
140716
|
|
|
140716
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140717
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/backup-prune.js
|
|
140717
140718
|
import * as crypto16 from "crypto";
|
|
140718
140719
|
import * as fs54 from "fs";
|
|
140719
140720
|
import * as path49 from "path";
|
|
@@ -140899,7 +140900,7 @@ function inventoryManagedSnapshots(backupRoot, canonicalRoot3, isCopyingOwnerLiv
|
|
|
140899
140900
|
return { entries: entries3, ...plan, unmanaged: [...unmanaged, ...plan.unmanaged] };
|
|
140900
140901
|
}
|
|
140901
140902
|
|
|
140902
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140903
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/hq-root-recovery.js
|
|
140903
140904
|
var execFileAsync5 = promisify6(execFile6);
|
|
140904
140905
|
var HQ_LAYOUT_DIRS = ["repos", "repos/public", "repos/private"];
|
|
140905
140906
|
function gitSidecarDir(hqRoot, homeDir = os18.homedir()) {
|
|
@@ -141272,10 +141273,10 @@ function recoverHqRootLocalState(hqRoot, opts = {}) {
|
|
|
141272
141273
|
};
|
|
141273
141274
|
}
|
|
141274
141275
|
|
|
141275
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
141276
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/doctor.js
|
|
141276
141277
|
var SKILLS_KEY_PREFIX = ".claude/skills/";
|
|
141277
141278
|
|
|
141278
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
141279
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/content-hash.js
|
|
141279
141280
|
var SHA256_CONTENT_HASH = /^sha256:([a-f0-9]{64})$/;
|
|
141280
141281
|
function rawSha256FromContentHash(contentHash) {
|
|
141281
141282
|
if (contentHash === void 0)
|
|
@@ -141286,7 +141287,7 @@ function contentHashMatchesRawSha256(contentHash, rawHash) {
|
|
|
141286
141287
|
return rawSha256FromContentHash(contentHash) === rawHash;
|
|
141287
141288
|
}
|
|
141288
141289
|
|
|
141289
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
141290
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/kms10-etag-safe-pull.js
|
|
141290
141291
|
import { createHash as createHash35 } from "node:crypto";
|
|
141291
141292
|
var KMS10_COPY_MARKER_META_KEY = "hq-kms10-reencrypt-current";
|
|
141292
141293
|
var KMS10_COPY_ORIGINAL_KEY_HASH_META_KEY = "hq-kms10-original-key-sha256";
|
|
@@ -141311,7 +141312,7 @@ function isKms10CopyOfJournalBase(listed, head, journalHash, journalEtag, expect
|
|
|
141311
141312
|
return normalizeEtag(head.metadata?.["hq-kms10-original-etag"] ?? "") === normalizeEtag(journalEtag);
|
|
141312
141313
|
}
|
|
141313
141314
|
|
|
141314
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
141315
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/targeted-upsert-exact-list.js
|
|
141315
141316
|
init_dist();
|
|
141316
141317
|
import { createHash as createHash36 } from "node:crypto";
|
|
141317
141318
|
function logSwallowed8(line) {
|
|
@@ -141428,7 +141429,7 @@ function isTargetedUpsertExactListEnabled(config2, companyUid) {
|
|
|
141428
141429
|
return defaultTargetedUpsertExactListGate(config2, companyUid);
|
|
141429
141430
|
}
|
|
141430
141431
|
|
|
141431
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
141432
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/targeted-pull-prefixes.js
|
|
141432
141433
|
var TARGETED_PULL_PREFIX_GROUP_MIN_PATHS = 16;
|
|
141433
141434
|
function coalesceDenseTargetedPullPaths(paths) {
|
|
141434
141435
|
const normalized = paths.map((path78) => path78.replace(/\\/g, "/"));
|
|
@@ -141466,15 +141467,15 @@ function coalesceDenseTargetedPullPaths(paths) {
|
|
|
141466
141467
|
return result;
|
|
141467
141468
|
}
|
|
141468
141469
|
|
|
141469
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
141470
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
141470
141471
|
import { createHash as createHash39 } from "node:crypto";
|
|
141471
141472
|
|
|
141472
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
141473
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex.js
|
|
141473
141474
|
import { spawnSync as spawnSync3 } from "child_process";
|
|
141474
141475
|
import * as fs59 from "fs";
|
|
141475
141476
|
import * as path54 from "path";
|
|
141476
141477
|
|
|
141477
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
141478
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex-knowledge.js
|
|
141478
141479
|
import { spawnSync as spawnSync2 } from "child_process";
|
|
141479
141480
|
import * as fs56 from "fs";
|
|
141480
141481
|
import * as path51 from "path";
|
|
@@ -141737,7 +141738,7 @@ function materializeLegacyKnowledgeRepos(root5) {
|
|
|
141737
141738
|
}
|
|
141738
141739
|
}
|
|
141739
141740
|
|
|
141740
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
141741
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/session-log-capture.js
|
|
141741
141742
|
import * as crypto17 from "node:crypto";
|
|
141742
141743
|
import * as fs57 from "node:fs";
|
|
141743
141744
|
import * as os19 from "node:os";
|
|
@@ -142681,7 +142682,7 @@ function captureSessionLogs(root5, options = {}) {
|
|
|
142681
142682
|
}
|
|
142682
142683
|
}
|
|
142683
142684
|
|
|
142684
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
142685
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/session-log-retention.js
|
|
142685
142686
|
import * as crypto18 from "node:crypto";
|
|
142686
142687
|
import * as fs58 from "node:fs";
|
|
142687
142688
|
import * as os20 from "node:os";
|
|
@@ -142942,7 +142943,7 @@ function pruneSyncedSessionLogs(root5) {
|
|
|
142942
142943
|
}
|
|
142943
142944
|
}
|
|
142944
142945
|
|
|
142945
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
142946
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex.js
|
|
142946
142947
|
function isDir2(p3) {
|
|
142947
142948
|
try {
|
|
142948
142949
|
return fs59.statSync(p3).isDirectory();
|
|
@@ -143496,7 +143497,7 @@ function emitReindexTelemetry(opts, result, lockResult) {
|
|
|
143496
143497
|
}, { claims: opts.telemetryClaims });
|
|
143497
143498
|
}
|
|
143498
143499
|
|
|
143499
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
143500
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
143500
143501
|
async function yieldToCooperativeCheckpoint2(work, cooperativeCheckpoint, force, resumedAt) {
|
|
143501
143502
|
work.rowsSinceYield += 1;
|
|
143502
143503
|
if (!force && work.rowsSinceYield < cooperativeUnitSize()) {
|
|
@@ -145757,7 +145758,9 @@ async function downloadOne(run, downloadItem, counters, deferJournalCheckpoint =
|
|
|
145757
145758
|
counters.filesSkipped++;
|
|
145758
145759
|
return;
|
|
145759
145760
|
}
|
|
145760
|
-
|
|
145761
|
+
const durableJournal = readJournalScoped(run.journalSlug, [remoteFile.key]);
|
|
145762
|
+
const durableRow = JSON.parse(JSON.stringify(getEntry(durableJournal, remoteFile.key) ?? null));
|
|
145763
|
+
if (!isDownloadWritePathStillContained(run.companyRoot, remoteFile.key, localPath) || !matchesLocalSnapshot(localPath, downloadItem.localSnapshot) || JSON.stringify(getEntry(run.journal, remoteFile.key) ?? null) !== journalSnapshot || !isDeepStrictEqual(durableRow, JSON.parse(journalSnapshot))) {
|
|
145761
145764
|
throw new LocalSnapshotChangedError(remoteFile.key);
|
|
145762
145765
|
}
|
|
145763
145766
|
if (guardContinuityPointer && holdNewerLocalContinuityPointer(run, remoteFile, localPath, stagePath, counters)) {
|
|
@@ -147420,7 +147423,7 @@ function defaultConsoleLogger2(event, humanSkipLines) {
|
|
|
147420
147423
|
}
|
|
147421
147424
|
}
|
|
147422
147425
|
|
|
147423
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
147426
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/rescue-core.js
|
|
147424
147427
|
import { createRequire } from "node:module";
|
|
147425
147428
|
var MAX_CLONE_BATCH_PATH_BYTES = 64 * 1024;
|
|
147426
147429
|
var require2 = createRequire(import.meta.url);
|
|
@@ -147430,7 +147433,7 @@ var PRECLONE_FREE_SPACE_FLOOR_BYTES = 1024 ** 3;
|
|
|
147430
147433
|
var CYGWIN_SYMLINK_COOKIE = Buffer.from("!<symlink>", "latin1");
|
|
147431
147434
|
var PRESERVED_FILE_COMPARE_CHUNK_BYTES = 64 * 1024;
|
|
147432
147435
|
|
|
147433
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
147436
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/schemas/source-channels.js
|
|
147434
147437
|
var SOURCE_CHANNELS = Object.freeze([
|
|
147435
147438
|
"meeting",
|
|
147436
147439
|
"email",
|
|
@@ -147439,7 +147442,7 @@ var SOURCE_CHANNELS = Object.freeze([
|
|
|
147439
147442
|
"notion"
|
|
147440
147443
|
]);
|
|
147441
147444
|
|
|
147442
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
147445
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/schemas/signal-types.js
|
|
147443
147446
|
var SIGNAL_TYPES = Object.freeze([
|
|
147444
147447
|
"action_item",
|
|
147445
147448
|
"commitment",
|
|
@@ -147449,7 +147452,7 @@ var SIGNAL_TYPES = Object.freeze([
|
|
|
147449
147452
|
"summary"
|
|
147450
147453
|
]);
|
|
147451
147454
|
|
|
147452
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
147455
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/feature-flags.js
|
|
147453
147456
|
var PARALLEL_COORDINATOR_ENV_VAR = "HQ_SYNC_PARALLEL_COORDINATOR";
|
|
147454
147457
|
var AREA_STORAGE_ENV_VAR = "HQ_SYNC_AREA_STORAGE";
|
|
147455
147458
|
function parseFeatureSwitch(value) {
|
|
@@ -147518,7 +147521,7 @@ function isEventSyncLocallyDisabled(value) {
|
|
|
147518
147521
|
}
|
|
147519
147522
|
}
|
|
147520
147523
|
|
|
147521
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
147524
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/metrics.js
|
|
147522
147525
|
var import_client_cloudwatch = __toESM(require_dist_cjs40(), 1);
|
|
147523
147526
|
var SYNC_METRIC_NAMESPACE = "HQPro/Sync";
|
|
147524
147527
|
var SYNC_LATENCY_METRIC_NAME = "hq-cloud.sync.p95_latency_seconds";
|
|
@@ -147586,7 +147589,7 @@ async function publishSyncLatencyMetric(metric, opts = {}) {
|
|
|
147586
147589
|
}
|
|
147587
147590
|
}
|
|
147588
147591
|
|
|
147589
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
147592
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/push-receiver.js
|
|
147590
147593
|
var DEFAULT_RECEIVER_DISPOSE_DRAIN_MS = 5e3;
|
|
147591
147594
|
var RECEIVER_SHUTDOWN_RELEASE_BUDGET_MS = 1500;
|
|
147592
147595
|
var DEFAULT_WAIT_TIME_SECONDS = 20;
|
|
@@ -149119,10 +149122,10 @@ function defaultSleep(ms, signal) {
|
|
|
149119
149122
|
});
|
|
149120
149123
|
}
|
|
149121
149124
|
|
|
149122
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149125
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/logger.js
|
|
149123
149126
|
var import_pino = __toESM(require_pino(), 1);
|
|
149124
149127
|
|
|
149125
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149128
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/path-leases.js
|
|
149126
149129
|
function assertCanonicalPath(path78) {
|
|
149127
149130
|
if (path78.length === 0 || path78.startsWith("/") || path78.endsWith("/") || path78.includes("\\") || path78.split("/").some((part) => part.length === 0 || part === "." || part === "..")) {
|
|
149128
149131
|
throw new Error(`path lease requires a canonical relative path: ${path78}`);
|
|
@@ -149185,7 +149188,7 @@ var PathLease = class {
|
|
|
149185
149188
|
}
|
|
149186
149189
|
};
|
|
149187
149190
|
|
|
149188
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149191
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/parallel-sync-coordinator.js
|
|
149189
149192
|
var MAX_REALTIME_PULL_YIELDS = 3;
|
|
149190
149193
|
var MAX_REALTIME_PULL_YIELD_MS = 6e4;
|
|
149191
149194
|
var REALTIME_PULL_YIELD_STATE_TTL_MS = 10 * 6e4;
|
|
@@ -149692,7 +149695,7 @@ var DefaultParallelSyncCoordinator = class {
|
|
|
149692
149695
|
}
|
|
149693
149696
|
};
|
|
149694
149697
|
|
|
149695
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149698
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/sync-work.js
|
|
149696
149699
|
var InlineSyncWorkerAdapter = class {
|
|
149697
149700
|
handler;
|
|
149698
149701
|
constructor(handler) {
|
|
@@ -149703,11 +149706,11 @@ var InlineSyncWorkerAdapter = class {
|
|
|
149703
149706
|
}
|
|
149704
149707
|
};
|
|
149705
149708
|
|
|
149706
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149709
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/manifest/build-manifest.js
|
|
149707
149710
|
import * as fs62 from "node:fs";
|
|
149708
149711
|
import * as path58 from "node:path";
|
|
149709
149712
|
|
|
149710
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149713
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/company-slug.js
|
|
149711
149714
|
import * as path56 from "node:path";
|
|
149712
149715
|
var UNSAFE_SLUG_KEYS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
149713
149716
|
function isSafeCompanySlug(companiesDir, slug) {
|
|
@@ -149724,7 +149727,7 @@ function isSafeCompanySlug(companiesDir, slug) {
|
|
|
149724
149727
|
return path56.dirname(companyDir) === resolvedCompaniesDir;
|
|
149725
149728
|
}
|
|
149726
149729
|
|
|
149727
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149730
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/manifest/contract.js
|
|
149728
149731
|
var SYNC_MANIFEST_CONTRACT_VERSION = 1;
|
|
149729
149732
|
var SYNC_MANIFEST_SCOPE_KINDS = ["personal", "company"];
|
|
149730
149733
|
var SYNC_MANIFEST_SOURCES = ["desktop", "cli"];
|
|
@@ -149893,7 +149896,7 @@ var SYNC_MANIFEST_CONTRACT_DESCRIPTOR = {
|
|
|
149893
149896
|
}
|
|
149894
149897
|
};
|
|
149895
149898
|
|
|
149896
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149899
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/manifest/snapshot-store.js
|
|
149897
149900
|
import * as crypto19 from "node:crypto";
|
|
149898
149901
|
import * as fs61 from "node:fs";
|
|
149899
149902
|
import * as path57 from "node:path";
|
|
@@ -150068,7 +150071,7 @@ function writeSnapshotIncrementally(tmp, snapshot) {
|
|
|
150068
150071
|
}
|
|
150069
150072
|
var SNAPSHOT_WRITE_BATCH_CHARS = 256 * 1024;
|
|
150070
150073
|
|
|
150071
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150074
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/manifest/build-manifest.js
|
|
150072
150075
|
function logSwallowed11(line) {
|
|
150073
150076
|
process.stderr.write(line);
|
|
150074
150077
|
}
|
|
@@ -150677,7 +150680,7 @@ function buildChunk(input2, firstChunkRemovedPaths, chunkIndex, chunkCount, entr
|
|
|
150677
150680
|
return upload;
|
|
150678
150681
|
}
|
|
150679
150682
|
|
|
150680
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150683
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/manifest/upload-manifest.js
|
|
150681
150684
|
import * as fs63 from "node:fs";
|
|
150682
150685
|
var MANIFEST_UPLOAD_DISABLED_ENV = "HQ_SYNC_MANIFEST_DISABLED";
|
|
150683
150686
|
var DEFAULT_MANIFEST_UPLOAD_MIN_INTERVAL_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -151247,7 +151250,7 @@ async function runUploadPassBody(options, scopeKey, persisted) {
|
|
|
151247
151250
|
};
|
|
151248
151251
|
}
|
|
151249
151252
|
|
|
151250
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151253
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/watcher-catchup-skip-store.js
|
|
151251
151254
|
import * as fs64 from "node:fs";
|
|
151252
151255
|
import * as path59 from "node:path";
|
|
151253
151256
|
import { createHash as createHash41, randomUUID as randomUUID7 } from "node:crypto";
|
|
@@ -151495,7 +151498,7 @@ function validUnresolvedCompanyRecord(value) {
|
|
|
151495
151498
|
return typeof record2.company === "string" && record2.company.length > 0 && record2.reason === "unresolved-company" && typeof record2.recordedAt === "number" && Number.isFinite(record2.recordedAt);
|
|
151496
151499
|
}
|
|
151497
151500
|
|
|
151498
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151501
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/version.js
|
|
151499
151502
|
import { readFileSync as readFileSync37 } from "node:fs";
|
|
151500
151503
|
import { fileURLToPath as fileURLToPath4 } from "node:url";
|
|
151501
151504
|
import path60 from "node:path";
|
|
@@ -151503,7 +151506,7 @@ var here = path60.dirname(fileURLToPath4(import.meta.url));
|
|
|
151503
151506
|
var pkg = JSON.parse(readFileSync37(path60.resolve(here, "..", "package.json"), "utf-8"));
|
|
151504
151507
|
var HQ_CLOUD_VERSION = pkg.version;
|
|
151505
151508
|
|
|
151506
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151509
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/outcome-telemetry.js
|
|
151507
151510
|
import { promises as fs65 } from "node:fs";
|
|
151508
151511
|
import * as os21 from "node:os";
|
|
151509
151512
|
import * as path61 from "node:path";
|
|
@@ -151877,7 +151880,7 @@ async function collectAndSendOutcomeTelemetry(opts) {
|
|
|
151877
151880
|
return { enabled: true, optInSource, filesScanned, eventsSent, batchesSent };
|
|
151878
151881
|
}
|
|
151879
151882
|
|
|
151880
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151883
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/qmd-reindex.js
|
|
151881
151884
|
import * as fs66 from "fs";
|
|
151882
151885
|
import * as path62 from "path";
|
|
151883
151886
|
import { spawn as spawn2 } from "child_process";
|
|
@@ -152527,7 +152530,7 @@ function defaultHasIndexableProjectContent(projectsDir) {
|
|
|
152527
152530
|
return false;
|
|
152528
152531
|
}
|
|
152529
152532
|
|
|
152530
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152533
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/qmd-runner-admission.js
|
|
152531
152534
|
import fs67 from "node:fs";
|
|
152532
152535
|
import path63 from "node:path";
|
|
152533
152536
|
import { randomUUID as randomUUID8 } from "node:crypto";
|
|
@@ -152631,7 +152634,7 @@ nonce=${nonce}
|
|
|
152631
152634
|
};
|
|
152632
152635
|
}
|
|
152633
152636
|
|
|
152634
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152637
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/telemetry-admission.js
|
|
152635
152638
|
var DEFAULT_INTERVAL_MS = 10 * 60 * 1e3;
|
|
152636
152639
|
var MAX_INTERVAL_SEC = 24 * 60 * 60;
|
|
152637
152640
|
var STALE_IN_FLIGHT_TIMEOUT_MULTIPLE = 5;
|
|
@@ -152708,7 +152711,7 @@ function recordTelemetryRunStarted(store, nowMs, run) {
|
|
|
152708
152711
|
store.inFlight = tracked;
|
|
152709
152712
|
}
|
|
152710
152713
|
|
|
152711
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152714
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex-async.js
|
|
152712
152715
|
import { Worker } from "node:worker_threads";
|
|
152713
152716
|
function reindexAsync(options) {
|
|
152714
152717
|
if (import.meta.url.endsWith(".ts"))
|
|
@@ -152767,7 +152770,7 @@ function reindexAsync(options) {
|
|
|
152767
152770
|
});
|
|
152768
152771
|
}
|
|
152769
152772
|
|
|
152770
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152773
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/agent-codex-instructions.js
|
|
152771
152774
|
import * as crypto20 from "crypto";
|
|
152772
152775
|
import * as fs68 from "fs";
|
|
152773
152776
|
import * as os22 from "os";
|
|
@@ -152927,7 +152930,7 @@ function materializeCodexAgents(opts) {
|
|
|
152927
152930
|
}
|
|
152928
152931
|
}
|
|
152929
152932
|
|
|
152930
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152933
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-post-sync-flags.js
|
|
152931
152934
|
var POST_SYNC_FLAG_KEYS = {
|
|
152932
152935
|
qmdReindex: "sync.qmd-reindex",
|
|
152933
152936
|
conflictPrune: "sync.conflict-prune",
|
|
@@ -152947,12 +152950,12 @@ function createPostSyncFlagEvaluator(options = {}) {
|
|
|
152947
152950
|
};
|
|
152948
152951
|
}
|
|
152949
152952
|
|
|
152950
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152953
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-manifest.js
|
|
152951
152954
|
import { createHash as createHash42, randomUUID as randomUUID9 } from "node:crypto";
|
|
152952
152955
|
import * as fs70 from "node:fs/promises";
|
|
152953
152956
|
import * as path66 from "node:path";
|
|
152954
152957
|
|
|
152955
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152958
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-installation-id.js
|
|
152956
152959
|
import * as fs69 from "node:fs";
|
|
152957
152960
|
import * as os23 from "node:os";
|
|
152958
152961
|
import * as path65 from "node:path";
|
|
@@ -153002,7 +153005,7 @@ function readDesktopInstallationId(options) {
|
|
|
153002
153005
|
return void 0;
|
|
153003
153006
|
}
|
|
153004
153007
|
|
|
153005
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153008
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-manifest.js
|
|
153006
153009
|
var RUNNER_MANIFEST_WALK_WALL_MS = 9e4;
|
|
153007
153010
|
var RUNNER_MANIFEST_PHASE_WALL_MS = 24e4;
|
|
153008
153011
|
var RUNNER_MANIFEST_REPAIR_POLL_SPACING_MS = 60 * 60 * 1e3;
|
|
@@ -153624,14 +153627,14 @@ async function runPostSyncManifestUploads(options) {
|
|
|
153624
153627
|
return emitted;
|
|
153625
153628
|
}
|
|
153626
153629
|
|
|
153627
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153630
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/exit-codes.js
|
|
153628
153631
|
var PARTIAL_SYNC_EXIT = 2;
|
|
153629
153632
|
var UNRESOLVED_COMPANY_EXIT = 19;
|
|
153630
153633
|
var WATCH_RUNNER_ALREADY_OWNED_EXIT = 20;
|
|
153631
153634
|
var WATCH_OWNER_LEASE_LOST_EXIT = 21;
|
|
153632
153635
|
var PREFLIGHT_HALT_EXIT = 22;
|
|
153633
153636
|
|
|
153634
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153637
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-audit.js
|
|
153635
153638
|
import * as crypto21 from "node:crypto";
|
|
153636
153639
|
import * as fs71 from "node:fs";
|
|
153637
153640
|
import * as path67 from "node:path";
|
|
@@ -153680,7 +153683,7 @@ function hashNormalizedKey(key) {
|
|
|
153680
153683
|
return crypto21.createHash("sha256").update(normalized, "utf8").digest("hex");
|
|
153681
153684
|
}
|
|
153682
153685
|
|
|
153683
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153686
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/watch-owner-lease.js
|
|
153684
153687
|
import { spawnSync as spawnSync4 } from "node:child_process";
|
|
153685
153688
|
import { randomUUID as randomUUID10 } from "node:crypto";
|
|
153686
153689
|
import * as fs72 from "node:fs";
|
|
@@ -154051,7 +154054,7 @@ function acquireWatchOwnerLease(hqRoot, owner = "unknown", options = {}) {
|
|
|
154051
154054
|
};
|
|
154052
154055
|
}
|
|
154053
154056
|
|
|
154054
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154057
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/watch-parent.js
|
|
154055
154058
|
var WATCH_PARENT_CHECK_INTERVAL_MS = 1e3;
|
|
154056
154059
|
function processExists(pid) {
|
|
154057
154060
|
try {
|
|
@@ -154102,7 +154105,7 @@ function startWatchParentExitMonitor(options) {
|
|
|
154102
154105
|
};
|
|
154103
154106
|
}
|
|
154104
154107
|
|
|
154105
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154108
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-events.js
|
|
154106
154109
|
var ERROR_TYPES = /* @__PURE__ */ new Set([
|
|
154107
154110
|
"error",
|
|
154108
154111
|
"auth-error"
|
|
@@ -154148,7 +154151,7 @@ function emitUncaughtRunnerError(err, streams) {
|
|
|
154148
154151
|
}
|
|
154149
154152
|
}
|
|
154150
154153
|
|
|
154151
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154154
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-stdout.js
|
|
154152
154155
|
import { format as format4 } from "node:util";
|
|
154153
154156
|
function redirectRunnerConsoleToStderr(runnerConsole, stderr) {
|
|
154154
154157
|
const writeDiagnostic = (...args) => {
|
|
@@ -154164,7 +154167,7 @@ function runWithRunnerConsoleStderr(startRunner, runnerConsole = console, stderr
|
|
|
154164
154167
|
return startRunner();
|
|
154165
154168
|
}
|
|
154166
154169
|
|
|
154167
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154170
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-planning.js
|
|
154168
154171
|
function verifiedMemberCompanyUids(options) {
|
|
154169
154172
|
if (!options.companies)
|
|
154170
154173
|
return void 0;
|
|
@@ -154329,7 +154332,7 @@ function emitFanoutPlan(emit, plan) {
|
|
|
154329
154332
|
emit({ type: "fanout-plan", companies: plan });
|
|
154330
154333
|
}
|
|
154331
154334
|
|
|
154332
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154335
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-pass-request.js
|
|
154333
154336
|
import * as fs73 from "node:fs";
|
|
154334
154337
|
import * as path69 from "node:path";
|
|
154335
154338
|
function buildPassRequestArgv(passArgv, company) {
|
|
@@ -154580,7 +154583,7 @@ var SyncPassRequestDirectory = class _SyncPassRequestDirectory {
|
|
|
154580
154583
|
}
|
|
154581
154584
|
};
|
|
154582
154585
|
|
|
154583
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154586
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/active-company.js
|
|
154584
154587
|
import { randomUUID as randomUUID11 } from "node:crypto";
|
|
154585
154588
|
import * as fs74 from "node:fs";
|
|
154586
154589
|
import * as path70 from "node:path";
|
|
@@ -154672,7 +154675,7 @@ function seedActiveCompany(options) {
|
|
|
154672
154675
|
return { written: true, activeCompany };
|
|
154673
154676
|
}
|
|
154674
154677
|
|
|
154675
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154678
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/manifest-reconcile.js
|
|
154676
154679
|
import { randomUUID as randomUUID12 } from "node:crypto";
|
|
154677
154680
|
import * as fs75 from "node:fs";
|
|
154678
154681
|
import * as path71 from "node:path";
|
|
@@ -154894,17 +154897,17 @@ async function reconcileCompanyManifest(options) {
|
|
|
154894
154897
|
return reconcileManifest(options.hqRoot, resolvedTargets);
|
|
154895
154898
|
}
|
|
154896
154899
|
|
|
154897
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154900
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-company.js
|
|
154898
154901
|
import * as fs76 from "fs";
|
|
154899
154902
|
import * as path72 from "path";
|
|
154900
154903
|
import { createHash as createHash44, randomUUID as randomUUID13 } from "node:crypto";
|
|
154901
154904
|
|
|
154902
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154905
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/scope-inventory-client.js
|
|
154903
154906
|
function allowsLegacyNetwork(decision) {
|
|
154904
154907
|
return decision.network === "allow-legacy";
|
|
154905
154908
|
}
|
|
154906
154909
|
|
|
154907
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154910
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/lib/sync-leg-error-summary.js
|
|
154908
154911
|
import os24 from "node:os";
|
|
154909
154912
|
var ERRNO_NAMES = new Set(Object.keys(os24.constants.errno));
|
|
154910
154913
|
var EXTRA_CODES = /* @__PURE__ */ new Set([
|
|
@@ -155109,7 +155112,7 @@ function buildSyncLegErrorSummary(input2) {
|
|
|
155109
155112
|
return segments.join(":").slice(0, 128);
|
|
155110
155113
|
}
|
|
155111
155114
|
|
|
155112
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
155115
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-rollup.js
|
|
155113
155116
|
function createCompanyState(company) {
|
|
155114
155117
|
return {
|
|
155115
155118
|
company,
|
|
@@ -155171,7 +155174,7 @@ function rollupAllComplete(plan, stateByCompany) {
|
|
|
155171
155174
|
};
|
|
155172
155175
|
}
|
|
155173
155176
|
|
|
155174
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
155177
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-company.js
|
|
155175
155178
|
var PRUNED_SAMPLE_PATHS = 5;
|
|
155176
155179
|
function journalErrorClass(error64) {
|
|
155177
155180
|
if (error64 instanceof JournalIncompleteUpsertError)
|
|
@@ -156279,7 +156282,7 @@ function normalizePullChangedPaths(target, changedPaths) {
|
|
|
156279
156282
|
});
|
|
156280
156283
|
}
|
|
156281
156284
|
|
|
156282
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
156285
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-telemetry.js
|
|
156283
156286
|
async function emitTelemetry(options) {
|
|
156284
156287
|
const telemetryFn = options.collectTelemetry ?? options.defaultCollectTelemetry;
|
|
156285
156288
|
return telemetryFn().catch((err) => {
|
|
@@ -156291,7 +156294,7 @@ async function emitTelemetry(options) {
|
|
|
156291
156294
|
});
|
|
156292
156295
|
}
|
|
156293
156296
|
|
|
156294
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
156297
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-loop.js
|
|
156295
156298
|
import * as os25 from "os";
|
|
156296
156299
|
import * as path76 from "path";
|
|
156297
156300
|
import * as fs80 from "fs";
|
|
@@ -156299,7 +156302,7 @@ import { createHash as createHash45 } from "node:crypto";
|
|
|
156299
156302
|
import * as v8 from "node:v8";
|
|
156300
156303
|
import { performance as performance3 } from "node:perf_hooks";
|
|
156301
156304
|
|
|
156302
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
156305
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/push-failure-backoff.js
|
|
156303
156306
|
var PUSH_FAILURE_BACKOFF_BASE_MS = 5e3;
|
|
156304
156307
|
var PUSH_FAILURE_BACKOFF_CAP_MS = 5 * 6e4;
|
|
156305
156308
|
var RoutePushFailureBackoff = class {
|
|
@@ -156326,12 +156329,12 @@ var systemPushRetryScheduler = {
|
|
|
156326
156329
|
clearTimeout: (handle) => clearTimeout(handle)
|
|
156327
156330
|
};
|
|
156328
156331
|
|
|
156329
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
156332
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
156330
156333
|
var import_client_sqs = __toESM(require_dist_cjs42(), 1);
|
|
156331
156334
|
import { readFileSync as readFileSync44 } from "node:fs";
|
|
156332
156335
|
import { join as join72 } from "node:path";
|
|
156333
156336
|
|
|
156334
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
156337
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/inbound-event-admission.js
|
|
156335
156338
|
import * as fs77 from "node:fs";
|
|
156336
156339
|
import * as path73 from "node:path";
|
|
156337
156340
|
function logSwallowed13(line) {
|
|
@@ -156397,7 +156400,7 @@ function isInboundEventPlaceable(hqRoot, event) {
|
|
|
156397
156400
|
}
|
|
156398
156401
|
}
|
|
156399
156402
|
|
|
156400
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
156403
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/unchanged-push-events.js
|
|
156401
156404
|
import fs78 from "node:fs";
|
|
156402
156405
|
import path74 from "node:path";
|
|
156403
156406
|
function journalCoordinatesForPushEvent(relativePath) {
|
|
@@ -156439,7 +156442,7 @@ function unchangedPushEventPaths(events, hqRoot, lookup) {
|
|
|
156439
156442
|
return unchanged;
|
|
156440
156443
|
}
|
|
156441
156444
|
|
|
156442
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
156445
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
156443
156446
|
function resolveEventSync(override) {
|
|
156444
156447
|
return !isEventSyncLocallyDisabled(override);
|
|
156445
156448
|
}
|
|
@@ -157151,7 +157154,7 @@ async function startEventSync(opts) {
|
|
|
157151
157154
|
};
|
|
157152
157155
|
}
|
|
157153
157156
|
|
|
157154
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
157157
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-auto-migration.js
|
|
157155
157158
|
var AREA_AUTO_MIGRATION_STARTED_EVENT = "area_migration_started";
|
|
157156
157159
|
var AREA_AUTO_MIGRATION_COMPLETED_EVENT = "area_migration_completed";
|
|
157157
157160
|
var AREA_AUTO_MIGRATION_SOURCE = "sync-runner";
|
|
@@ -157304,7 +157307,7 @@ function describe3(error64) {
|
|
|
157304
157307
|
return error64 instanceof Error ? error64.message : String(error64);
|
|
157305
157308
|
}
|
|
157306
157309
|
|
|
157307
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
157310
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-heap-telemetry.js
|
|
157308
157311
|
import * as perfHooks from "node:perf_hooks";
|
|
157309
157312
|
var CENSUS_TOKEN = /^[A-Za-z][A-Za-z0-9_]{0,48}$/;
|
|
157310
157313
|
var HeapCensus = class {
|
|
@@ -158291,7 +158294,7 @@ function nodeHeapReaders(v82) {
|
|
|
158291
158294
|
};
|
|
158292
158295
|
}
|
|
158293
158296
|
|
|
158294
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
158297
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/sync/idle-full-reconcile.js
|
|
158295
158298
|
var MAX_UNOBSERVED_TICK_GAP_MS = 6e4;
|
|
158296
158299
|
var MAX_CLOCK_DRIFT_MS = 5e3;
|
|
158297
158300
|
var FullPassContinuity = class {
|
|
@@ -158346,7 +158349,7 @@ function canSkipScheduledFullReconcile(proof) {
|
|
|
158346
158349
|
return true;
|
|
158347
158350
|
}
|
|
158348
158351
|
|
|
158349
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
158352
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/legacy-sync-wake.js
|
|
158350
158353
|
import * as fs79 from "node:fs";
|
|
158351
158354
|
import * as path75 from "node:path";
|
|
158352
158355
|
var MAX_WAKE_BYTES = 1024 * 1024;
|
|
@@ -158508,7 +158511,7 @@ var LegacySyncWakeBridge = class {
|
|
|
158508
158511
|
}
|
|
158509
158512
|
};
|
|
158510
158513
|
|
|
158511
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
158514
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-loop.js
|
|
158512
158515
|
var FULL_RECONCILE_EVERY_TICKS = 10;
|
|
158513
158516
|
var warnedUnresolvedReceiverCompanies = /* @__PURE__ */ new Set();
|
|
158514
158517
|
var EVENT_SYNC_STARTUP_SHUTDOWN_WAIT_MS = 5e3;
|
|
@@ -160945,7 +160948,7 @@ async function runWatchLoop(argv, parsed, deps, runtime) {
|
|
|
160945
160948
|
const outcome = await runGuarded(buildRoutePullArgv(route, passArgv), async () => {
|
|
160946
160949
|
if (!await currentLegacyTarget(target))
|
|
160947
160950
|
throw new Error("legacy wake no longer authorized");
|
|
160948
|
-
}, "slow", "
|
|
160951
|
+
}, "slow", "chore", false, void 0, false, void 0, false, void 0, "sync-wake");
|
|
160949
160952
|
return passExitCode(outcome) === 0;
|
|
160950
160953
|
}
|
|
160951
160954
|
}) : null;
|
|
@@ -163961,7 +163964,7 @@ async function runWatchLoop(argv, parsed, deps, runtime) {
|
|
|
163961
163964
|
}
|
|
163962
163965
|
}
|
|
163963
163966
|
|
|
163964
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
163967
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-auth-wait.js
|
|
163965
163968
|
var AUTH_WAIT_INITIAL_RECHECK_MS = 6e4;
|
|
163966
163969
|
var AUTH_WAIT_STEADY_RECHECK_MS = 5 * 6e4;
|
|
163967
163970
|
var AUTH_WAIT_LIVENESS_INTERVAL_MS = 30 * 6e4;
|
|
@@ -164034,7 +164037,7 @@ async function waitForValidAuth(opts) {
|
|
|
164034
164037
|
return "stopped";
|
|
164035
164038
|
}
|
|
164036
164039
|
|
|
164037
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
164040
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.106/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
164038
164041
|
var SESSION_LOG_CAPTURE_QUIET_FOR_MS = 10 * 6e4;
|
|
164039
164042
|
var SESSION_LOG_CAPTURE_MAX_STALENESS_MS = 60 * 6e4;
|
|
164040
164043
|
var DEFAULT_COGNITO = {
|