blob: 29939a03c3344d27ff9e48683e3fa0d4c9fcb8a6 [file]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
export * from './host-handoff.js';
export { formatHostHandoff } from './host-handoff-copy.js';
export {
RuntimeHostManagedActivationError,
activateRuntimeHostManagedDeployment,
type ActivateRuntimeHostManagedDeploymentInput,
type RuntimeHostManagedActivationErrorCode,
} from './managed-activation.js';
export {
decodeRuntimeHostWebRtcStunPolicy,
resolveRuntimeHostWebRtcStunUrls,
type RuntimeHostWebRtcStunPolicy,
} from '../webrtc-stun-policy.js';
export { openRuntimeHostManagedStdioBridge } from './managed-stdio-bridge.js';
export {
connectRuntimeHost,
connectExistingRuntimeHost,
connectRemoteRuntimeHost,
RuntimeHostOperationError,
RuntimeHostRequestInterruptedError,
type RuntimeHostConnection,
type RuntimeHostPeerConnectionPath,
type DirectRequestOperationKey,
} from './connection.js';
export {
prepareConnectedRuntimeHostRetirement,
type RuntimeHostRetirementMode,
type RuntimeHostRetirementPreparation,
} from './host-retirement.js';
export {
forceTerminateObservedRegisteredRuntimeHost,
type ObservedRegisteredRuntimeHost,
type ObservedRegisteredRuntimeHostTerminationAuthority,
} from './registered-host-termination.js';
export type { RuntimeHostProcessIdentity } from './process-identity.js';
export {
LOCAL_RUNTIME_HOST_PROFILE,
RUNTIME_HOST_ACCESS_CREDENTIAL_MAX_BYTES,
createClientRuntimeHostCredentialStore,
createClientRuntimeHostProfileCatalog,
createFileRuntimeHostProfileCatalog,
createRuntimeHostCapabilityProviderCredentialStore,
createRuntimeHostProfileCredentialStore,
connectRuntimeHostProfile,
sameEnvironmentRuntimeHostDeployment,
connectRemoteRuntimeHostProfile,
decodeEnvironmentRuntimeHostProfile,
decodePersistedRuntimeHostProfile,
decodeRemoteRuntimeHostProfile,
migrateRuntimeHostProfileOperatorCommand,
remoteRuntimeHostUnavailableError,
runtimeHostProfileAccess,
runtimeHostProfileTargetFingerprint,
sameRemoteRuntimeHostProfileTarget,
sameResolvedRuntimeHostProfileTarget,
subscribeClientRuntimeHostProfileCatalogChanges,
type EnvironmentRuntimeHostProfile,
type PersistedRuntimeHostProfile,
type RemoteRuntimeHostProfile,
type RuntimeHostRemoteTransport,
type ResolvedRuntimeHostProfile,
type RuntimeHostProfile,
type RuntimeHostProfileAccess,
type RuntimeHostProfileCatalog,
type RuntimeHostConnectionPhase,
type RuntimeHostRemoteProfileIncarnation,
type RuntimeHostCapabilityProviderCredentialStore,
RuntimeHostProfileConnectionError,
type RuntimeHostProfileConnectionFailureReason,
type RuntimeHostProfileDocument,
} from './host-profile.js';
export {
createRuntimeHostReconnectingConnection,
isRuntimeHostReconnectingConnection,
type RuntimeHostConnectionAvailability,
type RuntimeHostReconnectingConnection,
} from './reconnecting-connection.js';
export {
RuntimeHostSshOperatorActivationError,
activateRuntimeHostSshOperator,
runtimeHostSshOperatorRemoteCommand,
type RuntimeHostSshOperatorActivationInput,
} from './ssh-operator-activation.js';
export {
normalizeRuntimeHostSshDestination,
openRuntimeHostSshTunnel,
type RuntimeHostSshInteraction,
type RuntimeHostSshProcess,
type RuntimeHostSshProcessFactory,
type RuntimeHostSshTunnel,
type RuntimeHostSshTunnelInput,
} from './ssh-tunnel.js';
export {
RuntimeHostPermanentReconnectError,
startRuntimeHostReconnectLifecycle,
type RuntimeHostReconnectBackoff,
type RuntimeHostReconnectLifecycle,
} from './reconnect-lifecycle.js';
export {
RUNTIME_HOST_REMOTE_INCOMPATIBLE_CODE,
RuntimeHostRemoteCompatibilityError,
type RuntimeHostRemoteCompatibilityDetails,
} from './remote-compatibility-error.js';
export {
RuntimeHostSubscriptionError,
type DecodedSessionTranscriptPage,
type RuntimeHostSessionSubscription,
} from './session-subscription.js';
export {
RuntimeHostStartupError,
runtimeHostStartupError,
} from './startup-error.js';
export {
connectRuntimeHostWslEnvironment,
listRuntimeHostWslDistributions,
normalizeRuntimeHostWslDistribution,
resolveSystemRuntimeHostWslExecutable,
type RuntimeHostWslEnvironmentInput,
type RuntimeHostWslProcessFactory,
} from './wsl-environment.js';
export {
RuntimeHostCatalogReadError,
RuntimeHostSessionCatalogRevisionChangedError,
readRuntimeHostConnectionCatalog,
readRuntimeHostInvocableSkills,
readRuntimeHostProjectDetails,
readRuntimeHostResources,
readRuntimeHostProjects,
readRuntimeHostSessionCatalogPage,
readRuntimeHostSessions,
readRuntimeHostSkillCatalog,
type RuntimeHostSessionCatalogPage,
type RuntimeHostSessionCatalogPageCursor,
type RuntimeHostConnectionCatalogEntry,
type RuntimeHostConnectionCatalogSnapshot,
} from './catalog-reader.js';
export {
IDLE_GRACE_MS_ENV_VAR,
connectOrSpawnRuntimeHost,
type CandidateExitDetails,
type ConnectOrSpawnRuntimeHostInput,
type ConnectOrSpawnRuntimeHostResult,
type RuntimeHostElectionDiagnostic,
type RuntimeHostSpawnedProcess,
} from './connect-or-spawn.js';
export { abortable, waitForRuntimeHostReady } from './wait-for-ready.js';
export {
createRuntimeHostCandidateLaunchBarrier,
type RuntimeHostCandidateLaunchBarrier,
} from './candidate-launch-barrier.js';
export { runHostedExecution, type RunHostedExecutionInput } from './hosted-execution.js';
export { type ClientCapabilityProvider } from './client-capability.js';
export {
readRuntimeHostAgentGraphEpochs,
type AgentGraphEpochDirectory,
} from './agent-graph-reader.js';
export {
startRuntimeHostCapabilityProviderService,
type RuntimeHostCapabilityProviderService,
} from './capability-provider-service.js';
export { loadOrCreateRuntimeHostClientInstanceId } from './client-instance-identity.js';
export { projectSessionCatalogSummary } from './session-catalog-summary.js';
export { consumeAccessCredentialDelivery } from '../control/access-credential-delivery.js';
export {
decodeRuntimeHostOwnerConnectionCode,
encodeRuntimeHostOwnerConnectionCode,
issueRuntimeHostOwnerConnectionCode,
REMOTE_DESKTOP_OWNER_ACCESS_POLICY,
type IssueRuntimeHostOwnerConnectionCodeInput,
type RuntimeHostOwnerConnectionCode,
} from './owner-connection-code.js';
export { ensureRuntimeHostPeerIdentity, RuntimeHostPeerError } from '../transport/peer-native.js';
export {
createRuntimeHostPeerClient,
createRuntimeHostPeerClientFromEnvironment,
RuntimeHostPeerReachabilityUnavailableError,
type RuntimeHostPeerClient,
type RuntimeHostPeerConnectInput,
} from './peer-client.js';
export {
createOAuthPresentationClientProvider,
type OAuthPresentationBackend,
} from './oauth-presentation.js';