MCPcopy Create free account
hub / github.com/Waishnav/devspace / isShellTool

Function isShellTool

src/ui/card-types.ts:110–117  ·  view source on GitHub ↗
(tool: ToolName)

Source from the content-addressed store, hash-verified

108}
109
110export function isShellTool(tool: ToolName): boolean {
111 return (
112 tool === "run_shell" ||
113 tool === "bash" ||
114 tool === "exec_command" ||
115 tool === "write_stdin"
116 );
117}
118
119export function isReviewTool(tool: ToolName): boolean {
120 return tool === "show_changes";

Callers 3

renderSummaryBadgeFunction · 0.85
getToolLabelFunction · 0.85
card-types.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected