| 3 | import type { MessageSender, WorkerStatusUpdate } from '../messages'; |
| 4 | |
| 5 | export 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 | |
| 18 | export interface ShellCommandOptions { |
| 19 | cwd?: string; |
nothing calls this directly
no outgoing calls
no test coverage detected