/** * @edgeai/edge-client-ts — TypeScript (Model 1) parallel edge-client. * * Public entry point. Re-exports every module the binary / library users need. * * Layout mirrors the Rust edge-client: * config/ settings + cmd-gate schema * crypto/ AES-256-GCM, HMAC-SHA256, TLS cert-pinning * logging/ file logger * network/ WS client (`/edge` JSON stream) * buffer/ disk-backed offline queue * session/ PTY shell (with 17-byte frame codec), SFTP, pi RPC, fail-fast, * session manager, persistence * cli/ dispatch + run/enroll/whoami/status/devices/messages subcommands * daemon/ per-OS service install (systemd-user / launchd / schtasks) */ export * from './config/settings.js'; export * from './config/cmd-gate.js'; export * from './crypto/aes-gcm.js'; export * from './crypto/hmac.js'; export * from './crypto/tls-guard.js'; export { FileLogger } from './logging/file-logger.js'; export { EdgeWsClient, type EdgeWsClientOptions, type EdgeWsClientEventMap, type RegisterMessage, type StreamMessage, type AckMessage, type HeartbeatMessage, type SystemMetrics, type JsonObject, type BufferDrainable, } from './network/ws-client.js'; export { DiskBufferQueue, BufferFullError, type QueueEntry } from './buffer/disk-queue.js'; export { SHELL_HEADER_LEN, SESSION_ID_LEN, RESIZE_PAYLOAD_LEN, FrameType, frameTypeFromByte, newSessionId, sessionIdFromString, sessionIdToString, dataFrame, resizeFrame, closeFrame, encodeFrame, decodeFrame, decodeResizePayload, type ShellFrame, } from './session/shell-frame.js'; export { FORBIDDEN_KEYWORDS, INSPECTABLE_EVENT_TYPES, FAIL_FAST_ERROR_CONTENT, ENV_FAIL_FAST, failFastEnabled, detectForbidden, buildSyntheticErrorEvent, } from './session/fail-fast.js'; export { ShellManager, type DataHandler, type ExitHandler } from './session/shell.js'; export { SftpForwarder } from './session/sftp.js'; export { PiProcess, hasLimits, systemdRunAvailable, resetSystemdRunCache, wrapWithCgroup, promptCommand, abortCommand, setModelCommand, setThinkingLevelCommand, compactCommand, getAvailableModelsCommand, newPiSessionId, extractSessionId, eventMsgId, type RpcCommand, type PiEvent, type ResourcesConfig, } from './session/pi-rpc.js'; export { SessionManager, type SessionManagerOptions, type HeartbeatMetadata } from './session/manager.js'; export { SessionIdStore, persistSessionState, loadSessionState, type SessionState } from './session/persistence.js'; export { dispatch } from './cli/index.js'; export { runDaemon } from './cli/run.js'; export { enroll } from './cli/enroll.js'; export { whoami } from './cli/whoami.js'; export { status } from './cli/status.js'; export { listDevices } from './cli/devices.js'; export { listMessages } from './cli/messages.js'; export { ServiceManager, expandUser, type Platform, type ServiceInstallOpts, type ServiceStatus, } from './daemon/manager.js';