MCPcopy
hub / github.com/codeaashu/claude-code / isLocalShellTask

Function isLocalShellTask

src/tasks/LocalShellTask/guards.ts:34–41  ·  view source on GitHub ↗
(task: unknown)

Source from the content-addressed store, hash-verified

32}
33
34export function isLocalShellTask(task: unknown): task is LocalShellTaskState {
35 return (
36 typeof task === 'object' &&
37 task !== null &&
38 'type' in task &&
39 task.type === 'local_bash'
40 )
41}
42

Callers 9

clearConversationFunction · 0.85
stopTaskFunction · 0.85
killTaskFunction · 0.85
killShellTasksForAgentFunction · 0.85
backgroundTaskFunction · 0.85
hasForegroundTasksFunction · 0.85
backgroundAllFunction · 0.85
unregisterForegroundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected