alepha@docs:~/docs/framework/reference/providers$
cat MemoryInputProvider.md | pretty
1 min read
Last commit:

#MemoryInputProvider

#Import

typescript
1import { MemoryInputProvider } from "alepha/command";

#Overview

Stdin from memory, for specs.

ts
1const alepha = Alepha.create()2  .with({ provide: ConsoleInputProvider, use: MemoryInputProvider });3 4const input = alepha.inject(MemoryInputProvider);5input.content = "## Body\n";

Starts as a pipe that carries nothing, which is what an agent's shell tool looks like when nothing was piped in. Set tty to stand in for a terminal.