mirror of
https://github.com/bendtherules/opencode-multi-model.git
synced 2026-08-18 13:42:21 +00:00
feat: add ora spinner (v9.3.0) while running shell
This commit is contained in:
@@ -129,6 +129,16 @@ export interface CommandResult {
|
||||
stderr: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Options for running a shell command.
|
||||
*/
|
||||
export interface RunCommandOptions {
|
||||
/** Caller context: 'cli' shows spinner, 'tool' does not. */
|
||||
mode?: "cli" | "tool";
|
||||
/** Message to display in the spinner while the command runs. */
|
||||
spinnerMsg?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Information about a git worktree.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user