fix(team): trim verbose MCP description from permission noise rows
Remove tool description from permission_request noise label - tool name alone is clear enough. MCP tools have long technical descriptions that flood the Messages panel.
This commit is contained in:
parent
8808a3ab88
commit
d2487e41c9
1 changed files with 1 additions and 3 deletions
|
|
@ -252,9 +252,7 @@ function getNoiseLabel(parsed: StructuredMessage): string | null {
|
|||
|
||||
if (type === 'permission_request') {
|
||||
const toolName = getStringField(parsed, 'tool_name');
|
||||
const description = getStringField(parsed, 'description');
|
||||
const label = toolName ? `Permission: ${toolName}` : 'Permission request';
|
||||
return description ? `${label} — ${description}` : label;
|
||||
return toolName ? `Permission: ${toolName}` : 'Permission request';
|
||||
}
|
||||
|
||||
if (type === 'permission_response') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue