@ai-tools/terminal-emulator
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@ai-tools/terminal-emulator", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A terminal-like interface for CLI applications.", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -9,4 +9,8 @@ # TerminalEmulator | ||
**TerminalEmulator** is a TypeScript library that provides a terminal-like interface for CLI (Command Line Interface) applications. It enables developers to integrate a simulated terminal environment, allowing users to interact with a familiar terminal UI. Whether you're building a CLI tool, a server application, or any interactive Node.js application, `TerminalEmulator` offers a robust and customizable solution for handling user inputs and displaying outputs seamlessly. | ||
**TerminalEmulator** turn any backend script into a pure-Javascript terminal interface on-demand, on Linux, MacOS, and Windows. Handle user or agent input by passing a handler, or reading and writing to a Wirteable stream. It simulates the look and feel of a shell including proper formatting of stdout, stderr, and terminal resets, including a typical prompt like "user@user:~$" on new inputs. | ||
**Note:** This library doesn't actually handle the shell commands, it returns the raw input of the user or agent prompt for your application to handle and return to the terminal's stdout or stderr. | ||
**Note:** This library is standalone, but is intended to be used with [@ai-tools/virtual-shell](https://github.com/zackiles/virtual-shell), which is a fully emulated unix terminal command handler (the thing that handles commens) in Javascript that runs completely in memory with it's own virtual file system, and can be used as the input handler for commands given to this terminal-emulator, allowing you to handle typical unix commands like `ls`, `cd`, `cat`, `rm`, etc. Used together and they essentially create a fully virtualized container that a user or AI agent can write, build, and test code in that can be interfaced with an emulated terminal - all in Javascript and all in memory. This is similar to Stackblitz but with access to native OS APIs. | ||
## Features | ||
@@ -13,0 +17,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41725
207