@svatah/yam-adapter-process
Process and pseudo-terminal adapter
- Source:
packages/adapter-process· README:packages/adapter-process/README.md - Install:
npm install @svatah/yam-adapter-process - Version 0.1.0 · Apache-2.0
Exports
| Export | Kind | Signature | |
|---|---|---|---|
createProcessSurface | function | export function createProcessSurface(config: Config): ProcessSurface | |
openPty | function | export function openPty(options: PtyOptions & { allocator?: "expect" | "python3" }): Pty | Open a pseudo-terminal running the command. |
PROCESS_ADAPTER | variable | PROCESS_ADAPTER = "process" | |
ProcessSurface | class | export class ProcessSurface implements AgentSurface | |
ProcessSurfaceOptions | interface | export interface ProcessSurfaceOptions | |
Pty | interface | export interface Pty | |
PtyOptions | interface | export interface PtyOptions | |
ptyReadiness | function | export function ptyReadiness(prefer?: "expect" | "python3"): PtyReadiness | Whether this host can allocate a pseudo-terminal, and with what. |
PtyReadiness | interface | export interface PtyReadiness | |
registerProcessAdapter | function | export function registerProcessAdapter(): void | |
Screen | class | export class Screen | A bounded grid of characters, and a cursor. |
ScreenSize | interface | export interface ScreenSize |