Component evidence
TypeScript interfaces defining a lightweight contract for executing shell commands with options and results.
// Source: https://github.com/open-multi-agent/open-multi-agent | License: MIT | Copyright Shenzhen YuanASI Technology Co., Ltd. and open-multi-agent contributors
// Provided via justclaw.it.com; keep this notice with the code.
/**
* Dependency-light contract for executing commands requested by the `bash`
* built-in. Implementations may execute locally or dispatch to an external
* environment; the contract itself has no runtime imports.
*/
/** Options supplied for one shell command. */
export interface ShellExecOptions {
/** Working directory interpreted inside the executor's environment. */
readonly cwd?: string
/** Deadline the executor must enforce for the command it controls. */
readonly timeoutMs: number
/** Cancellation signal; aborting it must terminate the controlled
... (truncated -- full source via MCP)