@indigoai-us/hq-cli 5.345.165 → 5.345.168
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 +13 -0
- package/assets/scaffold/core/scripts/hq-delegate-send.sh +1 -1
- package/assets/scaffold/core/scripts/rebuild-all-indexes.sh +11 -0
- package/assets/scaffold/core/scripts/rebuild-orchestrator-index.sh +11 -0
- package/assets/scaffold/core/scripts/rebuild-public-knowledge-index.sh +11 -0
- package/assets/scaffold/core/scripts/rebuild-reports-index.sh +11 -0
- package/assets/scaffold/core/scripts/rebuild-social-drafts-index.sh +11 -0
- package/assets/scaffold/core/scripts/rebuild-threads-index.sh +11 -0
- package/assets/scaffold/core/scripts/rebuild-workers-index.sh +11 -0
- package/dist/command-catalog.generated.d.ts +6 -2
- package/dist/command-catalog.generated.js +7 -2
- package/dist/commands/access.js +2 -0
- package/dist/commands/agents.js +2 -2
- package/dist/commands/core-delegate-w1b.js +2 -1
- package/dist/commands/core-dm-bind-native.js +3 -1
- package/dist/commands/dm.d.ts +13 -2
- package/dist/commands/dm.js +42 -9
- package/dist/commands/integrations-api.d.ts +15 -0
- package/dist/commands/integrations-api.js +27 -0
- package/dist/commands/integrations-manage.js +4 -2
- package/dist/commands/integrations.js +9 -5
- package/dist/hq-cloud-sync-runner/bin/sync-runner.js +210 -197
- package/dist/hq-cloud-sync-runner/package.json +1 -1
- package/dist/lib/agent-kit/mcp/tools.js +5 -6
- package/dist/lib/doctor/checks/sync-runtime.d.ts +7 -2
- package/dist/lib/doctor/checks/sync-runtime.js +1 -3
- 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/index-render/index.d.ts +5 -0
- package/dist/lib/index-render/index.js +22 -1
- package/dist/lib/notify-recipient.d.ts +15 -0
- package/dist/lib/notify-recipient.js +15 -0
- package/dist/lib/secret-scan/repo-config.d.ts +8 -2
- package/dist/lib/secret-scan/repo-config.js +12 -6
- package/dist/lib/secret-scan/staged.d.ts +6 -0
- package/dist/lib/secret-scan/staged.js +21 -3
- 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.101/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.101/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.101/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";
|
|
@@ -79601,14 +79601,14 @@ function writeJsonAtomic(filePath, value) {
|
|
|
79601
79601
|
}
|
|
79602
79602
|
}
|
|
79603
79603
|
|
|
79604
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79604
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-self-profile.js
|
|
79605
79605
|
import * as fs27 from "node:fs";
|
|
79606
79606
|
import * as os6 from "node:os";
|
|
79607
79607
|
import * as path23 from "node:path";
|
|
79608
79608
|
import { Session } from "node:inspector";
|
|
79609
79609
|
import { fileURLToPath as fileURLToPath3, pathToFileURL } from "node:url";
|
|
79610
79610
|
|
|
79611
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79611
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/watcher.js
|
|
79612
79612
|
import * as fs26 from "fs";
|
|
79613
79613
|
import { createHash as createHash19 } from "node:crypto";
|
|
79614
79614
|
import { readFile as readFile8, stat as stat4 } from "node:fs/promises";
|
|
@@ -81304,7 +81304,7 @@ function watch(paths, options = {}) {
|
|
|
81304
81304
|
return watcher;
|
|
81305
81305
|
}
|
|
81306
81306
|
|
|
81307
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81307
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cloud-placeholder.js
|
|
81308
81308
|
import * as fs3 from "fs";
|
|
81309
81309
|
import * as path2 from "path";
|
|
81310
81310
|
var CLOUD_PLACEHOLDER_SUFFIX = ".hqcloud";
|
|
@@ -81742,18 +81742,18 @@ function writeCloudPlaceholder(placeholderPath, placeholder) {
|
|
|
81742
81742
|
}
|
|
81743
81743
|
}
|
|
81744
81744
|
|
|
81745
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81745
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/ignore.js
|
|
81746
81746
|
var import_ignore = __toESM(require_ignore(), 1);
|
|
81747
81747
|
import * as fs4 from "fs";
|
|
81748
81748
|
import * as path3 from "path";
|
|
81749
81749
|
|
|
81750
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81750
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/restore-staging.js
|
|
81751
81751
|
var RESTORE_STAGING_SUFFIX = /\.hq-restore-(?:\d+(?:-\d+)?|probe-\d+-[0-9a-z]+)$/i;
|
|
81752
81752
|
function isRestoreStagingPath(relativePath) {
|
|
81753
81753
|
return relativePath.split(/[\\/]/).some((segment) => RESTORE_STAGING_SUFFIX.test(segment));
|
|
81754
81754
|
}
|
|
81755
81755
|
|
|
81756
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81756
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/best-effort-error.js
|
|
81757
81757
|
var EXPECTED_ABSENCE_CODES = /* @__PURE__ */ new Set([
|
|
81758
81758
|
"ENOENT",
|
|
81759
81759
|
"NoSuchKey",
|
|
@@ -81795,7 +81795,7 @@ function noteSwallowedError(log, event, error64, options = {}) {
|
|
|
81795
81795
|
`);
|
|
81796
81796
|
}
|
|
81797
81797
|
|
|
81798
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
81798
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/ignore.js
|
|
81799
81799
|
function logSwallowed(line) {
|
|
81800
81800
|
process.stderr.write(line);
|
|
81801
81801
|
}
|
|
@@ -82508,7 +82508,7 @@ function isWithinSizeLimit(filePath, maxBytes = SYNC_MAX_FILE_BYTES) {
|
|
|
82508
82508
|
}
|
|
82509
82509
|
}
|
|
82510
82510
|
|
|
82511
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
82511
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/watch-roots.js
|
|
82512
82512
|
import * as fs5 from "fs";
|
|
82513
82513
|
import * as path4 from "path";
|
|
82514
82514
|
function defaultListChildDirs(dir, onSymlinkEntry) {
|
|
@@ -82582,7 +82582,7 @@ function isCoveredByRecursiveRoot(absolutePath, recursiveRoots) {
|
|
|
82582
82582
|
}
|
|
82583
82583
|
}
|
|
82584
82584
|
|
|
82585
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
82585
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/watch-coverage.js
|
|
82586
82586
|
import * as fs6 from "fs";
|
|
82587
82587
|
function directoryIdentityAt(absolutePath) {
|
|
82588
82588
|
try {
|
|
@@ -82619,7 +82619,7 @@ function probeScopedWatchCoverage(input2) {
|
|
|
82619
82619
|
return { ok: true };
|
|
82620
82620
|
}
|
|
82621
82621
|
|
|
82622
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
82622
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/local-path-codec.js
|
|
82623
82623
|
import * as path5 from "path";
|
|
82624
82624
|
var WIN32_RESERVED_CHARS = /[<>:"/\\|?*]/;
|
|
82625
82625
|
var WIN32_DEVICE_NAME = /^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\..*)?$/i;
|
|
@@ -82677,7 +82677,7 @@ function canonicalVaultKeySpelling(key) {
|
|
|
82677
82677
|
return segments.join("/");
|
|
82678
82678
|
}
|
|
82679
82679
|
|
|
82680
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
82680
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/personal-vault-exclusions.js
|
|
82681
82681
|
import * as path6 from "path";
|
|
82682
82682
|
import * as fs7 from "fs";
|
|
82683
82683
|
function hasSegment(relPath, segment) {
|
|
@@ -82974,7 +82974,7 @@ function wrapFilterWithPersonalVaultDefaults(underlying, syncRoot, onExcluded, o
|
|
|
82974
82974
|
};
|
|
82975
82975
|
}
|
|
82976
82976
|
|
|
82977
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
82977
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/state-store.js
|
|
82978
82978
|
import * as crypto3 from "node:crypto";
|
|
82979
82979
|
import * as fs8 from "node:fs";
|
|
82980
82980
|
import * as path7 from "node:path";
|
|
@@ -86030,11 +86030,11 @@ function crc32c(bytes) {
|
|
|
86030
86030
|
return (crc ^ 4294967295) >>> 0;
|
|
86031
86031
|
}
|
|
86032
86032
|
|
|
86033
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
86033
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/personal-vault.js
|
|
86034
86034
|
import * as fs14 from "fs";
|
|
86035
86035
|
import * as path12 from "path";
|
|
86036
86036
|
|
|
86037
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
86037
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/journal.js
|
|
86038
86038
|
import * as fs13 from "fs";
|
|
86039
86039
|
import * as os2 from "os";
|
|
86040
86040
|
import * as path11 from "path";
|
|
@@ -86042,7 +86042,7 @@ import * as crypto8 from "crypto";
|
|
|
86042
86042
|
import { spawn } from "node:child_process";
|
|
86043
86043
|
import { fileURLToPath } from "node:url";
|
|
86044
86044
|
|
|
86045
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
86045
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/journal-decode-window.js
|
|
86046
86046
|
var JOURNAL_DECODE_WINDOW = 1e4;
|
|
86047
86047
|
var rowsInFlight = 0;
|
|
86048
86048
|
var peakRowsInFlight = 0;
|
|
@@ -86101,7 +86101,7 @@ function journalFingerprintMatchesStat(fingerprint, lstat3) {
|
|
|
86101
86101
|
return lstat3.size === fingerprint.size && lstat3.mtimeMs === fingerprint.mtimeMs && lstat3.ctimeMs === fingerprint.ctimeMs;
|
|
86102
86102
|
}
|
|
86103
86103
|
|
|
86104
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
86104
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/journal-row-store.js
|
|
86105
86105
|
var HASH_BYTES = 32;
|
|
86106
86106
|
var ETAG_BYTES = 16;
|
|
86107
86107
|
var INITIAL_ROW_CAPACITY = 16;
|
|
@@ -87611,7 +87611,7 @@ function readOptionalBoolean(entry, key, flags, presentBit, valueBit) {
|
|
|
87611
87611
|
entry[key] = Boolean(flags & valueBit);
|
|
87612
87612
|
}
|
|
87613
87613
|
|
|
87614
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87614
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/journal-record-proxy.js
|
|
87615
87615
|
var rowsByRecordProxy = /* @__PURE__ */ new WeakMap();
|
|
87616
87616
|
function journalRecordRows(files) {
|
|
87617
87617
|
return rowsByRecordProxy.get(files);
|
|
@@ -87677,13 +87677,13 @@ function createJournalRecordProxy(store) {
|
|
|
87677
87677
|
return proxy;
|
|
87678
87678
|
}
|
|
87679
87679
|
|
|
87680
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87680
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-decoder.js
|
|
87681
87681
|
import { StringDecoder } from "node:string_decoder";
|
|
87682
87682
|
|
|
87683
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87683
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-v4.js
|
|
87684
87684
|
import * as crypto4 from "node:crypto";
|
|
87685
87685
|
|
|
87686
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87686
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-rows.js
|
|
87687
87687
|
var packedJournalRows = /* @__PURE__ */ new WeakMap();
|
|
87688
87688
|
var sharedAreaJournalRowStores = /* @__PURE__ */ new Map();
|
|
87689
87689
|
function areaJournalRowsCacheKey(rootDir, slug) {
|
|
@@ -87706,7 +87706,7 @@ function forgetSharedAreaJournalRows(cacheKey) {
|
|
|
87706
87706
|
sharedAreaJournalRowStores.delete(cacheKey);
|
|
87707
87707
|
}
|
|
87708
87708
|
|
|
87709
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87709
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-v4.js
|
|
87710
87710
|
var JOURNAL_SNAPSHOT_V4_MAGIC = SNAPSHOT_V4_MAGIC;
|
|
87711
87711
|
var SNAPSHOT_FIXED_HEADER_BYTES2 = 52;
|
|
87712
87712
|
var SECTION_ALIGNMENT_BYTES = 8;
|
|
@@ -88238,7 +88238,7 @@ function assertLittleEndian() {
|
|
|
88238
88238
|
throw new Error("HQSNAP4 requires a little-endian host");
|
|
88239
88239
|
}
|
|
88240
88240
|
|
|
88241
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88241
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-decoder.js
|
|
88242
88242
|
function decodeJournalSnapshot(chunks, magic) {
|
|
88243
88243
|
if (magic.equals(SNAPSHOT_V3_MAGIC))
|
|
88244
88244
|
return decodeV3JournalSnapshot(chunks);
|
|
@@ -88590,12 +88590,12 @@ function isPunctuation(value) {
|
|
|
88590
88590
|
return value === "{" || value === "}" || value === "[" || value === "]" || value === ":" || value === ",";
|
|
88591
88591
|
}
|
|
88592
88592
|
|
|
88593
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88593
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/posix-key.js
|
|
88594
88594
|
function toPosixKey(key) {
|
|
88595
88595
|
return key.split("\\").join("/");
|
|
88596
88596
|
}
|
|
88597
88597
|
|
|
88598
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88598
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/path-ancestors.js
|
|
88599
88599
|
function isUnderAnyRoot(key, roots) {
|
|
88600
88600
|
if (roots.has(key))
|
|
88601
88601
|
return true;
|
|
@@ -88608,7 +88608,7 @@ function isUnderAnyRoot(key, roots) {
|
|
|
88608
88608
|
return false;
|
|
88609
88609
|
}
|
|
88610
88610
|
|
|
88611
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88611
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/journal-ledger-stream.js
|
|
88612
88612
|
import * as fs9 from "node:fs";
|
|
88613
88613
|
import { StringDecoder as StringDecoder2 } from "node:string_decoder";
|
|
88614
88614
|
var CHUNK_BYTES = 1 << 18;
|
|
@@ -88722,7 +88722,7 @@ function streamJournalLedgerRows(filePath, onRow) {
|
|
|
88722
88722
|
}
|
|
88723
88723
|
}
|
|
88724
88724
|
|
|
88725
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88725
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/area-resolver.js
|
|
88726
88726
|
import * as fs10 from "fs";
|
|
88727
88727
|
import * as path8 from "path";
|
|
88728
88728
|
var AREA_LAYOUT_FORMAT = 1;
|
|
@@ -89033,12 +89033,12 @@ function compareText(left, right) {
|
|
|
89033
89033
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
89034
89034
|
}
|
|
89035
89035
|
|
|
89036
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
89036
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-migration.js
|
|
89037
89037
|
import * as crypto7 from "node:crypto";
|
|
89038
89038
|
import * as fs12 from "node:fs";
|
|
89039
89039
|
import * as path10 from "node:path";
|
|
89040
89040
|
|
|
89041
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
89041
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/operation-lock.js
|
|
89042
89042
|
import * as crypto5 from "crypto";
|
|
89043
89043
|
import * as fs11 from "fs";
|
|
89044
89044
|
import * as os from "os";
|
|
@@ -89668,7 +89668,7 @@ function withOperationLockSync(hqRoot, command5, fn, opts = {}) {
|
|
|
89668
89668
|
}
|
|
89669
89669
|
}
|
|
89670
89670
|
|
|
89671
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
89671
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger.js
|
|
89672
89672
|
import * as crypto6 from "node:crypto";
|
|
89673
89673
|
var DIRECT_DELTA = 1;
|
|
89674
89674
|
var PREPARED_TRANSACTION = 2;
|
|
@@ -91097,7 +91097,7 @@ function cloneMetadata(metadata) {
|
|
|
91097
91097
|
return result;
|
|
91098
91098
|
}
|
|
91099
91099
|
|
|
91100
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91100
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-migration.js
|
|
91101
91101
|
function logSwallowed2(line) {
|
|
91102
91102
|
process.stderr.write(line);
|
|
91103
91103
|
}
|
|
@@ -91857,7 +91857,7 @@ function canonicalJsonOrUndefined(value) {
|
|
|
91857
91857
|
return value === void 0 ? void 0 : canonicalJson2(value);
|
|
91858
91858
|
}
|
|
91859
91859
|
|
|
91860
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91860
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/per-area-maintenance.js
|
|
91861
91861
|
var AREA_MAINTENANCE_CURSOR_FORMAT = 1;
|
|
91862
91862
|
var CURSOR_SET = 1;
|
|
91863
91863
|
var AreaMaintenanceCursorStore = class _AreaMaintenanceCursorStore {
|
|
@@ -91959,7 +91959,7 @@ function sameAreas(left, right) {
|
|
|
91959
91959
|
return left.length === right.length && left.every((areaId, index) => areaId === right[index]);
|
|
91960
91960
|
}
|
|
91961
91961
|
|
|
91962
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91962
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/journal.js
|
|
91963
91963
|
var TOMBSTONE_TTL_MS = 30 * 24 * 60 * 60 * 1e3;
|
|
91964
91964
|
var JOURNAL_VERSION_CURRENT = "2";
|
|
91965
91965
|
var MAX_PULLS_PER_COMPANY = 50;
|
|
@@ -94174,7 +94174,7 @@ function gcTombstones(journal, now = Date.now()) {
|
|
|
94174
94174
|
return removed;
|
|
94175
94175
|
}
|
|
94176
94176
|
|
|
94177
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94177
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/personal-vault.js
|
|
94178
94178
|
function logSwallowed3(line) {
|
|
94179
94179
|
process.stderr.write(line);
|
|
94180
94180
|
}
|
|
@@ -94552,7 +94552,7 @@ function purgeExcludedPersonalVaultJournalEntries(journal, hqRoot, syncRoot, sho
|
|
|
94552
94552
|
return { removed, byReason };
|
|
94553
94553
|
}
|
|
94554
94554
|
|
|
94555
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94555
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/local-link-warning.js
|
|
94556
94556
|
import fs15 from "node:fs";
|
|
94557
94557
|
import path13 from "node:path";
|
|
94558
94558
|
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.";
|
|
@@ -94669,12 +94669,12 @@ function linkWarningMessage(warning6) {
|
|
|
94669
94669
|
return `Skipped symbolic link (${warning6.reason}). ${warning6.remedy}`;
|
|
94670
94670
|
}
|
|
94671
94671
|
|
|
94672
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94672
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
94673
94673
|
import * as fs24 from "fs";
|
|
94674
94674
|
import * as path19 from "path";
|
|
94675
94675
|
import * as crypto11 from "crypto";
|
|
94676
94676
|
|
|
94677
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94677
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/local-replacement.js
|
|
94678
94678
|
import * as crypto9 from "crypto";
|
|
94679
94679
|
import * as fs16 from "fs";
|
|
94680
94680
|
import * as os3 from "os";
|
|
@@ -94730,11 +94730,11 @@ function shouldRecordLocalDeleteIntent(localPath, absent) {
|
|
|
94730
94730
|
return absent && !isLocalPathBeingReplaced(localPath);
|
|
94731
94731
|
}
|
|
94732
94732
|
|
|
94733
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94733
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
94734
94734
|
import { Readable as Readable20, Transform as Transform3 } from "stream";
|
|
94735
94735
|
import { pipeline } from "stream/promises";
|
|
94736
94736
|
|
|
94737
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94737
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/net-errors.js
|
|
94738
94738
|
var TRANSIENT_NETWORK_EXIT = 75;
|
|
94739
94739
|
var TRANSIENT_CODES = /* @__PURE__ */ new Set([
|
|
94740
94740
|
"ECONNREFUSED",
|
|
@@ -94844,7 +94844,7 @@ function hasDeniedConnect(err, depth) {
|
|
|
94844
94844
|
return false;
|
|
94845
94845
|
}
|
|
94846
94846
|
|
|
94847
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94847
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-entity-meta.js
|
|
94848
94848
|
var ONTOLOGY_ENTITY_KEY = /^ontology\/entities\/[a-z][a-z0-9-]*\/[^/]+\.md$/;
|
|
94849
94849
|
var ENTITY_LAST_UPDATED_META_KEY = "hq-entity-last-updated";
|
|
94850
94850
|
function ontologyVaultKey(relPath) {
|
|
@@ -94876,13 +94876,13 @@ function buildEntityMetadata(key, body) {
|
|
|
94876
94876
|
return stamp === null ? {} : { [ENTITY_LAST_UPDATED_META_KEY]: stamp };
|
|
94877
94877
|
}
|
|
94878
94878
|
|
|
94879
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94879
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
94880
94880
|
var import_client_s3 = __toESM(require_dist_cjs36(), 1);
|
|
94881
94881
|
import * as http3 from "node:http";
|
|
94882
94882
|
import * as https2 from "node:https";
|
|
94883
94883
|
import { Transform as Transform2 } from "node:stream";
|
|
94884
94884
|
|
|
94885
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94885
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/s3-content-checksum.js
|
|
94886
94886
|
import { createHash as createHash16 } from "node:crypto";
|
|
94887
94887
|
var CHECKSUM_HEADER_NAMES = [
|
|
94888
94888
|
"content-md5",
|
|
@@ -94953,7 +94953,7 @@ function headersForObjectLockPut(url2, headers, body) {
|
|
|
94953
94953
|
return out;
|
|
94954
94954
|
}
|
|
94955
94955
|
|
|
94956
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94956
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bandwidth.js
|
|
94957
94957
|
import { Transform } from "node:stream";
|
|
94958
94958
|
var MAX_BYTES_PER_SEC_ENV = "HQ_SYNC_MAX_BYTES_PER_SEC";
|
|
94959
94959
|
var MAX_CONCURRENCY_ENV = "HQ_SYNC_MAX_CONCURRENCY";
|
|
@@ -95354,7 +95354,7 @@ function getBandwidthGovernor() {
|
|
|
95354
95354
|
return singleton;
|
|
95355
95355
|
}
|
|
95356
95356
|
|
|
95357
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
95357
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/client-info.js
|
|
95358
95358
|
var HEADER_CLIENT_NAME = "x-hq-client-name";
|
|
95359
95359
|
var HEADER_CLIENT_VERSION = "x-hq-client-version";
|
|
95360
95360
|
var HEADER_HQ_CORE_VERSION = "x-hq-core-version";
|
|
@@ -95377,7 +95377,7 @@ function buildClientHeaders(info) {
|
|
|
95377
95377
|
return headers;
|
|
95378
95378
|
}
|
|
95379
95379
|
|
|
95380
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
95380
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/telemetry-events.js
|
|
95381
95381
|
var MAX_EVENTS_PER_BATCH = 50;
|
|
95382
95382
|
var DEFAULT_TIMEOUT_MS = 1500;
|
|
95383
95383
|
var MAX_PROPERTIES = 40;
|
|
@@ -95521,12 +95521,12 @@ function describeError(err) {
|
|
|
95521
95521
|
return err instanceof Error ? err.name : typeof err;
|
|
95522
95522
|
}
|
|
95523
95523
|
|
|
95524
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
95524
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/http-keepalive.js
|
|
95525
95525
|
import * as http from "node:http";
|
|
95526
95526
|
import * as https from "node:https";
|
|
95527
95527
|
import { Readable as Readable19 } from "node:stream";
|
|
95528
95528
|
|
|
95529
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
95529
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/realtime-telemetry.js
|
|
95530
95530
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
95531
95531
|
import { monitorEventLoopDelay } from "node:perf_hooks";
|
|
95532
95532
|
var REALTIME_TELEMETRY_EVENT = "sync.realtime.timing";
|
|
@@ -95716,7 +95716,7 @@ function writeRealtimeTelemetryToStderr(record2) {
|
|
|
95716
95716
|
`);
|
|
95717
95717
|
}
|
|
95718
95718
|
|
|
95719
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
95719
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/http-keepalive.js
|
|
95720
95720
|
var HTTP_AGENT = new http.Agent({ keepAlive: true, maxSockets: 8 });
|
|
95721
95721
|
var HTTPS_AGENT = new https.Agent({ keepAlive: true, maxSockets: 8 });
|
|
95722
95722
|
function getKeepAliveAgent(secure) {
|
|
@@ -95776,7 +95776,7 @@ function requestWithKeepAlive(url2, init) {
|
|
|
95776
95776
|
});
|
|
95777
95777
|
}
|
|
95778
95778
|
|
|
95779
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
95779
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync-request-counter.js
|
|
95780
95780
|
var counts = { vault: 0, list: 0, object: 0 };
|
|
95781
95781
|
var UNCOUNTED_VAULT_PATH_PREFIX = "/v1/telemetry/";
|
|
95782
95782
|
function syncRequestKindForVaultPath(path75) {
|
|
@@ -114667,7 +114667,7 @@ function date7(params) {
|
|
|
114667
114667
|
return _coercedDate(ZodDate, params);
|
|
114668
114668
|
}
|
|
114669
114669
|
|
|
114670
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
114670
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cognito-auth.js
|
|
114671
114671
|
import { spawnSync } from "child_process";
|
|
114672
114672
|
import * as crypto10 from "crypto";
|
|
114673
114673
|
import * as fs22 from "fs";
|
|
@@ -115189,7 +115189,7 @@ defineLazyProperty(apps, "browser", () => "browser");
|
|
|
115189
115189
|
defineLazyProperty(apps, "browserPrivate", () => "browserPrivate");
|
|
115190
115190
|
var open_default = open4;
|
|
115191
115191
|
|
|
115192
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115192
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cognito-auth.js
|
|
115193
115193
|
var CognitoAuthError = class extends Error {
|
|
115194
115194
|
constructor(message) {
|
|
115195
115195
|
super(message);
|
|
@@ -116447,7 +116447,7 @@ function pickNewerSession(fromKeychain, other) {
|
|
|
116447
116447
|
return expiresAtMs(other) > expiresAtMs(fromKeychain) ? other : fromKeychain;
|
|
116448
116448
|
}
|
|
116449
116449
|
|
|
116450
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
116450
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/credential-scope-error.js
|
|
116451
116451
|
var POLICY_WRITE_SCOPE_TRUNCATED = "POLICY_WRITE_SCOPE_TRUNCATED";
|
|
116452
116452
|
var VaultCredentialScopeError = class extends Error {
|
|
116453
116453
|
droppedWriteGrantPrefixes;
|
|
@@ -116489,7 +116489,7 @@ function assertCredentialScopeUsable(diagnostic) {
|
|
|
116489
116489
|
}
|
|
116490
116490
|
}
|
|
116491
116491
|
|
|
116492
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
116492
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/plan-limit.js
|
|
116493
116493
|
var PLAN_LIMIT_REACHED_ERROR = "plan_limit_reached";
|
|
116494
116494
|
var PLAN_LIMIT_CODES = /* @__PURE__ */ new Set([
|
|
116495
116495
|
"PLAN_LIMIT_EXCEEDED",
|
|
@@ -116632,7 +116632,7 @@ function formatPlanLimitNotice(event) {
|
|
|
116632
116632
|
return ` ! ${files} paused by your plan limit.${reason} Upgrade: ${event.upgradeUrl}`;
|
|
116633
116633
|
}
|
|
116634
116634
|
|
|
116635
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
116635
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/vault-client.js
|
|
116636
116636
|
var DEFAULT_GLOBAL_FETCH = globalThis.fetch;
|
|
116637
116637
|
var VaultClientError = class extends Error {
|
|
116638
116638
|
statusCode;
|
|
@@ -117594,7 +117594,7 @@ function parseVaultErrorBody(body) {
|
|
|
117594
117594
|
}
|
|
117595
117595
|
}
|
|
117596
117596
|
|
|
117597
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
117597
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
117598
117598
|
var OBJECT_IO_REQUEST_TIMEOUT_MS = 6e4;
|
|
117599
117599
|
var OBJECT_IO_REQUEST_TIMEOUT_PER_MIB_MS = 8e3;
|
|
117600
117600
|
var OBJECT_IO_BODY_IDLE_TIMEOUT_MS = 15e3;
|
|
@@ -119006,7 +119006,7 @@ function presignObjectIOFactory(vault, refresherFor, forceRefresherFor, options
|
|
|
119006
119006
|
};
|
|
119007
119007
|
}
|
|
119008
119008
|
|
|
119009
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119009
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/file-mode-portability.js
|
|
119010
119010
|
var WIN32_SYNTHETIC_MODES = /* @__PURE__ */ new Set([438, 292]);
|
|
119011
119011
|
function portableModeStamp(mode, platform5 = process.platform) {
|
|
119012
119012
|
if (platform5 === "win32")
|
|
@@ -119017,7 +119017,7 @@ function isPortableModeSignal(mode) {
|
|
|
119017
119017
|
return !WIN32_SYNTHETIC_MODES.has(mode & 511);
|
|
119018
119018
|
}
|
|
119019
119019
|
|
|
119020
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119020
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/script-eol.js
|
|
119021
119021
|
import * as path17 from "path";
|
|
119022
119022
|
var SCRIPT_EXTENSIONS = /* @__PURE__ */ new Set([".sh", ".bash", ".zsh"]);
|
|
119023
119023
|
var SHEBANG = Buffer.from("#!");
|
|
@@ -119073,7 +119073,7 @@ function normalizeScriptLineEndings(body) {
|
|
|
119073
119073
|
return changed ? out.subarray(0, n3) : null;
|
|
119074
119074
|
}
|
|
119075
119075
|
|
|
119076
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119076
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/symlink-target-policy.js
|
|
119077
119077
|
import path18 from "node:path";
|
|
119078
119078
|
import fs23 from "node:fs";
|
|
119079
119079
|
function personalSymlinkTargetLinkPath(relativePath) {
|
|
@@ -119296,7 +119296,7 @@ function redactShape(target, classification) {
|
|
|
119296
119296
|
return parents > 0 ? `relative-parent-${Math.min(parents, 8)}` : "relative-path";
|
|
119297
119297
|
}
|
|
119298
119298
|
|
|
119299
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119299
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
119300
119300
|
var DOWNLOAD_STREAM_MAX_RETRIES = 3;
|
|
119301
119301
|
var DOWNLOAD_STREAM_BASE_DELAY_MS = 400;
|
|
119302
119302
|
function sleepMs(ms) {
|
|
@@ -120520,7 +120520,7 @@ function getMimeType(filePath) {
|
|
|
120520
120520
|
return mimeTypes[ext] || "application/octet-stream";
|
|
120521
120521
|
}
|
|
120522
120522
|
|
|
120523
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
120523
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/push-event.js
|
|
120524
120524
|
var CONTENT_HASH_PATTERN = /^sha256:[0-9a-f]{64}$/;
|
|
120525
120525
|
var ISO8601_DATETIME_PATTERN = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/;
|
|
120526
120526
|
function nativeSeparatorsToPosix(relativePath, sep26) {
|
|
@@ -120615,7 +120615,7 @@ function decodePushEvent(input2) {
|
|
|
120615
120615
|
return parsed.data;
|
|
120616
120616
|
}
|
|
120617
120617
|
|
|
120618
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
120618
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-routes.js
|
|
120619
120619
|
import * as path20 from "path";
|
|
120620
120620
|
function routeChangeToTarget(relPath, kind) {
|
|
120621
120621
|
const norm = relPath.split(path20.sep).join("/").replace(/^\.\//, "");
|
|
@@ -120784,7 +120784,7 @@ function carriedFlags(baseArgv) {
|
|
|
120784
120784
|
return carried;
|
|
120785
120785
|
}
|
|
120786
120786
|
|
|
120787
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
120787
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/push-transport.js
|
|
120788
120788
|
var moduleLoadFetch = globalThis.fetch;
|
|
120789
120789
|
var moduleLoadAbortController = globalThis.AbortController;
|
|
120790
120790
|
var successOutcomes = /* @__PURE__ */ new WeakMap();
|
|
@@ -121006,7 +121006,7 @@ var HttpPushTransport = class {
|
|
|
121006
121006
|
}
|
|
121007
121007
|
};
|
|
121008
121008
|
|
|
121009
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121009
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/case-alias.js
|
|
121010
121010
|
import * as fs25 from "fs";
|
|
121011
121011
|
import * as path21 from "path";
|
|
121012
121012
|
function foldVaultKey(key) {
|
|
@@ -121154,7 +121154,7 @@ function directoryFoldsCase(dir) {
|
|
|
121154
121154
|
return false;
|
|
121155
121155
|
}
|
|
121156
121156
|
|
|
121157
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121157
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/watcher.js
|
|
121158
121158
|
var DEBOUNCE_MS = 2e3;
|
|
121159
121159
|
var DEFAULT_EVENT_DEBOUNCE_MS = 6e4;
|
|
121160
121160
|
var DEFAULT_EVENT_MAX_WAIT_MS = 12e4;
|
|
@@ -124317,7 +124317,7 @@ var PushEventEmitter = class _PushEventEmitter {
|
|
|
124317
124317
|
}
|
|
124318
124318
|
};
|
|
124319
124319
|
|
|
124320
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124320
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-self-profile.js
|
|
124321
124321
|
var SELF_PROFILE_ENV = "HQ_SYNC_SELF_PROFILE";
|
|
124322
124322
|
var SELF_PROFILE_CPU_CORES_ENV = "HQ_SYNC_SELF_PROFILE_CPU_CORES";
|
|
124323
124323
|
var SELF_PROFILE_RSS_MB_ENV = "HQ_SYNC_SELF_PROFILE_RSS_MB";
|
|
@@ -124932,7 +124932,7 @@ function readRunnerVersion() {
|
|
|
124932
124932
|
}
|
|
124933
124933
|
}
|
|
124934
124934
|
|
|
124935
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124935
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
124936
124936
|
import * as os25 from "os";
|
|
124937
124937
|
import * as path74 from "path";
|
|
124938
124938
|
import * as fs78 from "fs";
|
|
@@ -124940,7 +124940,7 @@ import { randomUUID as randomUUID14 } from "node:crypto";
|
|
|
124940
124940
|
import { monitorEventLoopDelay as monitorEventLoopDelay2, performance as performance4 } from "node:perf_hooks";
|
|
124941
124941
|
import { fileURLToPath as fileURLToPath6 } from "url";
|
|
124942
124942
|
|
|
124943
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124943
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/context.js
|
|
124944
124944
|
import { createHash as createHash20 } from "node:crypto";
|
|
124945
124945
|
var REFRESH_THRESHOLD_MS = 2 * 60 * 1e3;
|
|
124946
124946
|
var DEFAULT_SESSION_DURATION_SECONDS = 900;
|
|
@@ -125171,13 +125171,13 @@ async function vendSelfCredentials(personUid, config2) {
|
|
|
125171
125171
|
return postVend(route, { personUid }, config2);
|
|
125172
125172
|
}
|
|
125173
125173
|
|
|
125174
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125174
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/realtime-rollout.js
|
|
125175
125175
|
var DEFAULT_REALTIME_AUTHORIZATION_TIMEOUT_MS = 15e3;
|
|
125176
125176
|
|
|
125177
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125177
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/candidate-uploader.js
|
|
125178
125178
|
var MAX_SMALL_CANDIDATE_BYTES = 8 * 1024 * 1024;
|
|
125179
125179
|
|
|
125180
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125180
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/multipart-uploader.js
|
|
125181
125181
|
var DEFAULT_GLOBAL_FETCH3 = globalThis.fetch;
|
|
125182
125182
|
var MULTIPART_PART_SIZE_BYTES = 8 * 1024 * 1024;
|
|
125183
125183
|
var MAX_MULTIPART_BYTES_IN_FLIGHT = 64 * 1024 * 1024;
|
|
@@ -125227,7 +125227,7 @@ var MultipartByteBudget = class {
|
|
|
125227
125227
|
};
|
|
125228
125228
|
var processByteBudget = new MultipartByteBudget();
|
|
125229
125229
|
|
|
125230
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125230
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/cloud-authoritative.js
|
|
125231
125231
|
var CLOUD_AUTHORITATIVE_PATTERNS = [
|
|
125232
125232
|
/^company-brief\.md$/,
|
|
125233
125233
|
/^board\.json$/,
|
|
@@ -125275,7 +125275,7 @@ function isPullReconciledServerOwned(relPath) {
|
|
|
125275
125275
|
return isCloudAuthoritative(vaultRel);
|
|
125276
125276
|
}
|
|
125277
125277
|
|
|
125278
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125278
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/server-owned-skips.js
|
|
125279
125279
|
var SERVER_OWNED_FOLDERS = [
|
|
125280
125280
|
{
|
|
125281
125281
|
folder: "sources/slack-dm/",
|
|
@@ -125338,13 +125338,13 @@ function groupServerOwnedSkips(paths, options = {}) {
|
|
|
125338
125338
|
return groups;
|
|
125339
125339
|
}
|
|
125340
125340
|
|
|
125341
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125341
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync-progress.js
|
|
125342
125342
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
125343
125343
|
import * as fs29 from "fs";
|
|
125344
125344
|
import * as os8 from "os";
|
|
125345
125345
|
import * as path25 from "path";
|
|
125346
125346
|
|
|
125347
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125347
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/conflict-notices.js
|
|
125348
125348
|
import { createHash as createHash21 } from "node:crypto";
|
|
125349
125349
|
import * as fs28 from "node:fs";
|
|
125350
125350
|
import * as os7 from "node:os";
|
|
@@ -125493,7 +125493,7 @@ function readPendingConflictNotices() {
|
|
|
125493
125493
|
return readNotices().filter((notice) => !acknowledged.has(notice.id)).slice(-MAX_PENDING_CONFLICT_NOTICES);
|
|
125494
125494
|
}
|
|
125495
125495
|
|
|
125496
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125496
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync-progress.js
|
|
125497
125497
|
function logSwallowed5(line) {
|
|
125498
125498
|
process.stderr.write(line);
|
|
125499
125499
|
}
|
|
@@ -125780,7 +125780,7 @@ function createPassSummaryRecorder() {
|
|
|
125780
125780
|
};
|
|
125781
125781
|
}
|
|
125782
125782
|
|
|
125783
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125783
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/prefix-coalesce.js
|
|
125784
125784
|
var SCOPE_PREFIX_MARKER = "\0hq-scope:";
|
|
125785
125785
|
var SCOPE_PREFIX_MARKER_PREFIX = `${SCOPE_PREFIX_MARKER}prefix`;
|
|
125786
125786
|
var SCOPE_PREFIX_MARKER_EXACT = `${SCOPE_PREFIX_MARKER}exact`;
|
|
@@ -125980,7 +125980,7 @@ function grantPathToScopePrefix(grantPath, slug) {
|
|
|
125980
125980
|
return pathToScopePrefix(p3);
|
|
125981
125981
|
}
|
|
125982
125982
|
|
|
125983
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125983
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/scope-shrink.js
|
|
125984
125984
|
import * as fs30 from "fs";
|
|
125985
125985
|
import * as path26 from "path";
|
|
125986
125986
|
function buildScopeShrinkPlan(input2) {
|
|
@@ -126276,18 +126276,18 @@ function applyScopeShrink(input2) {
|
|
|
126276
126276
|
};
|
|
126277
126277
|
}
|
|
126278
126278
|
|
|
126279
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126279
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/secret-path-policy.js
|
|
126280
126280
|
init_dist();
|
|
126281
126281
|
import * as fs31 from "fs";
|
|
126282
126282
|
import * as path27 from "path";
|
|
126283
126283
|
|
|
126284
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126284
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/flag-company-uid.js
|
|
126285
126285
|
var FLAG_COMPANY_UID_PATTERN = /^cmp_[A-Za-z0-9]{3,128}$/;
|
|
126286
126286
|
function flagCompanyUid(uid) {
|
|
126287
126287
|
return FLAG_COMPANY_UID_PATTERN.test(uid) ? uid : void 0;
|
|
126288
126288
|
}
|
|
126289
126289
|
|
|
126290
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126290
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/secret-path-policy.js
|
|
126291
126291
|
var SKIP_SECRET_PATHS_FLAG = "sync.skip-secret-paths";
|
|
126292
126292
|
var WAL_REJECTED_DELTA_RECOVERY_FLAG = "sync.wal-rejected-delta-recovery";
|
|
126293
126293
|
var FLAG_REFRESH_INTERVAL_MS = 5 * 6e4;
|
|
@@ -126437,7 +126437,7 @@ function isSkipSecretPathsEnabled(config2, companyUid, failClosed = false) {
|
|
|
126437
126437
|
return defaultSkipSecretPathsGate(config2, companyUid, failClosed);
|
|
126438
126438
|
}
|
|
126439
126439
|
|
|
126440
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126440
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/remote-pull.js
|
|
126441
126441
|
var VEND_PATH_CAP = 10;
|
|
126442
126442
|
var POST_FILTER_THRESHOLD = 50;
|
|
126443
126443
|
var VEND_FANOUT_CONCURRENCY = 5;
|
|
@@ -126524,11 +126524,11 @@ function dedupByKey(files) {
|
|
|
126524
126524
|
return out;
|
|
126525
126525
|
}
|
|
126526
126526
|
|
|
126527
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126527
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/multipart-upload.js
|
|
126528
126528
|
var MULTIPART_DEFAULT_PART_SIZE = 16 * 1024 * 1024;
|
|
126529
126529
|
var MIB = 1024 * 1024;
|
|
126530
126530
|
|
|
126531
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126531
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/pull-scope.js
|
|
126532
126532
|
import * as fs32 from "fs";
|
|
126533
126533
|
import * as path28 from "path";
|
|
126534
126534
|
var SESSIONS_SCOPE_PREFIX = "sessions/";
|
|
@@ -126599,7 +126599,7 @@ function readPinnedPrefixes(hqRoot, slug) {
|
|
|
126599
126599
|
return [];
|
|
126600
126600
|
}
|
|
126601
126601
|
|
|
126602
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126602
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/plan-limit-pause.js
|
|
126603
126603
|
import * as fs33 from "fs";
|
|
126604
126604
|
import * as path29 from "path";
|
|
126605
126605
|
var PLAN_LIMIT_PAUSE_RETRY_MS = 60 * 60 * 1e3;
|
|
@@ -126816,13 +126816,13 @@ var PlanLimitPauseStore = class _PlanLimitPauseStore {
|
|
|
126816
126816
|
}
|
|
126817
126817
|
};
|
|
126818
126818
|
|
|
126819
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126819
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/telemetry.js
|
|
126820
126820
|
import { createHash as createHash22 } from "node:crypto";
|
|
126821
126821
|
import { promises as fs38 } from "node:fs";
|
|
126822
126822
|
import * as os9 from "node:os";
|
|
126823
126823
|
import * as path33 from "node:path";
|
|
126824
126824
|
|
|
126825
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126825
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/telemetry-scan-cap.js
|
|
126826
126826
|
import { promises as fs34 } from "node:fs";
|
|
126827
126827
|
async function hasUnreadBytes(filePath, stored) {
|
|
126828
126828
|
let stat5;
|
|
@@ -126840,7 +126840,7 @@ async function hasUnreadBytes(filePath, stored) {
|
|
|
126840
126840
|
return stat5.size > offset;
|
|
126841
126841
|
}
|
|
126842
126842
|
|
|
126843
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126843
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/company-resolver.js
|
|
126844
126844
|
import { promises as fs35 } from "node:fs";
|
|
126845
126845
|
import * as path30 from "node:path";
|
|
126846
126846
|
|
|
@@ -129468,7 +129468,7 @@ var jsYaml = {
|
|
|
129468
129468
|
safeDump
|
|
129469
129469
|
};
|
|
129470
129470
|
|
|
129471
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129471
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/company-resolver.js
|
|
129472
129472
|
function logSwallowed6(line) {
|
|
129473
129473
|
process.stderr.write(line);
|
|
129474
129474
|
}
|
|
@@ -129679,7 +129679,7 @@ function resolveCompanyForCwd(cwd, map9) {
|
|
|
129679
129679
|
return collapsed !== c5 ? match(collapsed) : void 0;
|
|
129680
129680
|
}
|
|
129681
129681
|
|
|
129682
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129682
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/usage-company-fallback.js
|
|
129683
129683
|
import { promises as fs36 } from "node:fs";
|
|
129684
129684
|
import * as path31 from "node:path";
|
|
129685
129685
|
var TRUSTED_META_SOURCES = /* @__PURE__ */ new Set(["session"]);
|
|
@@ -130126,7 +130126,7 @@ function createUsageCompanyFallback(options) {
|
|
|
130126
130126
|
};
|
|
130127
130127
|
}
|
|
130128
130128
|
|
|
130129
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130129
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/telemetry/consent-source.js
|
|
130130
130130
|
var KNOWN_SOURCES = /* @__PURE__ */ new Set([
|
|
130131
130131
|
"plan-required",
|
|
130132
130132
|
"notice-pending",
|
|
@@ -130206,7 +130206,7 @@ function decideCollection(resp, local) {
|
|
|
130206
130206
|
}
|
|
130207
130207
|
}
|
|
130208
130208
|
|
|
130209
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130209
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/telemetry/pre-consent-buffer.js
|
|
130210
130210
|
import { randomBytes as randomBytes8 } from "node:crypto";
|
|
130211
130211
|
import { promises as fs37 } from "node:fs";
|
|
130212
130212
|
import * as path32 from "node:path";
|
|
@@ -130438,7 +130438,7 @@ async function discardPreConsentBuffer(file2, opts = {}) {
|
|
|
130438
130438
|
});
|
|
130439
130439
|
}
|
|
130440
130440
|
|
|
130441
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130441
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/telemetry.js
|
|
130442
130442
|
function emptyCursor() {
|
|
130443
130443
|
return { version: "1", files: {} };
|
|
130444
130444
|
}
|
|
@@ -131397,7 +131397,7 @@ async function collectAndSendTelemetry(opts) {
|
|
|
131397
131397
|
};
|
|
131398
131398
|
}
|
|
131399
131399
|
|
|
131400
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131400
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/skill-telemetry.js
|
|
131401
131401
|
import { createHash as createHash23 } from "node:crypto";
|
|
131402
131402
|
import { promises as fs39 } from "node:fs";
|
|
131403
131403
|
import * as os10 from "node:os";
|
|
@@ -132268,12 +132268,12 @@ async function collectAndSendSkillTelemetry(opts) {
|
|
|
132268
132268
|
};
|
|
132269
132269
|
}
|
|
132270
132270
|
|
|
132271
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132271
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
132272
132272
|
import * as fs50 from "fs";
|
|
132273
132273
|
import * as os15 from "os";
|
|
132274
132274
|
import * as path45 from "path";
|
|
132275
132275
|
|
|
132276
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132276
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync-pass-event.js
|
|
132277
132277
|
import { createHash as createHash24 } from "node:crypto";
|
|
132278
132278
|
import * as os11 from "node:os";
|
|
132279
132279
|
var SYNC_PASS_EVENT_NAME = "sync_pass";
|
|
@@ -132366,7 +132366,7 @@ function startSyncPassObservation(context, deps = {}) {
|
|
|
132366
132366
|
};
|
|
132367
132367
|
}
|
|
132368
132368
|
|
|
132369
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132369
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync-object-events.js
|
|
132370
132370
|
import { createHash as createHash25 } from "node:crypto";
|
|
132371
132371
|
var SYNC_CONFLICT_EVENT_NAME = "sync_conflict";
|
|
132372
132372
|
var SYNC_OVERWRITE_EVENT_NAME = "sync_overwrite";
|
|
@@ -132503,7 +132503,7 @@ function createSyncObjectEventSink(deps) {
|
|
|
132503
132503
|
};
|
|
132504
132504
|
}
|
|
132505
132505
|
|
|
132506
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132506
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/symlink-target-refusal-flag.js
|
|
132507
132507
|
init_dist();
|
|
132508
132508
|
var SYMLINK_TARGET_REFUSAL_FLAG = "sync.symlink-target-refusal";
|
|
132509
132509
|
var FLAG_READ_TIMEOUT_MS = 2e3;
|
|
@@ -132552,7 +132552,7 @@ async function resolveSymlinkTargetRefusalFlag(input2) {
|
|
|
132552
132552
|
}
|
|
132553
132553
|
}
|
|
132554
132554
|
|
|
132555
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132555
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/company-vault-transport.js
|
|
132556
132556
|
function selectObjectIOFactory(client, refresherFor, forceRefresherFor) {
|
|
132557
132557
|
if (typeof client.presign === "function" && typeof client.listFiles === "function") {
|
|
132558
132558
|
return presignObjectIOFactory(client, refresherFor, forceRefresherFor);
|
|
@@ -132570,7 +132570,7 @@ function ensureCompanyVaultTransport(vaultConfig, deps = {}) {
|
|
|
132570
132570
|
vaultConfig.companyVaultUsesPresign = objectIOFactory !== null;
|
|
132571
132571
|
}
|
|
132572
132572
|
|
|
132573
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132573
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync-decision-log.js
|
|
132574
132574
|
import * as fs40 from "node:fs";
|
|
132575
132575
|
import * as path35 from "node:path";
|
|
132576
132576
|
import { randomUUID as randomUUID4 } from "node:crypto";
|
|
@@ -132615,10 +132615,10 @@ function appendSyncDecision(input2, options = {}) {
|
|
|
132615
132615
|
}
|
|
132616
132616
|
}
|
|
132617
132617
|
|
|
132618
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132618
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
132619
132619
|
import * as crypto15 from "crypto";
|
|
132620
132620
|
|
|
132621
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132621
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/private-folder-transport.js
|
|
132622
132622
|
import * as fs41 from "fs";
|
|
132623
132623
|
import * as path36 from "path";
|
|
132624
132624
|
var CONTENT_SHA256_RE2 = /^[a-f0-9]{64}$/;
|
|
@@ -132710,7 +132710,7 @@ async function primePrivateFolderUpload(input2) {
|
|
|
132710
132710
|
}]);
|
|
132711
132711
|
}
|
|
132712
132712
|
|
|
132713
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132713
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/full-pass-caps.js
|
|
132714
132714
|
var FULL_PASS_CPU_CAP_FLAG = "sync.full-pass.cpu-cap-pct";
|
|
132715
132715
|
var FULL_PASS_HEAP_CAP_FLAG = "sync.full-pass.heap-cap-mb";
|
|
132716
132716
|
var FULL_PASS_DURABLE_PROGRESS_FLAG = "sync.full-pass-durable-progress";
|
|
@@ -133287,7 +133287,7 @@ var FullPassCapController = class {
|
|
|
133287
133287
|
}
|
|
133288
133288
|
};
|
|
133289
133289
|
|
|
133290
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133290
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/conflict.js
|
|
133291
133291
|
import * as readline from "readline";
|
|
133292
133292
|
function parseFrontmatterVersion(body) {
|
|
133293
133293
|
if (!body || body.length === 0)
|
|
@@ -133415,7 +133415,7 @@ async function promptConflict(conflict) {
|
|
|
133415
133415
|
}
|
|
133416
133416
|
}
|
|
133417
133417
|
|
|
133418
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133418
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/reconcile-skip-reason.js
|
|
133419
133419
|
var HUMAN_UP_TO_DATE_LINE_CAP = 20;
|
|
133420
133420
|
function isUpToDateSkipReason(reason) {
|
|
133421
133421
|
return reason === "already_up_to_date" || reason === "already_landed";
|
|
@@ -133473,7 +133473,7 @@ function createHumanSkipLineLog() {
|
|
|
133473
133473
|
};
|
|
133474
133474
|
}
|
|
133475
133475
|
|
|
133476
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133476
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/tombstones.js
|
|
133477
133477
|
import * as crypto12 from "node:crypto";
|
|
133478
133478
|
import * as fs42 from "node:fs";
|
|
133479
133479
|
import * as os12 from "node:os";
|
|
@@ -133867,7 +133867,7 @@ async function fetchTombstonePage(url2, token) {
|
|
|
133867
133867
|
throw new TombstoneFetchError(`FILE_TOMBSTONE fetch failed after ${attemptsMade} attempts; refusing to sync without delete suppression`, attemptsMade, lastError);
|
|
133868
133868
|
}
|
|
133869
133869
|
|
|
133870
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133870
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync-core.js
|
|
133871
133871
|
import { execSync } from "child_process";
|
|
133872
133872
|
import * as fs43 from "fs";
|
|
133873
133873
|
import * as os13 from "os";
|
|
@@ -134014,11 +134014,11 @@ function hasRemoteChanged(remote, entry) {
|
|
|
134014
134014
|
return remote.lastModified.getTime() > syncedAt;
|
|
134015
134015
|
}
|
|
134016
134016
|
|
|
134017
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134017
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-file.js
|
|
134018
134018
|
import * as crypto13 from "crypto";
|
|
134019
134019
|
import * as path40 from "path";
|
|
134020
134020
|
|
|
134021
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134021
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/machine-id.js
|
|
134022
134022
|
import { createHash as createHash27, randomUUID as randomUUID6 } from "node:crypto";
|
|
134023
134023
|
import * as fs44 from "node:fs";
|
|
134024
134024
|
import * as os14 from "node:os";
|
|
@@ -134138,7 +134138,7 @@ function readShortMachineId(hqRoot) {
|
|
|
134138
134138
|
return createHash27("sha1").update(full).digest("hex").slice(0, 6);
|
|
134139
134139
|
}
|
|
134140
134140
|
|
|
134141
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134141
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-file.js
|
|
134142
134142
|
var CONFLICT_BACKUPS_DIR = ".hq/conflict-backups";
|
|
134143
134143
|
var CONFLICT_PROBE_DIR = ".hq/tmp";
|
|
134144
134144
|
function safeTimestamp(detectedAt) {
|
|
@@ -134156,7 +134156,7 @@ function buildConflictId(originalRelative, detectedAt) {
|
|
|
134156
134156
|
return `${safePath}-${safeTimestamp(detectedAt)}`;
|
|
134157
134157
|
}
|
|
134158
134158
|
|
|
134159
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134159
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-index.js
|
|
134160
134160
|
import * as crypto14 from "crypto";
|
|
134161
134161
|
import * as fs45 from "fs";
|
|
134162
134162
|
import * as path41 from "path";
|
|
@@ -134310,7 +134310,7 @@ function pruneConflictIndex(hqRoot) {
|
|
|
134310
134310
|
return result;
|
|
134311
134311
|
}
|
|
134312
134312
|
|
|
134313
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134313
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/append-only-merge.js
|
|
134314
134314
|
import * as fs46 from "node:fs";
|
|
134315
134315
|
function isAppendOnlyPath(relativePath) {
|
|
134316
134316
|
const base = relativePath.split(/[\\/]/).pop() ?? "";
|
|
@@ -134382,7 +134382,7 @@ function appendIfUnchanged(file2, expected, merged) {
|
|
|
134382
134382
|
return "appended";
|
|
134383
134383
|
}
|
|
134384
134384
|
|
|
134385
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134385
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/board-merge.js
|
|
134386
134386
|
import * as fs47 from "node:fs";
|
|
134387
134387
|
import * as path42 from "node:path";
|
|
134388
134388
|
function isBoardJsonPath(relativePath) {
|
|
@@ -134528,7 +134528,7 @@ function replaceIfUnchanged(file2, expected, merged) {
|
|
|
134528
134528
|
return "appended";
|
|
134529
134529
|
}
|
|
134530
134530
|
|
|
134531
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134531
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/same-path-upload-lock.js
|
|
134532
134532
|
var SAME_PATH_UPLOAD_WAIT_MS = 6e4;
|
|
134533
134533
|
var SAME_PATH_LANDED_KEY_CAP = 4096;
|
|
134534
134534
|
var SAME_PATH_LANDED_PER_KEY_CAP = 8;
|
|
@@ -134718,13 +134718,21 @@ var SamePathUploadSupersededError = class extends Error {
|
|
|
134718
134718
|
}
|
|
134719
134719
|
};
|
|
134720
134720
|
|
|
134721
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134721
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-entity-push.js
|
|
134722
134722
|
init_dist();
|
|
134723
134723
|
import { createHash as createHash28 } from "node:crypto";
|
|
134724
134724
|
var ONTOLOGY_ENTITY_PUSH_FLAG = "checkpoint.ontology";
|
|
134725
134725
|
var ONTOLOGY_MULTI_WRITER_FLAG = "checkpoint.ontology.multi-writer";
|
|
134726
134726
|
var FLAG_READ_TIMEOUT_MS2 = 5e3;
|
|
134727
134727
|
var FLAG_CACHE_TTL_MS = 5 * 6e4;
|
|
134728
|
+
var FLAG_FORBIDDEN_CACHE_TTL_MS = 60 * 6e4;
|
|
134729
|
+
var FORBIDDEN = /\bresolve returned 403\b/;
|
|
134730
|
+
function isForbidden(error64) {
|
|
134731
|
+
if (error64 && typeof error64 === "object" && error64.status === 403)
|
|
134732
|
+
return true;
|
|
134733
|
+
const message = error64 instanceof Error ? error64.message : typeof error64 === "string" ? error64 : "";
|
|
134734
|
+
return FORBIDDEN.test(message);
|
|
134735
|
+
}
|
|
134728
134736
|
var cache5 = /* @__PURE__ */ new Map();
|
|
134729
134737
|
async function resolveOntologyEntityPush(input2) {
|
|
134730
134738
|
if (!input2.companyUid.startsWith("cmp_"))
|
|
@@ -134745,9 +134753,12 @@ async function resolveOntologyEntityPush(input2) {
|
|
|
134745
134753
|
`);
|
|
134746
134754
|
});
|
|
134747
134755
|
let failed = false;
|
|
134756
|
+
let forbidden = false;
|
|
134748
134757
|
let reported = false;
|
|
134749
134758
|
const fail = (error64) => {
|
|
134750
134759
|
failed = true;
|
|
134760
|
+
if (isForbidden(error64))
|
|
134761
|
+
forbidden = true;
|
|
134751
134762
|
if (reported)
|
|
134752
134763
|
return;
|
|
134753
134764
|
reported = true;
|
|
@@ -134796,10 +134807,12 @@ ${caller}`;
|
|
|
134796
134807
|
}
|
|
134797
134808
|
if (!failed)
|
|
134798
134809
|
cache5.set(cacheKey, { value, expiresAt: now() + FLAG_CACHE_TTL_MS });
|
|
134810
|
+
else if (forbidden)
|
|
134811
|
+
cache5.set(cacheKey, { value: false, expiresAt: now() + FLAG_FORBIDDEN_CACHE_TTL_MS });
|
|
134799
134812
|
return failed ? false : value;
|
|
134800
134813
|
}
|
|
134801
134814
|
|
|
134802
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134815
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-outbox.js
|
|
134803
134816
|
import fs48 from "node:fs";
|
|
134804
134817
|
import path43 from "node:path";
|
|
134805
134818
|
var ONTOLOGY_OUTBOX_SCHEMA = "hq-ontology-outbox.v1";
|
|
@@ -134865,7 +134878,7 @@ function entityIsFreshForCreate(body, nowMs) {
|
|
|
134865
134878
|
return age >= -ENTITY_CREATE_FUTURE_SKEW_MS && age <= ENTITY_CREATE_WINDOW_MS;
|
|
134866
134879
|
}
|
|
134867
134880
|
|
|
134868
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134881
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/skill-register-landed-bytes.js
|
|
134869
134882
|
init_dist();
|
|
134870
134883
|
import { createHash as createHash29 } from "node:crypto";
|
|
134871
134884
|
var SKILL_REGISTER_LANDED_BYTES_FLAG = "sync.skill-register-landed-bytes";
|
|
@@ -134939,7 +134952,7 @@ ${caller}`;
|
|
|
134939
134952
|
return failed ? false : value;
|
|
134940
134953
|
}
|
|
134941
134954
|
|
|
134942
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134955
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/personal-connector-settings-sync.js
|
|
134943
134956
|
init_dist();
|
|
134944
134957
|
import { createHash as createHash30 } from "node:crypto";
|
|
134945
134958
|
var PERSONAL_CONNECTOR_SETTINGS_SYNC_FLAG = "personal.connector-settings-sync";
|
|
@@ -135002,7 +135015,7 @@ ${caller}`;
|
|
|
135002
135015
|
return failed ? false : value;
|
|
135003
135016
|
}
|
|
135004
135017
|
|
|
135005
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
135018
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/describe-error.js
|
|
135006
135019
|
import * as path44 from "node:path";
|
|
135007
135020
|
var MAX_DIAGNOSTIC_LENGTH = 1024;
|
|
135008
135021
|
function sanitizeDiagnostic(value) {
|
|
@@ -135135,7 +135148,7 @@ function pushFailureTelemetryLabel(value) {
|
|
|
135135
135148
|
return safe.slice(0, 128) || "unknown";
|
|
135136
135149
|
}
|
|
135137
135150
|
|
|
135138
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
135151
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/readlink-safe.js
|
|
135139
135152
|
import * as fs49 from "fs";
|
|
135140
135153
|
function toPortableSymlinkTarget(target, platform5 = process.platform) {
|
|
135141
135154
|
return platform5 === "win32" ? target.replaceAll("\\", "/") : target;
|
|
@@ -135154,14 +135167,14 @@ function readlinkOrNull(linkPath, readlink = (path75) => fs49.readlinkSync(path7
|
|
|
135154
135167
|
}
|
|
135155
135168
|
}
|
|
135156
135169
|
|
|
135157
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
135170
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/reconcile-cursor.js
|
|
135158
135171
|
function checkpointReconcileApply(checkpoint, paths) {
|
|
135159
135172
|
if (!checkpoint)
|
|
135160
135173
|
return;
|
|
135161
135174
|
checkpoint.store.checkpointApply(checkpoint.cursor, [...new Set(paths)].map((path75) => ({ path: path75, durable: true })));
|
|
135162
135175
|
}
|
|
135163
135176
|
|
|
135164
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
135177
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/mass-delete-guards.js
|
|
135165
135178
|
init_dist();
|
|
135166
135179
|
import { createHash as createHash31 } from "node:crypto";
|
|
135167
135180
|
var MASS_DELETE_GUARDS_FLAG = "sync.delete-absolute-volume-and-release-root-guards";
|
|
@@ -135306,7 +135319,7 @@ function warnFlagReadFailure(write) {
|
|
|
135306
135319
|
`)))(line);
|
|
135307
135320
|
}
|
|
135308
135321
|
|
|
135309
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
135322
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
135310
135323
|
async function remoteContentDiffers(ctx, relativePath, localHash, hqRoot, symlinkOptions) {
|
|
135311
135324
|
const probeKey = crypto15.createHash("sha256").update(relativePath).digest("hex").slice(0, 16);
|
|
135312
135325
|
const probePath = path45.join(os15.tmpdir(), `hq-conflict-probe-${readShortMachineId(hqRoot)}-${probeKey}.tmp`);
|
|
@@ -140062,11 +140075,11 @@ function computeDecommissionPlan(journal, prefixes, policy, alreadyPlanned, skip
|
|
|
140062
140075
|
return out;
|
|
140063
140076
|
}
|
|
140064
140077
|
|
|
140065
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140078
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
140066
140079
|
import * as fs58 from "fs";
|
|
140067
140080
|
import * as path53 from "path";
|
|
140068
140081
|
|
|
140069
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140082
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/remote-file-spool.js
|
|
140070
140083
|
import * as fs51 from "node:fs";
|
|
140071
140084
|
import * as os16 from "node:os";
|
|
140072
140085
|
import * as path46 from "node:path";
|
|
@@ -140145,7 +140158,7 @@ function* readRows(filename) {
|
|
|
140145
140158
|
}
|
|
140146
140159
|
}
|
|
140147
140160
|
|
|
140148
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140161
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/hq-root-recovery.js
|
|
140149
140162
|
import { execFile as execFile6 } from "child_process";
|
|
140150
140163
|
import { randomBytes as randomBytes12 } from "crypto";
|
|
140151
140164
|
import * as fs53 from "fs";
|
|
@@ -140153,7 +140166,7 @@ import * as os17 from "os";
|
|
|
140153
140166
|
import * as path48 from "path";
|
|
140154
140167
|
import { promisify as promisify6 } from "util";
|
|
140155
140168
|
|
|
140156
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140169
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/backup-prune.js
|
|
140157
140170
|
import * as crypto16 from "crypto";
|
|
140158
140171
|
import * as fs52 from "fs";
|
|
140159
140172
|
import * as path47 from "path";
|
|
@@ -140339,7 +140352,7 @@ function inventoryManagedSnapshots(backupRoot, canonicalRoot3, isCopyingOwnerLiv
|
|
|
140339
140352
|
return { entries: entries3, ...plan, unmanaged: [...unmanaged, ...plan.unmanaged] };
|
|
140340
140353
|
}
|
|
140341
140354
|
|
|
140342
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140355
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/hq-root-recovery.js
|
|
140343
140356
|
var execFileAsync5 = promisify6(execFile6);
|
|
140344
140357
|
var HQ_LAYOUT_DIRS = ["repos", "repos/public", "repos/private"];
|
|
140345
140358
|
function gitSidecarDir(hqRoot, homeDir = os17.homedir()) {
|
|
@@ -140712,10 +140725,10 @@ function recoverHqRootLocalState(hqRoot, opts = {}) {
|
|
|
140712
140725
|
};
|
|
140713
140726
|
}
|
|
140714
140727
|
|
|
140715
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140728
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/doctor.js
|
|
140716
140729
|
var SKILLS_KEY_PREFIX = ".claude/skills/";
|
|
140717
140730
|
|
|
140718
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140731
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/content-hash.js
|
|
140719
140732
|
var SHA256_CONTENT_HASH = /^sha256:([a-f0-9]{64})$/;
|
|
140720
140733
|
function rawSha256FromContentHash(contentHash) {
|
|
140721
140734
|
if (contentHash === void 0)
|
|
@@ -140726,7 +140739,7 @@ function contentHashMatchesRawSha256(contentHash, rawHash) {
|
|
|
140726
140739
|
return rawSha256FromContentHash(contentHash) === rawHash;
|
|
140727
140740
|
}
|
|
140728
140741
|
|
|
140729
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140742
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/kms10-etag-safe-pull.js
|
|
140730
140743
|
import { createHash as createHash34 } from "node:crypto";
|
|
140731
140744
|
var KMS10_COPY_MARKER_META_KEY = "hq-kms10-reencrypt-current";
|
|
140732
140745
|
var KMS10_COPY_ORIGINAL_KEY_HASH_META_KEY = "hq-kms10-original-key-sha256";
|
|
@@ -140751,7 +140764,7 @@ function isKms10CopyOfJournalBase(listed, head, journalHash, journalEtag, expect
|
|
|
140751
140764
|
return normalizeEtag(head.metadata?.["hq-kms10-original-etag"] ?? "") === normalizeEtag(journalEtag);
|
|
140752
140765
|
}
|
|
140753
140766
|
|
|
140754
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140767
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/targeted-upsert-exact-list.js
|
|
140755
140768
|
init_dist();
|
|
140756
140769
|
import { createHash as createHash35 } from "node:crypto";
|
|
140757
140770
|
function logSwallowed8(line) {
|
|
@@ -140868,7 +140881,7 @@ function isTargetedUpsertExactListEnabled(config2, companyUid) {
|
|
|
140868
140881
|
return defaultTargetedUpsertExactListGate(config2, companyUid);
|
|
140869
140882
|
}
|
|
140870
140883
|
|
|
140871
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140884
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/targeted-pull-prefixes.js
|
|
140872
140885
|
var TARGETED_PULL_PREFIX_GROUP_MIN_PATHS = 16;
|
|
140873
140886
|
function coalesceDenseTargetedPullPaths(paths) {
|
|
140874
140887
|
const normalized = paths.map((path75) => path75.replace(/\\/g, "/"));
|
|
@@ -140906,15 +140919,15 @@ function coalesceDenseTargetedPullPaths(paths) {
|
|
|
140906
140919
|
return result;
|
|
140907
140920
|
}
|
|
140908
140921
|
|
|
140909
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140922
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
140910
140923
|
import { createHash as createHash38 } from "node:crypto";
|
|
140911
140924
|
|
|
140912
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140925
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex.js
|
|
140913
140926
|
import { spawnSync as spawnSync3 } from "child_process";
|
|
140914
140927
|
import * as fs57 from "fs";
|
|
140915
140928
|
import * as path52 from "path";
|
|
140916
140929
|
|
|
140917
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140930
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex-knowledge.js
|
|
140918
140931
|
import { spawnSync as spawnSync2 } from "child_process";
|
|
140919
140932
|
import * as fs54 from "fs";
|
|
140920
140933
|
import * as path49 from "path";
|
|
@@ -141177,7 +141190,7 @@ function materializeLegacyKnowledgeRepos(root5) {
|
|
|
141177
141190
|
}
|
|
141178
141191
|
}
|
|
141179
141192
|
|
|
141180
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
141193
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/session-log-capture.js
|
|
141181
141194
|
import * as crypto17 from "node:crypto";
|
|
141182
141195
|
import * as fs55 from "node:fs";
|
|
141183
141196
|
import * as os18 from "node:os";
|
|
@@ -142121,7 +142134,7 @@ function captureSessionLogs(root5, options = {}) {
|
|
|
142121
142134
|
}
|
|
142122
142135
|
}
|
|
142123
142136
|
|
|
142124
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
142137
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/session-log-retention.js
|
|
142125
142138
|
import * as crypto18 from "node:crypto";
|
|
142126
142139
|
import * as fs56 from "node:fs";
|
|
142127
142140
|
import * as os19 from "node:os";
|
|
@@ -142382,7 +142395,7 @@ function pruneSyncedSessionLogs(root5) {
|
|
|
142382
142395
|
}
|
|
142383
142396
|
}
|
|
142384
142397
|
|
|
142385
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
142398
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex.js
|
|
142386
142399
|
function isDir2(p3) {
|
|
142387
142400
|
try {
|
|
142388
142401
|
return fs57.statSync(p3).isDirectory();
|
|
@@ -142936,7 +142949,7 @@ function emitReindexTelemetry(opts, result, lockResult) {
|
|
|
142936
142949
|
}, { claims: opts.telemetryClaims });
|
|
142937
142950
|
}
|
|
142938
142951
|
|
|
142939
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
142952
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
142940
142953
|
async function yieldToCooperativeCheckpoint2(work, cooperativeCheckpoint, force, resumedAt) {
|
|
142941
142954
|
work.rowsSinceYield += 1;
|
|
142942
142955
|
if (!force && work.rowsSinceYield < cooperativeUnitSize()) {
|
|
@@ -146600,7 +146613,7 @@ function defaultConsoleLogger2(event, humanSkipLines) {
|
|
|
146600
146613
|
}
|
|
146601
146614
|
}
|
|
146602
146615
|
|
|
146603
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146616
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/rescue-core.js
|
|
146604
146617
|
import { createRequire } from "node:module";
|
|
146605
146618
|
var MAX_CLONE_BATCH_PATH_BYTES = 64 * 1024;
|
|
146606
146619
|
var require2 = createRequire(import.meta.url);
|
|
@@ -146610,7 +146623,7 @@ var PRECLONE_FREE_SPACE_FLOOR_BYTES = 1024 ** 3;
|
|
|
146610
146623
|
var CYGWIN_SYMLINK_COOKIE = Buffer.from("!<symlink>", "latin1");
|
|
146611
146624
|
var PRESERVED_FILE_COMPARE_CHUNK_BYTES = 64 * 1024;
|
|
146612
146625
|
|
|
146613
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146626
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/schemas/source-channels.js
|
|
146614
146627
|
var SOURCE_CHANNELS = Object.freeze([
|
|
146615
146628
|
"meeting",
|
|
146616
146629
|
"email",
|
|
@@ -146619,7 +146632,7 @@ var SOURCE_CHANNELS = Object.freeze([
|
|
|
146619
146632
|
"notion"
|
|
146620
146633
|
]);
|
|
146621
146634
|
|
|
146622
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146635
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/schemas/signal-types.js
|
|
146623
146636
|
var SIGNAL_TYPES = Object.freeze([
|
|
146624
146637
|
"action_item",
|
|
146625
146638
|
"commitment",
|
|
@@ -146629,7 +146642,7 @@ var SIGNAL_TYPES = Object.freeze([
|
|
|
146629
146642
|
"summary"
|
|
146630
146643
|
]);
|
|
146631
146644
|
|
|
146632
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146645
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/feature-flags.js
|
|
146633
146646
|
var PARALLEL_COORDINATOR_ENV_VAR = "HQ_SYNC_PARALLEL_COORDINATOR";
|
|
146634
146647
|
var AREA_STORAGE_ENV_VAR = "HQ_SYNC_AREA_STORAGE";
|
|
146635
146648
|
function parseFeatureSwitch(value) {
|
|
@@ -146698,7 +146711,7 @@ function isEventSyncLocallyDisabled(value) {
|
|
|
146698
146711
|
}
|
|
146699
146712
|
}
|
|
146700
146713
|
|
|
146701
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146714
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/metrics.js
|
|
146702
146715
|
var import_client_cloudwatch = __toESM(require_dist_cjs40(), 1);
|
|
146703
146716
|
var SYNC_METRIC_NAMESPACE = "HQPro/Sync";
|
|
146704
146717
|
var SYNC_LATENCY_METRIC_NAME = "hq-cloud.sync.p95_latency_seconds";
|
|
@@ -146766,7 +146779,7 @@ async function publishSyncLatencyMetric(metric, opts = {}) {
|
|
|
146766
146779
|
}
|
|
146767
146780
|
}
|
|
146768
146781
|
|
|
146769
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146782
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/push-receiver.js
|
|
146770
146783
|
var DEFAULT_RECEIVER_DISPOSE_DRAIN_MS = 5e3;
|
|
146771
146784
|
var RECEIVER_SHUTDOWN_RELEASE_BUDGET_MS = 1500;
|
|
146772
146785
|
var DEFAULT_WAIT_TIME_SECONDS = 20;
|
|
@@ -148299,10 +148312,10 @@ function defaultSleep(ms, signal) {
|
|
|
148299
148312
|
});
|
|
148300
148313
|
}
|
|
148301
148314
|
|
|
148302
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148315
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/logger.js
|
|
148303
148316
|
var import_pino = __toESM(require_pino(), 1);
|
|
148304
148317
|
|
|
148305
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148318
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/path-leases.js
|
|
148306
148319
|
function assertCanonicalPath(path75) {
|
|
148307
148320
|
if (path75.length === 0 || path75.startsWith("/") || path75.endsWith("/") || path75.includes("\\") || path75.split("/").some((part) => part.length === 0 || part === "." || part === "..")) {
|
|
148308
148321
|
throw new Error(`path lease requires a canonical relative path: ${path75}`);
|
|
@@ -148365,7 +148378,7 @@ var PathLease = class {
|
|
|
148365
148378
|
}
|
|
148366
148379
|
};
|
|
148367
148380
|
|
|
148368
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148381
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/parallel-sync-coordinator.js
|
|
148369
148382
|
var MAX_REALTIME_PULL_YIELDS = 3;
|
|
148370
148383
|
var MAX_REALTIME_PULL_YIELD_MS = 6e4;
|
|
148371
148384
|
var REALTIME_PULL_YIELD_STATE_TTL_MS = 10 * 6e4;
|
|
@@ -148872,7 +148885,7 @@ var DefaultParallelSyncCoordinator = class {
|
|
|
148872
148885
|
}
|
|
148873
148886
|
};
|
|
148874
148887
|
|
|
148875
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148888
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/sync-work.js
|
|
148876
148889
|
var InlineSyncWorkerAdapter = class {
|
|
148877
148890
|
handler;
|
|
148878
148891
|
constructor(handler) {
|
|
@@ -148883,11 +148896,11 @@ var InlineSyncWorkerAdapter = class {
|
|
|
148883
148896
|
}
|
|
148884
148897
|
};
|
|
148885
148898
|
|
|
148886
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148899
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/manifest/build-manifest.js
|
|
148887
148900
|
import * as fs60 from "node:fs";
|
|
148888
148901
|
import * as path56 from "node:path";
|
|
148889
148902
|
|
|
148890
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148903
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/company-slug.js
|
|
148891
148904
|
import * as path54 from "node:path";
|
|
148892
148905
|
var UNSAFE_SLUG_KEYS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
148893
148906
|
function isSafeCompanySlug(companiesDir, slug) {
|
|
@@ -148904,7 +148917,7 @@ function isSafeCompanySlug(companiesDir, slug) {
|
|
|
148904
148917
|
return path54.dirname(companyDir) === resolvedCompaniesDir;
|
|
148905
148918
|
}
|
|
148906
148919
|
|
|
148907
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148920
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/manifest/contract.js
|
|
148908
148921
|
var SYNC_MANIFEST_CONTRACT_VERSION = 1;
|
|
148909
148922
|
var SYNC_MANIFEST_SCOPE_KINDS = ["personal", "company"];
|
|
148910
148923
|
var SYNC_MANIFEST_SOURCES = ["desktop", "cli"];
|
|
@@ -149073,7 +149086,7 @@ var SYNC_MANIFEST_CONTRACT_DESCRIPTOR = {
|
|
|
149073
149086
|
}
|
|
149074
149087
|
};
|
|
149075
149088
|
|
|
149076
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149089
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/manifest/snapshot-store.js
|
|
149077
149090
|
import * as crypto19 from "node:crypto";
|
|
149078
149091
|
import * as fs59 from "node:fs";
|
|
149079
149092
|
import * as path55 from "node:path";
|
|
@@ -149248,7 +149261,7 @@ function writeSnapshotIncrementally(tmp, snapshot) {
|
|
|
149248
149261
|
}
|
|
149249
149262
|
var SNAPSHOT_WRITE_BATCH_CHARS = 256 * 1024;
|
|
149250
149263
|
|
|
149251
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149264
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/manifest/build-manifest.js
|
|
149252
149265
|
function logSwallowed11(line) {
|
|
149253
149266
|
process.stderr.write(line);
|
|
149254
149267
|
}
|
|
@@ -149857,7 +149870,7 @@ function buildChunk(input2, firstChunkRemovedPaths, chunkIndex, chunkCount, entr
|
|
|
149857
149870
|
return upload;
|
|
149858
149871
|
}
|
|
149859
149872
|
|
|
149860
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149873
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/manifest/upload-manifest.js
|
|
149861
149874
|
import * as fs61 from "node:fs";
|
|
149862
149875
|
var MANIFEST_UPLOAD_DISABLED_ENV = "HQ_SYNC_MANIFEST_DISABLED";
|
|
149863
149876
|
var DEFAULT_MANIFEST_UPLOAD_MIN_INTERVAL_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -150426,7 +150439,7 @@ async function runUploadPassBody(options, scopeKey, persisted) {
|
|
|
150426
150439
|
};
|
|
150427
150440
|
}
|
|
150428
150441
|
|
|
150429
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150442
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/watcher-catchup-skip-store.js
|
|
150430
150443
|
import * as fs62 from "node:fs";
|
|
150431
150444
|
import * as path57 from "node:path";
|
|
150432
150445
|
import { createHash as createHash40, randomUUID as randomUUID7 } from "node:crypto";
|
|
@@ -150674,7 +150687,7 @@ function validUnresolvedCompanyRecord(value) {
|
|
|
150674
150687
|
return typeof record2.company === "string" && record2.company.length > 0 && record2.reason === "unresolved-company" && typeof record2.recordedAt === "number" && Number.isFinite(record2.recordedAt);
|
|
150675
150688
|
}
|
|
150676
150689
|
|
|
150677
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150690
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/version.js
|
|
150678
150691
|
import { readFileSync as readFileSync36 } from "node:fs";
|
|
150679
150692
|
import { fileURLToPath as fileURLToPath4 } from "node:url";
|
|
150680
150693
|
import path58 from "node:path";
|
|
@@ -150682,7 +150695,7 @@ var here = path58.dirname(fileURLToPath4(import.meta.url));
|
|
|
150682
150695
|
var pkg = JSON.parse(readFileSync36(path58.resolve(here, "..", "package.json"), "utf-8"));
|
|
150683
150696
|
var HQ_CLOUD_VERSION = pkg.version;
|
|
150684
150697
|
|
|
150685
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150698
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/outcome-telemetry.js
|
|
150686
150699
|
import { promises as fs63 } from "node:fs";
|
|
150687
150700
|
import * as os20 from "node:os";
|
|
150688
150701
|
import * as path59 from "node:path";
|
|
@@ -151056,7 +151069,7 @@ async function collectAndSendOutcomeTelemetry(opts) {
|
|
|
151056
151069
|
return { enabled: true, optInSource, filesScanned, eventsSent, batchesSent };
|
|
151057
151070
|
}
|
|
151058
151071
|
|
|
151059
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151072
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/qmd-reindex.js
|
|
151060
151073
|
import * as fs64 from "fs";
|
|
151061
151074
|
import * as path60 from "path";
|
|
151062
151075
|
import { spawn as spawn2 } from "child_process";
|
|
@@ -151706,7 +151719,7 @@ function defaultHasIndexableProjectContent(projectsDir) {
|
|
|
151706
151719
|
return false;
|
|
151707
151720
|
}
|
|
151708
151721
|
|
|
151709
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151722
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/qmd-runner-admission.js
|
|
151710
151723
|
import fs65 from "node:fs";
|
|
151711
151724
|
import path61 from "node:path";
|
|
151712
151725
|
import { randomUUID as randomUUID8 } from "node:crypto";
|
|
@@ -151810,7 +151823,7 @@ nonce=${nonce}
|
|
|
151810
151823
|
};
|
|
151811
151824
|
}
|
|
151812
151825
|
|
|
151813
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151826
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/telemetry-admission.js
|
|
151814
151827
|
var DEFAULT_INTERVAL_MS = 10 * 60 * 1e3;
|
|
151815
151828
|
var MAX_INTERVAL_SEC = 24 * 60 * 60;
|
|
151816
151829
|
var STALE_IN_FLIGHT_TIMEOUT_MULTIPLE = 5;
|
|
@@ -151887,7 +151900,7 @@ function recordTelemetryRunStarted(store, nowMs, run) {
|
|
|
151887
151900
|
store.inFlight = tracked;
|
|
151888
151901
|
}
|
|
151889
151902
|
|
|
151890
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151903
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex-async.js
|
|
151891
151904
|
import { Worker } from "node:worker_threads";
|
|
151892
151905
|
function reindexAsync(options) {
|
|
151893
151906
|
if (import.meta.url.endsWith(".ts"))
|
|
@@ -151946,7 +151959,7 @@ function reindexAsync(options) {
|
|
|
151946
151959
|
});
|
|
151947
151960
|
}
|
|
151948
151961
|
|
|
151949
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151962
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/agent-codex-instructions.js
|
|
151950
151963
|
import * as crypto20 from "crypto";
|
|
151951
151964
|
import * as fs66 from "fs";
|
|
151952
151965
|
import * as os21 from "os";
|
|
@@ -152106,7 +152119,7 @@ function materializeCodexAgents(opts) {
|
|
|
152106
152119
|
}
|
|
152107
152120
|
}
|
|
152108
152121
|
|
|
152109
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152122
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-post-sync-flags.js
|
|
152110
152123
|
var POST_SYNC_FLAG_KEYS = {
|
|
152111
152124
|
qmdReindex: "sync.qmd-reindex",
|
|
152112
152125
|
conflictPrune: "sync.conflict-prune",
|
|
@@ -152126,12 +152139,12 @@ function createPostSyncFlagEvaluator(options = {}) {
|
|
|
152126
152139
|
};
|
|
152127
152140
|
}
|
|
152128
152141
|
|
|
152129
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152142
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-manifest.js
|
|
152130
152143
|
import { createHash as createHash41, randomUUID as randomUUID9 } from "node:crypto";
|
|
152131
152144
|
import * as fs68 from "node:fs/promises";
|
|
152132
152145
|
import * as path64 from "node:path";
|
|
152133
152146
|
|
|
152134
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152147
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-installation-id.js
|
|
152135
152148
|
import * as fs67 from "node:fs";
|
|
152136
152149
|
import * as os22 from "node:os";
|
|
152137
152150
|
import * as path63 from "node:path";
|
|
@@ -152181,7 +152194,7 @@ function readDesktopInstallationId(options) {
|
|
|
152181
152194
|
return void 0;
|
|
152182
152195
|
}
|
|
152183
152196
|
|
|
152184
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152197
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-manifest.js
|
|
152185
152198
|
var RUNNER_MANIFEST_WALK_WALL_MS = 9e4;
|
|
152186
152199
|
var RUNNER_MANIFEST_PHASE_WALL_MS = 24e4;
|
|
152187
152200
|
var RUNNER_MANIFEST_REPAIR_POLL_SPACING_MS = 60 * 60 * 1e3;
|
|
@@ -152803,14 +152816,14 @@ async function runPostSyncManifestUploads(options) {
|
|
|
152803
152816
|
return emitted;
|
|
152804
152817
|
}
|
|
152805
152818
|
|
|
152806
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152819
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/exit-codes.js
|
|
152807
152820
|
var PARTIAL_SYNC_EXIT = 2;
|
|
152808
152821
|
var UNRESOLVED_COMPANY_EXIT = 19;
|
|
152809
152822
|
var WATCH_RUNNER_ALREADY_OWNED_EXIT = 20;
|
|
152810
152823
|
var WATCH_OWNER_LEASE_LOST_EXIT = 21;
|
|
152811
152824
|
var PREFLIGHT_HALT_EXIT = 22;
|
|
152812
152825
|
|
|
152813
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152826
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-audit.js
|
|
152814
152827
|
import * as crypto21 from "node:crypto";
|
|
152815
152828
|
import * as fs69 from "node:fs";
|
|
152816
152829
|
import * as path65 from "node:path";
|
|
@@ -152859,7 +152872,7 @@ function hashNormalizedKey(key) {
|
|
|
152859
152872
|
return crypto21.createHash("sha256").update(normalized, "utf8").digest("hex");
|
|
152860
152873
|
}
|
|
152861
152874
|
|
|
152862
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152875
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/watch-owner-lease.js
|
|
152863
152876
|
import { spawnSync as spawnSync4 } from "node:child_process";
|
|
152864
152877
|
import { randomUUID as randomUUID10 } from "node:crypto";
|
|
152865
152878
|
import * as fs70 from "node:fs";
|
|
@@ -153230,7 +153243,7 @@ function acquireWatchOwnerLease(hqRoot, owner = "unknown", options = {}) {
|
|
|
153230
153243
|
};
|
|
153231
153244
|
}
|
|
153232
153245
|
|
|
153233
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153246
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/watch-parent.js
|
|
153234
153247
|
var WATCH_PARENT_CHECK_INTERVAL_MS = 1e3;
|
|
153235
153248
|
function processExists(pid) {
|
|
153236
153249
|
try {
|
|
@@ -153281,7 +153294,7 @@ function startWatchParentExitMonitor(options) {
|
|
|
153281
153294
|
};
|
|
153282
153295
|
}
|
|
153283
153296
|
|
|
153284
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153297
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-events.js
|
|
153285
153298
|
var ERROR_TYPES = /* @__PURE__ */ new Set([
|
|
153286
153299
|
"error",
|
|
153287
153300
|
"auth-error"
|
|
@@ -153327,7 +153340,7 @@ function emitUncaughtRunnerError(err, streams) {
|
|
|
153327
153340
|
}
|
|
153328
153341
|
}
|
|
153329
153342
|
|
|
153330
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153343
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-stdout.js
|
|
153331
153344
|
import { format as format4 } from "node:util";
|
|
153332
153345
|
function redirectRunnerConsoleToStderr(runnerConsole, stderr) {
|
|
153333
153346
|
const writeDiagnostic = (...args) => {
|
|
@@ -153343,7 +153356,7 @@ function runWithRunnerConsoleStderr(startRunner, runnerConsole = console, stderr
|
|
|
153343
153356
|
return startRunner();
|
|
153344
153357
|
}
|
|
153345
153358
|
|
|
153346
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153359
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-planning.js
|
|
153347
153360
|
function verifiedMemberCompanyUids(options) {
|
|
153348
153361
|
if (!options.companies)
|
|
153349
153362
|
return void 0;
|
|
@@ -153508,7 +153521,7 @@ function emitFanoutPlan(emit, plan) {
|
|
|
153508
153521
|
emit({ type: "fanout-plan", companies: plan });
|
|
153509
153522
|
}
|
|
153510
153523
|
|
|
153511
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153524
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-pass-request.js
|
|
153512
153525
|
import * as fs71 from "node:fs";
|
|
153513
153526
|
import * as path67 from "node:path";
|
|
153514
153527
|
function buildPassRequestArgv(passArgv, company) {
|
|
@@ -153759,7 +153772,7 @@ var SyncPassRequestDirectory = class _SyncPassRequestDirectory {
|
|
|
153759
153772
|
}
|
|
153760
153773
|
};
|
|
153761
153774
|
|
|
153762
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153775
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/active-company.js
|
|
153763
153776
|
import { randomUUID as randomUUID11 } from "node:crypto";
|
|
153764
153777
|
import * as fs72 from "node:fs";
|
|
153765
153778
|
import * as path68 from "node:path";
|
|
@@ -153851,7 +153864,7 @@ function seedActiveCompany(options) {
|
|
|
153851
153864
|
return { written: true, activeCompany };
|
|
153852
153865
|
}
|
|
153853
153866
|
|
|
153854
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153867
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/manifest-reconcile.js
|
|
153855
153868
|
import { randomUUID as randomUUID12 } from "node:crypto";
|
|
153856
153869
|
import * as fs73 from "node:fs";
|
|
153857
153870
|
import * as path69 from "node:path";
|
|
@@ -154073,17 +154086,17 @@ async function reconcileCompanyManifest(options) {
|
|
|
154073
154086
|
return reconcileManifest(options.hqRoot, resolvedTargets);
|
|
154074
154087
|
}
|
|
154075
154088
|
|
|
154076
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154089
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-company.js
|
|
154077
154090
|
import * as fs74 from "fs";
|
|
154078
154091
|
import * as path70 from "path";
|
|
154079
154092
|
import { createHash as createHash43, randomUUID as randomUUID13 } from "node:crypto";
|
|
154080
154093
|
|
|
154081
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154094
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/scope-inventory-client.js
|
|
154082
154095
|
function allowsLegacyNetwork(decision) {
|
|
154083
154096
|
return decision.network === "allow-legacy";
|
|
154084
154097
|
}
|
|
154085
154098
|
|
|
154086
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154099
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/lib/sync-leg-error-summary.js
|
|
154087
154100
|
import os23 from "node:os";
|
|
154088
154101
|
var ERRNO_NAMES = new Set(Object.keys(os23.constants.errno));
|
|
154089
154102
|
var EXTRA_CODES = /* @__PURE__ */ new Set([
|
|
@@ -154288,7 +154301,7 @@ function buildSyncLegErrorSummary(input2) {
|
|
|
154288
154301
|
return segments.join(":").slice(0, 128);
|
|
154289
154302
|
}
|
|
154290
154303
|
|
|
154291
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154304
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-rollup.js
|
|
154292
154305
|
function createCompanyState(company) {
|
|
154293
154306
|
return {
|
|
154294
154307
|
company,
|
|
@@ -154350,7 +154363,7 @@ function rollupAllComplete(plan, stateByCompany) {
|
|
|
154350
154363
|
};
|
|
154351
154364
|
}
|
|
154352
154365
|
|
|
154353
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
154366
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-company.js
|
|
154354
154367
|
var PRUNED_SAMPLE_PATHS = 5;
|
|
154355
154368
|
function journalErrorClass(error64) {
|
|
154356
154369
|
if (error64 instanceof JournalIncompleteUpsertError)
|
|
@@ -155434,7 +155447,7 @@ function normalizePullChangedPaths(target, changedPaths) {
|
|
|
155434
155447
|
});
|
|
155435
155448
|
}
|
|
155436
155449
|
|
|
155437
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
155450
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-telemetry.js
|
|
155438
155451
|
async function emitTelemetry(options) {
|
|
155439
155452
|
const telemetryFn = options.collectTelemetry ?? options.defaultCollectTelemetry;
|
|
155440
155453
|
return telemetryFn().catch((err) => {
|
|
@@ -155446,7 +155459,7 @@ async function emitTelemetry(options) {
|
|
|
155446
155459
|
});
|
|
155447
155460
|
}
|
|
155448
155461
|
|
|
155449
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
155462
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-loop.js
|
|
155450
155463
|
import * as os24 from "os";
|
|
155451
155464
|
import * as path73 from "path";
|
|
155452
155465
|
import * as fs77 from "fs";
|
|
@@ -155454,7 +155467,7 @@ import { createHash as createHash44 } from "node:crypto";
|
|
|
155454
155467
|
import * as v8 from "node:v8";
|
|
155455
155468
|
import { performance as performance3 } from "node:perf_hooks";
|
|
155456
155469
|
|
|
155457
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
155470
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/push-failure-backoff.js
|
|
155458
155471
|
var PUSH_FAILURE_BACKOFF_BASE_MS = 5e3;
|
|
155459
155472
|
var PUSH_FAILURE_BACKOFF_CAP_MS = 5 * 6e4;
|
|
155460
155473
|
var RoutePushFailureBackoff = class {
|
|
@@ -155481,12 +155494,12 @@ var systemPushRetryScheduler = {
|
|
|
155481
155494
|
clearTimeout: (handle) => clearTimeout(handle)
|
|
155482
155495
|
};
|
|
155483
155496
|
|
|
155484
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
155497
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
155485
155498
|
var import_client_sqs = __toESM(require_dist_cjs42(), 1);
|
|
155486
155499
|
import { readFileSync as readFileSync43 } from "node:fs";
|
|
155487
155500
|
import { join as join71 } from "node:path";
|
|
155488
155501
|
|
|
155489
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
155502
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/inbound-event-admission.js
|
|
155490
155503
|
import * as fs75 from "node:fs";
|
|
155491
155504
|
import * as path71 from "node:path";
|
|
155492
155505
|
function logSwallowed13(line) {
|
|
@@ -155552,7 +155565,7 @@ function isInboundEventPlaceable(hqRoot, event) {
|
|
|
155552
155565
|
}
|
|
155553
155566
|
}
|
|
155554
155567
|
|
|
155555
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
155568
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/unchanged-push-events.js
|
|
155556
155569
|
import fs76 from "node:fs";
|
|
155557
155570
|
import path72 from "node:path";
|
|
155558
155571
|
function journalCoordinatesForPushEvent(relativePath) {
|
|
@@ -155594,7 +155607,7 @@ function unchangedPushEventPaths(events, hqRoot, lookup) {
|
|
|
155594
155607
|
return unchanged;
|
|
155595
155608
|
}
|
|
155596
155609
|
|
|
155597
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
155610
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
155598
155611
|
function resolveEventSync(override) {
|
|
155599
155612
|
return !isEventSyncLocallyDisabled(override);
|
|
155600
155613
|
}
|
|
@@ -156306,7 +156319,7 @@ async function startEventSync(opts) {
|
|
|
156306
156319
|
};
|
|
156307
156320
|
}
|
|
156308
156321
|
|
|
156309
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
156322
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-auto-migration.js
|
|
156310
156323
|
var AREA_AUTO_MIGRATION_STARTED_EVENT = "area_migration_started";
|
|
156311
156324
|
var AREA_AUTO_MIGRATION_COMPLETED_EVENT = "area_migration_completed";
|
|
156312
156325
|
var AREA_AUTO_MIGRATION_SOURCE = "sync-runner";
|
|
@@ -156459,7 +156472,7 @@ function describe3(error64) {
|
|
|
156459
156472
|
return error64 instanceof Error ? error64.message : String(error64);
|
|
156460
156473
|
}
|
|
156461
156474
|
|
|
156462
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
156475
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-heap-telemetry.js
|
|
156463
156476
|
import * as perfHooks from "node:perf_hooks";
|
|
156464
156477
|
var CENSUS_TOKEN = /^[A-Za-z][A-Za-z0-9_]{0,48}$/;
|
|
156465
156478
|
var HeapCensus = class {
|
|
@@ -157446,7 +157459,7 @@ function nodeHeapReaders(v82) {
|
|
|
157446
157459
|
};
|
|
157447
157460
|
}
|
|
157448
157461
|
|
|
157449
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
157462
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/sync/idle-full-reconcile.js
|
|
157450
157463
|
var MAX_UNOBSERVED_TICK_GAP_MS = 6e4;
|
|
157451
157464
|
var MAX_CLOCK_DRIFT_MS = 5e3;
|
|
157452
157465
|
var FullPassContinuity = class {
|
|
@@ -157501,7 +157514,7 @@ function canSkipScheduledFullReconcile(proof) {
|
|
|
157501
157514
|
return true;
|
|
157502
157515
|
}
|
|
157503
157516
|
|
|
157504
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
157517
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-loop.js
|
|
157505
157518
|
var FULL_RECONCILE_EVERY_TICKS = 10;
|
|
157506
157519
|
var warnedUnresolvedReceiverCompanies = /* @__PURE__ */ new Set();
|
|
157507
157520
|
var EVENT_SYNC_STARTUP_SHUTDOWN_WAIT_MS = 5e3;
|
|
@@ -162883,7 +162896,7 @@ async function runWatchLoop(argv, parsed, deps, runtime) {
|
|
|
162883
162896
|
}
|
|
162884
162897
|
}
|
|
162885
162898
|
|
|
162886
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
162899
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-auth-wait.js
|
|
162887
162900
|
var AUTH_WAIT_INITIAL_RECHECK_MS = 6e4;
|
|
162888
162901
|
var AUTH_WAIT_STEADY_RECHECK_MS = 5 * 6e4;
|
|
162889
162902
|
var AUTH_WAIT_LIVENESS_INTERVAL_MS = 30 * 6e4;
|
|
@@ -162956,7 +162969,7 @@ async function waitForValidAuth(opts) {
|
|
|
162956
162969
|
return "stopped";
|
|
162957
162970
|
}
|
|
162958
162971
|
|
|
162959
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
162972
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.101/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
162960
162973
|
var SESSION_LOG_CAPTURE_QUIET_FOR_MS = 10 * 6e4;
|
|
162961
162974
|
var SESSION_LOG_CAPTURE_MAX_STALENESS_MS = 60 * 6e4;
|
|
162962
162975
|
var DEFAULT_COGNITO = {
|