MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / canRetryShellIntegrationError

Function canRetryShellIntegrationError

src/core/tools/ExecuteCommandTool.ts:34–36  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

32export { ShellIntegrationError } from "../../integrations/terminal/types"
33
34export function canRetryShellIntegrationError(error: unknown): error is ShellIntegrationError {
35 return error instanceof ShellIntegrationError && !error.commandSubmitted
36}
37
38export function getTerminalProviderForExecution(terminalShellIntegrationDisabled: boolean): {
39 terminalProvider: RooTerminalProvider

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected