@indigoai-us/hq-cli 5.345.146 → 5.345.147
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 +15 -0
- package/README.md +14 -0
- package/dist/command-catalog.generated.d.ts +29 -1
- package/dist/command-catalog.generated.js +35 -1
- package/dist/commands/auth.js +4 -2
- package/dist/commands/bot.js +1 -1
- package/dist/commands/files.js +10 -6
- package/dist/commands/login.js +4 -3
- package/dist/hq-cloud-sync-runner/bin/sync-runner.js +185 -190
- package/dist/hq-cloud-sync-runner/package.json +1 -1
- package/dist/lib/bot/daemon.js +3 -0
- package/dist/lib/bot/runtime/index.js +3 -1
- package/dist/lib/doctor/checks/release-links.d.ts +23 -0
- package/dist/lib/doctor/checks/release-links.js +152 -0
- package/dist/lib/doctor/registry.js +3 -0
- package/dist/lib/workers-registry/index.d.ts +6 -0
- package/dist/lib/workers-registry/index.js +8 -0
- package/dist/utils/headless.d.ts +2 -0
- package/dist/utils/headless.js +8 -0
- package/dist/utils/login-browser.d.ts +4 -0
- package/dist/utils/login-browser.js +122 -0
- package/dist/utils/team-upgrade.js +1 -7
- package/package.json +2 -2
|
@@ -79366,12 +79366,12 @@ var require_dist_cjs42 = __commonJS({
|
|
|
79366
79366
|
}
|
|
79367
79367
|
});
|
|
79368
79368
|
|
|
79369
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79369
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
79370
79370
|
import * as os22 from "os";
|
|
79371
79371
|
import * as path70 from "path";
|
|
79372
79372
|
import * as fs73 from "fs";
|
|
79373
79373
|
|
|
79374
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79374
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/local-path-codec.js
|
|
79375
79375
|
import * as path from "path";
|
|
79376
79376
|
var WIN32_RESERVED_CHARS = /[<>:"/\\|?*]/;
|
|
79377
79377
|
var WIN32_DEVICE_NAME = /^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\..*)?$/i;
|
|
@@ -79429,12 +79429,12 @@ function canonicalVaultKeySpelling(key) {
|
|
|
79429
79429
|
return segments.join("/");
|
|
79430
79430
|
}
|
|
79431
79431
|
|
|
79432
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79432
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
79433
79433
|
import { randomUUID as randomUUID14 } from "node:crypto";
|
|
79434
79434
|
import { monitorEventLoopDelay as monitorEventLoopDelay2, performance as performance4 } from "node:perf_hooks";
|
|
79435
79435
|
import { fileURLToPath as fileURLToPath5 } from "url";
|
|
79436
79436
|
|
|
79437
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79437
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cloud-placeholder.js
|
|
79438
79438
|
import * as fs from "fs";
|
|
79439
79439
|
import * as path2 from "path";
|
|
79440
79440
|
var CLOUD_PLACEHOLDER_SUFFIX = ".hqcloud";
|
|
@@ -79844,7 +79844,7 @@ function writeCloudPlaceholder(placeholderPath, placeholder) {
|
|
|
79844
79844
|
}
|
|
79845
79845
|
}
|
|
79846
79846
|
|
|
79847
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79847
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/best-effort-error.js
|
|
79848
79848
|
var EXPECTED_ABSENCE_CODES = /* @__PURE__ */ new Set([
|
|
79849
79849
|
"ENOENT",
|
|
79850
79850
|
"NoSuchKey",
|
|
@@ -79886,7 +79886,7 @@ function noteSwallowedError(log, event, error64, options = {}) {
|
|
|
79886
79886
|
`);
|
|
79887
79887
|
}
|
|
79888
79888
|
|
|
79889
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79889
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/client-info.js
|
|
79890
79890
|
var HEADER_CLIENT_NAME = "x-hq-client-name";
|
|
79891
79891
|
var HEADER_CLIENT_VERSION = "x-hq-client-version";
|
|
79892
79892
|
var HEADER_HQ_CORE_VERSION = "x-hq-core-version";
|
|
@@ -79909,7 +79909,7 @@ function buildClientHeaders(info) {
|
|
|
79909
79909
|
return headers;
|
|
79910
79910
|
}
|
|
79911
79911
|
|
|
79912
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
79912
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/telemetry-events.js
|
|
79913
79913
|
var MAX_EVENTS_PER_BATCH = 50;
|
|
79914
79914
|
var DEFAULT_TIMEOUT_MS = 1500;
|
|
79915
79915
|
var MAX_PROPERTIES = 40;
|
|
@@ -80048,7 +80048,7 @@ function describeError(err) {
|
|
|
80048
80048
|
return err instanceof Error ? err.name : typeof err;
|
|
80049
80049
|
}
|
|
80050
80050
|
|
|
80051
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
80051
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/net-errors.js
|
|
80052
80052
|
var TRANSIENT_NETWORK_EXIT = 75;
|
|
80053
80053
|
var TRANSIENT_CODES = /* @__PURE__ */ new Set([
|
|
80054
80054
|
"ECONNREFUSED",
|
|
@@ -80131,12 +80131,12 @@ function isRemoteObjectGoneError(err) {
|
|
|
80131
80131
|
return /\bhttp=404\b/.test(err.message);
|
|
80132
80132
|
}
|
|
80133
80133
|
|
|
80134
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
80134
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/http-keepalive.js
|
|
80135
80135
|
import * as http from "node:http";
|
|
80136
80136
|
import * as https from "node:https";
|
|
80137
80137
|
import { Readable } from "node:stream";
|
|
80138
80138
|
|
|
80139
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
80139
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/realtime-telemetry.js
|
|
80140
80140
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
80141
80141
|
import { monitorEventLoopDelay } from "node:perf_hooks";
|
|
80142
80142
|
var REALTIME_TELEMETRY_EVENT = "sync.realtime.timing";
|
|
@@ -80326,7 +80326,7 @@ function writeRealtimeTelemetryToStderr(record2) {
|
|
|
80326
80326
|
`);
|
|
80327
80327
|
}
|
|
80328
80328
|
|
|
80329
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
80329
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/http-keepalive.js
|
|
80330
80330
|
var HTTP_AGENT = new http.Agent({ keepAlive: true, maxSockets: 8 });
|
|
80331
80331
|
var HTTPS_AGENT = new https.Agent({ keepAlive: true, maxSockets: 8 });
|
|
80332
80332
|
function getKeepAliveAgent(secure) {
|
|
@@ -99252,7 +99252,7 @@ function date4(params) {
|
|
|
99252
99252
|
return _coercedDate(ZodDate, params);
|
|
99253
99253
|
}
|
|
99254
99254
|
|
|
99255
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99255
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cognito-auth.js
|
|
99256
99256
|
import { spawnSync } from "child_process";
|
|
99257
99257
|
import * as crypto2 from "crypto";
|
|
99258
99258
|
import * as fs7 from "fs";
|
|
@@ -99774,7 +99774,7 @@ defineLazyProperty(apps, "browser", () => "browser");
|
|
|
99774
99774
|
defineLazyProperty(apps, "browserPrivate", () => "browserPrivate");
|
|
99775
99775
|
var open_default = open2;
|
|
99776
99776
|
|
|
99777
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
99777
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cognito-auth.js
|
|
99778
99778
|
var CognitoAuthError = class extends Error {
|
|
99779
99779
|
constructor(message) {
|
|
99780
99780
|
super(message);
|
|
@@ -101032,7 +101032,7 @@ function pickNewerSession(fromKeychain, other) {
|
|
|
101032
101032
|
return expiresAtMs(other) > expiresAtMs(fromKeychain) ? other : fromKeychain;
|
|
101033
101033
|
}
|
|
101034
101034
|
|
|
101035
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
101035
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/credential-scope-error.js
|
|
101036
101036
|
var POLICY_WRITE_SCOPE_TRUNCATED = "POLICY_WRITE_SCOPE_TRUNCATED";
|
|
101037
101037
|
var VaultCredentialScopeError = class extends Error {
|
|
101038
101038
|
droppedWriteGrantPrefixes;
|
|
@@ -101074,7 +101074,7 @@ function assertCredentialScopeUsable(diagnostic) {
|
|
|
101074
101074
|
}
|
|
101075
101075
|
}
|
|
101076
101076
|
|
|
101077
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
101077
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/plan-limit.js
|
|
101078
101078
|
var PLAN_LIMIT_REACHED_ERROR = "plan_limit_reached";
|
|
101079
101079
|
var PLAN_LIMIT_CODES = /* @__PURE__ */ new Set([
|
|
101080
101080
|
"PLAN_LIMIT_EXCEEDED",
|
|
@@ -101172,7 +101172,7 @@ function formatPlanLimitNotice(event) {
|
|
|
101172
101172
|
return ` ! ${files} paused by your plan limit.${reason} Upgrade: ${event.upgradeUrl}`;
|
|
101173
101173
|
}
|
|
101174
101174
|
|
|
101175
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
101175
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/vault-client.js
|
|
101176
101176
|
var DEFAULT_GLOBAL_FETCH = globalThis.fetch;
|
|
101177
101177
|
var VaultClientError = class extends Error {
|
|
101178
101178
|
statusCode;
|
|
@@ -102120,7 +102120,7 @@ function parseVaultErrorBody(body) {
|
|
|
102120
102120
|
}
|
|
102121
102121
|
}
|
|
102122
102122
|
|
|
102123
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
102123
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/context.js
|
|
102124
102124
|
var REFRESH_THRESHOLD_MS = 2 * 60 * 1e3;
|
|
102125
102125
|
var DEFAULT_SESSION_DURATION_SECONDS = 900;
|
|
102126
102126
|
var PRESIGN_NO_VEND_EXPIRES_AT = "9999-12-31T23:59:59.000Z";
|
|
@@ -102343,12 +102343,12 @@ async function vendSelfCredentials(personUid, config2) {
|
|
|
102343
102343
|
return postVend(route, { personUid }, config2);
|
|
102344
102344
|
}
|
|
102345
102345
|
|
|
102346
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
102346
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
102347
102347
|
import * as fs10 from "fs";
|
|
102348
102348
|
import * as path8 from "path";
|
|
102349
102349
|
import * as crypto4 from "crypto";
|
|
102350
102350
|
|
|
102351
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
102351
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/local-replacement.js
|
|
102352
102352
|
import * as crypto3 from "crypto";
|
|
102353
102353
|
import * as fs8 from "fs";
|
|
102354
102354
|
import * as os3 from "os";
|
|
@@ -102404,11 +102404,11 @@ function shouldRecordLocalDeleteIntent(localPath, absent) {
|
|
|
102404
102404
|
return absent && !isLocalPathBeingReplaced(localPath);
|
|
102405
102405
|
}
|
|
102406
102406
|
|
|
102407
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
102407
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
102408
102408
|
import { Readable as Readable19, Transform as Transform3 } from "stream";
|
|
102409
102409
|
import { pipeline } from "stream/promises";
|
|
102410
102410
|
|
|
102411
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
102411
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-entity-meta.js
|
|
102412
102412
|
var ONTOLOGY_ENTITY_KEY = /^ontology\/entities\/[a-z][a-z0-9-]*\/[^/]+\.md$/;
|
|
102413
102413
|
var ENTITY_LAST_UPDATED_META_KEY = "hq-entity-last-updated";
|
|
102414
102414
|
function ontologyVaultKey(relPath) {
|
|
@@ -102440,13 +102440,13 @@ function buildEntityMetadata(key, body) {
|
|
|
102440
102440
|
return stamp === null ? {} : { [ENTITY_LAST_UPDATED_META_KEY]: stamp };
|
|
102441
102441
|
}
|
|
102442
102442
|
|
|
102443
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
102443
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
102444
102444
|
var import_client_s3 = __toESM(require_dist_cjs36(), 1);
|
|
102445
102445
|
import * as http3 from "node:http";
|
|
102446
102446
|
import * as https2 from "node:https";
|
|
102447
102447
|
import { Transform as Transform2 } from "node:stream";
|
|
102448
102448
|
|
|
102449
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
102449
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/s3-content-checksum.js
|
|
102450
102450
|
import { createHash as createHash11 } from "node:crypto";
|
|
102451
102451
|
var CHECKSUM_HEADER_NAMES = [
|
|
102452
102452
|
"content-md5",
|
|
@@ -102517,7 +102517,7 @@ function headersForObjectLockPut(url2, headers, body) {
|
|
|
102517
102517
|
return out;
|
|
102518
102518
|
}
|
|
102519
102519
|
|
|
102520
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
102520
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bandwidth.js
|
|
102521
102521
|
import { Transform } from "node:stream";
|
|
102522
102522
|
var MAX_BYTES_PER_SEC_ENV = "HQ_SYNC_MAX_BYTES_PER_SEC";
|
|
102523
102523
|
var MAX_CONCURRENCY_ENV = "HQ_SYNC_MAX_CONCURRENCY";
|
|
@@ -102918,7 +102918,7 @@ function getBandwidthGovernor() {
|
|
|
102918
102918
|
return singleton;
|
|
102919
102919
|
}
|
|
102920
102920
|
|
|
102921
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
102921
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
102922
102922
|
var OBJECT_IO_REQUEST_TIMEOUT_MS = 6e4;
|
|
102923
102923
|
var OBJECT_IO_REQUEST_TIMEOUT_PER_MIB_MS = 8e3;
|
|
102924
102924
|
var OBJECT_IO_BODY_IDLE_TIMEOUT_MS = 15e3;
|
|
@@ -103386,13 +103386,8 @@ var presignedGetTransport = NODE_PRESIGNED_GET_TRANSPORT;
|
|
|
103386
103386
|
var SKIP_WITH_LOG_DENIAL_CODES = /* @__PURE__ */ new Set([
|
|
103387
103387
|
"FILES_PRESIGN_TRANSCRIPT_CONSENT_REQUIRED"
|
|
103388
103388
|
]);
|
|
103389
|
-
var STALE_UPLOAD_FAILURE_REASONS = /* @__PURE__ */ new Set([
|
|
103390
|
-
"mtime",
|
|
103391
|
-
"deleted-entity",
|
|
103392
|
-
"entity-regression"
|
|
103393
|
-
]);
|
|
103394
103389
|
function isStaleUploadFailure(row) {
|
|
103395
|
-
return row.code === "FILES_PRESIGN_STALE_UPLOAD_FORBIDDEN" &&
|
|
103390
|
+
return row.code === "FILES_PRESIGN_STALE_UPLOAD_FORBIDDEN" && row.refusalReason !== "content-identical";
|
|
103396
103391
|
}
|
|
103397
103392
|
function isSkipWithLogDenialCode(code, refusalReason) {
|
|
103398
103393
|
const staleFailure = isStaleUploadFailure({
|
|
@@ -104318,12 +104313,12 @@ function presignObjectIOFactory(vault, refresherFor, forceRefresherFor) {
|
|
|
104318
104313
|
};
|
|
104319
104314
|
}
|
|
104320
104315
|
|
|
104321
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104316
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/posix-key.js
|
|
104322
104317
|
function toPosixKey(key) {
|
|
104323
104318
|
return key.split("\\").join("/");
|
|
104324
104319
|
}
|
|
104325
104320
|
|
|
104326
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104321
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/file-mode-portability.js
|
|
104327
104322
|
var WIN32_SYNTHETIC_MODES = /* @__PURE__ */ new Set([438, 292]);
|
|
104328
104323
|
function portableModeStamp(mode, platform5 = process.platform) {
|
|
104329
104324
|
if (platform5 === "win32")
|
|
@@ -104334,7 +104329,7 @@ function isPortableModeSignal(mode) {
|
|
|
104334
104329
|
return !WIN32_SYNTHETIC_MODES.has(mode & 511);
|
|
104335
104330
|
}
|
|
104336
104331
|
|
|
104337
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104332
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/script-eol.js
|
|
104338
104333
|
import * as path6 from "path";
|
|
104339
104334
|
var SCRIPT_EXTENSIONS = /* @__PURE__ */ new Set([".sh", ".bash", ".zsh"]);
|
|
104340
104335
|
var SHEBANG = Buffer.from("#!");
|
|
@@ -104365,7 +104360,7 @@ function normalizeScriptLineEndings(body) {
|
|
|
104365
104360
|
return changed ? out.subarray(0, n3) : null;
|
|
104366
104361
|
}
|
|
104367
104362
|
|
|
104368
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104363
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/symlink-target-policy.js
|
|
104369
104364
|
import path7 from "node:path";
|
|
104370
104365
|
import fs9 from "node:fs";
|
|
104371
104366
|
function personalSymlinkTargetLinkPath(relativePath) {
|
|
@@ -104588,7 +104583,7 @@ function redactShape(target, classification) {
|
|
|
104588
104583
|
return parents > 0 ? `relative-parent-${Math.min(parents, 8)}` : "relative-path";
|
|
104589
104584
|
}
|
|
104590
104585
|
|
|
104591
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
104586
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/s3.js
|
|
104592
104587
|
var DOWNLOAD_STREAM_MAX_RETRIES = 3;
|
|
104593
104588
|
var DOWNLOAD_STREAM_BASE_DELAY_MS = 400;
|
|
104594
104589
|
function sleepMs2(ms) {
|
|
@@ -105774,13 +105769,13 @@ function getMimeType(filePath) {
|
|
|
105774
105769
|
return mimeTypes[ext] || "application/octet-stream";
|
|
105775
105770
|
}
|
|
105776
105771
|
|
|
105777
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105772
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/realtime-rollout.js
|
|
105778
105773
|
var DEFAULT_REALTIME_AUTHORIZATION_TIMEOUT_MS = 15e3;
|
|
105779
105774
|
|
|
105780
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105775
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/candidate-uploader.js
|
|
105781
105776
|
var MAX_SMALL_CANDIDATE_BYTES = 8 * 1024 * 1024;
|
|
105782
105777
|
|
|
105783
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105778
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/fsync-compat.js
|
|
105784
105779
|
import * as fs11 from "node:fs";
|
|
105785
105780
|
var UNSUPPORTED_DIRECTORY_FSYNC_CODES = /* @__PURE__ */ new Set(["EINVAL", "ENOTSUP", "EOPNOTSUPP", "EPERM"]);
|
|
105786
105781
|
var loggedSkips = /* @__PURE__ */ new Set();
|
|
@@ -105804,7 +105799,7 @@ function fsyncWithCompatibility(fd, options) {
|
|
|
105804
105799
|
}
|
|
105805
105800
|
}
|
|
105806
105801
|
|
|
105807
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105802
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/multipart-uploader.js
|
|
105808
105803
|
var DEFAULT_GLOBAL_FETCH3 = globalThis.fetch;
|
|
105809
105804
|
var MULTIPART_PART_SIZE_BYTES = 8 * 1024 * 1024;
|
|
105810
105805
|
var MAX_MULTIPART_BYTES_IN_FLIGHT = 64 * 1024 * 1024;
|
|
@@ -105854,7 +105849,7 @@ var MultipartByteBudget = class {
|
|
|
105854
105849
|
};
|
|
105855
105850
|
var processByteBudget = new MultipartByteBudget();
|
|
105856
105851
|
|
|
105857
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105852
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/journal.js
|
|
105858
105853
|
import * as fs20 from "fs";
|
|
105859
105854
|
import * as os5 from "os";
|
|
105860
105855
|
import * as path16 from "path";
|
|
@@ -105862,7 +105857,7 @@ import * as crypto10 from "crypto";
|
|
|
105862
105857
|
import { spawn } from "node:child_process";
|
|
105863
105858
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
105864
105859
|
|
|
105865
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105860
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/journal-decode-window.js
|
|
105866
105861
|
var JOURNAL_DECODE_WINDOW = 1e4;
|
|
105867
105862
|
var rowsInFlight = 0;
|
|
105868
105863
|
var peakRowsInFlight = 0;
|
|
@@ -105921,7 +105916,7 @@ function journalFingerprintMatchesStat(fingerprint, lstat3) {
|
|
|
105921
105916
|
return lstat3.size === fingerprint.size && lstat3.mtimeMs === fingerprint.mtimeMs && lstat3.ctimeMs === fingerprint.ctimeMs;
|
|
105922
105917
|
}
|
|
105923
105918
|
|
|
105924
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
105919
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/journal-row-store.js
|
|
105925
105920
|
var HASH_BYTES = 32;
|
|
105926
105921
|
var ETAG_BYTES = 16;
|
|
105927
105922
|
var INITIAL_ROW_CAPACITY = 16;
|
|
@@ -107431,7 +107426,7 @@ function readOptionalBoolean(entry, key, flags, presentBit, valueBit) {
|
|
|
107431
107426
|
entry[key] = Boolean(flags & valueBit);
|
|
107432
107427
|
}
|
|
107433
107428
|
|
|
107434
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107429
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/journal-record-proxy.js
|
|
107435
107430
|
var rowsByRecordProxy = /* @__PURE__ */ new WeakMap();
|
|
107436
107431
|
function journalRecordRows(files) {
|
|
107437
107432
|
return rowsByRecordProxy.get(files);
|
|
@@ -107497,13 +107492,13 @@ function createJournalRecordProxy(store) {
|
|
|
107497
107492
|
return proxy;
|
|
107498
107493
|
}
|
|
107499
107494
|
|
|
107500
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107495
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-decoder.js
|
|
107501
107496
|
import { StringDecoder } from "node:string_decoder";
|
|
107502
107497
|
|
|
107503
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107498
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-v4.js
|
|
107504
107499
|
import * as crypto6 from "node:crypto";
|
|
107505
107500
|
|
|
107506
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107501
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-rows.js
|
|
107507
107502
|
var packedJournalRows = /* @__PURE__ */ new WeakMap();
|
|
107508
107503
|
var sharedAreaJournalRowStores = /* @__PURE__ */ new Map();
|
|
107509
107504
|
function areaJournalRowsCacheKey(rootDir, slug) {
|
|
@@ -107526,7 +107521,7 @@ function forgetSharedAreaJournalRows(cacheKey) {
|
|
|
107526
107521
|
sharedAreaJournalRowStores.delete(cacheKey);
|
|
107527
107522
|
}
|
|
107528
107523
|
|
|
107529
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
107524
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/state-store.js
|
|
107530
107525
|
import * as crypto5 from "node:crypto";
|
|
107531
107526
|
import * as fs12 from "node:fs";
|
|
107532
107527
|
import * as path9 from "node:path";
|
|
@@ -110335,7 +110330,7 @@ function crc32c(bytes) {
|
|
|
110335
110330
|
return (crc ^ 4294967295) >>> 0;
|
|
110336
110331
|
}
|
|
110337
110332
|
|
|
110338
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
110333
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-v4.js
|
|
110339
110334
|
var JOURNAL_SNAPSHOT_V4_MAGIC = SNAPSHOT_V4_MAGIC;
|
|
110340
110335
|
var SNAPSHOT_FIXED_HEADER_BYTES2 = 52;
|
|
110341
110336
|
var SECTION_ALIGNMENT_BYTES = 8;
|
|
@@ -110867,7 +110862,7 @@ function assertLittleEndian() {
|
|
|
110867
110862
|
throw new Error("HQSNAP4 requires a little-endian host");
|
|
110868
110863
|
}
|
|
110869
110864
|
|
|
110870
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
110865
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/journal-snapshot-decoder.js
|
|
110871
110866
|
function decodeJournalSnapshot(chunks, magic) {
|
|
110872
110867
|
if (magic.equals(SNAPSHOT_V3_MAGIC))
|
|
110873
110868
|
return decodeV3JournalSnapshot(chunks);
|
|
@@ -111219,7 +111214,7 @@ function isPunctuation(value) {
|
|
|
111219
111214
|
return value === "{" || value === "}" || value === "[" || value === "]" || value === ":" || value === ",";
|
|
111220
111215
|
}
|
|
111221
111216
|
|
|
111222
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
111217
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/path-ancestors.js
|
|
111223
111218
|
function isUnderAnyRoot(key, roots) {
|
|
111224
111219
|
if (roots.has(key))
|
|
111225
111220
|
return true;
|
|
@@ -111232,7 +111227,7 @@ function isUnderAnyRoot(key, roots) {
|
|
|
111232
111227
|
return false;
|
|
111233
111228
|
}
|
|
111234
111229
|
|
|
111235
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
111230
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/journal-ledger-stream.js
|
|
111236
111231
|
import * as fs13 from "node:fs";
|
|
111237
111232
|
import { StringDecoder as StringDecoder2 } from "node:string_decoder";
|
|
111238
111233
|
var CHUNK_BYTES = 1 << 18;
|
|
@@ -111346,26 +111341,26 @@ function streamJournalLedgerRows(filePath, onRow) {
|
|
|
111346
111341
|
}
|
|
111347
111342
|
}
|
|
111348
111343
|
|
|
111349
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
111344
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/area-resolver.js
|
|
111350
111345
|
import * as fs17 from "fs";
|
|
111351
111346
|
import * as path13 from "path";
|
|
111352
111347
|
|
|
111353
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
111348
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/personal-vault.js
|
|
111354
111349
|
import * as fs16 from "fs";
|
|
111355
111350
|
import * as path12 from "path";
|
|
111356
111351
|
|
|
111357
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
111352
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/ignore.js
|
|
111358
111353
|
var import_ignore = __toESM(require_ignore(), 1);
|
|
111359
111354
|
import * as fs14 from "fs";
|
|
111360
111355
|
import * as path10 from "path";
|
|
111361
111356
|
|
|
111362
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
111357
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/restore-staging.js
|
|
111363
111358
|
var RESTORE_STAGING_SUFFIX = /\.hq-restore-(?:\d+(?:-\d+)?|probe-\d+-[0-9a-z]+)$/i;
|
|
111364
111359
|
function isRestoreStagingPath(relativePath) {
|
|
111365
111360
|
return relativePath.split(/[\\/]/).some((segment) => RESTORE_STAGING_SUFFIX.test(segment));
|
|
111366
111361
|
}
|
|
111367
111362
|
|
|
111368
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
111363
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/ignore.js
|
|
111369
111364
|
function logSwallowed(line) {
|
|
111370
111365
|
process.stderr.write(line);
|
|
111371
111366
|
}
|
|
@@ -112034,7 +112029,7 @@ function isWithinSizeLimit(filePath, maxBytes = SYNC_MAX_FILE_BYTES) {
|
|
|
112034
112029
|
}
|
|
112035
112030
|
}
|
|
112036
112031
|
|
|
112037
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
112032
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/personal-vault-exclusions.js
|
|
112038
112033
|
import * as path11 from "path";
|
|
112039
112034
|
import * as fs15 from "fs";
|
|
112040
112035
|
function hasSegment(relPath, segment) {
|
|
@@ -112331,7 +112326,7 @@ function wrapFilterWithPersonalVaultDefaults(underlying, syncRoot, onExcluded, o
|
|
|
112331
112326
|
};
|
|
112332
112327
|
}
|
|
112333
112328
|
|
|
112334
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
112329
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/personal-vault.js
|
|
112335
112330
|
function logSwallowed2(line) {
|
|
112336
112331
|
process.stderr.write(line);
|
|
112337
112332
|
}
|
|
@@ -112675,7 +112670,7 @@ function purgeExcludedPersonalVaultJournalEntries(journal, hqRoot, syncRoot, sho
|
|
|
112675
112670
|
return { removed, byReason };
|
|
112676
112671
|
}
|
|
112677
112672
|
|
|
112678
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
112673
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/area-resolver.js
|
|
112679
112674
|
var AREA_LAYOUT_FORMAT = 1;
|
|
112680
112675
|
var AREA_ROUTER_VERSION = 1;
|
|
112681
112676
|
function canonicalizeVaultPath(value) {
|
|
@@ -112984,12 +112979,12 @@ function compareText(left, right) {
|
|
|
112984
112979
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
112985
112980
|
}
|
|
112986
112981
|
|
|
112987
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
112982
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-migration.js
|
|
112988
112983
|
import * as crypto9 from "node:crypto";
|
|
112989
112984
|
import * as fs19 from "node:fs";
|
|
112990
112985
|
import * as path15 from "node:path";
|
|
112991
112986
|
|
|
112992
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
112987
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/operation-lock.js
|
|
112993
112988
|
import * as crypto7 from "crypto";
|
|
112994
112989
|
import * as fs18 from "fs";
|
|
112995
112990
|
import * as os4 from "os";
|
|
@@ -113619,7 +113614,7 @@ function withOperationLockSync(hqRoot, command5, fn, opts = {}) {
|
|
|
113619
113614
|
}
|
|
113620
113615
|
}
|
|
113621
113616
|
|
|
113622
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
113617
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger.js
|
|
113623
113618
|
import * as crypto8 from "node:crypto";
|
|
113624
113619
|
var DIRECT_DELTA = 1;
|
|
113625
113620
|
var PREPARED_TRANSACTION = 2;
|
|
@@ -115048,7 +115043,7 @@ function cloneMetadata(metadata) {
|
|
|
115048
115043
|
return result;
|
|
115049
115044
|
}
|
|
115050
115045
|
|
|
115051
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115046
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-migration.js
|
|
115052
115047
|
function logSwallowed3(line) {
|
|
115053
115048
|
process.stderr.write(line);
|
|
115054
115049
|
}
|
|
@@ -115808,7 +115803,7 @@ function canonicalJsonOrUndefined(value) {
|
|
|
115808
115803
|
return value === void 0 ? void 0 : canonicalJson2(value);
|
|
115809
115804
|
}
|
|
115810
115805
|
|
|
115811
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115806
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/per-area-maintenance.js
|
|
115812
115807
|
var AREA_MAINTENANCE_CURSOR_FORMAT = 1;
|
|
115813
115808
|
var CURSOR_SET = 1;
|
|
115814
115809
|
var AreaMaintenanceCursorStore = class _AreaMaintenanceCursorStore {
|
|
@@ -115910,7 +115905,7 @@ function sameAreas(left, right) {
|
|
|
115910
115905
|
return left.length === right.length && left.every((areaId, index) => areaId === right[index]);
|
|
115911
115906
|
}
|
|
115912
115907
|
|
|
115913
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
115908
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/journal.js
|
|
115914
115909
|
var TOMBSTONE_TTL_MS = 30 * 24 * 60 * 60 * 1e3;
|
|
115915
115910
|
var JOURNAL_VERSION_CURRENT = "2";
|
|
115916
115911
|
var MAX_PULLS_PER_COMPANY = 50;
|
|
@@ -117872,13 +117867,13 @@ function gcTombstones(journal, now = Date.now()) {
|
|
|
117872
117867
|
return removed;
|
|
117873
117868
|
}
|
|
117874
117869
|
|
|
117875
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
117870
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync-progress.js
|
|
117876
117871
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
117877
117872
|
import * as fs22 from "fs";
|
|
117878
117873
|
import * as os7 from "os";
|
|
117879
117874
|
import * as path18 from "path";
|
|
117880
117875
|
|
|
117881
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
117876
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/conflict-notices.js
|
|
117882
117877
|
import { createHash as createHash18 } from "node:crypto";
|
|
117883
117878
|
import * as fs21 from "node:fs";
|
|
117884
117879
|
import * as os6 from "node:os";
|
|
@@ -118027,7 +118022,7 @@ function readPendingConflictNotices() {
|
|
|
118027
118022
|
return readNotices().filter((notice) => !acknowledged.has(notice.id)).slice(-MAX_PENDING_CONFLICT_NOTICES);
|
|
118028
118023
|
}
|
|
118029
118024
|
|
|
118030
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
118025
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync-progress.js
|
|
118031
118026
|
function logSwallowed5(line) {
|
|
118032
118027
|
process.stderr.write(line);
|
|
118033
118028
|
}
|
|
@@ -118312,7 +118307,7 @@ function createPassSummaryRecorder() {
|
|
|
118312
118307
|
};
|
|
118313
118308
|
}
|
|
118314
118309
|
|
|
118315
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
118310
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/prefix-coalesce.js
|
|
118316
118311
|
var SCOPE_PREFIX_MARKER = "\0hq-scope:";
|
|
118317
118312
|
var SCOPE_PREFIX_MARKER_PREFIX = `${SCOPE_PREFIX_MARKER}prefix`;
|
|
118318
118313
|
var SCOPE_PREFIX_MARKER_EXACT = `${SCOPE_PREFIX_MARKER}exact`;
|
|
@@ -118512,7 +118507,7 @@ function grantPathToScopePrefix(grantPath, slug) {
|
|
|
118512
118507
|
return pathToScopePrefix(p3);
|
|
118513
118508
|
}
|
|
118514
118509
|
|
|
118515
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
118510
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/scope-shrink.js
|
|
118516
118511
|
import * as fs23 from "fs";
|
|
118517
118512
|
import * as path19 from "path";
|
|
118518
118513
|
function buildScopeShrinkPlan(input2) {
|
|
@@ -118808,18 +118803,18 @@ function applyScopeShrink(input2) {
|
|
|
118808
118803
|
};
|
|
118809
118804
|
}
|
|
118810
118805
|
|
|
118811
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
118806
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/secret-path-policy.js
|
|
118812
118807
|
init_dist();
|
|
118813
118808
|
import * as fs24 from "fs";
|
|
118814
118809
|
import * as path20 from "path";
|
|
118815
118810
|
|
|
118816
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
118811
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/flag-company-uid.js
|
|
118817
118812
|
var FLAG_COMPANY_UID_PATTERN = /^cmp_[A-Za-z0-9]{3,128}$/;
|
|
118818
118813
|
function flagCompanyUid(uid) {
|
|
118819
118814
|
return FLAG_COMPANY_UID_PATTERN.test(uid) ? uid : void 0;
|
|
118820
118815
|
}
|
|
118821
118816
|
|
|
118822
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
118817
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/secret-path-policy.js
|
|
118823
118818
|
var SKIP_SECRET_PATHS_FLAG = "sync.skip-secret-paths";
|
|
118824
118819
|
var FLAG_REFRESH_INTERVAL_MS = 5 * 6e4;
|
|
118825
118820
|
var FLAG_REQUEST_TIMEOUT_MS = 2e3;
|
|
@@ -118956,7 +118951,7 @@ function isSkipSecretPathsEnabled(config2, companyUid, failClosed = false) {
|
|
|
118956
118951
|
return defaultSkipSecretPathsGate(config2, companyUid, failClosed);
|
|
118957
118952
|
}
|
|
118958
118953
|
|
|
118959
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
118954
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/remote-pull.js
|
|
118960
118955
|
var VEND_PATH_CAP = 10;
|
|
118961
118956
|
var POST_FILTER_THRESHOLD = 50;
|
|
118962
118957
|
var VEND_FANOUT_CONCURRENCY = 5;
|
|
@@ -119043,11 +119038,11 @@ function dedupByKey(files) {
|
|
|
119043
119038
|
return out;
|
|
119044
119039
|
}
|
|
119045
119040
|
|
|
119046
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119041
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/multipart-upload.js
|
|
119047
119042
|
var MULTIPART_DEFAULT_PART_SIZE = 16 * 1024 * 1024;
|
|
119048
119043
|
var MIB = 1024 * 1024;
|
|
119049
119044
|
|
|
119050
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119045
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/pull-scope.js
|
|
119051
119046
|
import * as fs25 from "fs";
|
|
119052
119047
|
import * as path21 from "path";
|
|
119053
119048
|
var SESSIONS_SCOPE_PREFIX = "sessions/";
|
|
@@ -119118,7 +119113,7 @@ function readPinnedPrefixes(hqRoot, slug) {
|
|
|
119118
119113
|
return [];
|
|
119119
119114
|
}
|
|
119120
119115
|
|
|
119121
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119116
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/plan-limit-pause.js
|
|
119122
119117
|
import * as fs26 from "fs";
|
|
119123
119118
|
import * as path22 from "path";
|
|
119124
119119
|
var PLAN_LIMIT_PAUSE_RETRY_MS = 60 * 60 * 1e3;
|
|
@@ -119284,13 +119279,13 @@ var PlanLimitPauseStore = class _PlanLimitPauseStore {
|
|
|
119284
119279
|
}
|
|
119285
119280
|
};
|
|
119286
119281
|
|
|
119287
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119282
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/telemetry.js
|
|
119288
119283
|
import { createHash as createHash19 } from "node:crypto";
|
|
119289
119284
|
import { promises as fs29 } from "node:fs";
|
|
119290
119285
|
import * as os8 from "node:os";
|
|
119291
119286
|
import * as path25 from "node:path";
|
|
119292
119287
|
|
|
119293
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
119288
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/company-resolver.js
|
|
119294
119289
|
import { promises as fs27 } from "node:fs";
|
|
119295
119290
|
import * as path23 from "node:path";
|
|
119296
119291
|
|
|
@@ -121918,7 +121913,7 @@ var jsYaml = {
|
|
|
121918
121913
|
safeDump
|
|
121919
121914
|
};
|
|
121920
121915
|
|
|
121921
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
121916
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/company-resolver.js
|
|
121922
121917
|
function logSwallowed6(line) {
|
|
121923
121918
|
process.stderr.write(line);
|
|
121924
121919
|
}
|
|
@@ -122129,7 +122124,7 @@ function resolveCompanyForCwd(cwd, map9) {
|
|
|
122129
122124
|
return collapsed !== c5 ? match(collapsed) : void 0;
|
|
122130
122125
|
}
|
|
122131
122126
|
|
|
122132
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122127
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/usage-company-fallback.js
|
|
122133
122128
|
import { promises as fs28 } from "node:fs";
|
|
122134
122129
|
import * as path24 from "node:path";
|
|
122135
122130
|
var TRUSTED_META_SOURCES = /* @__PURE__ */ new Set(["session"]);
|
|
@@ -122576,7 +122571,7 @@ function createUsageCompanyFallback(options) {
|
|
|
122576
122571
|
};
|
|
122577
122572
|
}
|
|
122578
122573
|
|
|
122579
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
122574
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/telemetry.js
|
|
122580
122575
|
function emptyCursor() {
|
|
122581
122576
|
return { version: "1", files: {} };
|
|
122582
122577
|
}
|
|
@@ -123458,7 +123453,7 @@ async function collectAndSendTelemetry(opts) {
|
|
|
123458
123453
|
};
|
|
123459
123454
|
}
|
|
123460
123455
|
|
|
123461
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
123456
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/skill-telemetry.js
|
|
123462
123457
|
import { createHash as createHash20 } from "node:crypto";
|
|
123463
123458
|
import { promises as fs30 } from "node:fs";
|
|
123464
123459
|
import * as os9 from "node:os";
|
|
@@ -124251,12 +124246,12 @@ async function collectAndSendSkillTelemetry(opts) {
|
|
|
124251
124246
|
};
|
|
124252
124247
|
}
|
|
124253
124248
|
|
|
124254
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124249
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
124255
124250
|
import * as fs42 from "fs";
|
|
124256
124251
|
import * as os13 from "os";
|
|
124257
124252
|
import * as path38 from "path";
|
|
124258
124253
|
|
|
124259
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124254
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/symlink-target-refusal-flag.js
|
|
124260
124255
|
init_dist();
|
|
124261
124256
|
var SYMLINK_TARGET_REFUSAL_FLAG = "sync.symlink-target-refusal";
|
|
124262
124257
|
var FLAG_READ_TIMEOUT_MS = 2e3;
|
|
@@ -124305,7 +124300,7 @@ async function resolveSymlinkTargetRefusalFlag(input2) {
|
|
|
124305
124300
|
}
|
|
124306
124301
|
}
|
|
124307
124302
|
|
|
124308
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124303
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/company-vault-transport.js
|
|
124309
124304
|
function selectObjectIOFactory(client, refresherFor, forceRefresherFor) {
|
|
124310
124305
|
if (typeof client.presign === "function" && typeof client.listFiles === "function") {
|
|
124311
124306
|
return presignObjectIOFactory(client, refresherFor, forceRefresherFor);
|
|
@@ -124323,7 +124318,7 @@ function ensureCompanyVaultTransport(vaultConfig, deps = {}) {
|
|
|
124323
124318
|
vaultConfig.companyVaultUsesPresign = objectIOFactory !== null;
|
|
124324
124319
|
}
|
|
124325
124320
|
|
|
124326
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124321
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync-decision-log.js
|
|
124327
124322
|
import * as fs31 from "node:fs";
|
|
124328
124323
|
import * as path27 from "node:path";
|
|
124329
124324
|
import { randomUUID as randomUUID4 } from "node:crypto";
|
|
@@ -124368,10 +124363,10 @@ function appendSyncDecision(input2, options = {}) {
|
|
|
124368
124363
|
}
|
|
124369
124364
|
}
|
|
124370
124365
|
|
|
124371
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124366
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
124372
124367
|
import * as crypto14 from "crypto";
|
|
124373
124368
|
|
|
124374
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124369
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/private-folder-transport.js
|
|
124375
124370
|
import * as fs32 from "fs";
|
|
124376
124371
|
import * as path28 from "path";
|
|
124377
124372
|
var CONTENT_SHA256_RE2 = /^[a-f0-9]{64}$/;
|
|
@@ -124463,7 +124458,7 @@ async function primePrivateFolderUpload(input2) {
|
|
|
124463
124458
|
}]);
|
|
124464
124459
|
}
|
|
124465
124460
|
|
|
124466
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
124461
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/full-pass-caps.js
|
|
124467
124462
|
var FULL_PASS_CPU_CAP_FLAG = "sync.full-pass.cpu-cap-pct";
|
|
124468
124463
|
var FULL_PASS_HEAP_CAP_FLAG = "sync.full-pass.heap-cap-mb";
|
|
124469
124464
|
var FULL_PASS_DURABLE_PROGRESS_FLAG = "sync.full-pass-durable-progress";
|
|
@@ -125040,7 +125035,7 @@ var FullPassCapController = class {
|
|
|
125040
125035
|
}
|
|
125041
125036
|
};
|
|
125042
125037
|
|
|
125043
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125038
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/conflict.js
|
|
125044
125039
|
import * as readline from "readline";
|
|
125045
125040
|
function parseFrontmatterVersion(body) {
|
|
125046
125041
|
if (!body || body.length === 0)
|
|
@@ -125168,7 +125163,7 @@ async function promptConflict(conflict) {
|
|
|
125168
125163
|
}
|
|
125169
125164
|
}
|
|
125170
125165
|
|
|
125171
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125166
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/tombstones.js
|
|
125172
125167
|
import * as crypto11 from "node:crypto";
|
|
125173
125168
|
import * as fs33 from "node:fs";
|
|
125174
125169
|
import * as os10 from "node:os";
|
|
@@ -125560,7 +125555,7 @@ async function fetchTombstonePage(url2, token) {
|
|
|
125560
125555
|
throw new TombstoneFetchError(`FILE_TOMBSTONE fetch failed after ${attemptsMade} attempts; refusing to sync without delete suppression`, attemptsMade, lastError);
|
|
125561
125556
|
}
|
|
125562
125557
|
|
|
125563
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125558
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync-core.js
|
|
125564
125559
|
import { execSync } from "child_process";
|
|
125565
125560
|
import * as fs34 from "fs";
|
|
125566
125561
|
import * as os11 from "os";
|
|
@@ -125707,11 +125702,11 @@ function hasRemoteChanged(remote, entry) {
|
|
|
125707
125702
|
return remote.lastModified.getTime() > syncedAt;
|
|
125708
125703
|
}
|
|
125709
125704
|
|
|
125710
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125705
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-file.js
|
|
125711
125706
|
import * as crypto12 from "crypto";
|
|
125712
125707
|
import * as path32 from "path";
|
|
125713
125708
|
|
|
125714
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125709
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/machine-id.js
|
|
125715
125710
|
import { createHash as createHash22, randomUUID as randomUUID6 } from "node:crypto";
|
|
125716
125711
|
import * as fs35 from "node:fs";
|
|
125717
125712
|
import * as os12 from "node:os";
|
|
@@ -125820,7 +125815,7 @@ function readShortMachineId(hqRoot) {
|
|
|
125820
125815
|
return createHash22("sha1").update(full).digest("hex").slice(0, 6);
|
|
125821
125816
|
}
|
|
125822
125817
|
|
|
125823
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125818
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-file.js
|
|
125824
125819
|
var CONFLICT_BACKUPS_DIR = ".hq/conflict-backups";
|
|
125825
125820
|
var CONFLICT_PROBE_DIR = ".hq/tmp";
|
|
125826
125821
|
function safeTimestamp(detectedAt) {
|
|
@@ -125838,7 +125833,7 @@ function buildConflictId(originalRelative, detectedAt) {
|
|
|
125838
125833
|
return `${safePath}-${safeTimestamp(detectedAt)}`;
|
|
125839
125834
|
}
|
|
125840
125835
|
|
|
125841
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125836
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/conflict-index.js
|
|
125842
125837
|
import * as crypto13 from "crypto";
|
|
125843
125838
|
import * as fs36 from "fs";
|
|
125844
125839
|
import * as path33 from "path";
|
|
@@ -125992,7 +125987,7 @@ function pruneConflictIndex(hqRoot) {
|
|
|
125992
125987
|
return result;
|
|
125993
125988
|
}
|
|
125994
125989
|
|
|
125995
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
125990
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/append-only-merge.js
|
|
125996
125991
|
import * as fs37 from "node:fs";
|
|
125997
125992
|
function isAppendOnlyPath(relativePath) {
|
|
125998
125993
|
const base = relativePath.split(/[\\/]/).pop() ?? "";
|
|
@@ -126064,7 +126059,7 @@ function appendIfUnchanged(file2, expected, merged) {
|
|
|
126064
126059
|
return "appended";
|
|
126065
126060
|
}
|
|
126066
126061
|
|
|
126067
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126062
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/board-merge.js
|
|
126068
126063
|
import * as fs38 from "node:fs";
|
|
126069
126064
|
import * as path34 from "node:path";
|
|
126070
126065
|
function isBoardJsonPath(relativePath) {
|
|
@@ -126210,7 +126205,7 @@ function replaceIfUnchanged(file2, expected, merged) {
|
|
|
126210
126205
|
return "appended";
|
|
126211
126206
|
}
|
|
126212
126207
|
|
|
126213
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126208
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/same-path-upload-lock.js
|
|
126214
126209
|
var SAME_PATH_UPLOAD_WAIT_MS = 6e4;
|
|
126215
126210
|
var SAME_PATH_LANDED_KEY_CAP = 4096;
|
|
126216
126211
|
var SAME_PATH_LANDED_PER_KEY_CAP = 8;
|
|
@@ -126400,7 +126395,7 @@ var SamePathUploadSupersededError = class extends Error {
|
|
|
126400
126395
|
}
|
|
126401
126396
|
};
|
|
126402
126397
|
|
|
126403
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126398
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/cloud-authoritative.js
|
|
126404
126399
|
var CLOUD_AUTHORITATIVE_PATTERNS = [
|
|
126405
126400
|
/^company-brief\.md$/,
|
|
126406
126401
|
/^board\.json$/,
|
|
@@ -126438,7 +126433,7 @@ function isLocallyIneligibleForPush(relPath, options = {}) {
|
|
|
126438
126433
|
return isCloudAuthoritative(relPath);
|
|
126439
126434
|
}
|
|
126440
126435
|
|
|
126441
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126436
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-entity-push.js
|
|
126442
126437
|
init_dist();
|
|
126443
126438
|
import { createHash as createHash23 } from "node:crypto";
|
|
126444
126439
|
var ONTOLOGY_ENTITY_PUSH_FLAG = "checkpoint.ontology";
|
|
@@ -126519,7 +126514,7 @@ ${caller}`;
|
|
|
126519
126514
|
return failed ? false : value;
|
|
126520
126515
|
}
|
|
126521
126516
|
|
|
126522
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126517
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/ontology-outbox.js
|
|
126523
126518
|
import fs39 from "node:fs";
|
|
126524
126519
|
import path35 from "node:path";
|
|
126525
126520
|
var ONTOLOGY_OUTBOX_SCHEMA = "hq-ontology-outbox.v1";
|
|
@@ -126585,7 +126580,7 @@ function entityIsFreshForCreate(body, nowMs) {
|
|
|
126585
126580
|
return age >= -ENTITY_CREATE_FUTURE_SKEW_MS && age <= ENTITY_CREATE_WINDOW_MS;
|
|
126586
126581
|
}
|
|
126587
126582
|
|
|
126588
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126583
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/skill-register-landed-bytes.js
|
|
126589
126584
|
init_dist();
|
|
126590
126585
|
import { createHash as createHash24 } from "node:crypto";
|
|
126591
126586
|
var SKILL_REGISTER_LANDED_BYTES_FLAG = "sync.skill-register-landed-bytes";
|
|
@@ -126659,7 +126654,7 @@ ${caller}`;
|
|
|
126659
126654
|
return failed ? false : value;
|
|
126660
126655
|
}
|
|
126661
126656
|
|
|
126662
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126657
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/personal-connector-settings-sync.js
|
|
126663
126658
|
init_dist();
|
|
126664
126659
|
import { createHash as createHash25 } from "node:crypto";
|
|
126665
126660
|
var PERSONAL_CONNECTOR_SETTINGS_SYNC_FLAG = "personal.connector-settings-sync";
|
|
@@ -126722,7 +126717,7 @@ ${caller}`;
|
|
|
126722
126717
|
return failed ? false : value;
|
|
126723
126718
|
}
|
|
126724
126719
|
|
|
126725
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126720
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/describe-error.js
|
|
126726
126721
|
import * as path36 from "node:path";
|
|
126727
126722
|
var MAX_DIAGNOSTIC_LENGTH = 1024;
|
|
126728
126723
|
function sanitizeDiagnostic(value) {
|
|
@@ -126855,7 +126850,7 @@ function pushFailureTelemetryLabel(value) {
|
|
|
126855
126850
|
return safe.slice(0, 128) || "unknown";
|
|
126856
126851
|
}
|
|
126857
126852
|
|
|
126858
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126853
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/readlink-safe.js
|
|
126859
126854
|
import * as fs40 from "fs";
|
|
126860
126855
|
function toPortableSymlinkTarget(target, platform5 = process.platform) {
|
|
126861
126856
|
return platform5 === "win32" ? target.replaceAll("\\", "/") : target;
|
|
@@ -126874,14 +126869,14 @@ function readlinkOrNull(linkPath, readlink = (path71) => fs40.readlinkSync(path7
|
|
|
126874
126869
|
}
|
|
126875
126870
|
}
|
|
126876
126871
|
|
|
126877
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126872
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/reconcile-cursor.js
|
|
126878
126873
|
function checkpointReconcileApply(checkpoint, paths) {
|
|
126879
126874
|
if (!checkpoint)
|
|
126880
126875
|
return;
|
|
126881
126876
|
checkpoint.store.checkpointApply(checkpoint.cursor, [...new Set(paths)].map((path71) => ({ path: path71, durable: true })));
|
|
126882
126877
|
}
|
|
126883
126878
|
|
|
126884
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
126879
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/mass-delete-guards.js
|
|
126885
126880
|
init_dist();
|
|
126886
126881
|
import { createHash as createHash26 } from "node:crypto";
|
|
126887
126882
|
var MASS_DELETE_GUARDS_FLAG = "sync.delete-absolute-volume-and-release-root-guards";
|
|
@@ -127026,7 +127021,7 @@ function warnFlagReadFailure(write) {
|
|
|
127026
127021
|
`)))(line);
|
|
127027
127022
|
}
|
|
127028
127023
|
|
|
127029
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127024
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/case-alias.js
|
|
127030
127025
|
import * as fs41 from "fs";
|
|
127031
127026
|
import * as path37 from "path";
|
|
127032
127027
|
function foldVaultKey(key) {
|
|
@@ -127174,7 +127169,7 @@ function directoryFoldsCase(dir) {
|
|
|
127174
127169
|
return false;
|
|
127175
127170
|
}
|
|
127176
127171
|
|
|
127177
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
127172
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/share.js
|
|
127178
127173
|
async function remoteContentDiffers(ctx, relativePath, localHash, hqRoot, symlinkOptions) {
|
|
127179
127174
|
const probeKey = crypto14.createHash("sha256").update(relativePath).digest("hex").slice(0, 16);
|
|
127180
127175
|
const probePath = path38.join(os13.tmpdir(), `hq-conflict-probe-${readShortMachineId(hqRoot)}-${probeKey}.tmp`);
|
|
@@ -131523,11 +131518,11 @@ function computeDecommissionPlan(journal, prefixes, policy, alreadyPlanned, skip
|
|
|
131523
131518
|
return out;
|
|
131524
131519
|
}
|
|
131525
131520
|
|
|
131526
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131521
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
131527
131522
|
import * as fs50 from "fs";
|
|
131528
131523
|
import * as path46 from "path";
|
|
131529
131524
|
|
|
131530
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131525
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/remote-file-spool.js
|
|
131531
131526
|
import * as fs43 from "node:fs";
|
|
131532
131527
|
import * as os14 from "node:os";
|
|
131533
131528
|
import * as path39 from "node:path";
|
|
@@ -131606,12 +131601,12 @@ function* readRows(filename) {
|
|
|
131606
131601
|
}
|
|
131607
131602
|
}
|
|
131608
131603
|
|
|
131609
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131604
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/hq-root-recovery.js
|
|
131610
131605
|
import * as fs45 from "fs";
|
|
131611
131606
|
import * as os15 from "os";
|
|
131612
131607
|
import * as path41 from "path";
|
|
131613
131608
|
|
|
131614
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131609
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/backup-prune.js
|
|
131615
131610
|
import * as crypto15 from "crypto";
|
|
131616
131611
|
import * as fs44 from "fs";
|
|
131617
131612
|
import * as path40 from "path";
|
|
@@ -131797,7 +131792,7 @@ function inventoryManagedSnapshots(backupRoot, canonicalRoot3, isCopyingOwnerLiv
|
|
|
131797
131792
|
return { entries: entries3, ...plan, unmanaged: [...unmanaged, ...plan.unmanaged] };
|
|
131798
131793
|
}
|
|
131799
131794
|
|
|
131800
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131795
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/hq-root-recovery.js
|
|
131801
131796
|
var HQ_LAYOUT_DIRS = ["repos", "repos/public", "repos/private"];
|
|
131802
131797
|
function gitSidecarDir(hqRoot, homeDir = os15.homedir()) {
|
|
131803
131798
|
return path41.join(homeDir, ".hq", "hq-root-git", canonicalRootHash(path41.resolve(hqRoot)));
|
|
@@ -131984,10 +131979,10 @@ function recoverHqRootLocalState(hqRoot, opts = {}) {
|
|
|
131984
131979
|
};
|
|
131985
131980
|
}
|
|
131986
131981
|
|
|
131987
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131982
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/doctor.js
|
|
131988
131983
|
var SKILLS_KEY_PREFIX = ".claude/skills/";
|
|
131989
131984
|
|
|
131990
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131985
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/content-hash.js
|
|
131991
131986
|
var SHA256_CONTENT_HASH = /^sha256:([a-f0-9]{64})$/;
|
|
131992
131987
|
function rawSha256FromContentHash(contentHash) {
|
|
131993
131988
|
if (contentHash === void 0)
|
|
@@ -131998,7 +131993,7 @@ function contentHashMatchesRawSha256(contentHash, rawHash) {
|
|
|
131998
131993
|
return rawSha256FromContentHash(contentHash) === rawHash;
|
|
131999
131994
|
}
|
|
132000
131995
|
|
|
132001
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
131996
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/kms10-etag-safe-pull.js
|
|
132002
131997
|
import { createHash as createHash29 } from "node:crypto";
|
|
132003
131998
|
var KMS10_COPY_MARKER_META_KEY = "hq-kms10-reencrypt-current";
|
|
132004
131999
|
var KMS10_COPY_ORIGINAL_KEY_HASH_META_KEY = "hq-kms10-original-key-sha256";
|
|
@@ -132023,7 +132018,7 @@ function isKms10CopyOfJournalBase(listed, head, journalHash, journalEtag, expect
|
|
|
132023
132018
|
return normalizeEtag(head.metadata?.["hq-kms10-original-etag"] ?? "") === normalizeEtag(journalEtag);
|
|
132024
132019
|
}
|
|
132025
132020
|
|
|
132026
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132021
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/targeted-upsert-exact-list.js
|
|
132027
132022
|
init_dist();
|
|
132028
132023
|
import { createHash as createHash30 } from "node:crypto";
|
|
132029
132024
|
function logSwallowed8(line) {
|
|
@@ -132140,7 +132135,7 @@ function isTargetedUpsertExactListEnabled(config2, companyUid) {
|
|
|
132140
132135
|
return defaultTargetedUpsertExactListGate(config2, companyUid);
|
|
132141
132136
|
}
|
|
132142
132137
|
|
|
132143
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132138
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/targeted-pull-prefixes.js
|
|
132144
132139
|
var TARGETED_PULL_PREFIX_GROUP_MIN_PATHS = 16;
|
|
132145
132140
|
function coalesceDenseTargetedPullPaths(paths) {
|
|
132146
132141
|
const normalized = paths.map((path71) => path71.replace(/\\/g, "/"));
|
|
@@ -132178,15 +132173,15 @@ function coalesceDenseTargetedPullPaths(paths) {
|
|
|
132178
132173
|
return result;
|
|
132179
132174
|
}
|
|
132180
132175
|
|
|
132181
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132176
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
132182
132177
|
import { createHash as createHash33 } from "node:crypto";
|
|
132183
132178
|
|
|
132184
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132179
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex.js
|
|
132185
132180
|
import { spawnSync as spawnSync3 } from "child_process";
|
|
132186
132181
|
import * as fs49 from "fs";
|
|
132187
132182
|
import * as path45 from "path";
|
|
132188
132183
|
|
|
132189
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132184
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex-knowledge.js
|
|
132190
132185
|
import { spawnSync as spawnSync2 } from "child_process";
|
|
132191
132186
|
import * as fs46 from "fs";
|
|
132192
132187
|
import * as path42 from "path";
|
|
@@ -132449,7 +132444,7 @@ function materializeLegacyKnowledgeRepos(root5) {
|
|
|
132449
132444
|
}
|
|
132450
132445
|
}
|
|
132451
132446
|
|
|
132452
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
132447
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/session-log-capture.js
|
|
132453
132448
|
import * as crypto16 from "node:crypto";
|
|
132454
132449
|
import * as fs47 from "node:fs";
|
|
132455
132450
|
import * as os16 from "node:os";
|
|
@@ -133390,7 +133385,7 @@ function captureSessionLogs(root5, options = {}) {
|
|
|
133390
133385
|
}
|
|
133391
133386
|
}
|
|
133392
133387
|
|
|
133393
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133388
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/session-log-retention.js
|
|
133394
133389
|
import * as crypto17 from "node:crypto";
|
|
133395
133390
|
import * as fs48 from "node:fs";
|
|
133396
133391
|
import * as os17 from "node:os";
|
|
@@ -133651,7 +133646,7 @@ function pruneSyncedSessionLogs(root5) {
|
|
|
133651
133646
|
}
|
|
133652
133647
|
}
|
|
133653
133648
|
|
|
133654
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
133649
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex.js
|
|
133655
133650
|
function isDir2(p3) {
|
|
133656
133651
|
try {
|
|
133657
133652
|
return fs49.statSync(p3).isDirectory();
|
|
@@ -134175,7 +134170,7 @@ function emitReindexTelemetry(opts, result, lockResult) {
|
|
|
134175
134170
|
}, { claims: opts.telemetryClaims });
|
|
134176
134171
|
}
|
|
134177
134172
|
|
|
134178
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
134173
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/sync.js
|
|
134179
134174
|
async function yieldToCooperativeCheckpoint2(work, cooperativeCheckpoint, force, resumedAt) {
|
|
134180
134175
|
work.rowsSinceYield += 1;
|
|
134181
134176
|
if (!force && work.rowsSinceYield < cooperativeUnitSize()) {
|
|
@@ -137546,7 +137541,7 @@ function defaultConsoleLogger2(event) {
|
|
|
137546
137541
|
}
|
|
137547
137542
|
}
|
|
137548
137543
|
|
|
137549
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
137544
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/rescue-core.js
|
|
137550
137545
|
import { createRequire } from "node:module";
|
|
137551
137546
|
var MAX_CLONE_BATCH_PATH_BYTES = 64 * 1024;
|
|
137552
137547
|
var require2 = createRequire(import.meta.url);
|
|
@@ -137556,7 +137551,7 @@ var PRECLONE_FREE_SPACE_FLOOR_BYTES = 1024 ** 3;
|
|
|
137556
137551
|
var CYGWIN_SYMLINK_COOKIE = Buffer.from("!<symlink>", "latin1");
|
|
137557
137552
|
var PRESERVED_FILE_COMPARE_CHUNK_BYTES = 64 * 1024;
|
|
137558
137553
|
|
|
137559
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
137554
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/schemas/source-channels.js
|
|
137560
137555
|
var SOURCE_CHANNELS = Object.freeze([
|
|
137561
137556
|
"meeting",
|
|
137562
137557
|
"email",
|
|
@@ -137565,7 +137560,7 @@ var SOURCE_CHANNELS = Object.freeze([
|
|
|
137565
137560
|
"notion"
|
|
137566
137561
|
]);
|
|
137567
137562
|
|
|
137568
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
137563
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/schemas/signal-types.js
|
|
137569
137564
|
var SIGNAL_TYPES = Object.freeze([
|
|
137570
137565
|
"action_item",
|
|
137571
137566
|
"commitment",
|
|
@@ -137575,7 +137570,7 @@ var SIGNAL_TYPES = Object.freeze([
|
|
|
137575
137570
|
"summary"
|
|
137576
137571
|
]);
|
|
137577
137572
|
|
|
137578
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
137573
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/push-event.js
|
|
137579
137574
|
var CONTENT_HASH_PATTERN = /^sha256:[0-9a-f]{64}$/;
|
|
137580
137575
|
var ISO8601_DATETIME_PATTERN = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/;
|
|
137581
137576
|
function nativeSeparatorsToPosix(relativePath, sep25) {
|
|
@@ -137670,7 +137665,7 @@ function decodePushEvent(input2) {
|
|
|
137670
137665
|
return parsed.data;
|
|
137671
137666
|
}
|
|
137672
137667
|
|
|
137673
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
137668
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-routes.js
|
|
137674
137669
|
import * as path47 from "path";
|
|
137675
137670
|
function routeChangeToTarget(relPath, kind) {
|
|
137676
137671
|
const norm = relPath.split(path47.sep).join("/").replace(/^\.\//, "");
|
|
@@ -137839,7 +137834,7 @@ function carriedFlags(baseArgv) {
|
|
|
137839
137834
|
return carried;
|
|
137840
137835
|
}
|
|
137841
137836
|
|
|
137842
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
137837
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/push-transport.js
|
|
137843
137838
|
var moduleLoadFetch = globalThis.fetch;
|
|
137844
137839
|
var moduleLoadAbortController = globalThis.AbortController;
|
|
137845
137840
|
var successOutcomes = /* @__PURE__ */ new WeakMap();
|
|
@@ -138061,7 +138056,7 @@ var HttpPushTransport = class {
|
|
|
138061
138056
|
}
|
|
138062
138057
|
};
|
|
138063
138058
|
|
|
138064
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138059
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/feature-flags.js
|
|
138065
138060
|
var PARALLEL_COORDINATOR_ENV_VAR = "HQ_SYNC_PARALLEL_COORDINATOR";
|
|
138066
138061
|
var AREA_STORAGE_ENV_VAR = "HQ_SYNC_AREA_STORAGE";
|
|
138067
138062
|
function parseFeatureSwitch(value) {
|
|
@@ -138130,7 +138125,7 @@ function isEventSyncLocallyDisabled(value) {
|
|
|
138130
138125
|
}
|
|
138131
138126
|
}
|
|
138132
138127
|
|
|
138133
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138128
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/metrics.js
|
|
138134
138129
|
var import_client_cloudwatch = __toESM(require_dist_cjs40(), 1);
|
|
138135
138130
|
var SYNC_METRIC_NAMESPACE = "HQPro/Sync";
|
|
138136
138131
|
var SYNC_LATENCY_METRIC_NAME = "hq-cloud.sync.p95_latency_seconds";
|
|
@@ -138198,7 +138193,7 @@ async function publishSyncLatencyMetric(metric, opts = {}) {
|
|
|
138198
138193
|
}
|
|
138199
138194
|
}
|
|
138200
138195
|
|
|
138201
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
138196
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/push-receiver.js
|
|
138202
138197
|
var DEFAULT_RECEIVER_DISPOSE_DRAIN_MS = 5e3;
|
|
138203
138198
|
var RECEIVER_SHUTDOWN_RELEASE_BUDGET_MS = 1500;
|
|
138204
138199
|
var DEFAULT_WAIT_TIME_SECONDS = 20;
|
|
@@ -139731,10 +139726,10 @@ function defaultSleep(ms, signal) {
|
|
|
139731
139726
|
});
|
|
139732
139727
|
}
|
|
139733
139728
|
|
|
139734
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
139729
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/logger.js
|
|
139735
139730
|
var import_pino = __toESM(require_pino(), 1);
|
|
139736
139731
|
|
|
139737
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
139732
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/path-leases.js
|
|
139738
139733
|
function assertCanonicalPath(path71) {
|
|
139739
139734
|
if (path71.length === 0 || path71.startsWith("/") || path71.endsWith("/") || path71.includes("\\") || path71.split("/").some((part) => part.length === 0 || part === "." || part === "..")) {
|
|
139740
139735
|
throw new Error(`path lease requires a canonical relative path: ${path71}`);
|
|
@@ -139797,7 +139792,7 @@ var PathLease = class {
|
|
|
139797
139792
|
}
|
|
139798
139793
|
};
|
|
139799
139794
|
|
|
139800
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
139795
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/parallel-sync-coordinator.js
|
|
139801
139796
|
var MAX_REALTIME_PULL_YIELDS = 3;
|
|
139802
139797
|
var MAX_REALTIME_PULL_YIELD_MS = 6e4;
|
|
139803
139798
|
var REALTIME_PULL_YIELD_STATE_TTL_MS = 10 * 6e4;
|
|
@@ -140304,7 +140299,7 @@ var DefaultParallelSyncCoordinator = class {
|
|
|
140304
140299
|
}
|
|
140305
140300
|
};
|
|
140306
140301
|
|
|
140307
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140302
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/sync-work.js
|
|
140308
140303
|
var InlineSyncWorkerAdapter = class {
|
|
140309
140304
|
handler;
|
|
140310
140305
|
constructor(handler) {
|
|
@@ -140315,7 +140310,7 @@ var InlineSyncWorkerAdapter = class {
|
|
|
140315
140310
|
}
|
|
140316
140311
|
};
|
|
140317
140312
|
|
|
140318
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
140313
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/watcher.js
|
|
140319
140314
|
import * as fs53 from "fs";
|
|
140320
140315
|
import { createHash as createHash34 } from "node:crypto";
|
|
140321
140316
|
import { readFile as readFile8, stat as stat4 } from "node:fs/promises";
|
|
@@ -142011,7 +142006,7 @@ function watch(paths, options = {}) {
|
|
|
142011
142006
|
return watcher;
|
|
142012
142007
|
}
|
|
142013
142008
|
|
|
142014
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
142009
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/watch-roots.js
|
|
142015
142010
|
import * as fs51 from "fs";
|
|
142016
142011
|
import * as path48 from "path";
|
|
142017
142012
|
function defaultListChildDirs(dir, onSymlinkEntry) {
|
|
@@ -142085,7 +142080,7 @@ function isCoveredByRecursiveRoot(absolutePath, recursiveRoots) {
|
|
|
142085
142080
|
}
|
|
142086
142081
|
}
|
|
142087
142082
|
|
|
142088
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
142083
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/watch-coverage.js
|
|
142089
142084
|
import * as fs52 from "fs";
|
|
142090
142085
|
function directoryIdentityAt(absolutePath) {
|
|
142091
142086
|
try {
|
|
@@ -142122,7 +142117,7 @@ function probeScopedWatchCoverage(input2) {
|
|
|
142122
142117
|
return { ok: true };
|
|
142123
142118
|
}
|
|
142124
142119
|
|
|
142125
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
142120
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/watcher.js
|
|
142126
142121
|
var DEBOUNCE_MS = 2e3;
|
|
142127
142122
|
var DEFAULT_EVENT_DEBOUNCE_MS = 6e4;
|
|
142128
142123
|
var DEFAULT_EVENT_MAX_WAIT_MS = 12e4;
|
|
@@ -145186,11 +145181,11 @@ var PushEventEmitter = class _PushEventEmitter {
|
|
|
145186
145181
|
}
|
|
145187
145182
|
};
|
|
145188
145183
|
|
|
145189
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
145184
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/manifest/build-manifest.js
|
|
145190
145185
|
import * as fs55 from "node:fs";
|
|
145191
145186
|
import * as path52 from "node:path";
|
|
145192
145187
|
|
|
145193
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
145188
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/company-slug.js
|
|
145194
145189
|
import * as path50 from "node:path";
|
|
145195
145190
|
var UNSAFE_SLUG_KEYS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
145196
145191
|
function isSafeCompanySlug(companiesDir, slug) {
|
|
@@ -145207,7 +145202,7 @@ function isSafeCompanySlug(companiesDir, slug) {
|
|
|
145207
145202
|
return path50.dirname(companyDir) === resolvedCompaniesDir;
|
|
145208
145203
|
}
|
|
145209
145204
|
|
|
145210
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
145205
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/manifest/contract.js
|
|
145211
145206
|
var SYNC_MANIFEST_CONTRACT_VERSION = 1;
|
|
145212
145207
|
var SYNC_MANIFEST_SCOPE_KINDS = ["personal", "company"];
|
|
145213
145208
|
var SYNC_MANIFEST_SOURCES = ["desktop", "cli"];
|
|
@@ -145376,7 +145371,7 @@ var SYNC_MANIFEST_CONTRACT_DESCRIPTOR = {
|
|
|
145376
145371
|
}
|
|
145377
145372
|
};
|
|
145378
145373
|
|
|
145379
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
145374
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/manifest/snapshot-store.js
|
|
145380
145375
|
import * as crypto18 from "node:crypto";
|
|
145381
145376
|
import * as fs54 from "node:fs";
|
|
145382
145377
|
import * as path51 from "node:path";
|
|
@@ -145551,7 +145546,7 @@ function writeSnapshotIncrementally(tmp, snapshot) {
|
|
|
145551
145546
|
}
|
|
145552
145547
|
var SNAPSHOT_WRITE_BATCH_CHARS = 256 * 1024;
|
|
145553
145548
|
|
|
145554
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
145549
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/manifest/build-manifest.js
|
|
145555
145550
|
function logSwallowed11(line) {
|
|
145556
145551
|
process.stderr.write(line);
|
|
145557
145552
|
}
|
|
@@ -146160,7 +146155,7 @@ function buildChunk(input2, firstChunkRemovedPaths, chunkIndex, chunkCount, entr
|
|
|
146160
146155
|
return upload;
|
|
146161
146156
|
}
|
|
146162
146157
|
|
|
146163
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146158
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/manifest/upload-manifest.js
|
|
146164
146159
|
import * as fs56 from "node:fs";
|
|
146165
146160
|
var MANIFEST_UPLOAD_DISABLED_ENV = "HQ_SYNC_MANIFEST_DISABLED";
|
|
146166
146161
|
var DEFAULT_MANIFEST_UPLOAD_MIN_INTERVAL_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -146729,7 +146724,7 @@ async function runUploadPassBody(options, scopeKey, persisted) {
|
|
|
146729
146724
|
};
|
|
146730
146725
|
}
|
|
146731
146726
|
|
|
146732
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146727
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/watcher-catchup-skip-store.js
|
|
146733
146728
|
import * as fs57 from "node:fs";
|
|
146734
146729
|
import * as path53 from "node:path";
|
|
146735
146730
|
import { createHash as createHash36, randomUUID as randomUUID7 } from "node:crypto";
|
|
@@ -146975,7 +146970,7 @@ function validUnresolvedCompanyRecord(value) {
|
|
|
146975
146970
|
return typeof record2.company === "string" && record2.company.length > 0 && record2.reason === "unresolved-company" && typeof record2.recordedAt === "number" && Number.isFinite(record2.recordedAt);
|
|
146976
146971
|
}
|
|
146977
146972
|
|
|
146978
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146973
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/version.js
|
|
146979
146974
|
import { readFileSync as readFileSync34 } from "node:fs";
|
|
146980
146975
|
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
146981
146976
|
import path54 from "node:path";
|
|
@@ -146983,7 +146978,7 @@ var here = path54.dirname(fileURLToPath3(import.meta.url));
|
|
|
146983
146978
|
var pkg = JSON.parse(readFileSync34(path54.resolve(here, "..", "package.json"), "utf-8"));
|
|
146984
146979
|
var HQ_CLOUD_VERSION = pkg.version;
|
|
146985
146980
|
|
|
146986
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
146981
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/outcome-telemetry.js
|
|
146987
146982
|
import { promises as fs58 } from "node:fs";
|
|
146988
146983
|
import * as os18 from "node:os";
|
|
146989
146984
|
import * as path55 from "node:path";
|
|
@@ -147362,7 +147357,7 @@ async function collectAndSendOutcomeTelemetry(opts) {
|
|
|
147362
147357
|
return { enabled: true, optInSource, filesScanned, eventsSent, batchesSent };
|
|
147363
147358
|
}
|
|
147364
147359
|
|
|
147365
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
147360
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/qmd-reindex.js
|
|
147366
147361
|
import * as fs59 from "fs";
|
|
147367
147362
|
import * as path56 from "path";
|
|
147368
147363
|
import { spawn as spawn2 } from "child_process";
|
|
@@ -148012,7 +148007,7 @@ function defaultHasIndexableProjectContent(projectsDir) {
|
|
|
148012
148007
|
return false;
|
|
148013
148008
|
}
|
|
148014
148009
|
|
|
148015
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148010
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/qmd-runner-admission.js
|
|
148016
148011
|
import fs60 from "node:fs";
|
|
148017
148012
|
import path57 from "node:path";
|
|
148018
148013
|
import { randomUUID as randomUUID8 } from "node:crypto";
|
|
@@ -148116,7 +148111,7 @@ nonce=${nonce}
|
|
|
148116
148111
|
};
|
|
148117
148112
|
}
|
|
148118
148113
|
|
|
148119
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148114
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/cli/reindex-async.js
|
|
148120
148115
|
import { Worker } from "node:worker_threads";
|
|
148121
148116
|
function reindexAsync(options) {
|
|
148122
148117
|
if (import.meta.url.endsWith(".ts"))
|
|
@@ -148175,7 +148170,7 @@ function reindexAsync(options) {
|
|
|
148175
148170
|
});
|
|
148176
148171
|
}
|
|
148177
148172
|
|
|
148178
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148173
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/agent-codex-instructions.js
|
|
148179
148174
|
import * as crypto19 from "crypto";
|
|
148180
148175
|
import * as fs61 from "fs";
|
|
148181
148176
|
import * as os19 from "os";
|
|
@@ -148335,7 +148330,7 @@ function materializeCodexAgents(opts) {
|
|
|
148335
148330
|
}
|
|
148336
148331
|
}
|
|
148337
148332
|
|
|
148338
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148333
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-post-sync-flags.js
|
|
148339
148334
|
var POST_SYNC_FLAG_KEYS = {
|
|
148340
148335
|
qmdReindex: "sync.qmd-reindex",
|
|
148341
148336
|
conflictPrune: "sync.conflict-prune",
|
|
@@ -148355,12 +148350,12 @@ function createPostSyncFlagEvaluator(options = {}) {
|
|
|
148355
148350
|
};
|
|
148356
148351
|
}
|
|
148357
148352
|
|
|
148358
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148353
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-manifest.js
|
|
148359
148354
|
import { createHash as createHash37, randomUUID as randomUUID9 } from "node:crypto";
|
|
148360
148355
|
import * as fs63 from "node:fs/promises";
|
|
148361
148356
|
import * as path60 from "node:path";
|
|
148362
148357
|
|
|
148363
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148358
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-installation-id.js
|
|
148364
148359
|
import * as fs62 from "node:fs";
|
|
148365
148360
|
import * as os20 from "node:os";
|
|
148366
148361
|
import * as path59 from "node:path";
|
|
@@ -148410,7 +148405,7 @@ function readDesktopInstallationId(options) {
|
|
|
148410
148405
|
return void 0;
|
|
148411
148406
|
}
|
|
148412
148407
|
|
|
148413
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
148408
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-manifest.js
|
|
148414
148409
|
var RUNNER_MANIFEST_WALK_WALL_MS = 9e4;
|
|
148415
148410
|
var RUNNER_MANIFEST_PHASE_WALL_MS = 24e4;
|
|
148416
148411
|
var RUNNER_MANIFEST_REPAIR_POLL_SPACING_MS = 60 * 60 * 1e3;
|
|
@@ -149032,14 +149027,14 @@ async function runPostSyncManifestUploads(options) {
|
|
|
149032
149027
|
return emitted;
|
|
149033
149028
|
}
|
|
149034
149029
|
|
|
149035
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149030
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/lib/exit-codes.js
|
|
149036
149031
|
var PARTIAL_SYNC_EXIT = 2;
|
|
149037
149032
|
var UNRESOLVED_COMPANY_EXIT = 19;
|
|
149038
149033
|
var WATCH_RUNNER_ALREADY_OWNED_EXIT = 20;
|
|
149039
149034
|
var WATCH_OWNER_LEASE_LOST_EXIT = 21;
|
|
149040
149035
|
var PREFLIGHT_HALT_EXIT = 22;
|
|
149041
149036
|
|
|
149042
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149037
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-audit.js
|
|
149043
149038
|
import * as crypto20 from "node:crypto";
|
|
149044
149039
|
import * as fs64 from "node:fs";
|
|
149045
149040
|
import * as path61 from "node:path";
|
|
@@ -149088,7 +149083,7 @@ function hashNormalizedKey(key) {
|
|
|
149088
149083
|
return crypto20.createHash("sha256").update(normalized, "utf8").digest("hex");
|
|
149089
149084
|
}
|
|
149090
149085
|
|
|
149091
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149086
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/watch-owner-lease.js
|
|
149092
149087
|
import { spawnSync as spawnSync4 } from "node:child_process";
|
|
149093
149088
|
import { randomUUID as randomUUID10 } from "node:crypto";
|
|
149094
149089
|
import * as fs65 from "node:fs";
|
|
@@ -149459,7 +149454,7 @@ function acquireWatchOwnerLease(hqRoot, owner = "unknown", options = {}) {
|
|
|
149459
149454
|
};
|
|
149460
149455
|
}
|
|
149461
149456
|
|
|
149462
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149457
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/watch-parent.js
|
|
149463
149458
|
var WATCH_PARENT_CHECK_INTERVAL_MS = 1e3;
|
|
149464
149459
|
function processExists(pid) {
|
|
149465
149460
|
try {
|
|
@@ -149510,7 +149505,7 @@ function startWatchParentExitMonitor(options) {
|
|
|
149510
149505
|
};
|
|
149511
149506
|
}
|
|
149512
149507
|
|
|
149513
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149508
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-events.js
|
|
149514
149509
|
var ERROR_TYPES = /* @__PURE__ */ new Set([
|
|
149515
149510
|
"error",
|
|
149516
149511
|
"auth-error"
|
|
@@ -149556,7 +149551,7 @@ function emitUncaughtRunnerError(err, streams) {
|
|
|
149556
149551
|
}
|
|
149557
149552
|
}
|
|
149558
149553
|
|
|
149559
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149554
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-stdout.js
|
|
149560
149555
|
import { format as format4 } from "node:util";
|
|
149561
149556
|
function redirectRunnerConsoleToStderr(runnerConsole, stderr) {
|
|
149562
149557
|
const writeDiagnostic = (...args) => {
|
|
@@ -149572,7 +149567,7 @@ function runWithRunnerConsoleStderr(startRunner, runnerConsole = console, stderr
|
|
|
149572
149567
|
return startRunner();
|
|
149573
149568
|
}
|
|
149574
149569
|
|
|
149575
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149570
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-planning.js
|
|
149576
149571
|
function verifiedMemberCompanyUids(options) {
|
|
149577
149572
|
if (!options.companies)
|
|
149578
149573
|
return void 0;
|
|
@@ -149737,7 +149732,7 @@ function emitFanoutPlan(emit, plan) {
|
|
|
149737
149732
|
emit({ type: "fanout-plan", companies: plan });
|
|
149738
149733
|
}
|
|
149739
149734
|
|
|
149740
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149735
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-pass-request.js
|
|
149741
149736
|
import * as fs66 from "node:fs";
|
|
149742
149737
|
import * as path63 from "node:path";
|
|
149743
149738
|
function buildPassRequestArgv(passArgv, company) {
|
|
@@ -149988,7 +149983,7 @@ var SyncPassRequestDirectory = class _SyncPassRequestDirectory {
|
|
|
149988
149983
|
}
|
|
149989
149984
|
};
|
|
149990
149985
|
|
|
149991
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
149986
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/active-company.js
|
|
149992
149987
|
import { randomUUID as randomUUID11 } from "node:crypto";
|
|
149993
149988
|
import * as fs67 from "node:fs";
|
|
149994
149989
|
import * as path64 from "node:path";
|
|
@@ -150080,7 +150075,7 @@ function seedActiveCompany(options) {
|
|
|
150080
150075
|
return { written: true, activeCompany };
|
|
150081
150076
|
}
|
|
150082
150077
|
|
|
150083
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150078
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/manifest-reconcile.js
|
|
150084
150079
|
import { randomUUID as randomUUID12 } from "node:crypto";
|
|
150085
150080
|
import * as fs68 from "node:fs";
|
|
150086
150081
|
import * as path65 from "node:path";
|
|
@@ -150294,17 +150289,17 @@ async function reconcileCompanyManifest(options) {
|
|
|
150294
150289
|
return reconcileManifest(options.hqRoot, resolvedTargets);
|
|
150295
150290
|
}
|
|
150296
150291
|
|
|
150297
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150292
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-company.js
|
|
150298
150293
|
import * as fs69 from "fs";
|
|
150299
150294
|
import * as path66 from "path";
|
|
150300
150295
|
import { createHash as createHash39, randomUUID as randomUUID13 } from "node:crypto";
|
|
150301
150296
|
|
|
150302
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150297
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/scope-inventory-client.js
|
|
150303
150298
|
function allowsLegacyNetwork(decision) {
|
|
150304
150299
|
return decision.network === "allow-legacy";
|
|
150305
150300
|
}
|
|
150306
150301
|
|
|
150307
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150302
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-rollup.js
|
|
150308
150303
|
function createCompanyState(company) {
|
|
150309
150304
|
return {
|
|
150310
150305
|
company,
|
|
@@ -150366,7 +150361,7 @@ function rollupAllComplete(plan, stateByCompany) {
|
|
|
150366
150361
|
};
|
|
150367
150362
|
}
|
|
150368
150363
|
|
|
150369
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
150364
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-company.js
|
|
150370
150365
|
var PRUNED_SAMPLE_PATHS = 5;
|
|
150371
150366
|
function journalErrorClass(error64) {
|
|
150372
150367
|
if (error64 instanceof JournalIncompleteUpsertError)
|
|
@@ -151333,7 +151328,7 @@ function normalizePullChangedPaths(target, changedPaths) {
|
|
|
151333
151328
|
});
|
|
151334
151329
|
}
|
|
151335
151330
|
|
|
151336
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151331
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-telemetry.js
|
|
151337
151332
|
async function emitTelemetry(options) {
|
|
151338
151333
|
const telemetryFn = options.collectTelemetry ?? options.defaultCollectTelemetry;
|
|
151339
151334
|
await telemetryFn().catch((err) => {
|
|
@@ -151344,7 +151339,7 @@ async function emitTelemetry(options) {
|
|
|
151344
151339
|
});
|
|
151345
151340
|
}
|
|
151346
151341
|
|
|
151347
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151342
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-loop.js
|
|
151348
151343
|
import * as os21 from "os";
|
|
151349
151344
|
import * as path69 from "path";
|
|
151350
151345
|
import * as fs72 from "fs";
|
|
@@ -151352,7 +151347,7 @@ import { createHash as createHash40 } from "node:crypto";
|
|
|
151352
151347
|
import * as v8 from "node:v8";
|
|
151353
151348
|
import { performance as performance3 } from "node:perf_hooks";
|
|
151354
151349
|
|
|
151355
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151350
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/push-failure-backoff.js
|
|
151356
151351
|
var PUSH_FAILURE_BACKOFF_BASE_MS = 5e3;
|
|
151357
151352
|
var PUSH_FAILURE_BACKOFF_CAP_MS = 5 * 6e4;
|
|
151358
151353
|
var RoutePushFailureBackoff = class {
|
|
@@ -151379,12 +151374,12 @@ var systemPushRetryScheduler = {
|
|
|
151379
151374
|
clearTimeout: (handle) => clearTimeout(handle)
|
|
151380
151375
|
};
|
|
151381
151376
|
|
|
151382
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151377
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
151383
151378
|
var import_client_sqs = __toESM(require_dist_cjs42(), 1);
|
|
151384
151379
|
import { readFileSync as readFileSync41 } from "node:fs";
|
|
151385
151380
|
import { join as join68 } from "node:path";
|
|
151386
151381
|
|
|
151387
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151382
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/inbound-event-admission.js
|
|
151388
151383
|
import * as fs70 from "node:fs";
|
|
151389
151384
|
import * as path67 from "node:path";
|
|
151390
151385
|
function logSwallowed13(line) {
|
|
@@ -151450,7 +151445,7 @@ function isInboundEventPlaceable(hqRoot, event) {
|
|
|
151450
151445
|
}
|
|
151451
151446
|
}
|
|
151452
151447
|
|
|
151453
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151448
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/unchanged-push-events.js
|
|
151454
151449
|
import fs71 from "node:fs";
|
|
151455
151450
|
import path68 from "node:path";
|
|
151456
151451
|
function journalCoordinatesForPushEvent(relativePath) {
|
|
@@ -151492,7 +151487,7 @@ function unchangedPushEventPaths(events, hqRoot, lookup) {
|
|
|
151492
151487
|
return unchanged;
|
|
151493
151488
|
}
|
|
151494
151489
|
|
|
151495
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
151490
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
151496
151491
|
function resolveEventSync(override) {
|
|
151497
151492
|
return !isEventSyncLocallyDisabled(override);
|
|
151498
151493
|
}
|
|
@@ -152204,7 +152199,7 @@ async function startEventSync(opts) {
|
|
|
152204
152199
|
};
|
|
152205
152200
|
}
|
|
152206
152201
|
|
|
152207
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152202
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/area-ledger-auto-migration.js
|
|
152208
152203
|
var AREA_AUTO_MIGRATION_STARTED_EVENT = "area_migration_started";
|
|
152209
152204
|
var AREA_AUTO_MIGRATION_COMPLETED_EVENT = "area_migration_completed";
|
|
152210
152205
|
var AREA_AUTO_MIGRATION_SOURCE = "sync-runner";
|
|
@@ -152357,7 +152352,7 @@ function describe3(error64) {
|
|
|
152357
152352
|
return error64 instanceof Error ? error64.message : String(error64);
|
|
152358
152353
|
}
|
|
152359
152354
|
|
|
152360
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
152355
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-heap-telemetry.js
|
|
152361
152356
|
import * as perfHooks from "node:perf_hooks";
|
|
152362
152357
|
var CENSUS_TOKEN = /^[A-Za-z][A-Za-z0-9_]{0,48}$/;
|
|
152363
152358
|
var HeapCensus = class {
|
|
@@ -153344,7 +153339,7 @@ function nodeHeapReaders(v82) {
|
|
|
153344
153339
|
};
|
|
153345
153340
|
}
|
|
153346
153341
|
|
|
153347
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153342
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/sync/idle-full-reconcile.js
|
|
153348
153343
|
var MAX_UNOBSERVED_TICK_GAP_MS = 6e4;
|
|
153349
153344
|
var MAX_CLOCK_DRIFT_MS = 5e3;
|
|
153350
153345
|
var FullPassContinuity = class {
|
|
@@ -153399,7 +153394,7 @@ function canSkipScheduledFullReconcile(proof) {
|
|
|
153399
153394
|
return true;
|
|
153400
153395
|
}
|
|
153401
153396
|
|
|
153402
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
153397
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-watch-loop.js
|
|
153403
153398
|
var FULL_RECONCILE_EVERY_TICKS = 10;
|
|
153404
153399
|
var warnedUnresolvedReceiverCompanies = /* @__PURE__ */ new Set();
|
|
153405
153400
|
var EVENT_SYNC_STARTUP_SHUTDOWN_WAIT_MS = 5e3;
|
|
@@ -158569,7 +158564,7 @@ async function runWatchLoop(argv, parsed, deps, runtime) {
|
|
|
158569
158564
|
}
|
|
158570
158565
|
}
|
|
158571
158566
|
|
|
158572
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
158567
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner-auth-wait.js
|
|
158573
158568
|
var AUTH_WAIT_INITIAL_RECHECK_MS = 6e4;
|
|
158574
158569
|
var AUTH_WAIT_STEADY_RECHECK_MS = 5 * 6e4;
|
|
158575
158570
|
var AUTH_WAIT_LIVENESS_INTERVAL_MS = 30 * 6e4;
|
|
@@ -158642,7 +158637,7 @@ async function waitForValidAuth(opts) {
|
|
|
158642
158637
|
return "stopped";
|
|
158643
158638
|
}
|
|
158644
158639
|
|
|
158645
|
-
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.
|
|
158640
|
+
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.87/node_modules/@indigoai-us/hq-cloud/dist/bin/sync-runner.js
|
|
158646
158641
|
var SESSION_LOG_CAPTURE_QUIET_FOR_MS = 10 * 6e4;
|
|
158647
158642
|
var SESSION_LOG_CAPTURE_MAX_STALENESS_MS = 60 * 6e4;
|
|
158648
158643
|
var DEFAULT_COGNITO = {
|