@indigoai-us/hq-cli 5.345.251 → 5.345.252
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 +112 -0
- package/assets/scaffold/core/scripts/hq-session.sh +9 -0
- package/contracts/host-canary-release.json +9 -3
- package/dist/command-catalog.generated.d.ts +121 -1
- package/dist/command-catalog.generated.js +148 -1
- package/dist/commands/bot.js +7 -2
- package/dist/commands/core-bucket-c-work-mesh-offer-native.js +1 -1
- package/dist/commands/core-hq-session-binding.d.ts +140 -0
- package/dist/commands/core-hq-session-binding.js +363 -0
- package/dist/commands/core-hq-session-native.d.ts +23 -0
- package/dist/commands/core-hq-session-native.js +59 -9
- package/dist/commands/core-stop-autosave.js +1 -1
- package/dist/commands/core.js +10 -0
- package/dist/commands/doctor.d.ts +5 -1
- package/dist/commands/doctor.js +42 -5
- package/dist/commands/files.js +1 -1
- package/dist/commands/install-global.js +4 -2
- package/dist/commands/logout.js +4 -0
- package/dist/commands/ontology-graph.d.ts +2 -0
- package/dist/commands/ontology-graph.js +33 -0
- package/dist/commands/report.js +35 -2
- package/dist/commands/storage-gate.js +1 -1
- package/dist/commands/vault-retention-flag.js +2 -1
- package/dist/commands/whoami.js +1 -1
- package/dist/hq-cloud-sync-runner/bin/sync-runner.js +238 -221
- package/dist/hq-cloud-sync-runner/package.json +1 -1
- package/dist/index.js +3 -1
- package/dist/lib/agent-kit/inbox-poll-backoff-flag.js +1 -1
- package/dist/lib/agent-kit/mcp/tools.js +48 -0
- package/dist/lib/bot/fleet-bots-update-pass.js +1 -1
- package/dist/lib/bot/fleet-cron.d.ts +35 -0
- package/dist/lib/bot/fleet-cron.js +54 -12
- package/dist/lib/bot/fleet-local.d.ts +18 -0
- package/dist/lib/bot/fleet-local.js +51 -5
- package/dist/lib/bot/inbox-poll-backoff-flag.js +1 -1
- package/dist/lib/bot/signals-engine-flag.d.ts +1 -1
- package/dist/lib/bot/signals-engine-flag.js +1 -1
- package/dist/lib/cli-invite-nudge.js +1 -1
- package/dist/lib/client-version.d.ts +2 -0
- package/dist/lib/client-version.js +24 -0
- package/dist/lib/company-flag-gate.d.ts +30 -0
- package/dist/lib/company-flag-gate.js +104 -0
- package/dist/lib/core-utils/hook-timeout-debug-context-flag.js +1 -1
- package/dist/lib/daemon/flag.js +2 -1
- package/dist/lib/daemon/legacy-journal-gate.js +3 -1
- package/dist/lib/daemon/shared-flag-reads.js +1 -1
- package/dist/lib/doctor/checks/host-core.js +22 -4
- package/dist/lib/doctor/checks/jq.d.ts +27 -6
- package/dist/lib/doctor/checks/jq.js +46 -8
- package/dist/lib/doctor/client-health-reason-codes-flag.js +1 -1
- package/dist/lib/doctor/fix/refresh-sync-handoff.d.ts +1 -1
- package/dist/lib/doctor/fix/refresh-sync-handoff.js +1 -1
- package/dist/lib/flag-client-gate-headers.d.ts +38 -0
- package/dist/lib/flag-client-gate-headers.js +62 -0
- package/dist/lib/flag-client-headers.d.ts +15 -0
- package/dist/lib/flag-client-headers.js +25 -0
- package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
- package/dist/lib/flag-registry-worker-source.generated.js +1 -1
- package/dist/lib/flag-registry-worker.js +35 -0
- package/dist/lib/flag-registry.d.ts +1 -20
- package/dist/lib/flag-registry.js +5 -81
- package/dist/lib/hook-engine/adapter-core-pin.d.ts +29 -0
- package/dist/lib/hook-engine/adapter-core-pin.js +29 -0
- package/dist/lib/hook-engine/coverage.d.ts +50 -1
- package/dist/lib/hook-engine/coverage.js +111 -7
- package/dist/lib/hook-engine/reconcile.js +3 -2
- package/dist/lib/hot-channels/prompts/signals-pass.md +20 -0
- package/dist/lib/hot-channels/signal-changes.d.ts +228 -0
- package/dist/lib/hot-channels/signal-changes.js +683 -0
- package/dist/lib/hot-channels/signals-pass.d.ts +24 -0
- package/dist/lib/hot-channels/signals-pass.js +232 -12
- package/dist/lib/lanes/outpost-worktree-pruner-flag.d.ts +1 -1
- package/dist/lib/lanes/outpost-worktree-pruner-flag.js +1 -1
- package/dist/lib/lanes/registry-flag.js +2 -1
- package/dist/lib/lanes/spawn.js +11 -1
- package/dist/lib/mesh/live/binding-intent.d.ts +61 -0
- package/dist/lib/mesh/live/binding-intent.js +201 -0
- package/dist/lib/mesh/live/binding-receipt.d.ts +157 -0
- package/dist/lib/mesh/live/binding-receipt.js +365 -0
- package/dist/lib/mesh/live/company-flag-refresh.js +1 -1
- package/dist/lib/mesh/live/daemon/doctor-telemetry.d.ts +39 -0
- package/dist/lib/mesh/live/daemon/doctor-telemetry.js +58 -0
- package/dist/lib/mesh/live/daemon/install.js +2 -1
- package/dist/lib/mesh/live/daemon/presence.js +9 -0
- package/dist/lib/mesh/live/daemon/run.d.ts +3 -0
- package/dist/lib/mesh/live/daemon/run.js +33 -1
- package/dist/lib/ontology-graph/lineage/index.d.ts +401 -0
- package/dist/lib/ontology-graph/lineage/index.js +1027 -0
- package/dist/lib/ontology-graph/model/index.d.ts +54 -0
- package/dist/lib/ontology-graph/model/index.js +112 -0
- package/dist/lib/ontology-graph/model/pass-tasks.d.ts +75 -0
- package/dist/lib/ontology-graph/model/pass-tasks.js +166 -0
- package/dist/lib/ontology-graph/model/pass.d.ts +6 -0
- package/dist/lib/ontology-graph/model/pass.js +9 -2
- package/dist/lib/ontology-graph/model/pending-items.d.ts +8 -0
- package/dist/lib/ontology-graph/model/pending-items.js +24 -1
- package/dist/lib/ontology-graph/model/step.d.ts +1 -1
- package/dist/lib/ontology-graph/model/tasks.d.ts +11 -3
- package/dist/lib/ontology-graph/model/tasks.js +20 -7
- package/dist/lib/ontology-graph/read/brief.js +41 -6
- package/dist/lib/ontology-graph/read/index.d.ts +4 -0
- package/dist/lib/ontology-graph/read/index.js +173 -29
- package/dist/lib/ontology-graph/read/lineage.d.ts +101 -0
- package/dist/lib/ontology-graph/read/lineage.js +262 -0
- package/dist/lib/ontology-graph/replay/buffered-store.js +17 -0
- package/dist/lib/ontology-graph/replay/engine.d.ts +32 -1
- package/dist/lib/ontology-graph/replay/engine.js +213 -8
- package/dist/lib/ontology-graph/replay/extractors.d.ts +26 -0
- package/dist/lib/ontology-graph/replay/extractors.js +25 -1
- package/dist/lib/ontology-graph/replay/index.d.ts +2 -0
- package/dist/lib/ontology-graph/replay/index.js +9 -3
- package/dist/lib/ontology-graph/replay/signal-changes.d.ts +118 -0
- package/dist/lib/ontology-graph/replay/signal-changes.js +687 -0
- package/dist/lib/ontology-graph/schema/decision-status.d.ts +18 -0
- package/dist/lib/ontology-graph/schema/decision-status.js +20 -0
- package/dist/lib/ontology-graph/schema/index.d.ts +1 -0
- package/dist/lib/ontology-graph/schema/index.js +1 -0
- package/dist/lib/ontology-graph/setup/index.js +13 -3
- package/dist/lib/search-index/index.d.ts +33 -1
- package/dist/lib/search-index/index.js +180 -25
- package/dist/lib/search-index/qmd-exit-diagnostics.d.ts +7 -0
- package/dist/lib/search-index/qmd-exit-diagnostics.js +25 -1
- package/dist/lib/signals/adapters-catalog.js +1 -1
- package/dist/lib/sync-core/engine-holds.d.ts +1 -0
- package/dist/lib/sync-core/engine-holds.js +26 -0
- package/dist/lib/sync-core/engine-home.d.ts +3 -0
- package/dist/lib/sync-core/engine-home.js +41 -1
- package/dist/lib/sync-core/flag.js +2 -1
- package/dist/lib/sync-core/legacy-journal-export-child.js +5 -3
- package/dist/lib/sync-core/legacy-journal-export.d.ts +23 -4
- package/dist/lib/sync-core/legacy-journal-export.js +120 -55
- package/dist/lib/sync-core/reconcile.d.ts +2 -1
- package/dist/lib/sync-core/reconcile.js +30 -5
- package/dist/lib/sync-invalid-entity-warning.js +2 -1
- package/dist/lib/windows/install-followup.d.ts +41 -0
- package/dist/lib/windows/install-followup.js +87 -0
- package/dist/lib/windows/jq.d.ts +59 -0
- package/dist/lib/windows/jq.js +154 -3
- package/dist/lib/windows/user-path.d.ts +5 -0
- package/dist/lib/windows/user-path.js +1 -1
- package/dist/lib/work-context/auto-bind.d.ts +12 -0
- package/dist/lib/work-context/auto-bind.js +49 -3
- package/dist/lib/work-context/organize.d.ts +4 -2
- package/dist/lib/work-context/organize.js +18 -8
- package/dist/lib/work-context/reconcile.js +16 -1
- package/dist/main.js +12 -1
- package/dist/utils/client-health-contract.d.ts +30 -0
- package/dist/utils/client-health-contract.js +111 -0
- package/dist/utils/client-health.d.ts +5 -2
- package/dist/utils/client-health.js +74 -5
- package/dist/utils/exclusive-lock.d.ts +5 -1
- package/dist/utils/exclusive-lock.js +9 -2
- package/dist/utils/host-registration.d.ts +7 -0
- package/dist/utils/host-registration.js +10 -1
- package/dist/utils/pid.d.ts +31 -0
- package/dist/utils/pid.js +65 -0
- package/dist/utils/resident-package-preload.js +12 -4
- package/dist/utils/sentry-fingerprint.js +3 -0
- package/package.json +8 -8
- package/scripts/install-hook-engine.mjs +5 -3
|
@@ -50615,12 +50615,12 @@ var require_dist_cjs20 = __commonJS({
|
|
|
50615
50615
|
}
|
|
50616
50616
|
});
|
|
50617
50617
|
|
|
50618
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
50618
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/push-identity-fence.js
|
|
50619
50619
|
import * as crypto2 from "crypto";
|
|
50620
50620
|
import * as fs2 from "fs";
|
|
50621
50621
|
import * as path from "path";
|
|
50622
50622
|
|
|
50623
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
50623
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/fsync-compat.js
|
|
50624
50624
|
import * as fs from "node:fs";
|
|
50625
50625
|
var UNSUPPORTED_DIRECTORY_FSYNC_CODES = /* @__PURE__ */ new Set(["EINVAL", "ENOTSUP", "EOPNOTSUPP", "EPERM"]);
|
|
50626
50626
|
var loggedSkips = /* @__PURE__ */ new Set();
|
|
@@ -50644,7 +50644,7 @@ function fsyncWithCompatibility(fd, options) {
|
|
|
50644
50644
|
}
|
|
50645
50645
|
}
|
|
50646
50646
|
|
|
50647
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
50647
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/push-identity-fence.js
|
|
50648
50648
|
var RECORD_FORMAT = "hq-push-identity@2";
|
|
50649
50649
|
var MACHINE_FORMAT = "hq-push-identity-machine@1";
|
|
50650
50650
|
var PERSON_FORMAT = "hq-push-identity-person@1";
|
|
@@ -51440,7 +51440,7 @@ function writeJsonAtomic(filePath, value) {
|
|
|
51440
51440
|
}
|
|
51441
51441
|
}
|
|
51442
51442
|
|
|
51443
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
51443
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/manifest-folder-alias.js
|
|
51444
51444
|
import * as fs3 from "node:fs";
|
|
51445
51445
|
import * as path2 from "node:path";
|
|
51446
51446
|
function readManifestCloudCompanies(hqRoot) {
|
|
@@ -51515,14 +51515,14 @@ function manifestFolderAlias(byUid, companyUid, cloudSlug, onDuplicate) {
|
|
|
51515
51515
|
return entry.slug;
|
|
51516
51516
|
}
|
|
51517
51517
|
|
|
51518
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
51518
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-self-profile.js
|
|
51519
51519
|
import * as fs30 from "node:fs";
|
|
51520
51520
|
import * as os6 from "node:os";
|
|
51521
51521
|
import * as path25 from "node:path";
|
|
51522
51522
|
import { Session } from "node:inspector";
|
|
51523
51523
|
import { fileURLToPath as fileURLToPath3, pathToFileURL } from "node:url";
|
|
51524
51524
|
|
|
51525
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
51525
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/watcher.js
|
|
51526
51526
|
import * as fs29 from "fs";
|
|
51527
51527
|
import { createHash as createHash17 } from "node:crypto";
|
|
51528
51528
|
import { readFile as readFile3, stat as stat4 } from "node:fs/promises";
|
|
@@ -53218,7 +53218,7 @@ function watch(paths, options = {}) {
|
|
|
53218
53218
|
return watcher;
|
|
53219
53219
|
}
|
|
53220
53220
|
|
|
53221
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53221
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cloud-placeholder.js
|
|
53222
53222
|
import * as fs4 from "fs";
|
|
53223
53223
|
import * as path3 from "path";
|
|
53224
53224
|
var CLOUD_PLACEHOLDER_SUFFIX = ".hqcloud";
|
|
@@ -53656,18 +53656,18 @@ function writeCloudPlaceholder(placeholderPath, placeholder) {
|
|
|
53656
53656
|
}
|
|
53657
53657
|
}
|
|
53658
53658
|
|
|
53659
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53659
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/ignore.js
|
|
53660
53660
|
var import_ignore = __toESM(require_ignore(), 1);
|
|
53661
53661
|
import * as fs5 from "fs";
|
|
53662
53662
|
import * as path4 from "path";
|
|
53663
53663
|
|
|
53664
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53664
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/restore-staging.js
|
|
53665
53665
|
var RESTORE_STAGING_SUFFIX = /\.hq-restore-(?:\d+(?:-\d+)?|probe-\d+-[0-9a-z]+)$/i;
|
|
53666
53666
|
function isRestoreStagingPath(relativePath) {
|
|
53667
53667
|
return relativePath.split(/[\\/]/).some((segment) => RESTORE_STAGING_SUFFIX.test(segment));
|
|
53668
53668
|
}
|
|
53669
53669
|
|
|
53670
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53670
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/best-effort-error.js
|
|
53671
53671
|
var EXPECTED_ABSENCE_CODES = /* @__PURE__ */ new Set([
|
|
53672
53672
|
"ENOENT",
|
|
53673
53673
|
"NoSuchKey",
|
|
@@ -53709,7 +53709,7 @@ function noteSwallowedError(log, event, error62, options = {}) {
|
|
|
53709
53709
|
`);
|
|
53710
53710
|
}
|
|
53711
53711
|
|
|
53712
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53712
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/cloud-authoritative.js
|
|
53713
53713
|
var CLOUD_AUTHORITATIVE_PATTERNS = [
|
|
53714
53714
|
/^company-brief\.md$/,
|
|
53715
53715
|
/^board\.json$/,
|
|
@@ -53757,7 +53757,7 @@ function isPullReconciledServerOwned(relPath) {
|
|
|
53757
53757
|
return isCloudAuthoritative(vaultRel);
|
|
53758
53758
|
}
|
|
53759
53759
|
|
|
53760
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
53760
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/ignore.js
|
|
53761
53761
|
function logSwallowed(line) {
|
|
53762
53762
|
process.stderr.write(line);
|
|
53763
53763
|
}
|
|
@@ -54501,7 +54501,7 @@ function isWithinSizeLimit(filePath, maxBytes = SYNC_MAX_FILE_BYTES) {
|
|
|
54501
54501
|
}
|
|
54502
54502
|
}
|
|
54503
54503
|
|
|
54504
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
54504
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/watch-roots.js
|
|
54505
54505
|
import * as fs6 from "fs";
|
|
54506
54506
|
import * as path5 from "path";
|
|
54507
54507
|
function defaultListChildDirs(dir, onSymlinkEntry) {
|
|
@@ -54575,7 +54575,7 @@ function isCoveredByRecursiveRoot(absolutePath, recursiveRoots) {
|
|
|
54575
54575
|
}
|
|
54576
54576
|
}
|
|
54577
54577
|
|
|
54578
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
54578
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/watch-coverage.js
|
|
54579
54579
|
import * as fs7 from "fs";
|
|
54580
54580
|
function directoryIdentityAt(absolutePath) {
|
|
54581
54581
|
try {
|
|
@@ -54612,7 +54612,7 @@ function probeScopedWatchCoverage(input2) {
|
|
|
54612
54612
|
return { ok: true };
|
|
54613
54613
|
}
|
|
54614
54614
|
|
|
54615
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
54615
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/local-path-codec.js
|
|
54616
54616
|
import * as path6 from "path";
|
|
54617
54617
|
var WIN32_RESERVED_CHARS = /[<>:"/\\|?*]/;
|
|
54618
54618
|
var WIN32_DEVICE_NAME = /^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\..*)?$/i;
|
|
@@ -54670,7 +54670,7 @@ function canonicalVaultKeySpelling(key) {
|
|
|
54670
54670
|
return segments.join("/");
|
|
54671
54671
|
}
|
|
54672
54672
|
|
|
54673
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
54673
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/personal-vault-exclusions.js
|
|
54674
54674
|
import * as path7 from "path";
|
|
54675
54675
|
import * as fs8 from "fs";
|
|
54676
54676
|
function hasSegment(relPath, segment) {
|
|
@@ -54967,7 +54967,7 @@ function wrapFilterWithPersonalVaultDefaults(underlying, syncRoot, onExcluded, o
|
|
|
54967
54967
|
};
|
|
54968
54968
|
}
|
|
54969
54969
|
|
|
54970
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
54970
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/state-store.js
|
|
54971
54971
|
import * as crypto3 from "node:crypto";
|
|
54972
54972
|
import * as fs9 from "node:fs";
|
|
54973
54973
|
import * as path8 from "node:path";
|
|
@@ -58036,11 +58036,11 @@ function crc32c(bytes) {
|
|
|
58036
58036
|
return (crc ^ 4294967295) >>> 0;
|
|
58037
58037
|
}
|
|
58038
58038
|
|
|
58039
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
58039
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/personal-vault.js
|
|
58040
58040
|
import * as fs15 from "fs";
|
|
58041
58041
|
import * as path13 from "path";
|
|
58042
58042
|
|
|
58043
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
58043
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/journal.js
|
|
58044
58044
|
import * as fs14 from "fs";
|
|
58045
58045
|
import * as os2 from "os";
|
|
58046
58046
|
import * as path12 from "path";
|
|
@@ -58048,7 +58048,7 @@ import * as crypto8 from "crypto";
|
|
|
58048
58048
|
import { spawn } from "node:child_process";
|
|
58049
58049
|
import { fileURLToPath } from "node:url";
|
|
58050
58050
|
|
|
58051
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
58051
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/journal-decode-window.js
|
|
58052
58052
|
var JOURNAL_DECODE_WINDOW = 1e4;
|
|
58053
58053
|
var rowsInFlight = 0;
|
|
58054
58054
|
var peakRowsInFlight = 0;
|
|
@@ -58107,7 +58107,7 @@ function journalFingerprintMatchesStat(fingerprint, lstat3) {
|
|
|
58107
58107
|
return lstat3.size === fingerprint.size && lstat3.mtimeMs === fingerprint.mtimeMs && lstat3.ctimeMs === fingerprint.ctimeMs;
|
|
58108
58108
|
}
|
|
58109
58109
|
|
|
58110
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
58110
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/journal-row-store.js
|
|
58111
58111
|
var HASH_BYTES = 32;
|
|
58112
58112
|
var ETAG_BYTES = 16;
|
|
58113
58113
|
var INITIAL_ROW_CAPACITY = 16;
|
|
@@ -59637,7 +59637,7 @@ function readOptionalBoolean(entry, key, flags, presentBit, valueBit) {
|
|
|
59637
59637
|
entry[key] = Boolean(flags & valueBit);
|
|
59638
59638
|
}
|
|
59639
59639
|
|
|
59640
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59640
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/journal-record-proxy.js
|
|
59641
59641
|
var rowsByRecordProxy = /* @__PURE__ */ new WeakMap();
|
|
59642
59642
|
function journalRecordRows(files) {
|
|
59643
59643
|
return rowsByRecordProxy.get(files);
|
|
@@ -59703,13 +59703,13 @@ function createJournalRecordProxy(store) {
|
|
|
59703
59703
|
return proxy;
|
|
59704
59704
|
}
|
|
59705
59705
|
|
|
59706
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59706
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-decoder.js
|
|
59707
59707
|
import { StringDecoder } from "node:string_decoder";
|
|
59708
59708
|
|
|
59709
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59709
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-v4.js
|
|
59710
59710
|
import * as crypto4 from "node:crypto";
|
|
59711
59711
|
|
|
59712
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59712
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-rows.js
|
|
59713
59713
|
var packedJournalRows = /* @__PURE__ */ new WeakMap();
|
|
59714
59714
|
var sharedAreaJournalRowStores = /* @__PURE__ */ new Map();
|
|
59715
59715
|
function areaJournalRowsCacheKey(rootDir, slug) {
|
|
@@ -59732,7 +59732,7 @@ function forgetSharedAreaJournalRows(cacheKey) {
|
|
|
59732
59732
|
sharedAreaJournalRowStores.delete(cacheKey);
|
|
59733
59733
|
}
|
|
59734
59734
|
|
|
59735
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
59735
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-v4.js
|
|
59736
59736
|
var JOURNAL_SNAPSHOT_V4_MAGIC = SNAPSHOT_V4_MAGIC;
|
|
59737
59737
|
var SNAPSHOT_FIXED_HEADER_BYTES2 = 52;
|
|
59738
59738
|
var SECTION_ALIGNMENT_BYTES = 8;
|
|
@@ -60268,7 +60268,7 @@ function assertLittleEndian() {
|
|
|
60268
60268
|
throw new Error("HQSNAP4 requires a little-endian host");
|
|
60269
60269
|
}
|
|
60270
60270
|
|
|
60271
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60271
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-decoder.js
|
|
60272
60272
|
function decodeJournalSnapshot(chunks, magic) {
|
|
60273
60273
|
if (magic.equals(SNAPSHOT_V3_MAGIC))
|
|
60274
60274
|
return decodeV3JournalSnapshot(chunks);
|
|
@@ -60622,12 +60622,12 @@ function isPunctuation(value) {
|
|
|
60622
60622
|
return value === "{" || value === "}" || value === "[" || value === "]" || value === ":" || value === ",";
|
|
60623
60623
|
}
|
|
60624
60624
|
|
|
60625
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60625
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/posix-key.js
|
|
60626
60626
|
function toPosixKey(key) {
|
|
60627
60627
|
return key.split("\\").join("/");
|
|
60628
60628
|
}
|
|
60629
60629
|
|
|
60630
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60630
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/path-ancestors.js
|
|
60631
60631
|
function isUnderAnyRoot(key, roots) {
|
|
60632
60632
|
if (roots.has(key))
|
|
60633
60633
|
return true;
|
|
@@ -60640,7 +60640,7 @@ function isUnderAnyRoot(key, roots) {
|
|
|
60640
60640
|
return false;
|
|
60641
60641
|
}
|
|
60642
60642
|
|
|
60643
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60643
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/journal-ledger-stream.js
|
|
60644
60644
|
import * as fs10 from "node:fs";
|
|
60645
60645
|
import { StringDecoder as StringDecoder2 } from "node:string_decoder";
|
|
60646
60646
|
var CHUNK_BYTES = 1 << 18;
|
|
@@ -60754,12 +60754,12 @@ function streamJournalLedgerRows(filePath, onRow) {
|
|
|
60754
60754
|
}
|
|
60755
60755
|
}
|
|
60756
60756
|
|
|
60757
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60757
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-migration.js
|
|
60758
60758
|
import * as crypto7 from "node:crypto";
|
|
60759
60759
|
import * as fs13 from "node:fs";
|
|
60760
60760
|
import * as path11 from "node:path";
|
|
60761
60761
|
|
|
60762
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
60762
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/operation-lock.js
|
|
60763
60763
|
import * as crypto5 from "crypto";
|
|
60764
60764
|
import * as fs11 from "fs";
|
|
60765
60765
|
import * as os from "os";
|
|
@@ -61448,7 +61448,7 @@ function withOperationLockSync(hqRoot, command5, fn, opts = {}) {
|
|
|
61448
61448
|
}
|
|
61449
61449
|
}
|
|
61450
61450
|
|
|
61451
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
61451
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger.js
|
|
61452
61452
|
import * as crypto6 from "node:crypto";
|
|
61453
61453
|
var DIRECT_DELTA = 1;
|
|
61454
61454
|
var PREPARED_TRANSACTION = 2;
|
|
@@ -62877,7 +62877,7 @@ function cloneMetadata(metadata) {
|
|
|
62877
62877
|
return result;
|
|
62878
62878
|
}
|
|
62879
62879
|
|
|
62880
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
62880
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/area-resolver.js
|
|
62881
62881
|
import * as fs12 from "fs";
|
|
62882
62882
|
import * as path10 from "path";
|
|
62883
62883
|
var AREA_LAYOUT_FORMAT = 1;
|
|
@@ -63188,7 +63188,7 @@ function compareText(left, right) {
|
|
|
63188
63188
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
63189
63189
|
}
|
|
63190
63190
|
|
|
63191
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
63191
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-migration.js
|
|
63192
63192
|
function logSwallowed2(line) {
|
|
63193
63193
|
process.stderr.write(line);
|
|
63194
63194
|
}
|
|
@@ -63967,7 +63967,7 @@ function canonicalJsonOrUndefined(value) {
|
|
|
63967
63967
|
return value === void 0 ? void 0 : canonicalJson2(value);
|
|
63968
63968
|
}
|
|
63969
63969
|
|
|
63970
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
63970
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/per-area-maintenance.js
|
|
63971
63971
|
var AREA_MAINTENANCE_CURSOR_FORMAT = 1;
|
|
63972
63972
|
var CURSOR_SET = 1;
|
|
63973
63973
|
var AreaMaintenanceCursorStore = class _AreaMaintenanceCursorStore {
|
|
@@ -64069,7 +64069,7 @@ function sameAreas(left, right) {
|
|
|
64069
64069
|
return left.length === right.length && left.every((areaId, index) => areaId === right[index]);
|
|
64070
64070
|
}
|
|
64071
64071
|
|
|
64072
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
64072
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/journal.js
|
|
64073
64073
|
var TOMBSTONE_TTL_MS = 30 * 24 * 60 * 60 * 1e3;
|
|
64074
64074
|
var JOURNAL_VERSION_CURRENT = "2";
|
|
64075
64075
|
var MAX_PULLS_PER_COMPANY = 50;
|
|
@@ -66296,7 +66296,7 @@ function gcTombstones(journal, now = Date.now()) {
|
|
|
66296
66296
|
return removed;
|
|
66297
66297
|
}
|
|
66298
66298
|
|
|
66299
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66299
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/personal-vault.js
|
|
66300
66300
|
function logSwallowed3(line) {
|
|
66301
66301
|
process.stderr.write(line);
|
|
66302
66302
|
}
|
|
@@ -66674,7 +66674,7 @@ function purgeExcludedPersonalVaultJournalEntries(journal, hqRoot, syncRoot, sho
|
|
|
66674
66674
|
return { removed, byReason };
|
|
66675
66675
|
}
|
|
66676
66676
|
|
|
66677
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66677
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/local-link-warning.js
|
|
66678
66678
|
import fs16 from "node:fs";
|
|
66679
66679
|
import path14 from "node:path";
|
|
66680
66680
|
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.";
|
|
@@ -66791,7 +66791,7 @@ function linkWarningMessage(warning4) {
|
|
|
66791
66791
|
return `Skipped symbolic link (${warning4.reason}). ${warning4.remedy}`;
|
|
66792
66792
|
}
|
|
66793
66793
|
|
|
66794
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66794
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/parent-link-alias.js
|
|
66795
66795
|
import fs17 from "node:fs";
|
|
66796
66796
|
import path15 from "node:path";
|
|
66797
66797
|
function linkedParentBelowRoot(root5, dir, realRoot, realDir) {
|
|
@@ -66842,12 +66842,12 @@ function inRootAliasPath(root5, absolutePath) {
|
|
|
66842
66842
|
return path15.join(rel, path15.basename(absolutePath)).split(path15.sep).join("/");
|
|
66843
66843
|
}
|
|
66844
66844
|
|
|
66845
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66845
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
66846
66846
|
import * as fs26 from "fs";
|
|
66847
66847
|
import * as path21 from "path";
|
|
66848
66848
|
import * as crypto11 from "crypto";
|
|
66849
66849
|
|
|
66850
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66850
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/local-replacement.js
|
|
66851
66851
|
import * as crypto9 from "crypto";
|
|
66852
66852
|
import * as fs18 from "fs";
|
|
66853
66853
|
import * as os3 from "os";
|
|
@@ -66903,11 +66903,11 @@ function shouldRecordLocalDeleteIntent(localPath, absent) {
|
|
|
66903
66903
|
return absent && !isLocalPathBeingReplaced(localPath);
|
|
66904
66904
|
}
|
|
66905
66905
|
|
|
66906
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66906
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
66907
66907
|
import { Readable as Readable10, Transform as Transform3 } from "stream";
|
|
66908
66908
|
import { pipeline } from "stream/promises";
|
|
66909
66909
|
|
|
66910
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
66910
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/net-errors.js
|
|
66911
66911
|
var TRANSIENT_NETWORK_EXIT = 75;
|
|
66912
66912
|
var TRANSIENT_CODES = /* @__PURE__ */ new Set([
|
|
66913
66913
|
"ECONNREFUSED",
|
|
@@ -67017,7 +67017,7 @@ function hasDeniedConnect(err, depth) {
|
|
|
67017
67017
|
return false;
|
|
67018
67018
|
}
|
|
67019
67019
|
|
|
67020
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67020
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-entity-meta.js
|
|
67021
67021
|
var ONTOLOGY_ENTITY_KEY = /^ontology\/entities\/[a-z][a-z0-9-]*\/[^/]+\.md$/;
|
|
67022
67022
|
var ENTITY_LAST_UPDATED_META_KEY = "hq-entity-last-updated";
|
|
67023
67023
|
function ontologyVaultKey(relPath) {
|
|
@@ -67049,13 +67049,13 @@ function buildEntityMetadata(key, body) {
|
|
|
67049
67049
|
return stamp === null ? {} : { [ENTITY_LAST_UPDATED_META_KEY]: stamp };
|
|
67050
67050
|
}
|
|
67051
67051
|
|
|
67052
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67052
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
67053
67053
|
var import_client_s3 = __toESM(require_dist_cjs16(), 1);
|
|
67054
67054
|
import * as http3 from "node:http";
|
|
67055
67055
|
import * as https2 from "node:https";
|
|
67056
67056
|
import { Transform as Transform2 } from "node:stream";
|
|
67057
67057
|
|
|
67058
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67058
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/s3-content-checksum.js
|
|
67059
67059
|
import { createHash as createHash14 } from "node:crypto";
|
|
67060
67060
|
var CHECKSUM_HEADER_NAMES = [
|
|
67061
67061
|
"content-md5",
|
|
@@ -67126,7 +67126,7 @@ function headersForObjectLockPut(url2, headers, body) {
|
|
|
67126
67126
|
return out;
|
|
67127
67127
|
}
|
|
67128
67128
|
|
|
67129
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67129
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bandwidth.js
|
|
67130
67130
|
import { Transform } from "node:stream";
|
|
67131
67131
|
var MAX_BYTES_PER_SEC_ENV = "HQ_SYNC_MAX_BYTES_PER_SEC";
|
|
67132
67132
|
var MAX_CONCURRENCY_ENV = "HQ_SYNC_MAX_CONCURRENCY";
|
|
@@ -67527,7 +67527,7 @@ function getBandwidthGovernor() {
|
|
|
67527
67527
|
return singleton;
|
|
67528
67528
|
}
|
|
67529
67529
|
|
|
67530
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67530
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/client-info.js
|
|
67531
67531
|
var HEADER_CLIENT_NAME = "x-hq-client-name";
|
|
67532
67532
|
var HEADER_CLIENT_VERSION = "x-hq-client-version";
|
|
67533
67533
|
var HEADER_HQ_CORE_VERSION = "x-hq-core-version";
|
|
@@ -67550,7 +67550,7 @@ function buildClientHeaders(info) {
|
|
|
67550
67550
|
return headers;
|
|
67551
67551
|
}
|
|
67552
67552
|
|
|
67553
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67553
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/telemetry-events.js
|
|
67554
67554
|
var MAX_EVENTS_PER_BATCH = 50;
|
|
67555
67555
|
var DEFAULT_TIMEOUT_MS = 1500;
|
|
67556
67556
|
var MAX_PROPERTIES = 40;
|
|
@@ -67694,12 +67694,12 @@ function describeError(err) {
|
|
|
67694
67694
|
return err instanceof Error ? err.name : typeof err;
|
|
67695
67695
|
}
|
|
67696
67696
|
|
|
67697
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67697
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/http-keepalive.js
|
|
67698
67698
|
import * as http from "node:http";
|
|
67699
67699
|
import * as https from "node:https";
|
|
67700
67700
|
import { Readable as Readable9 } from "node:stream";
|
|
67701
67701
|
|
|
67702
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67702
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/realtime-telemetry.js
|
|
67703
67703
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
67704
67704
|
import { monitorEventLoopDelay } from "node:perf_hooks";
|
|
67705
67705
|
var REALTIME_TELEMETRY_EVENT = "sync.realtime.timing";
|
|
@@ -67889,7 +67889,7 @@ function writeRealtimeTelemetryToStderr(record2) {
|
|
|
67889
67889
|
`);
|
|
67890
67890
|
}
|
|
67891
67891
|
|
|
67892
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67892
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/http-keepalive.js
|
|
67893
67893
|
var HTTP_AGENT = new http.Agent({ keepAlive: true, maxSockets: 8 });
|
|
67894
67894
|
var HTTPS_AGENT = new https.Agent({ keepAlive: true, maxSockets: 8 });
|
|
67895
67895
|
function getKeepAliveAgent(secure) {
|
|
@@ -67949,7 +67949,7 @@ function requestWithKeepAlive(url2, init) {
|
|
|
67949
67949
|
});
|
|
67950
67950
|
}
|
|
67951
67951
|
|
|
67952
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
67952
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync-request-counter.js
|
|
67953
67953
|
var counts = { vault: 0, list: 0, object: 0 };
|
|
67954
67954
|
var UNCOUNTED_VAULT_PATH_PREFIX = "/v1/telemetry/";
|
|
67955
67955
|
function syncRequestKindForVaultPath(path85) {
|
|
@@ -86840,7 +86840,7 @@ function date5(params) {
|
|
|
86840
86840
|
return _coercedDate(ZodDate, params);
|
|
86841
86841
|
}
|
|
86842
86842
|
|
|
86843
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
86843
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cognito-auth.js
|
|
86844
86844
|
import { spawnSync } from "child_process";
|
|
86845
86845
|
import * as crypto10 from "crypto";
|
|
86846
86846
|
import * as fs24 from "fs";
|
|
@@ -87362,7 +87362,7 @@ defineLazyProperty(apps, "browser", () => "browser");
|
|
|
87362
87362
|
defineLazyProperty(apps, "browserPrivate", () => "browserPrivate");
|
|
87363
87363
|
var open_default = open4;
|
|
87364
87364
|
|
|
87365
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
87365
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cognito-auth.js
|
|
87366
87366
|
var CognitoAuthError = class extends Error {
|
|
87367
87367
|
constructor(message) {
|
|
87368
87368
|
super(message);
|
|
@@ -88922,7 +88922,7 @@ function pickNewerSession(fromKeychain, other) {
|
|
|
88922
88922
|
return expiresAtMs(other) > expiresAtMs(fromKeychain) ? other : fromKeychain;
|
|
88923
88923
|
}
|
|
88924
88924
|
|
|
88925
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88925
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/credential-scope-error.js
|
|
88926
88926
|
var POLICY_WRITE_SCOPE_TRUNCATED = "POLICY_WRITE_SCOPE_TRUNCATED";
|
|
88927
88927
|
var VaultCredentialScopeError = class extends Error {
|
|
88928
88928
|
droppedWriteGrantPrefixes;
|
|
@@ -88964,7 +88964,7 @@ function assertCredentialScopeUsable(diagnostic) {
|
|
|
88964
88964
|
}
|
|
88965
88965
|
}
|
|
88966
88966
|
|
|
88967
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
88967
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/plan-limit.js
|
|
88968
88968
|
var PLAN_LIMIT_REACHED_ERROR = "plan_limit_reached";
|
|
88969
88969
|
var PLAN_LIMIT_CODES = /* @__PURE__ */ new Set([
|
|
88970
88970
|
"PLAN_LIMIT_EXCEEDED",
|
|
@@ -89107,7 +89107,7 @@ function formatPlanLimitNotice(event) {
|
|
|
89107
89107
|
return ` ! ${files} paused by your plan limit.${reason} Upgrade: ${event.upgradeUrl}`;
|
|
89108
89108
|
}
|
|
89109
89109
|
|
|
89110
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
89110
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/vault-client.js
|
|
89111
89111
|
var DEFAULT_GLOBAL_FETCH = globalThis.fetch;
|
|
89112
89112
|
var VaultClientError = class extends Error {
|
|
89113
89113
|
statusCode;
|
|
@@ -90106,7 +90106,7 @@ function parseVaultErrorBody(body) {
|
|
|
90106
90106
|
}
|
|
90107
90107
|
}
|
|
90108
90108
|
|
|
90109
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
90109
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/vault-key-grammar.js
|
|
90110
90110
|
var KEY_CONTROL_CHARS = /[\x00-\x1F\x7F]/;
|
|
90111
90111
|
var MAX_URI_DECODE_DEPTH = 4;
|
|
90112
90112
|
function classifyVaultKey(key, _scope) {
|
|
@@ -90213,7 +90213,7 @@ function isPresignKeyGrammarCode(code) {
|
|
|
90213
90213
|
return typeof code === "string" && (code === "INVALID_KEY" || code.startsWith("INVALID_KEY_") || code.startsWith("PRESIGN_KEY_"));
|
|
90214
90214
|
}
|
|
90215
90215
|
|
|
90216
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
90216
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
90217
90217
|
var OBJECT_IO_REQUEST_TIMEOUT_MS = 6e4;
|
|
90218
90218
|
var OBJECT_IO_REQUEST_TIMEOUT_PER_MIB_MS = 8e3;
|
|
90219
90219
|
var OBJECT_IO_BODY_IDLE_TIMEOUT_MS = 15e3;
|
|
@@ -91694,7 +91694,7 @@ function presignObjectIOFactory(vault, refresherFor, forceRefresherFor, options
|
|
|
91694
91694
|
};
|
|
91695
91695
|
}
|
|
91696
91696
|
|
|
91697
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91697
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/file-mode-portability.js
|
|
91698
91698
|
var WIN32_SYNTHETIC_MODES = /* @__PURE__ */ new Set([438, 292]);
|
|
91699
91699
|
function portableModeStamp(mode, platform3 = process.platform) {
|
|
91700
91700
|
if (platform3 === "win32")
|
|
@@ -91705,7 +91705,7 @@ function isPortableModeSignal(mode) {
|
|
|
91705
91705
|
return !WIN32_SYNTHETIC_MODES.has(mode & 511);
|
|
91706
91706
|
}
|
|
91707
91707
|
|
|
91708
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91708
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/script-eol.js
|
|
91709
91709
|
import * as path19 from "path";
|
|
91710
91710
|
var SCRIPT_EXTENSIONS = /* @__PURE__ */ new Set([".sh", ".bash", ".zsh"]);
|
|
91711
91711
|
var SHEBANG = Buffer.from("#!");
|
|
@@ -91761,7 +91761,7 @@ function normalizeScriptLineEndings(body) {
|
|
|
91761
91761
|
return changed ? out.subarray(0, n3) : null;
|
|
91762
91762
|
}
|
|
91763
91763
|
|
|
91764
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91764
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/symlink-target-policy.js
|
|
91765
91765
|
import path20 from "node:path";
|
|
91766
91766
|
import fs25 from "node:fs";
|
|
91767
91767
|
function personalSymlinkTargetLinkPath(relativePath) {
|
|
@@ -91984,7 +91984,7 @@ function redactShape(target, classification) {
|
|
|
91984
91984
|
return parents > 0 ? `relative-parent-${Math.min(parents, 8)}` : "relative-path";
|
|
91985
91985
|
}
|
|
91986
91986
|
|
|
91987
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
91987
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
91988
91988
|
var DOWNLOAD_STREAM_MAX_RETRIES = 3;
|
|
91989
91989
|
var DOWNLOAD_STREAM_BASE_DELAY_MS = 400;
|
|
91990
91990
|
function sleepMs(ms) {
|
|
@@ -93522,7 +93522,7 @@ function getMimeType(filePath) {
|
|
|
93522
93522
|
return mimeTypes[ext] || "application/octet-stream";
|
|
93523
93523
|
}
|
|
93524
93524
|
|
|
93525
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
93525
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/windows-extended-path.js
|
|
93526
93526
|
import fs27 from "node:fs";
|
|
93527
93527
|
var EXTENDED_UNC = /^[\\/]{2}\?[\\/]UNC[\\/]/i;
|
|
93528
93528
|
var EXTENDED_DRIVE = /^[\\/]{2}\?[\\/](?=[A-Za-z]:(?:[\\/]|$))/;
|
|
@@ -93544,7 +93544,7 @@ function realpathRootSync(p3, impl = DEFAULT_IMPL) {
|
|
|
93544
93544
|
}
|
|
93545
93545
|
}
|
|
93546
93546
|
|
|
93547
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
93547
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/push-event.js
|
|
93548
93548
|
var CONTENT_HASH_PATTERN = /^sha256:[0-9a-f]{64}$/;
|
|
93549
93549
|
var ISO8601_DATETIME_PATTERN = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/;
|
|
93550
93550
|
function nativeSeparatorsToPosix(relativePath, sep23) {
|
|
@@ -93639,7 +93639,7 @@ function decodePushEvent(input2) {
|
|
|
93639
93639
|
return parsed.data;
|
|
93640
93640
|
}
|
|
93641
93641
|
|
|
93642
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
93642
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-routes.js
|
|
93643
93643
|
import * as path22 from "path";
|
|
93644
93644
|
function routeChangeToTarget(relPath, kind) {
|
|
93645
93645
|
const norm = relPath.split(path22.sep).join("/").replace(/^\.\//, "");
|
|
@@ -93808,7 +93808,7 @@ function carriedFlags(baseArgv) {
|
|
|
93808
93808
|
return carried;
|
|
93809
93809
|
}
|
|
93810
93810
|
|
|
93811
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
93811
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/push-transport.js
|
|
93812
93812
|
var moduleLoadFetch = globalThis.fetch;
|
|
93813
93813
|
var moduleLoadAbortController = globalThis.AbortController;
|
|
93814
93814
|
var successOutcomes = /* @__PURE__ */ new WeakMap();
|
|
@@ -94030,7 +94030,7 @@ var HttpPushTransport = class {
|
|
|
94030
94030
|
}
|
|
94031
94031
|
};
|
|
94032
94032
|
|
|
94033
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94033
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/case-alias.js
|
|
94034
94034
|
import * as fs28 from "fs";
|
|
94035
94035
|
import * as path23 from "path";
|
|
94036
94036
|
function foldVaultKey(key) {
|
|
@@ -94178,7 +94178,7 @@ function directoryFoldsCase(dir) {
|
|
|
94178
94178
|
return false;
|
|
94179
94179
|
}
|
|
94180
94180
|
|
|
94181
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
94181
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/watcher.js
|
|
94182
94182
|
var DEBOUNCE_MS = 2e3;
|
|
94183
94183
|
var DEFAULT_EVENT_DEBOUNCE_MS = 6e4;
|
|
94184
94184
|
var DEFAULT_EVENT_MAX_WAIT_MS = 12e4;
|
|
@@ -97368,7 +97368,7 @@ var PushEventEmitter = class _PushEventEmitter {
|
|
|
97368
97368
|
}
|
|
97369
97369
|
};
|
|
97370
97370
|
|
|
97371
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
97371
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-self-profile.js
|
|
97372
97372
|
var SELF_PROFILE_ENV = "HQ_SYNC_SELF_PROFILE";
|
|
97373
97373
|
var SELF_PROFILE_CPU_CORES_ENV = "HQ_SYNC_SELF_PROFILE_CPU_CORES";
|
|
97374
97374
|
var SELF_PROFILE_RSS_MB_ENV = "HQ_SYNC_SELF_PROFILE_RSS_MB";
|
|
@@ -97983,7 +97983,7 @@ function readRunnerVersion() {
|
|
|
97983
97983
|
}
|
|
97984
97984
|
}
|
|
97985
97985
|
|
|
97986
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
97986
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
97987
97987
|
import * as os28 from "os";
|
|
97988
97988
|
import * as path84 from "path";
|
|
97989
97989
|
import * as fs90 from "fs";
|
|
@@ -97991,7 +97991,7 @@ import { randomUUID as randomUUID14 } from "node:crypto";
|
|
|
97991
97991
|
import { monitorEventLoopDelay as monitorEventLoopDelay2, performance as performance4 } from "node:perf_hooks";
|
|
97992
97992
|
import { fileURLToPath as fileURLToPath6 } from "url";
|
|
97993
97993
|
|
|
97994
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
97994
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/context.js
|
|
97995
97995
|
import { createHash as createHash18 } from "node:crypto";
|
|
97996
97996
|
var REFRESH_THRESHOLD_MS = 2 * 60 * 1e3;
|
|
97997
97997
|
var DEFAULT_SESSION_DURATION_SECONDS = 900;
|
|
@@ -98222,13 +98222,13 @@ async function vendSelfCredentials(personUid, config2) {
|
|
|
98222
98222
|
return postVend(route, { personUid }, config2);
|
|
98223
98223
|
}
|
|
98224
98224
|
|
|
98225
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98225
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/realtime-rollout.js
|
|
98226
98226
|
var DEFAULT_REALTIME_AUTHORIZATION_TIMEOUT_MS = 15e3;
|
|
98227
98227
|
|
|
98228
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98228
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/candidate-uploader.js
|
|
98229
98229
|
var MAX_SMALL_CANDIDATE_BYTES = 8 * 1024 * 1024;
|
|
98230
98230
|
|
|
98231
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98231
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/multipart-uploader.js
|
|
98232
98232
|
var DEFAULT_GLOBAL_FETCH3 = globalThis.fetch;
|
|
98233
98233
|
var MULTIPART_PART_SIZE_BYTES = 8 * 1024 * 1024;
|
|
98234
98234
|
var MAX_MULTIPART_BYTES_IN_FLIGHT = 64 * 1024 * 1024;
|
|
@@ -98278,7 +98278,7 @@ var MultipartByteBudget = class {
|
|
|
98278
98278
|
};
|
|
98279
98279
|
var processByteBudget = new MultipartByteBudget();
|
|
98280
98280
|
|
|
98281
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98281
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/server-owned-skips.js
|
|
98282
98282
|
var SERVER_OWNED_FOLDERS = [
|
|
98283
98283
|
{
|
|
98284
98284
|
folder: "sources/slack-dm/",
|
|
@@ -98341,13 +98341,13 @@ function groupServerOwnedSkips(paths, options = {}) {
|
|
|
98341
98341
|
return groups;
|
|
98342
98342
|
}
|
|
98343
98343
|
|
|
98344
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98344
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync-progress.js
|
|
98345
98345
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
98346
98346
|
import * as fs32 from "fs";
|
|
98347
98347
|
import * as os8 from "os";
|
|
98348
98348
|
import * as path27 from "path";
|
|
98349
98349
|
|
|
98350
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98350
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/conflict-notices.js
|
|
98351
98351
|
import { createHash as createHash19 } from "node:crypto";
|
|
98352
98352
|
import * as fs31 from "node:fs";
|
|
98353
98353
|
import * as os7 from "node:os";
|
|
@@ -98496,7 +98496,7 @@ function readPendingConflictNotices() {
|
|
|
98496
98496
|
return readNotices().filter((notice) => !acknowledged.has(notice.id)).slice(-MAX_PENDING_CONFLICT_NOTICES);
|
|
98497
98497
|
}
|
|
98498
98498
|
|
|
98499
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98499
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync-progress.js
|
|
98500
98500
|
function logSwallowed5(line) {
|
|
98501
98501
|
process.stderr.write(line);
|
|
98502
98502
|
}
|
|
@@ -98783,7 +98783,7 @@ function createPassSummaryRecorder() {
|
|
|
98783
98783
|
};
|
|
98784
98784
|
}
|
|
98785
98785
|
|
|
98786
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98786
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/prefix-coalesce.js
|
|
98787
98787
|
var SCOPE_PREFIX_MARKER = "\0hq-scope:";
|
|
98788
98788
|
var SCOPE_PREFIX_MARKER_PREFIX = `${SCOPE_PREFIX_MARKER}prefix`;
|
|
98789
98789
|
var SCOPE_PREFIX_MARKER_EXACT = `${SCOPE_PREFIX_MARKER}exact`;
|
|
@@ -98983,7 +98983,7 @@ function grantPathToScopePrefix(grantPath, slug) {
|
|
|
98983
98983
|
return pathToScopePrefix(p3);
|
|
98984
98984
|
}
|
|
98985
98985
|
|
|
98986
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
98986
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/scope-shrink.js
|
|
98987
98987
|
import * as fs33 from "fs";
|
|
98988
98988
|
import * as path28 from "path";
|
|
98989
98989
|
function buildScopeShrinkPlan(input2) {
|
|
@@ -99279,18 +99279,18 @@ function applyScopeShrink(input2) {
|
|
|
99279
99279
|
};
|
|
99280
99280
|
}
|
|
99281
99281
|
|
|
99282
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99282
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/secret-path-policy.js
|
|
99283
99283
|
init_dist();
|
|
99284
99284
|
import * as fs34 from "fs";
|
|
99285
99285
|
import * as path29 from "path";
|
|
99286
99286
|
|
|
99287
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99287
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/flag-company-uid.js
|
|
99288
99288
|
var FLAG_COMPANY_UID_PATTERN = /^cmp_[A-Za-z0-9]{3,128}$/;
|
|
99289
99289
|
function flagCompanyUid(uid) {
|
|
99290
99290
|
return FLAG_COMPANY_UID_PATTERN.test(uid) ? uid : void 0;
|
|
99291
99291
|
}
|
|
99292
99292
|
|
|
99293
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99293
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/secret-path-policy.js
|
|
99294
99294
|
var SKIP_SECRET_PATHS_FLAG = "sync.skip-secret-paths";
|
|
99295
99295
|
var WAL_REJECTED_DELTA_RECOVERY_FLAG = "sync.wal-rejected-delta-recovery";
|
|
99296
99296
|
var FLAG_REFRESH_INTERVAL_MS = 5 * 6e4;
|
|
@@ -99440,7 +99440,7 @@ function isSkipSecretPathsEnabled(config2, companyUid, failClosed = false) {
|
|
|
99440
99440
|
return defaultSkipSecretPathsGate(config2, companyUid, failClosed);
|
|
99441
99441
|
}
|
|
99442
99442
|
|
|
99443
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99443
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/remote-pull.js
|
|
99444
99444
|
var VEND_PATH_CAP = 10;
|
|
99445
99445
|
var POST_FILTER_THRESHOLD = 50;
|
|
99446
99446
|
var VEND_FANOUT_CONCURRENCY = 5;
|
|
@@ -99527,20 +99527,20 @@ function dedupByKey(files) {
|
|
|
99527
99527
|
return out;
|
|
99528
99528
|
}
|
|
99529
99529
|
|
|
99530
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99530
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/multipart-upload.js
|
|
99531
99531
|
var MULTIPART_DEFAULT_PART_SIZE = 16 * 1024 * 1024;
|
|
99532
99532
|
var MIB = 1024 * 1024;
|
|
99533
99533
|
|
|
99534
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99534
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/pull-scope.js
|
|
99535
99535
|
import * as fs35 from "fs";
|
|
99536
99536
|
import * as path30 from "path";
|
|
99537
99537
|
|
|
99538
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99538
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/push-only-prefixes.js
|
|
99539
99539
|
var SESSIONS_SCOPE_PREFIX = "sessions/";
|
|
99540
99540
|
var SESSION_LOGS_PUSH_ONLY_PREFIX = "workspace/.session-logs/";
|
|
99541
99541
|
var HQ_OFFLOAD_PREFIX = ".hq-offload/";
|
|
99542
99542
|
|
|
99543
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99543
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/pull-scope.js
|
|
99544
99544
|
function sessionsPushOnlyScope(scope) {
|
|
99545
99545
|
return { ...scope, excludePrefixes: [SESSIONS_SCOPE_PREFIX] };
|
|
99546
99546
|
}
|
|
@@ -99636,7 +99636,7 @@ function readPinnedPrefixes(hqRoot, slug) {
|
|
|
99636
99636
|
return [];
|
|
99637
99637
|
}
|
|
99638
99638
|
|
|
99639
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99639
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/plan-limit-pause.js
|
|
99640
99640
|
import * as fs36 from "fs";
|
|
99641
99641
|
import * as path31 from "path";
|
|
99642
99642
|
var PLAN_LIMIT_PAUSE_RETRY_MS = 60 * 60 * 1e3;
|
|
@@ -99853,13 +99853,13 @@ var PlanLimitPauseStore = class _PlanLimitPauseStore {
|
|
|
99853
99853
|
}
|
|
99854
99854
|
};
|
|
99855
99855
|
|
|
99856
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99856
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/telemetry.js
|
|
99857
99857
|
import { createHash as createHash20 } from "node:crypto";
|
|
99858
99858
|
import { promises as fs41 } from "node:fs";
|
|
99859
99859
|
import * as os9 from "node:os";
|
|
99860
99860
|
import * as path35 from "node:path";
|
|
99861
99861
|
|
|
99862
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99862
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/telemetry-scan-cap.js
|
|
99863
99863
|
import { promises as fs37 } from "node:fs";
|
|
99864
99864
|
async function hasUnreadBytes(filePath, stored) {
|
|
99865
99865
|
let stat5;
|
|
@@ -99877,7 +99877,7 @@ async function hasUnreadBytes(filePath, stored) {
|
|
|
99877
99877
|
return stat5.size > offset;
|
|
99878
99878
|
}
|
|
99879
99879
|
|
|
99880
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99880
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/company-resolver.js
|
|
99881
99881
|
import { promises as fs38 } from "node:fs";
|
|
99882
99882
|
import * as path32 from "node:path";
|
|
99883
99883
|
|
|
@@ -102947,7 +102947,7 @@ var {
|
|
|
102947
102947
|
safeDump
|
|
102948
102948
|
} = yaml;
|
|
102949
102949
|
|
|
102950
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
102950
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/company-resolver.js
|
|
102951
102951
|
function logSwallowed6(line) {
|
|
102952
102952
|
process.stderr.write(line);
|
|
102953
102953
|
}
|
|
@@ -103158,7 +103158,7 @@ function resolveCompanyForCwd(cwd, map5) {
|
|
|
103158
103158
|
return collapsed !== c5 ? match(collapsed) : void 0;
|
|
103159
103159
|
}
|
|
103160
103160
|
|
|
103161
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
103161
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/usage-company-fallback.js
|
|
103162
103162
|
import { promises as fs39 } from "node:fs";
|
|
103163
103163
|
import * as path33 from "node:path";
|
|
103164
103164
|
var TRUSTED_META_SOURCES = /* @__PURE__ */ new Set(["session"]);
|
|
@@ -103605,7 +103605,7 @@ function createUsageCompanyFallback(options) {
|
|
|
103605
103605
|
};
|
|
103606
103606
|
}
|
|
103607
103607
|
|
|
103608
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
103608
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/telemetry/consent-source.js
|
|
103609
103609
|
var KNOWN_SOURCES = /* @__PURE__ */ new Set([
|
|
103610
103610
|
"plan-required",
|
|
103611
103611
|
"notice-pending",
|
|
@@ -103685,7 +103685,7 @@ function decideCollection(resp, local) {
|
|
|
103685
103685
|
}
|
|
103686
103686
|
}
|
|
103687
103687
|
|
|
103688
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
103688
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/telemetry/pre-consent-buffer.js
|
|
103689
103689
|
import { randomBytes as randomBytes8 } from "node:crypto";
|
|
103690
103690
|
import { promises as fs40 } from "node:fs";
|
|
103691
103691
|
import * as path34 from "node:path";
|
|
@@ -103917,7 +103917,7 @@ async function discardPreConsentBuffer(file2, opts = {}) {
|
|
|
103917
103917
|
});
|
|
103918
103918
|
}
|
|
103919
103919
|
|
|
103920
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
103920
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/telemetry.js
|
|
103921
103921
|
function emptyCursor() {
|
|
103922
103922
|
return { version: "1", files: {} };
|
|
103923
103923
|
}
|
|
@@ -104891,7 +104891,7 @@ async function collectAndSendTelemetry(opts) {
|
|
|
104891
104891
|
};
|
|
104892
104892
|
}
|
|
104893
104893
|
|
|
104894
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104894
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/skill-telemetry.js
|
|
104895
104895
|
import { createHash as createHash21 } from "node:crypto";
|
|
104896
104896
|
import { promises as fs42 } from "node:fs";
|
|
104897
104897
|
import * as os10 from "node:os";
|
|
@@ -105762,12 +105762,12 @@ async function collectAndSendSkillTelemetry(opts) {
|
|
|
105762
105762
|
};
|
|
105763
105763
|
}
|
|
105764
105764
|
|
|
105765
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105765
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
105766
105766
|
import * as fs59 from "fs";
|
|
105767
105767
|
import * as os18 from "os";
|
|
105768
105768
|
import * as path52 from "path";
|
|
105769
105769
|
|
|
105770
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105770
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync-pass-event.js
|
|
105771
105771
|
import { createHash as createHash22 } from "node:crypto";
|
|
105772
105772
|
import * as os11 from "node:os";
|
|
105773
105773
|
var SYNC_PASS_EVENT_NAME = "sync_pass";
|
|
@@ -105860,7 +105860,7 @@ function startSyncPassObservation(context, deps = {}) {
|
|
|
105860
105860
|
};
|
|
105861
105861
|
}
|
|
105862
105862
|
|
|
105863
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105863
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync-object-events.js
|
|
105864
105864
|
import { createHash as createHash23 } from "node:crypto";
|
|
105865
105865
|
var SYNC_CONFLICT_EVENT_NAME = "sync_conflict";
|
|
105866
105866
|
var SYNC_OVERWRITE_EVENT_NAME = "sync_overwrite";
|
|
@@ -105997,7 +105997,7 @@ function createSyncObjectEventSink(deps) {
|
|
|
105997
105997
|
};
|
|
105998
105998
|
}
|
|
105999
105999
|
|
|
106000
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106000
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/symlink-target-refusal-flag.js
|
|
106001
106001
|
init_dist();
|
|
106002
106002
|
var SYMLINK_TARGET_REFUSAL_FLAG = "sync.symlink-target-refusal";
|
|
106003
106003
|
var FLAG_READ_TIMEOUT_MS = 2e3;
|
|
@@ -106046,7 +106046,7 @@ async function resolveSymlinkTargetRefusalFlag(input2) {
|
|
|
106046
106046
|
}
|
|
106047
106047
|
}
|
|
106048
106048
|
|
|
106049
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106049
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/company-vault-transport.js
|
|
106050
106050
|
function selectObjectIOFactory(client, refresherFor, forceRefresherFor) {
|
|
106051
106051
|
if (typeof client.presign === "function" && typeof client.listFiles === "function") {
|
|
106052
106052
|
return presignObjectIOFactory(client, refresherFor, forceRefresherFor);
|
|
@@ -106064,7 +106064,7 @@ function ensureCompanyVaultTransport(vaultConfig, deps = {}) {
|
|
|
106064
106064
|
vaultConfig.companyVaultUsesPresign = objectIOFactory !== null;
|
|
106065
106065
|
}
|
|
106066
106066
|
|
|
106067
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106067
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync-decision-log.js
|
|
106068
106068
|
import * as fs43 from "node:fs";
|
|
106069
106069
|
import * as path37 from "node:path";
|
|
106070
106070
|
import { randomUUID as randomUUID4 } from "node:crypto";
|
|
@@ -106109,7 +106109,7 @@ function appendSyncDecision(input2, options = {}) {
|
|
|
106109
106109
|
}
|
|
106110
106110
|
}
|
|
106111
106111
|
|
|
106112
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106112
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/scattered-delete-burst.js
|
|
106113
106113
|
import * as fs44 from "fs";
|
|
106114
106114
|
import * as path38 from "path";
|
|
106115
106115
|
var SCATTERED_DELETE_MIN_ABS = 20;
|
|
@@ -106175,7 +106175,7 @@ function detectScatteredDeleteBurst(candidateKeys, journal, syncRoot, uploadedHa
|
|
|
106175
106175
|
return { keys, areas: areas.size, samplePaths: keys.slice(0, SCATTERED_DELETE_SAMPLE_CAP) };
|
|
106176
106176
|
}
|
|
106177
106177
|
|
|
106178
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106178
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/unattended-delete-hold.js
|
|
106179
106179
|
var UNATTENDED_SYNC_ENV = "HQ_SYNC_UNATTENDED";
|
|
106180
106180
|
var MACHINE_ENTITY_TYPES = /* @__PURE__ */ new Set(["agent", "outpost", "company-outpost"]);
|
|
106181
106181
|
var unattendedForProcess = false;
|
|
@@ -106267,10 +106267,10 @@ function unattendedPullDeleteDecision(hold, entry) {
|
|
|
106267
106267
|
return entry.direction === "up" ? "defer" : "restore";
|
|
106268
106268
|
}
|
|
106269
106269
|
|
|
106270
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106270
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
106271
106271
|
import * as crypto16 from "crypto";
|
|
106272
106272
|
|
|
106273
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106273
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/private-folder-transport.js
|
|
106274
106274
|
import * as fs45 from "fs";
|
|
106275
106275
|
import * as path39 from "path";
|
|
106276
106276
|
var CONTENT_SHA256_RE2 = /^[a-f0-9]{64}$/;
|
|
@@ -106353,7 +106353,7 @@ async function primePrivateFolderUpload(input2) {
|
|
|
106353
106353
|
}]);
|
|
106354
106354
|
}
|
|
106355
106355
|
|
|
106356
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106356
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/session-log-retention.js
|
|
106357
106357
|
import * as crypto12 from "node:crypto";
|
|
106358
106358
|
import * as fs46 from "node:fs";
|
|
106359
106359
|
import * as os12 from "node:os";
|
|
@@ -106679,7 +106679,7 @@ function pruneSyncedSessionLogs(root5) {
|
|
|
106679
106679
|
}
|
|
106680
106680
|
}
|
|
106681
106681
|
|
|
106682
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
106682
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/full-pass-caps.js
|
|
106683
106683
|
var FULL_PASS_CPU_CAP_FLAG = "sync.full-pass.cpu-cap-pct";
|
|
106684
106684
|
var FULL_PASS_HEAP_CAP_FLAG = "sync.full-pass.heap-cap-mb";
|
|
106685
106685
|
var FULL_PASS_DURABLE_PROGRESS_FLAG = "sync.full-pass-durable-progress";
|
|
@@ -107256,7 +107256,7 @@ var FullPassCapController = class {
|
|
|
107256
107256
|
}
|
|
107257
107257
|
};
|
|
107258
107258
|
|
|
107259
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107259
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/conflict.js
|
|
107260
107260
|
import * as fs47 from "fs";
|
|
107261
107261
|
import * as readline from "readline";
|
|
107262
107262
|
function conflictPromptHeadline(conflict) {
|
|
@@ -107460,7 +107460,7 @@ async function promptConflict(conflict) {
|
|
|
107460
107460
|
}
|
|
107461
107461
|
}
|
|
107462
107462
|
|
|
107463
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107463
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/reconcile-skip-reason.js
|
|
107464
107464
|
var HUMAN_UP_TO_DATE_LINE_CAP = 20;
|
|
107465
107465
|
var HUMAN_SIZE_LIMIT_LINE_CAP = 5;
|
|
107466
107466
|
function isUpToDateSkipReason(reason) {
|
|
@@ -107537,7 +107537,7 @@ function createHumanSkipLineLog() {
|
|
|
107537
107537
|
};
|
|
107538
107538
|
}
|
|
107539
107539
|
|
|
107540
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107540
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/tombstones.js
|
|
107541
107541
|
import * as crypto13 from "node:crypto";
|
|
107542
107542
|
import * as fs48 from "node:fs";
|
|
107543
107543
|
import * as os13 from "node:os";
|
|
@@ -107931,7 +107931,7 @@ async function fetchTombstonePage(url2, token) {
|
|
|
107931
107931
|
throw new TombstoneFetchError(`FILE_TOMBSTONE fetch failed after ${attemptsMade} attempts; refusing to sync without delete suppression`, attemptsMade, lastError);
|
|
107932
107932
|
}
|
|
107933
107933
|
|
|
107934
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107934
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync-core.js
|
|
107935
107935
|
import { execSync } from "child_process";
|
|
107936
107936
|
import * as fs49 from "fs";
|
|
107937
107937
|
import * as os14 from "os";
|
|
@@ -108081,11 +108081,11 @@ function hasRemoteChanged(remote, entry) {
|
|
|
108081
108081
|
return remote.lastModified.getTime() > syncedAt;
|
|
108082
108082
|
}
|
|
108083
108083
|
|
|
108084
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108084
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-file.js
|
|
108085
108085
|
import * as crypto14 from "crypto";
|
|
108086
108086
|
import * as path44 from "path";
|
|
108087
108087
|
|
|
108088
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108088
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/machine-id.js
|
|
108089
108089
|
import { createHash as createHash26, randomUUID as randomUUID6 } from "node:crypto";
|
|
108090
108090
|
import * as fs50 from "node:fs";
|
|
108091
108091
|
import * as os15 from "node:os";
|
|
@@ -108205,7 +108205,7 @@ function readShortMachineId(hqRoot) {
|
|
|
108205
108205
|
return createHash26("sha1").update(full).digest("hex").slice(0, 6);
|
|
108206
108206
|
}
|
|
108207
108207
|
|
|
108208
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108208
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-file.js
|
|
108209
108209
|
var CONFLICT_BACKUPS_DIR = ".hq/conflict-backups";
|
|
108210
108210
|
var CONFLICT_PROBE_DIR = ".hq/tmp";
|
|
108211
108211
|
function safeTimestamp(detectedAt) {
|
|
@@ -108223,7 +108223,7 @@ function buildConflictId(originalRelative, detectedAt) {
|
|
|
108223
108223
|
return `${safePath}-${safeTimestamp(detectedAt)}`;
|
|
108224
108224
|
}
|
|
108225
108225
|
|
|
108226
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108226
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-index.js
|
|
108227
108227
|
import * as crypto15 from "crypto";
|
|
108228
108228
|
import * as fs51 from "fs";
|
|
108229
108229
|
import * as path45 from "path";
|
|
@@ -108377,7 +108377,7 @@ function pruneConflictIndex(hqRoot) {
|
|
|
108377
108377
|
return result;
|
|
108378
108378
|
}
|
|
108379
108379
|
|
|
108380
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108380
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/append-only-merge.js
|
|
108381
108381
|
import * as fs52 from "node:fs";
|
|
108382
108382
|
function isAppendOnlyPath(relativePath) {
|
|
108383
108383
|
const base = relativePath.split(/[\\/]/).pop() ?? "";
|
|
@@ -108449,7 +108449,7 @@ function appendIfUnchanged(file2, expected, merged) {
|
|
|
108449
108449
|
return "appended";
|
|
108450
108450
|
}
|
|
108451
108451
|
|
|
108452
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108452
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/append-log-merge.js
|
|
108453
108453
|
import { createHash as createHash27 } from "node:crypto";
|
|
108454
108454
|
import * as fs53 from "node:fs";
|
|
108455
108455
|
import * as path46 from "node:path";
|
|
@@ -108728,7 +108728,7 @@ function replaceKeepingMode(file2, expected, merged) {
|
|
|
108728
108728
|
return "appended";
|
|
108729
108729
|
}
|
|
108730
108730
|
|
|
108731
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108731
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/board-merge.js
|
|
108732
108732
|
import * as fs54 from "node:fs";
|
|
108733
108733
|
import * as path47 from "node:path";
|
|
108734
108734
|
function isBoardJsonPath(relativePath) {
|
|
@@ -108874,7 +108874,7 @@ function replaceIfUnchanged(file2, expected, merged) {
|
|
|
108874
108874
|
return "appended";
|
|
108875
108875
|
}
|
|
108876
108876
|
|
|
108877
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
108877
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/same-path-upload-lock.js
|
|
108878
108878
|
import { createHash as createHash28, randomBytes as randomBytes11 } from "node:crypto";
|
|
108879
108879
|
import * as fs55 from "node:fs";
|
|
108880
108880
|
import * as os16 from "node:os";
|
|
@@ -109198,7 +109198,7 @@ function findUploadIntent(scope, relativePath, hash3, notBeforeMs, remoteLastMod
|
|
|
109198
109198
|
return best;
|
|
109199
109199
|
}
|
|
109200
109200
|
|
|
109201
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109201
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-entity-push.js
|
|
109202
109202
|
init_dist();
|
|
109203
109203
|
import { createHash as createHash29 } from "node:crypto";
|
|
109204
109204
|
var ONTOLOGY_ENTITY_PUSH_FLAG = "checkpoint.ontology";
|
|
@@ -109292,7 +109292,7 @@ ${caller}`;
|
|
|
109292
109292
|
return failed ? false : value;
|
|
109293
109293
|
}
|
|
109294
109294
|
|
|
109295
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109295
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-outbox.js
|
|
109296
109296
|
import fs56 from "node:fs";
|
|
109297
109297
|
import path49 from "node:path";
|
|
109298
109298
|
var ONTOLOGY_OUTBOX_SCHEMA = "hq-ontology-outbox.v1";
|
|
@@ -109358,7 +109358,7 @@ function entityIsFreshForCreate(body, nowMs) {
|
|
|
109358
109358
|
return age >= -ENTITY_CREATE_FUTURE_SKEW_MS && age <= ENTITY_CREATE_WINDOW_MS;
|
|
109359
109359
|
}
|
|
109360
109360
|
|
|
109361
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109361
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/skill-register-landed-bytes.js
|
|
109362
109362
|
init_dist();
|
|
109363
109363
|
import { createHash as createHash30 } from "node:crypto";
|
|
109364
109364
|
var SKILL_REGISTER_LANDED_BYTES_FLAG = "sync.skill-register-landed-bytes";
|
|
@@ -109432,7 +109432,7 @@ ${caller}`;
|
|
|
109432
109432
|
return failed ? false : value;
|
|
109433
109433
|
}
|
|
109434
109434
|
|
|
109435
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109435
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/personal-connector-settings-sync.js
|
|
109436
109436
|
init_dist();
|
|
109437
109437
|
import { createHash as createHash31 } from "node:crypto";
|
|
109438
109438
|
var PERSONAL_CONNECTOR_SETTINGS_SYNC_FLAG = "personal.connector-settings-sync";
|
|
@@ -109495,7 +109495,7 @@ ${caller}`;
|
|
|
109495
109495
|
return failed ? false : value;
|
|
109496
109496
|
}
|
|
109497
109497
|
|
|
109498
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109498
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/describe-error.js
|
|
109499
109499
|
import * as path50 from "node:path";
|
|
109500
109500
|
var MAX_DIAGNOSTIC_LENGTH = 1024;
|
|
109501
109501
|
function sanitizeDiagnostic(value) {
|
|
@@ -109628,7 +109628,7 @@ function pushFailureTelemetryLabel(value) {
|
|
|
109628
109628
|
return safe.slice(0, 128) || "unknown";
|
|
109629
109629
|
}
|
|
109630
109630
|
|
|
109631
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109631
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/readlink-safe.js
|
|
109632
109632
|
import * as fs57 from "fs";
|
|
109633
109633
|
function toPortableSymlinkTarget(target, platform3 = process.platform) {
|
|
109634
109634
|
return platform3 === "win32" ? target.replaceAll("\\", "/") : target;
|
|
@@ -109647,14 +109647,14 @@ function readlinkOrNull(linkPath, readlink = (path85) => fs57.readlinkSync(path8
|
|
|
109647
109647
|
}
|
|
109648
109648
|
}
|
|
109649
109649
|
|
|
109650
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109650
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/reconcile-cursor.js
|
|
109651
109651
|
function checkpointReconcileApply(checkpoint, paths) {
|
|
109652
109652
|
if (!checkpoint)
|
|
109653
109653
|
return;
|
|
109654
109654
|
checkpoint.store.checkpointApply(checkpoint.cursor, [...new Set(paths)].map((path85) => ({ path: path85, durable: true })));
|
|
109655
109655
|
}
|
|
109656
109656
|
|
|
109657
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109657
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/handback-keep.js
|
|
109658
109658
|
import * as fs58 from "fs";
|
|
109659
109659
|
import * as os17 from "os";
|
|
109660
109660
|
import * as path51 from "path";
|
|
@@ -109805,7 +109805,7 @@ function updateVault(file2, uid, drop, seen) {
|
|
|
109805
109805
|
return false;
|
|
109806
109806
|
}
|
|
109807
109807
|
|
|
109808
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109808
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/mass-delete-guards.js
|
|
109809
109809
|
init_dist();
|
|
109810
109810
|
import { createHash as createHash32 } from "node:crypto";
|
|
109811
109811
|
var MASS_DELETE_GUARDS_FLAG = "sync.delete-absolute-volume-and-release-root-guards";
|
|
@@ -109950,7 +109950,7 @@ function warnFlagReadFailure(write) {
|
|
|
109950
109950
|
`)))(line);
|
|
109951
109951
|
}
|
|
109952
109952
|
|
|
109953
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
109953
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
109954
109954
|
async function remoteContentDiffers(ctx, relativePath, localHash, hqRoot, symlinkOptions) {
|
|
109955
109955
|
const probeKey = crypto16.createHash("sha256").update(relativePath).digest("hex").slice(0, 16);
|
|
109956
109956
|
const probePath = path52.join(os18.tmpdir(), `hq-conflict-probe-${readShortMachineId(hqRoot)}-${probeKey}.tmp`);
|
|
@@ -112125,7 +112125,7 @@ async function executeUploads(run, pushPlan, counters, conflictPaths) {
|
|
|
112125
112125
|
if (remoteMeta) {
|
|
112126
112126
|
const localChanged = !!journalEntry && journalEntry.hash !== localHash;
|
|
112127
112127
|
const remoteContentHash = item.kind === "file" ? publishedContentHash(remoteMeta.metadata) : void 0;
|
|
112128
|
-
|
|
112128
|
+
let remoteChanged = !!journalEntry && hasRemoteChanged({ ...remoteMeta, contentHash: remoteContentHash }, journalEntry);
|
|
112129
112129
|
remoteChangedSinceJournal = remoteChanged;
|
|
112130
112130
|
if (remoteContentHash === localHash) {
|
|
112131
112131
|
const lstat3 = fs59.lstatSync(absolutePath);
|
|
@@ -112141,6 +112141,19 @@ async function executeUploads(run, pushPlan, counters, conflictPaths) {
|
|
|
112141
112141
|
counters.filesSkipped++;
|
|
112142
112142
|
return;
|
|
112143
112143
|
}
|
|
112144
|
+
if (item.kind === "file" && localChanged && !remoteChanged && journalEntry !== void 0 && journalEntry.localDiverges !== true && typeof journalEntry.remoteEtag === "string" && journalEntry.remoteEtag !== "" && normalizeEtag(remoteMeta.etag) !== normalizeEtag(journalEntry.remoteEtag) && !isArchivedSessionLog(relativePath, remoteMeta)) {
|
|
112145
|
+
const liveBodyDiffers = await remoteContentDiffers(run.ctx, relativePath, journalEntry.hash, run.hqRoot, {
|
|
112146
|
+
refuseUnsafeSymlinkTargets: run.symlinkTargetRefusal,
|
|
112147
|
+
symlinkTargetScope: run.options.personalMode === true ? { kind: "personal" } : { kind: "company", companySlug: run.ctx.slug },
|
|
112148
|
+
symlinkTargetLinkPath: run.options.personalMode === true ? personalSymlinkTargetLinkPath(relativePath) : `companies/${run.ctx.slug}/${relativePath}`
|
|
112149
|
+
});
|
|
112150
|
+
if (liveBodyDiffers) {
|
|
112151
|
+
remoteChanged = true;
|
|
112152
|
+
remoteChangedSinceJournal = true;
|
|
112153
|
+
} else {
|
|
112154
|
+
fenceOnObservedRemote = true;
|
|
112155
|
+
}
|
|
112156
|
+
}
|
|
112144
112157
|
if (remoteChanged && journalEntry !== void 0 && journalEntry.localDiverges !== true && remoteContentHash !== void 0 && journalEntry.hash === localHash && remoteContentHash !== localHash) {
|
|
112145
112158
|
conflictPaths.push(relativePath);
|
|
112146
112159
|
run.emit({ type: "conflict", path: relativePath, direction: "push", resolution: "skip" });
|
|
@@ -115176,12 +115189,12 @@ function computeDecommissionPlan(journal, prefixes, policy, alreadyPlanned, skip
|
|
|
115176
115189
|
return out;
|
|
115177
115190
|
}
|
|
115178
115191
|
|
|
115179
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115192
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
115180
115193
|
import * as fs66 from "fs";
|
|
115181
115194
|
import * as path59 from "path";
|
|
115182
115195
|
import { isDeepStrictEqual } from "node:util";
|
|
115183
115196
|
|
|
115184
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115197
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/remote-file-spool.js
|
|
115185
115198
|
import * as fs60 from "node:fs";
|
|
115186
115199
|
import * as os19 from "node:os";
|
|
115187
115200
|
import * as path53 from "node:path";
|
|
@@ -115260,7 +115273,7 @@ function* readRows(filename) {
|
|
|
115260
115273
|
}
|
|
115261
115274
|
}
|
|
115262
115275
|
|
|
115263
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115276
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/hq-root-recovery.js
|
|
115264
115277
|
import { execFile as execFile6 } from "child_process";
|
|
115265
115278
|
import { randomBytes as randomBytes13 } from "crypto";
|
|
115266
115279
|
import * as fs62 from "fs";
|
|
@@ -115268,7 +115281,7 @@ import * as os20 from "os";
|
|
|
115268
115281
|
import * as path55 from "path";
|
|
115269
115282
|
import { promisify as promisify6 } from "util";
|
|
115270
115283
|
|
|
115271
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115284
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/backup-prune.js
|
|
115272
115285
|
import * as crypto17 from "crypto";
|
|
115273
115286
|
import * as fs61 from "fs";
|
|
115274
115287
|
import * as path54 from "path";
|
|
@@ -115454,7 +115467,7 @@ function inventoryManagedSnapshots(backupRoot, canonicalRoot3, isCopyingOwnerLiv
|
|
|
115454
115467
|
return { entries: entries3, ...plan, unmanaged: [...unmanaged, ...plan.unmanaged] };
|
|
115455
115468
|
}
|
|
115456
115469
|
|
|
115457
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115470
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/hq-root-recovery.js
|
|
115458
115471
|
var execFileAsync5 = promisify6(execFile6);
|
|
115459
115472
|
var HQ_LAYOUT_DIRS = ["repos", "repos/public", "repos/private"];
|
|
115460
115473
|
function gitSidecarDir(hqRoot, homeDir = os20.homedir()) {
|
|
@@ -115827,10 +115840,10 @@ function recoverHqRootLocalState(hqRoot, opts = {}) {
|
|
|
115827
115840
|
};
|
|
115828
115841
|
}
|
|
115829
115842
|
|
|
115830
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115843
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/doctor.js
|
|
115831
115844
|
var SKILLS_KEY_PREFIX = ".claude/skills/";
|
|
115832
115845
|
|
|
115833
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115846
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/content-hash.js
|
|
115834
115847
|
var SHA256_CONTENT_HASH = /^sha256:([a-f0-9]{64})$/;
|
|
115835
115848
|
function rawSha256FromContentHash(contentHash) {
|
|
115836
115849
|
if (contentHash === void 0)
|
|
@@ -115841,7 +115854,7 @@ function contentHashMatchesRawSha256(contentHash, rawHash) {
|
|
|
115841
115854
|
return rawSha256FromContentHash(contentHash) === rawHash;
|
|
115842
115855
|
}
|
|
115843
115856
|
|
|
115844
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115857
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/kms10-etag-safe-pull.js
|
|
115845
115858
|
import { createHash as createHash35 } from "node:crypto";
|
|
115846
115859
|
var KMS10_COPY_MARKER_META_KEY = "hq-kms10-reencrypt-current";
|
|
115847
115860
|
var KMS10_COPY_ORIGINAL_KEY_HASH_META_KEY = "hq-kms10-original-key-sha256";
|
|
@@ -115866,7 +115879,7 @@ function isKms10CopyOfJournalBase(listed, head, journalHash, journalEtag, expect
|
|
|
115866
115879
|
return normalizeEtag(head.metadata?.["hq-kms10-original-etag"] ?? "") === normalizeEtag(journalEtag);
|
|
115867
115880
|
}
|
|
115868
115881
|
|
|
115869
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115882
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/targeted-upsert-exact-list.js
|
|
115870
115883
|
init_dist();
|
|
115871
115884
|
import { createHash as createHash36 } from "node:crypto";
|
|
115872
115885
|
function logSwallowed9(line) {
|
|
@@ -115983,7 +115996,7 @@ function isTargetedUpsertExactListEnabled(config2, companyUid) {
|
|
|
115983
115996
|
return defaultTargetedUpsertExactListGate(config2, companyUid);
|
|
115984
115997
|
}
|
|
115985
115998
|
|
|
115986
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115999
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/targeted-pull-prefixes.js
|
|
115987
116000
|
var TARGETED_PULL_PREFIX_GROUP_MIN_PATHS = 16;
|
|
115988
116001
|
function coalesceDenseTargetedPullPaths(paths) {
|
|
115989
116002
|
const normalized = paths.map((path85) => path85.replace(/\\/g, "/"));
|
|
@@ -116021,15 +116034,15 @@ function coalesceDenseTargetedPullPaths(paths) {
|
|
|
116021
116034
|
return result;
|
|
116022
116035
|
}
|
|
116023
116036
|
|
|
116024
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
116037
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
116025
116038
|
import { createHash as createHash38 } from "node:crypto";
|
|
116026
116039
|
|
|
116027
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
116040
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex.js
|
|
116028
116041
|
import { spawnSync as spawnSync3 } from "child_process";
|
|
116029
116042
|
import * as fs65 from "fs";
|
|
116030
116043
|
import * as path58 from "path";
|
|
116031
116044
|
|
|
116032
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
116045
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex-knowledge.js
|
|
116033
116046
|
import { spawnSync as spawnSync2 } from "child_process";
|
|
116034
116047
|
import * as fs63 from "fs";
|
|
116035
116048
|
import * as path56 from "path";
|
|
@@ -116292,7 +116305,7 @@ function materializeLegacyKnowledgeRepos(root5) {
|
|
|
116292
116305
|
}
|
|
116293
116306
|
}
|
|
116294
116307
|
|
|
116295
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
116308
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/session-log-capture.js
|
|
116296
116309
|
import * as crypto18 from "node:crypto";
|
|
116297
116310
|
import * as fs64 from "node:fs";
|
|
116298
116311
|
import * as os21 from "node:os";
|
|
@@ -117236,7 +117249,7 @@ function captureSessionLogs(root5, options = {}) {
|
|
|
117236
117249
|
}
|
|
117237
117250
|
}
|
|
117238
117251
|
|
|
117239
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
117252
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex.js
|
|
117240
117253
|
function isDir2(p3) {
|
|
117241
117254
|
try {
|
|
117242
117255
|
return fs65.statSync(p3).isDirectory();
|
|
@@ -117913,7 +117926,7 @@ function emitReindexTelemetry(opts, result, lockResult) {
|
|
|
117913
117926
|
}, { claims: opts.telemetryClaims });
|
|
117914
117927
|
}
|
|
117915
117928
|
|
|
117916
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
117929
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
117917
117930
|
async function yieldToCooperativeCheckpoint2(work, cooperativeCheckpoint, force, resumedAt) {
|
|
117918
117931
|
work.rowsSinceYield += 1;
|
|
117919
117932
|
if (!force && work.rowsSinceYield < cooperativeUnitSize()) {
|
|
@@ -119518,6 +119531,8 @@ async function executeConflictItem(run, plan, scopeRun, counters, downloadItems,
|
|
|
119518
119531
|
let probeParked = false;
|
|
119519
119532
|
let remoteProbeHash = null;
|
|
119520
119533
|
let remoteProbeVersionId = null;
|
|
119534
|
+
let remoteProbeEtag;
|
|
119535
|
+
const probedRemoteEtag = () => remoteProbeEtag ?? remoteFile.etag;
|
|
119521
119536
|
let remoteBackupKey = null;
|
|
119522
119537
|
let remoteBackupHash = null;
|
|
119523
119538
|
const discardProbe = () => {
|
|
@@ -119660,6 +119675,7 @@ async function executeConflictItem(run, plan, scopeRun, counters, downloadItems,
|
|
|
119660
119675
|
return null;
|
|
119661
119676
|
}
|
|
119662
119677
|
remoteFetched = true;
|
|
119678
|
+
remoteProbeEtag = downloaded.etag || void 0;
|
|
119663
119679
|
executionLocal = readCurrentLocalFileState(localPath);
|
|
119664
119680
|
if (executionLocal === null) {
|
|
119665
119681
|
counters.filesSkipped++;
|
|
@@ -119747,7 +119763,7 @@ async function executeConflictItem(run, plan, scopeRun, counters, downloadItems,
|
|
|
119747
119763
|
return null;
|
|
119748
119764
|
}
|
|
119749
119765
|
updateEntry(run.journal, remoteFile.key, executionLocal.hash, executionLocal.size, "down", localPath, {
|
|
119750
|
-
remoteEtag:
|
|
119766
|
+
remoteEtag: probedRemoteEtag(),
|
|
119751
119767
|
mtimeMs: executionLocal.mtimeMs,
|
|
119752
119768
|
ctimeMs: executionLocal.ctimeMs,
|
|
119753
119769
|
kind: executionLocal.kind
|
|
@@ -119765,7 +119781,7 @@ async function executeConflictItem(run, plan, scopeRun, counters, downloadItems,
|
|
|
119765
119781
|
const rowWrittenAt = journalEntryAtConflict ? Date.parse(journalEntryAtConflict.syncedAt) : Number.NaN;
|
|
119766
119782
|
const ownUpload = findUploadIntent(run.journalSlug, remoteFile.key, remoteProbeHash, Number.isFinite(rowWrittenAt) ? rowWrittenAt : void 0, remoteFile.lastModified && !remoteFile.lastModifiedUnknown ? remoteFile.lastModified.getTime() : null);
|
|
119767
119783
|
if (ownUpload) {
|
|
119768
|
-
updateEntry(run.journal, remoteFile.key, remoteProbeHash, remoteFile.size, "up", localPath, { remoteEtag:
|
|
119784
|
+
updateEntry(run.journal, remoteFile.key, remoteProbeHash, remoteFile.size, "up", localPath, { remoteEtag: probedRemoteEtag(), kind: "file" });
|
|
119769
119785
|
run.emit({
|
|
119770
119786
|
type: "reconciled",
|
|
119771
119787
|
path: remoteFile.key,
|
|
@@ -119820,7 +119836,7 @@ async function executeConflictItem(run, plan, scopeRun, counters, downloadItems,
|
|
|
119820
119836
|
const mergedStat = fs66.lstatSync(localPath);
|
|
119821
119837
|
const mergedHash = createHash38("sha256").update(merged).digest("hex");
|
|
119822
119838
|
updateEntry(run.journal, remoteFile.key, mergedHash, merged.length, "down", localPath, {
|
|
119823
|
-
remoteEtag:
|
|
119839
|
+
remoteEtag: probedRemoteEtag(),
|
|
119824
119840
|
mtimeMs: mergedStat.mtimeMs,
|
|
119825
119841
|
ctimeMs: mergedStat.ctimeMs,
|
|
119826
119842
|
kind: "file"
|
|
@@ -120002,7 +120018,7 @@ async function executeConflictItem(run, plan, scopeRun, counters, downloadItems,
|
|
|
120002
120018
|
});
|
|
120003
120019
|
}
|
|
120004
120020
|
updateEntry(run.journal, remoteFile.key, localHash, localSize, "down", localPath, {
|
|
120005
|
-
remoteEtag:
|
|
120021
|
+
remoteEtag: probedRemoteEtag(),
|
|
120006
120022
|
mtimeMs: localMtime.getTime(),
|
|
120007
120023
|
kind: localKind
|
|
120008
120024
|
});
|
|
@@ -122169,10 +122185,10 @@ function defaultConsoleLogger2(event, humanSkipLines) {
|
|
|
122169
122185
|
}
|
|
122170
122186
|
}
|
|
122171
122187
|
|
|
122172
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122188
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/rescue-core.js
|
|
122173
122189
|
import { createRequire } from "node:module";
|
|
122174
122190
|
|
|
122175
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122191
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/hq-core-source.js
|
|
122176
122192
|
var HQ_CORE_SOURCE_DEFAULTS = Object.freeze({
|
|
122177
122193
|
repo: "indigoai-us/hq-core",
|
|
122178
122194
|
stagingRepo: "indigoai-us/hq-core-staging",
|
|
@@ -122181,7 +122197,7 @@ var HQ_CORE_SOURCE_DEFAULTS = Object.freeze({
|
|
|
122181
122197
|
webBase: "https://github.com"
|
|
122182
122198
|
});
|
|
122183
122199
|
|
|
122184
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122200
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/rescue-native-copy.js
|
|
122185
122201
|
var POSIX_CHARACTER_CLASSES = {
|
|
122186
122202
|
alnum: "A-Za-z0-9",
|
|
122187
122203
|
alpha: "A-Za-z",
|
|
@@ -122315,7 +122331,7 @@ function compileRsyncPattern(rawPattern) {
|
|
|
122315
122331
|
};
|
|
122316
122332
|
}
|
|
122317
122333
|
|
|
122318
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122334
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/rescue-core.js
|
|
122319
122335
|
var MAX_CLONE_BATCH_PATH_BYTES = 64 * 1024;
|
|
122320
122336
|
var require2 = createRequire(import.meta.url);
|
|
122321
122337
|
var GIT_BATCH_MAX_BUFFER = 256 * 1024 * 1024;
|
|
@@ -122361,9 +122377,10 @@ var INSTALL_KEPT_PATTERNS = [
|
|
|
122361
122377
|
var INSTALL_KEPT_MATCHERS = INSTALL_KEPT_PATTERNS.map(compileRsyncPattern);
|
|
122362
122378
|
var INSTALL_EXCLUDED_MATCHERS = INSTALL_EXCLUDED_PATTERNS.map(compileRsyncPattern);
|
|
122363
122379
|
var CYGWIN_SYMLINK_COOKIE = Buffer.from("!<symlink>", "latin1");
|
|
122380
|
+
var REFERENCE_FILE_MAX_BYTES = 1024 * 1024;
|
|
122364
122381
|
var PRESERVED_FILE_COMPARE_CHUNK_BYTES = 64 * 1024;
|
|
122365
122382
|
|
|
122366
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122383
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/schemas/source-channels.js
|
|
122367
122384
|
var SOURCE_CHANNELS = Object.freeze([
|
|
122368
122385
|
"meeting",
|
|
122369
122386
|
"email",
|
|
@@ -122372,7 +122389,7 @@ var SOURCE_CHANNELS = Object.freeze([
|
|
|
122372
122389
|
"notion"
|
|
122373
122390
|
]);
|
|
122374
122391
|
|
|
122375
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122392
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/schemas/signal-types.js
|
|
122376
122393
|
var SIGNAL_TYPES = Object.freeze([
|
|
122377
122394
|
"action_item",
|
|
122378
122395
|
"commitment",
|
|
@@ -122382,7 +122399,7 @@ var SIGNAL_TYPES = Object.freeze([
|
|
|
122382
122399
|
"summary"
|
|
122383
122400
|
]);
|
|
122384
122401
|
|
|
122385
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122402
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/feature-flags.js
|
|
122386
122403
|
var PARALLEL_COORDINATOR_ENV_VAR = "HQ_SYNC_PARALLEL_COORDINATOR";
|
|
122387
122404
|
var AREA_STORAGE_ENV_VAR = "HQ_SYNC_AREA_STORAGE";
|
|
122388
122405
|
function parseFeatureSwitch(value) {
|
|
@@ -122451,7 +122468,7 @@ function isEventSyncLocallyDisabled(value) {
|
|
|
122451
122468
|
}
|
|
122452
122469
|
}
|
|
122453
122470
|
|
|
122454
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122471
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/metrics.js
|
|
122455
122472
|
var import_client_cloudwatch = __toESM(require_dist_cjs18(), 1);
|
|
122456
122473
|
var SYNC_METRIC_NAMESPACE = "HQPro/Sync";
|
|
122457
122474
|
var SYNC_LATENCY_METRIC_NAME = "hq-cloud.sync.p95_latency_seconds";
|
|
@@ -122519,7 +122536,7 @@ async function publishSyncLatencyMetric(metric, opts = {}) {
|
|
|
122519
122536
|
}
|
|
122520
122537
|
}
|
|
122521
122538
|
|
|
122522
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122539
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/push-receiver.js
|
|
122523
122540
|
var DEFAULT_RECEIVER_DISPOSE_DRAIN_MS = 5e3;
|
|
122524
122541
|
var RECEIVER_SHUTDOWN_RELEASE_BUDGET_MS = 1500;
|
|
122525
122542
|
var DEFAULT_WAIT_TIME_SECONDS = 20;
|
|
@@ -124052,10 +124069,10 @@ function defaultSleep(ms, signal) {
|
|
|
124052
124069
|
});
|
|
124053
124070
|
}
|
|
124054
124071
|
|
|
124055
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124072
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/logger.js
|
|
124056
124073
|
var import_pino = __toESM(require_pino(), 1);
|
|
124057
124074
|
|
|
124058
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124075
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/path-leases.js
|
|
124059
124076
|
function assertCanonicalPath(path85) {
|
|
124060
124077
|
if (path85.length === 0 || path85.startsWith("/") || path85.endsWith("/") || path85.includes("\\") || path85.split("/").some((part) => part.length === 0 || part === "." || part === "..")) {
|
|
124061
124078
|
throw new Error(`path lease requires a canonical relative path: ${path85}`);
|
|
@@ -124118,7 +124135,7 @@ var PathLease = class {
|
|
|
124118
124135
|
}
|
|
124119
124136
|
};
|
|
124120
124137
|
|
|
124121
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124138
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/parallel-sync-coordinator.js
|
|
124122
124139
|
var MAX_REALTIME_PULL_YIELDS = 3;
|
|
124123
124140
|
var MAX_REALTIME_PULL_YIELD_MS = 6e4;
|
|
124124
124141
|
var REALTIME_PULL_YIELD_STATE_TTL_MS = 10 * 6e4;
|
|
@@ -124627,7 +124644,7 @@ var DefaultParallelSyncCoordinator = class {
|
|
|
124627
124644
|
}
|
|
124628
124645
|
};
|
|
124629
124646
|
|
|
124630
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124647
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/sync-work.js
|
|
124631
124648
|
var InlineSyncWorkerAdapter = class {
|
|
124632
124649
|
handler;
|
|
124633
124650
|
constructor(handler) {
|
|
@@ -124638,11 +124655,11 @@ var InlineSyncWorkerAdapter = class {
|
|
|
124638
124655
|
}
|
|
124639
124656
|
};
|
|
124640
124657
|
|
|
124641
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124658
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/manifest/build-manifest.js
|
|
124642
124659
|
import * as fs68 from "node:fs";
|
|
124643
124660
|
import * as path62 from "node:path";
|
|
124644
124661
|
|
|
124645
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124662
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/company-slug.js
|
|
124646
124663
|
import * as path60 from "node:path";
|
|
124647
124664
|
var UNSAFE_SLUG_KEYS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
124648
124665
|
function isSafeCompanySlug(companiesDir, slug) {
|
|
@@ -124659,7 +124676,7 @@ function isSafeCompanySlug(companiesDir, slug) {
|
|
|
124659
124676
|
return path60.dirname(companyDir) === resolvedCompaniesDir;
|
|
124660
124677
|
}
|
|
124661
124678
|
|
|
124662
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124679
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/manifest/contract.js
|
|
124663
124680
|
var SYNC_MANIFEST_CONTRACT_VERSION = 1;
|
|
124664
124681
|
var SYNC_MANIFEST_SCOPE_KINDS = ["personal", "company"];
|
|
124665
124682
|
var SYNC_MANIFEST_SOURCES = ["desktop", "cli"];
|
|
@@ -124828,7 +124845,7 @@ var SYNC_MANIFEST_CONTRACT_DESCRIPTOR = {
|
|
|
124828
124845
|
}
|
|
124829
124846
|
};
|
|
124830
124847
|
|
|
124831
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124848
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/manifest/snapshot-store.js
|
|
124832
124849
|
import * as crypto19 from "node:crypto";
|
|
124833
124850
|
import * as fs67 from "node:fs";
|
|
124834
124851
|
import * as path61 from "node:path";
|
|
@@ -125003,7 +125020,7 @@ function writeSnapshotIncrementally(tmp, snapshot) {
|
|
|
125003
125020
|
}
|
|
125004
125021
|
var SNAPSHOT_WRITE_BATCH_CHARS = 256 * 1024;
|
|
125005
125022
|
|
|
125006
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125023
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/manifest/build-manifest.js
|
|
125007
125024
|
function logSwallowed11(line) {
|
|
125008
125025
|
process.stderr.write(line);
|
|
125009
125026
|
}
|
|
@@ -125612,10 +125629,10 @@ function buildChunk(input2, firstChunkRemovedPaths, chunkIndex, chunkCount, entr
|
|
|
125612
125629
|
return upload;
|
|
125613
125630
|
}
|
|
125614
125631
|
|
|
125615
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125632
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/manifest/upload-manifest.js
|
|
125616
125633
|
import * as fs70 from "node:fs";
|
|
125617
125634
|
|
|
125618
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125635
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/manifest/leg-skip-store.js
|
|
125619
125636
|
import * as fs69 from "node:fs";
|
|
125620
125637
|
import * as path63 from "node:path";
|
|
125621
125638
|
function logSwallowed12(line) {
|
|
@@ -125671,7 +125688,7 @@ function clearManifestLegSkip(stateDir5, scopeKey) {
|
|
|
125671
125688
|
}
|
|
125672
125689
|
}
|
|
125673
125690
|
|
|
125674
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125691
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/manifest/upload-manifest.js
|
|
125675
125692
|
var MANIFEST_UPLOAD_DISABLED_ENV = "HQ_SYNC_MANIFEST_DISABLED";
|
|
125676
125693
|
var DEFAULT_MANIFEST_UPLOAD_MIN_INTERVAL_MS = 24 * 60 * 60 * 1e3;
|
|
125677
125694
|
var DEFAULT_MANIFEST_UPLOAD_WALL_MS = 6e4;
|
|
@@ -126240,7 +126257,7 @@ async function runUploadPassBody(options, scopeKey, persisted) {
|
|
|
126240
126257
|
};
|
|
126241
126258
|
}
|
|
126242
126259
|
|
|
126243
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126260
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/watcher-catchup-skip-store.js
|
|
126244
126261
|
import * as fs71 from "node:fs";
|
|
126245
126262
|
import * as path64 from "node:path";
|
|
126246
126263
|
import { createHash as createHash40, randomUUID as randomUUID7 } from "node:crypto";
|
|
@@ -126488,7 +126505,7 @@ function validUnresolvedCompanyRecord(value) {
|
|
|
126488
126505
|
return typeof record2.company === "string" && record2.company.length > 0 && record2.reason === "unresolved-company" && typeof record2.recordedAt === "number" && Number.isFinite(record2.recordedAt);
|
|
126489
126506
|
}
|
|
126490
126507
|
|
|
126491
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126508
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/version.js
|
|
126492
126509
|
import { readFileSync as readFileSync42 } from "node:fs";
|
|
126493
126510
|
import { fileURLToPath as fileURLToPath4 } from "node:url";
|
|
126494
126511
|
import path65 from "node:path";
|
|
@@ -126496,7 +126513,7 @@ var here = path65.dirname(fileURLToPath4(import.meta.url));
|
|
|
126496
126513
|
var pkg = JSON.parse(readFileSync42(path65.resolve(here, "..", "package.json"), "utf-8"));
|
|
126497
126514
|
var HQ_CLOUD_VERSION = pkg.version;
|
|
126498
126515
|
|
|
126499
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126516
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/outcome-telemetry.js
|
|
126500
126517
|
import { promises as fs72 } from "node:fs";
|
|
126501
126518
|
import * as os22 from "node:os";
|
|
126502
126519
|
import * as path66 from "node:path";
|
|
@@ -126870,7 +126887,7 @@ async function collectAndSendOutcomeTelemetry(opts) {
|
|
|
126870
126887
|
return { enabled: true, optInSource, filesScanned, eventsSent, batchesSent };
|
|
126871
126888
|
}
|
|
126872
126889
|
|
|
126873
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126890
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/qmd-reindex.js
|
|
126874
126891
|
import * as fs73 from "fs";
|
|
126875
126892
|
import * as path67 from "path";
|
|
126876
126893
|
import { spawn as spawn2 } from "child_process";
|
|
@@ -127520,7 +127537,7 @@ function defaultHasIndexableProjectContent(projectsDir) {
|
|
|
127520
127537
|
return false;
|
|
127521
127538
|
}
|
|
127522
127539
|
|
|
127523
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127540
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/qmd-runner-admission.js
|
|
127524
127541
|
import fs74 from "node:fs";
|
|
127525
127542
|
import path68 from "node:path";
|
|
127526
127543
|
import { randomUUID as randomUUID8 } from "node:crypto";
|
|
@@ -127624,7 +127641,7 @@ nonce=${nonce}
|
|
|
127624
127641
|
};
|
|
127625
127642
|
}
|
|
127626
127643
|
|
|
127627
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127644
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/telemetry-admission.js
|
|
127628
127645
|
var DEFAULT_INTERVAL_MS = 10 * 60 * 1e3;
|
|
127629
127646
|
var MAX_INTERVAL_SEC = 24 * 60 * 60;
|
|
127630
127647
|
var STALE_IN_FLIGHT_TIMEOUT_MULTIPLE = 5;
|
|
@@ -127701,7 +127718,7 @@ function recordTelemetryRunStarted(store, nowMs, run) {
|
|
|
127701
127718
|
store.inFlight = tracked;
|
|
127702
127719
|
}
|
|
127703
127720
|
|
|
127704
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127721
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex-async.js
|
|
127705
127722
|
import { Worker } from "node:worker_threads";
|
|
127706
127723
|
function reindexAsync(options) {
|
|
127707
127724
|
if (import.meta.url.endsWith(".ts"))
|
|
@@ -127760,7 +127777,7 @@ function reindexAsync(options) {
|
|
|
127760
127777
|
});
|
|
127761
127778
|
}
|
|
127762
127779
|
|
|
127763
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127780
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/agent-codex-instructions.js
|
|
127764
127781
|
import * as crypto20 from "crypto";
|
|
127765
127782
|
import * as fs75 from "fs";
|
|
127766
127783
|
import * as os23 from "os";
|
|
@@ -127920,7 +127937,7 @@ function materializeCodexAgents(opts) {
|
|
|
127920
127937
|
}
|
|
127921
127938
|
}
|
|
127922
127939
|
|
|
127923
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127940
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-post-sync-flags.js
|
|
127924
127941
|
var POST_SYNC_FLAG_KEYS = {
|
|
127925
127942
|
qmdReindex: "sync.qmd-reindex",
|
|
127926
127943
|
conflictPrune: "sync.conflict-prune",
|
|
@@ -127940,12 +127957,12 @@ function createPostSyncFlagEvaluator(options = {}) {
|
|
|
127940
127957
|
};
|
|
127941
127958
|
}
|
|
127942
127959
|
|
|
127943
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127960
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-manifest.js
|
|
127944
127961
|
import { createHash as createHash41, randomUUID as randomUUID9 } from "node:crypto";
|
|
127945
127962
|
import * as fs77 from "node:fs/promises";
|
|
127946
127963
|
import * as path71 from "node:path";
|
|
127947
127964
|
|
|
127948
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127965
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-installation-id.js
|
|
127949
127966
|
import * as fs76 from "node:fs";
|
|
127950
127967
|
import * as os24 from "node:os";
|
|
127951
127968
|
import * as path70 from "node:path";
|
|
@@ -127995,7 +128012,7 @@ function readDesktopInstallationId(options) {
|
|
|
127995
128012
|
return void 0;
|
|
127996
128013
|
}
|
|
127997
128014
|
|
|
127998
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128015
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-manifest.js
|
|
127999
128016
|
var RUNNER_MANIFEST_WALK_WALL_MS = 9e4;
|
|
128000
128017
|
var RUNNER_MANIFEST_PHASE_WALL_MS = 24e4;
|
|
128001
128018
|
var RUNNER_MANIFEST_REPAIR_POLL_SPACING_MS = 60 * 60 * 1e3;
|
|
@@ -128688,14 +128705,14 @@ function manifestLegFailureKinds(input2) {
|
|
|
128688
128705
|
return kinds;
|
|
128689
128706
|
}
|
|
128690
128707
|
|
|
128691
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128708
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/exit-codes.js
|
|
128692
128709
|
var PARTIAL_SYNC_EXIT = 2;
|
|
128693
128710
|
var UNRESOLVED_COMPANY_EXIT = 19;
|
|
128694
128711
|
var WATCH_RUNNER_ALREADY_OWNED_EXIT = 20;
|
|
128695
128712
|
var WATCH_OWNER_LEASE_LOST_EXIT = 21;
|
|
128696
128713
|
var PREFLIGHT_HALT_EXIT = 22;
|
|
128697
128714
|
|
|
128698
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128715
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-audit.js
|
|
128699
128716
|
import * as crypto21 from "node:crypto";
|
|
128700
128717
|
import * as fs78 from "node:fs";
|
|
128701
128718
|
import * as path72 from "node:path";
|
|
@@ -128744,7 +128761,7 @@ function hashNormalizedKey(key) {
|
|
|
128744
128761
|
return crypto21.createHash("sha256").update(normalized, "utf8").digest("hex");
|
|
128745
128762
|
}
|
|
128746
128763
|
|
|
128747
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
128764
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/watch-owner-lease.js
|
|
128748
128765
|
import { spawnSync as spawnSync4 } from "node:child_process";
|
|
128749
128766
|
import { randomUUID as randomUUID10 } from "node:crypto";
|
|
128750
128767
|
import * as fs79 from "node:fs";
|
|
@@ -129115,11 +129132,11 @@ function acquireWatchOwnerLease(hqRoot, owner = "unknown", options = {}) {
|
|
|
129115
129132
|
};
|
|
129116
129133
|
}
|
|
129117
129134
|
|
|
129118
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129135
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-engine-owned.js
|
|
129119
129136
|
import * as fs81 from "fs";
|
|
129120
129137
|
import * as path75 from "path";
|
|
129121
129138
|
|
|
129122
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129139
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-planning.js
|
|
129123
129140
|
import { execFileSync as execFileSync2 } from "node:child_process";
|
|
129124
129141
|
import * as fs80 from "node:fs";
|
|
129125
129142
|
import * as os25 from "node:os";
|
|
@@ -129475,7 +129492,7 @@ function emitFanoutPlan(emit, plan) {
|
|
|
129475
129492
|
emit({ type: "fanout-plan", companies: plan });
|
|
129476
129493
|
}
|
|
129477
129494
|
|
|
129478
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129495
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-engine-owned.js
|
|
129479
129496
|
function readJsonObject(file2) {
|
|
129480
129497
|
try {
|
|
129481
129498
|
const parsed = JSON.parse(fs81.readFileSync(file2, "utf8"));
|
|
@@ -129569,7 +129586,7 @@ function applyLivePersonalSkip(spawnSkip) {
|
|
|
129569
129586
|
return owned.personal || spawnSkip && !restored.personal;
|
|
129570
129587
|
}
|
|
129571
129588
|
|
|
129572
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129589
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/watch-parent.js
|
|
129573
129590
|
var WATCH_PARENT_CHECK_INTERVAL_MS = 1e3;
|
|
129574
129591
|
function processExists(pid) {
|
|
129575
129592
|
try {
|
|
@@ -129620,7 +129637,7 @@ function startWatchParentExitMonitor(options) {
|
|
|
129620
129637
|
};
|
|
129621
129638
|
}
|
|
129622
129639
|
|
|
129623
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129640
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-events.js
|
|
129624
129641
|
var ERROR_TYPES = /* @__PURE__ */ new Set([
|
|
129625
129642
|
"error",
|
|
129626
129643
|
"auth-error"
|
|
@@ -129666,7 +129683,7 @@ function emitUncaughtRunnerError(err, streams) {
|
|
|
129666
129683
|
}
|
|
129667
129684
|
}
|
|
129668
129685
|
|
|
129669
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129686
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/runner-output-guard.js
|
|
129670
129687
|
var BROKEN_OUTPUT_CODES = /* @__PURE__ */ new Set([
|
|
129671
129688
|
"EPIPE",
|
|
129672
129689
|
"ECONNRESET",
|
|
@@ -129730,7 +129747,7 @@ function installRunnerOutputGuard(streams = [process.stdout, process.stderr], re
|
|
|
129730
129747
|
};
|
|
129731
129748
|
}
|
|
129732
129749
|
|
|
129733
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129750
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-stdout.js
|
|
129734
129751
|
import { format as format2 } from "node:util";
|
|
129735
129752
|
function redirectRunnerConsoleToStderr(runnerConsole, stderr) {
|
|
129736
129753
|
const writeDiagnostic = (...args) => {
|
|
@@ -129746,7 +129763,7 @@ function runWithRunnerConsoleStderr(startRunner, runnerConsole = console, stderr
|
|
|
129746
129763
|
return startRunner();
|
|
129747
129764
|
}
|
|
129748
129765
|
|
|
129749
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
129766
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-pass-request.js
|
|
129750
129767
|
import * as fs82 from "node:fs";
|
|
129751
129768
|
import * as path76 from "node:path";
|
|
129752
129769
|
function buildPassRequestArgv(passArgv, company) {
|
|
@@ -129997,7 +130014,7 @@ var SyncPassRequestDirectory = class _SyncPassRequestDirectory {
|
|
|
129997
130014
|
}
|
|
129998
130015
|
};
|
|
129999
130016
|
|
|
130000
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130017
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/active-company.js
|
|
130001
130018
|
import { randomUUID as randomUUID11 } from "node:crypto";
|
|
130002
130019
|
import * as fs83 from "node:fs";
|
|
130003
130020
|
import * as path77 from "node:path";
|
|
@@ -130089,7 +130106,7 @@ function seedActiveCompany(options) {
|
|
|
130089
130106
|
return { written: true, activeCompany };
|
|
130090
130107
|
}
|
|
130091
130108
|
|
|
130092
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130109
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/manifest-reconcile.js
|
|
130093
130110
|
import { randomUUID as randomUUID12 } from "node:crypto";
|
|
130094
130111
|
import * as fs84 from "node:fs";
|
|
130095
130112
|
import * as path78 from "node:path";
|
|
@@ -130320,17 +130337,17 @@ async function reconcileCompanyManifest(options) {
|
|
|
130320
130337
|
return reconcileManifest(options.hqRoot, resolvedTargets);
|
|
130321
130338
|
}
|
|
130322
130339
|
|
|
130323
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130340
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-company.js
|
|
130324
130341
|
import * as fs85 from "fs";
|
|
130325
130342
|
import * as path79 from "path";
|
|
130326
130343
|
import { createHash as createHash43, randomUUID as randomUUID13 } from "node:crypto";
|
|
130327
130344
|
|
|
130328
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130345
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/scope-inventory-client.js
|
|
130329
130346
|
function allowsLegacyNetwork(decision) {
|
|
130330
130347
|
return decision.network === "allow-legacy";
|
|
130331
130348
|
}
|
|
130332
130349
|
|
|
130333
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130350
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/lib/sync-leg-error-summary.js
|
|
130334
130351
|
import os26 from "node:os";
|
|
130335
130352
|
var ERRNO_NAMES = new Set(Object.keys(os26.constants.errno));
|
|
130336
130353
|
var EXTRA_CODES = /* @__PURE__ */ new Set([
|
|
@@ -130535,7 +130552,7 @@ function buildSyncLegErrorSummary(input2) {
|
|
|
130535
130552
|
return segments.join(":").slice(0, 128);
|
|
130536
130553
|
}
|
|
130537
130554
|
|
|
130538
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130555
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-rollup.js
|
|
130539
130556
|
function createCompanyState(company) {
|
|
130540
130557
|
return {
|
|
130541
130558
|
company,
|
|
@@ -130597,7 +130614,7 @@ function rollupAllComplete(plan, stateByCompany) {
|
|
|
130597
130614
|
};
|
|
130598
130615
|
}
|
|
130599
130616
|
|
|
130600
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
130617
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-company.js
|
|
130601
130618
|
var PRUNED_SAMPLE_PATHS = 5;
|
|
130602
130619
|
var SIZE_LIMIT_SKIP_EVENT_INTERVAL_MS = PLAN_LIMIT_PAUSE_RETRY_MS;
|
|
130603
130620
|
var SIZE_LIMIT_SKIP_MEMORY_MAX = 1e4;
|
|
@@ -131826,7 +131843,7 @@ function normalizePullChangedPaths(target, changedPaths) {
|
|
|
131826
131843
|
});
|
|
131827
131844
|
}
|
|
131828
131845
|
|
|
131829
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131846
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-telemetry.js
|
|
131830
131847
|
async function emitTelemetry(options) {
|
|
131831
131848
|
const telemetryFn = options.collectTelemetry ?? options.defaultCollectTelemetry;
|
|
131832
131849
|
return telemetryFn().catch((err) => {
|
|
@@ -131838,7 +131855,7 @@ async function emitTelemetry(options) {
|
|
|
131838
131855
|
});
|
|
131839
131856
|
}
|
|
131840
131857
|
|
|
131841
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131858
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-loop.js
|
|
131842
131859
|
import * as os27 from "os";
|
|
131843
131860
|
import * as path83 from "path";
|
|
131844
131861
|
import * as fs89 from "fs";
|
|
@@ -131846,7 +131863,7 @@ import { createHash as createHash44 } from "node:crypto";
|
|
|
131846
131863
|
import * as v8 from "node:v8";
|
|
131847
131864
|
import { performance as performance3 } from "node:perf_hooks";
|
|
131848
131865
|
|
|
131849
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131866
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/push-failure-backoff.js
|
|
131850
131867
|
var PUSH_FAILURE_BACKOFF_BASE_MS = 5e3;
|
|
131851
131868
|
var PUSH_FAILURE_BACKOFF_CAP_MS = 5 * 6e4;
|
|
131852
131869
|
var RoutePushFailureBackoff = class {
|
|
@@ -131873,12 +131890,12 @@ var systemPushRetryScheduler = {
|
|
|
131873
131890
|
clearTimeout: (handle) => clearTimeout(handle)
|
|
131874
131891
|
};
|
|
131875
131892
|
|
|
131876
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131893
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
131877
131894
|
var import_client_sqs = __toESM(require_dist_cjs20(), 1);
|
|
131878
131895
|
import { readFileSync as readFileSync51 } from "node:fs";
|
|
131879
131896
|
import { join as join69 } from "node:path";
|
|
131880
131897
|
|
|
131881
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131898
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/inbound-event-admission.js
|
|
131882
131899
|
import * as fs86 from "node:fs";
|
|
131883
131900
|
import * as path80 from "node:path";
|
|
131884
131901
|
function logSwallowed14(line) {
|
|
@@ -131944,7 +131961,7 @@ function isInboundEventPlaceable(hqRoot, event) {
|
|
|
131944
131961
|
}
|
|
131945
131962
|
}
|
|
131946
131963
|
|
|
131947
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131964
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/unchanged-push-events.js
|
|
131948
131965
|
import fs87 from "node:fs";
|
|
131949
131966
|
import path81 from "node:path";
|
|
131950
131967
|
function journalCoordinatesForPushEvent(relativePath) {
|
|
@@ -131986,7 +132003,7 @@ function unchangedPushEventPaths(events, hqRoot, lookup) {
|
|
|
131986
132003
|
return unchanged;
|
|
131987
132004
|
}
|
|
131988
132005
|
|
|
131989
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132006
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
131990
132007
|
function resolveEventSync(override) {
|
|
131991
132008
|
return !isEventSyncLocallyDisabled(override);
|
|
131992
132009
|
}
|
|
@@ -132698,7 +132715,7 @@ async function startEventSync(opts) {
|
|
|
132698
132715
|
};
|
|
132699
132716
|
}
|
|
132700
132717
|
|
|
132701
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132718
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-auto-migration.js
|
|
132702
132719
|
var AREA_AUTO_MIGRATION_STARTED_EVENT = "area_migration_started";
|
|
132703
132720
|
var AREA_AUTO_MIGRATION_COMPLETED_EVENT = "area_migration_completed";
|
|
132704
132721
|
var AREA_AUTO_MIGRATION_SOURCE = "sync-runner";
|
|
@@ -132851,7 +132868,7 @@ function describe3(error62) {
|
|
|
132851
132868
|
return error62 instanceof Error ? error62.message : String(error62);
|
|
132852
132869
|
}
|
|
132853
132870
|
|
|
132854
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132871
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-heap-telemetry.js
|
|
132855
132872
|
import * as perfHooks from "node:perf_hooks";
|
|
132856
132873
|
var CENSUS_TOKEN = /^[A-Za-z][A-Za-z0-9_]{0,48}$/;
|
|
132857
132874
|
var HeapCensus = class {
|
|
@@ -133838,7 +133855,7 @@ function nodeHeapReaders(v82) {
|
|
|
133838
133855
|
};
|
|
133839
133856
|
}
|
|
133840
133857
|
|
|
133841
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133858
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/sync/idle-full-reconcile.js
|
|
133842
133859
|
var MAX_UNOBSERVED_TICK_GAP_MS = 6e4;
|
|
133843
133860
|
var MAX_CLOCK_DRIFT_MS = 5e3;
|
|
133844
133861
|
var MAX_SCHEDULED_FULL_SKIP_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -133896,7 +133913,7 @@ function canSkipScheduledFullReconcile(proof) {
|
|
|
133896
133913
|
return true;
|
|
133897
133914
|
}
|
|
133898
133915
|
|
|
133899
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133916
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/legacy-sync-wake.js
|
|
133900
133917
|
import * as fs88 from "node:fs";
|
|
133901
133918
|
import * as path82 from "node:path";
|
|
133902
133919
|
var MAX_WAKE_BYTES = 1024 * 1024;
|
|
@@ -134058,7 +134075,7 @@ var LegacySyncWakeBridge = class {
|
|
|
134058
134075
|
}
|
|
134059
134076
|
};
|
|
134060
134077
|
|
|
134061
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134078
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-loop.js
|
|
134062
134079
|
var FULL_RECONCILE_EVERY_TICKS = 10;
|
|
134063
134080
|
var warnedUnresolvedReceiverCompanies = /* @__PURE__ */ new Set();
|
|
134064
134081
|
var EVENT_SYNC_STARTUP_SHUTDOWN_WAIT_MS = 5e3;
|
|
@@ -139578,7 +139595,7 @@ async function runWatchLoop(argv, parsed, deps, runtime) {
|
|
|
139578
139595
|
}
|
|
139579
139596
|
}
|
|
139580
139597
|
|
|
139581
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
139598
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-auth-wait.js
|
|
139582
139599
|
var AUTH_WAIT_INITIAL_RECHECK_MS = 6e4;
|
|
139583
139600
|
var AUTH_WAIT_STEADY_RECHECK_MS = 5 * 6e4;
|
|
139584
139601
|
var AUTH_WAIT_LIVENESS_INTERVAL_MS = 30 * 6e4;
|
|
@@ -139651,7 +139668,7 @@ async function waitForValidAuth(opts) {
|
|
|
139651
139668
|
return "stopped";
|
|
139652
139669
|
}
|
|
139653
139670
|
|
|
139654
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
139671
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.124/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
139655
139672
|
var SESSION_LOG_CAPTURE_QUIET_FOR_MS = 10 * 6e4;
|
|
139656
139673
|
var SESSION_LOG_CAPTURE_MAX_STALENESS_MS = 60 * 6e4;
|
|
139657
139674
|
var DEFAULT_COGNITO = {
|