MCPcopy Create free account
hub / github.com/Sandpack/nodebox-runtime / ShellEvents

Interface ShellEvents

packages/nodebox/src/modules/shell.ts:5–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import type { MessageSender, WorkerStatusUpdate } from '../messages';
4
5export interface ShellEvents {
6 'shell/runCommand': [
7 {
8 command: string;
9 args: Array<string>;
10 options: ShellCommandOptions;
11 },
12 ShellInfo
13 ];
14 'shell/exit': ShellInfo;
15 'shell/stdin': { data: string | Uint8Array; workerId: string };
16}
17
18export interface ShellCommandOptions {
19 cwd?: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected