MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getBaseToolName

Function getBaseToolName

cli/src/utils/implementor-helpers.ts:25–26  ·  view source on GitHub ↗
(toolName: ToolContentBlock['toolName'])

Source from the content-addressed store, hash-verified

23 typeof toolName === 'string' && toolName.startsWith('propose_')
24
25const getBaseToolName = (toolName: ToolContentBlock['toolName']): string =>
26 isProposedToolName(toolName) ? toolName.slice('propose_'.length) : toolName
27
28const SUCCESSFUL_EDIT_MESSAGES = [
29 'String replace applied successfully',

Callers 2

extractDiffFunction · 0.85
getFileChangeTypeFunction · 0.85

Calls 1

isProposedToolNameFunction · 0.85

Tested by

no test coverage detected