feat(tools): Centralize shell tool summarization (#4009)

This commit is contained in:
N. Taylor Mullen
2025-07-12 21:09:12 -07:00
committed by GitHub
parent 09a3b7d5e1
commit 44ef0408f3
6 changed files with 51 additions and 58 deletions

View File

@@ -11,7 +11,6 @@ import { spawn } from 'node:child_process';
import { StringDecoder } from 'node:string_decoder';
import { discoverMcpTools } from './mcp-client.js';
import { DiscoveredMCPTool } from './mcp-tool.js';
import { defaultSummarizer } from '../utils/summarizer.js';
import { parse } from 'shell-quote';
type ToolParams = Record<string, unknown>;
@@ -48,7 +47,6 @@ Signal: Signal number or \`(none)\` if no signal was received.
parameterSchema,
false, // isOutputMarkdown
false, // canUpdateOutput
defaultSummarizer,
);
}