MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getAutoAllowedCommands

Function getAutoAllowedCommands

src/tools/BashTool/modeValidation.ts:111–115  ·  view source on GitHub ↗
(
  mode: ToolPermissionContext['mode'],
)

Source from the content-addressed store, hash-verified

109}
110
111export function getAutoAllowedCommands(
112 mode: ToolPermissionContext['mode'],
113): readonly string[] {
114 return mode === 'acceptEdits' ? ACCEPT_EDITS_ALLOWED_COMMANDS : []
115}
116

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected