Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
ts 8 lines 276 Bytes
Raw
1 import { Effect } from 'effect';
2 import { Stdin } from 'src/services/stdin';
3
4 /** Reads stdin to its end, however long that takes; for an explicit `-d -`. */
5 export const readStdin = Effect.gen(function* () {
6 const stdin = yield* Stdin;
7 return yield* stdin.readAll();
8 });