MCPcopy Create free account
hub / github.com/Noumena-Network/code / userFacingName

Function userFacingName

src/tools/FileWriteTool/UI.tsx:128–136  ·  view source on GitHub ↗
(input: Partial<{
  file_path: string;
  content: string;
}> | undefined)

Source from the content-addressed store, hash-verified

126 return t9;
127}
128export function userFacingName(input: Partial<{
129 file_path: string;
130 content: string;
131}> | undefined): string {
132 if (input?.file_path?.startsWith(getPlansDirectory())) {
133 return 'Updated plan';
134 }
135 return 'Write';
136}
137
138/** Gates fullscreen click-to-expand. Only `create` truncates (to
139 * MAX_LINES_TO_RENDER); `update` renders the full diff regardless of verbose.

Callers

nothing calls this directly

Calls 1

getPlansDirectoryFunction · 0.85

Tested by

no test coverage detected