Skip to main content
Glama
output-writer.d.ts680 B
import * as Rx from 'rxjs'; import { Writable } from 'stream'; import { Command } from './command'; /** * Class responsible for actually writing output onto a writable stream. */ export declare class OutputWriter { private readonly outputStream; private readonly group; readonly buffers: string[][]; activeCommandIndex: number; readonly error: Rx.Observable<unknown>; private get errored(); constructor({ outputStream, group, commands, }: { outputStream: Writable; group: boolean; commands: Command[]; }); private ensureWritable; write(command: Command | undefined, text: string): void; private flushBuffer; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kkShrihari/miEAA3_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server