MCPcopy Index your code
hub / github.com/codeaashu/claude-code / classifyBashCommand

Function classifyBashCommand

src/utils/permissions/bashClassifier.ts:40–53  ·  view source on GitHub ↗
(
  _command: string,
  _cwd: string,
  _descriptions: string[],
  _behavior: ClassifierBehavior,
  _signal: AbortSignal,
  _isNonInteractiveSession: boolean,
)

Source from the content-addressed store, hash-verified

38}
39
40export async function classifyBashCommand(
41 _command: string,
42 _cwd: string,
43 _descriptions: string[],
44 _behavior: ClassifierBehavior,
45 _signal: AbortSignal,
46 _isNonInteractiveSession: boolean,
47): Promise<ClassifierResult> {
48 return {
49 matches: false,
50 confidence: 'high',
51 reason: 'This feature is disabled',
52 }
53}
54
55export async function generateGenericDescription(
56 _command: string,

Callers 4

bashToolHasPermissionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected