/** * @indigoai-us/hq-cloud — public API * * VLT-5: Entity-aware sync engine. Operations resolve their target bucket * and credentials from the vault-service entity registry + STS vending. */ export { resolveEntityContext, refreshEntityContext, clearContextCache, isExpiringSoon, } from "./context.js"; export { uploadFile, downloadFile, listRemoteFiles, deleteRemoteFile, headRemoteFile, toPosixKey, } from "./s3.js"; export type { RemoteFile, UploadAuthor } from "./s3.js"; export { MutationClient, mutationRequestDigest } from "./sync/mutation-client.js"; export type { MutationAuthorization, MutationOperation, MutationRequest, MutationSource, MutationStatus, MutationStatusName, MutationClientOptions, SubmitMutationInput, MutationSubmission, } from "./sync/mutation-client.js"; export { readJournal, writeJournal, hashFile, updateEntry, getEntry, removeEntry, getJournalPath, getStateDir, listJournals, migrateToV2, generatePullId, appendPullRecord, lastPullRecord, tombstoneEntry, isTombstone, gcTombstones, TOMBSTONE_TTL_MS, JOURNAL_VERSION_CURRENT, PERSONAL_VAULT_JOURNAL_SLUG, migratePersonalVaultJournal, } from "./journal.js"; export type { JournalSummary } from "./journal.js"; export { AreaLedger, setAreaLedgerTestHooksForTest, } from "./sync/area-ledger.js"; export type { AreaLedgerDelta, AreaLedgerOptions, } from "./sync/area-ledger.js"; export { createSyncProgressRecorder, readSyncProgress, syncProgressPath, } from "./sync-progress.js"; export type { SyncProgressSnapshot } from "./sync-progress.js"; export { coalescePrefixes, isCoveredByAny, grantPathToPrefix, grantPathToScopePrefix, pathToScopePrefix, toScopePrefixEntries, } from "./prefix-coalesce.js"; export type { ScopePrefixEntry, ScopePrefixInput, ScopePrefixMatch, } from "./prefix-coalesce.js"; export { buildScopeShrinkPlan, applyScopeShrink, ScopeShrinkBlockedError, ScopeShrinkLargePruneError, } from "./scope-shrink.js"; export type { OrphanClassification, ScopeShrinkPlan, BuildScopeShrinkPlanInput, ApplyScopeShrinkInput, ApplyScopeShrinkResult, ScopeShrinkAdviceContext, CleanOrphanDisposition, } from "./scope-shrink.js"; export { resolveCompanyScope, batchPrefixesForVend, listRemoteForScope, pullCompany, decideRemotePulls, VEND_PATH_CAP, POST_FILTER_THRESHOLD, VEND_FANOUT_CONCURRENCY, } from "./remote-pull.js"; export type { CompanyScope, ResolveCompanyScopeInput, ListRemoteForScopeInput, PullCompanyInput, PullCompanyResult, RemotePullDecision, DecideRemotePullsInput, SkippedKey, } from "./remote-pull.js"; export { createIgnoreFilter, isWithinSizeLimit, } from "./ignore.js"; export { browserLogin, refreshTokens, loadCachedTokens, saveCachedTokens, clearCachedTokens, accessTokenFingerprint, invalidateCachedTokensByFingerprint, isExpiring, getValidAccessToken, CognitoAuthError, CognitoRefreshError, isTerminalIdentityRefusal, isRetryableIdentityRefusal, machineCredsFilePath, loadMachineCreds, isMachineIdentity, mintMachineTokens, getValidMachineTokens, isExternalMachineCreds, externalMintChallengeMessage, signExternalMintChallenge, externalMintApiBaseUrl, DEFAULT_MACHINE_API_BASE_URL, } from "./cognito-auth.js"; export type { CognitoAuthConfig, CognitoTokens, MachineCreds, MachineRuntime, } from "./cognito-auth.js"; export { resolvePullScope, readPinnedPrefixes, SESSIONS_SCOPE_PREFIX, } from "./sync/pull-scope.js"; export type { PullScope, PullScopeClient } from "./sync/pull-scope.js"; export { PERSONAL_VAULT_EXCLUDED_TOP_LEVEL, PERSONAL_VAULT_COMPANY_EXCLUDED_SLUGS, CONTINUITY_POINTER_REL, SESSION_LOGS_SYNC_REL, computePersonalVaultPaths, computePersonalCompanySubdirs, computeContinuityPointerPaths, computeSessionLogsSyncPaths, } from "./personal-vault.js"; export type { PersonalVaultOptions } from "./personal-vault.js"; export { PERSONAL_VAULT_DEFAULT_EXCLUSIONS, isPersonalVaultExcluded, matchPersonalVaultExclusion, wrapFilterWithPersonalVaultDefaults, } from "./personal-vault-exclusions.js"; export type { PersonalVaultExclusion } from "./personal-vault-exclusions.js"; export { VaultClient, pickCanonicalPersonEntity } from "./vault-client.js"; export { POLICY_WRITE_SCOPE_TRUNCATED, VaultCredentialScopeError, } from "./credential-scope-error.js"; export type { CredentialScopeDiagnostic } from "./credential-scope-error.js"; export { VaultClientError, VaultAuthError, VaultPermissionDeniedError, VaultNotFoundError, VaultConflictError, } from "./vault-client.js"; export type { MembershipRole, MembershipStatus, Membership, CreateInviteInput, CreateInviteResult, AcceptInviteResult, UpdateRoleInput, EntityInfo, RegisterCompanySkillInput, RegisterCompanySkillResult, CreateEntityInput, CreateEntityResult, PendingInviteByEmail, TelemetryOptInResponse, UsageBatch, UsageIngestResult, RawTelemetryEventInput, TelemetryEventsBatch, TelemetryEventsIngestResult, SkillInvocationBatch, SkillInvocationIngestResult, SyncMode, MembershipSyncConfig, SetMembershipSyncConfigInput, ExplicitGrant, } from "./vault-client.js"; export { collectAndSendTelemetry, sanitizeRow } from "./telemetry.js"; export type { CollectTelemetryOptions, CollectTelemetryResult, TelemetryClientSurface, } from "./telemetry.js"; export { agentUidFromClaims, emitCloudTelemetry, } from "./telemetry-events.js"; export type { CloudTelemetryClient, EmitCloudTelemetryOptions, TelemetryClaims, TelemetryEvent, TelemetryProperties, } from "./telemetry-events.js"; export { collectAndSendSkillTelemetry, extractSkillEvents, } from "./skill-telemetry.js"; export type { CollectSkillTelemetryOptions, CollectSkillTelemetryResult, SkillEvent, SkillTelemetryClientSurface, } from "./skill-telemetry.js"; export type { TaskAction, TaskScope, VendChildInput, VendChildResult, StsChildCredentials, } from "./vault-client.js"; export type { VendPurpose, VaultOperation, VendInput, VendResult, VendCredentials, } from "./vault-client.js"; export { share, sync } from "./cli/index.js"; export { UnregisteredCompanySkillError, parseRegisteredCompanySkillUid, } from "./cli/index.js"; export type { ShareOptions, ShareResult, CompanySkillRegistrar, CompanySkillRegistrationRequest, SyncOptions, SyncResult, SyncProgressEvent, } from "./cli/index.js"; export { resolveConflict, showDiff } from "./cli/index.js"; export type { ConflictStrategy, ConflictInfo, ConflictResolution } from "./cli/index.js"; export { invite, listInvites, revokeInvite } from "./cli/index.js"; export type { InviteOptions, InviteResult, InviteListOptions, InviteRevokeOptions } from "./cli/index.js"; export { accept, parseToken } from "./cli/index.js"; export type { AcceptOptions, AcceptResult } from "./cli/index.js"; export { promote } from "./cli/index.js"; export type { PromoteOptions, PromoteResult } from "./cli/index.js"; export { reindex } from "./cli/index.js"; export type { ReindexOptions, ReindexResult } from "./cli/index.js"; export { rescue, buildRescueArgs } from "./cli/index.js"; export type { RescueOptions, RescueResult } from "./cli/index.js"; export { syncDoctor, SKILLS_KEY_PREFIX } from "./cli/index.js"; export type { SyncDoctorOptions, SyncDoctorResult, SyncDoctorPlan, DoctorStore, } from "./cli/index.js"; export type { EntityContext, VaultCredentials, VaultServiceConfig, ClientInfo, SyncConfig, Credentials, JournalEntry, SyncJournal, PullRecord, SyncStatus, PushResult, PullResult, DaemonState, } from "./types.js"; export { buildClientHeaders, clientInfoFromPackage, detectHqCoreVersion, HEADER_CLIENT_NAME, HEADER_CLIENT_VERSION, HEADER_HQ_CORE_VERSION, } from "./client-info.js"; export { SOURCE_CHANNELS, isSourceChannel, assertSourceChannel, InvalidSourceChannelError, sourcePathSegment, } from "./schemas/source-channels.js"; export type { SourceChannel } from "./schemas/source-channels.js"; export { SIGNAL_TYPES, isSignalType, assertSignalType, InvalidSignalTypeError, } from "./schemas/signal-types.js"; export type { SignalType } from "./schemas/signal-types.js"; export { resolveEntity, listAvailableEntities, EntityNotFoundError, EntityPermissionError, EntityResolutionError, } from "./entity-resolver.js"; export type { AvailableEntity } from "./entity-resolver.js"; export { listSources } from "./sources/list.js"; export { getSource, SourceNotFoundError } from "./sources/get.js"; export type { SourceSummary, SourceDocument, ListSourcesOptions, ListSourcesResult, GetSourceOptions, } from "./sources/types.js"; export { _setSourcesS3Factory, _resetSourcesS3Factory, } from "./sources/internals.js"; export { listSignals } from "./signals/list.js"; export { getSignal, SignalNotFoundError } from "./signals/get.js"; export type { SignalSummary, SignalDocument, ListSignalsOptions, ListSignalsResult, GetSignalOptions, } from "./signals/types.js"; export { _setSignalsS3Factory, _resetSignalsS3Factory, } from "./signals/internals.js"; export { CONTENT_HASH_PATTERN, ISO8601_DATETIME_PATTERN, PushEventSchema, PushEventDecodeError, encodePushEvent, decodePushEvent, isSafeRelativePath, nativeSeparatorsToPosix, relativePathRejectionReason, NoopPushTransport, HttpPushTransport, EVENT_SYNC_LOCAL_DISABLE_ENV_VAR, AREA_STORAGE_ENV_VAR, PARALLEL_COORDINATOR_ENV_VAR, isEventSyncLocallyDisabled, isAreaStorageEnabled, isParallelCoordinatorEnabled, parseFeatureSwitch, resolveAreaStorageEnabled, resolveEffectiveParallelSyncRollout, resolveParallelCoordinatorEnabled, resolveParallelSyncRollout, DefaultParallelSyncCoordinator, ChildProcessSyncWorkerAdapter, ChildProcessSyncWorkerError, InlineSyncWorkerAdapter, SYNC_WORKER_PROTOCOL_VERSION, assertSafeWorkerMessage, toWorkerExecuteMessage, REALTIME_TELEMETRY_EVENT, REALTIME_TELEMETRY_SCHEMA_VERSION, RealtimeTelemetrySpan, assertRealtimeTelemetryLowCardinality, resolveLayoutCompatibility, } from "./sync/index.js"; export type { PushEvent, PushEventInput, PushEventDecodeIssue, PushTransport, HttpPushTransportOptions, AuthTokenSource, FetchLike, EventDrivenPushFlagProvider, AreaId, ChildProcessSyncWorkerOptions, ChildWorkerIdentity, CanonicalPath, ChoreSyncWork, CoordinatorClock, CoordinatorSnapshot, InlineSyncWorkerHandler, ParallelSyncCoordinator, ParallelSyncCoordinatorOptions, PathIdentity, PathWorkOutcome, RealtimeSyncWork, ReconcileCursor, ScheduledPath, SyncWork, SyncWorkerAdapter, SyncWorkerClass, SyncWorkerTarget, WorkerChildMessage, WorkerExecuteMessage, WorkerParentMessage, WorkerProgressMessage, WorkerWorkSlice, WorkOutcome, WorkPathStatus, WorkSlice, FeatureSwitch, ParallelSyncRollout, RealtimeTelemetryRecord, RealtimeTimingStage, LauncherPinKind, LayoutCompatibility, } from "./sync/index.js"; export { PushEventEmitter } from "./watcher.js"; export type { PushEventEmitterOptions, TreeChangeBatch, TreeChangeListener, } from "./watcher.js"; export { runManifestUploadPass, readManifestUploadStatus, MANIFEST_UPLOAD_DISABLED_ENV, MANIFEST_UPLOAD_LOCK_COMMAND, DEFAULT_MANIFEST_UPLOAD_MIN_INTERVAL_MS, DEFAULT_MANIFEST_UPLOAD_WALL_MS, } from "./manifest/upload-manifest.js"; export type { ManifestUploadFailure, ManifestUploadFailureKind, ManifestUploadLogger, ManifestUploadPassStatus, ManifestUploadResponse, ManifestUploadStatus, ManifestUploadTransport, RunManifestUploadPassOptions, RunManifestUploadPassResult, } from "./manifest/upload-manifest.js"; //# sourceMappingURL=index.d.ts.map