Skip to main content
Version: 0.1.22
Last Verified: 2025-01-27
Package: @hopx-ai/sdk on npm

Overview

The Terminal resource provides interactive terminal access via WebSocket.

Methods

connect

Connect to interactive terminal.
Returns: Promise<WebSocket> - WebSocket connection

sendInput

Send input to terminal.

resize

Resize terminal.

output

Async iterator for terminal output.
Example:

  • Sandbox - Main sandbox class
  • Types - TypeScript type definitions

See Also

Next Steps

Now that you understand terminal access, explore: