UNPKG

@xec-sh/core

Version:

Universal shell execution engine

46 lines (45 loc) 3.54 kB
import { ExecutionEngine, type ExecutionEngineConfig } from './core/execution-engine.js'; import type { CallableExecutionEngine } from './types/engine.js'; export { pipeUtils } from './utils/pipe.js'; export { isDisposable } from './types/disposable.js'; export { within, withinSync } from './utils/within.js'; export { DockerContainer } from './utils/docker-api.js'; export { LocalAdapter } from './adapters/local-adapter.js'; export { withTempDir, withTempFile } from './utils/temp.js'; export { RuntimeDetector } from './utils/runtime-detect.js'; export { ExecutionEngine } from './core/execution-engine.js'; export type { ExecutionEngineConfig }; export { DockerAdapter } from './adapters/docker-adapter.js'; export { parallel, ParallelEngine } from './utils/parallel.js'; export { SSHKeyValidator } from './utils/ssh-key-validator.js'; export { EnhancedEventEmitter } from './utils/event-emitter.js'; export { SecurePasswordHandler } from './utils/secure-password.js'; export { KubernetesAdapter } from './adapters/kubernetes-adapter.js'; export { RemoteDockerAdapter } from './adapters/remote-docker-adapter.js'; export { unifiedConfig, UnifiedConfigLoader } from './config/unified-config.js'; export declare function createCallableEngine(engine: ExecutionEngine): CallableExecutionEngine; export declare const $: CallableExecutionEngine; export declare function configure(config: ExecutionEngineConfig): void; export declare function dispose(): Promise<void>; export { ConvenienceAPI, attachConvenienceMethods } from './utils/convenience.js'; export { RetryError, withExecutionRetry as retry } from './utils/retry-adapter.js'; export { type ProgressEvent, type ProgressOptions } from './utils/progress.js'; export { DockerFluentAPI, DockerFluentBuildAPI } from './utils/docker-fluent-api.js'; export { SSHAdapter, type SSHSudoOptions, type SSHAdapterConfig } from './adapters/ssh-adapter.js'; export { findSimilar, CommandRegistry, checkForCommandTypo, getCommandCompletions, defaultCommandRegistry } from './utils/suggestions.js'; export { DockerError, CommandError, TimeoutError, AdapterError, ExecutionError, ConnectionError, KubernetesError } from './core/error.js'; export { enhanceError, EnhancedCommandError, EnhancedTimeoutError, EnhancedExecutionError, EnhancedConnectionError } from './core/enhanced-error.js'; export type { EventFilter } from './types/events.js'; export type { ExecutionResult } from './core/result.js'; export type { RetryOptions } from './utils/retry-adapter.js'; export type { SSHExecutionContext } from './utils/ssh-api.js'; export type { PipeTarget } from './core/pipe-implementation.js'; export type { CommandSuggestion } from './utils/suggestions.js'; export type { CallableExecutionEngine } from './types/engine.js'; export type { Disposable, DisposableContainer } from './types/disposable.js'; export type { DockerContext, DockerContainerConfig } from './utils/docker-api.js'; export type { ErrorContext, ErrorSuggestion, EnhancedErrorDetails } from './core/enhanced-error.js'; export type { K8sPod, K8sLogStream, K8sPortForward, K8sExecutionContext } from './utils/kubernetes-api.js'; export type { PodConfig, HostConfig, UnifiedConfig, ProfileConfig, ContainerConfig } from './config/unified-config.js'; export type { DockerOptions, ProcessPromise, DockerEphemeralOptions, DockerPersistentOptions } from './core/execution-engine.js'; export type { Command, AdapterType, SSHAdapterOptions, DockerAdapterOptions, KubernetesAdapterOptions, RemoteDockerAdapterOptions } from './core/command.js';