feat(coding-agent/mcp): added TUI rendering for MCP tool calls and results with JSON tree display
- Added renderCall and renderResult methods to MCPTool and DeferredMCPTool classes for TUI rendering of tool calls and results. - Created new mcp/render.ts module providing JSON tree rendering functionality with configurable depth and line limits for terminal display. - Updated renderResult signature in custom tool and extension types to accept optional args parameter for accessing original tool arguments during result rendering. - Fixed method binding in extension and hook tool wrappers by applying .bind(tool) to renderCall and renderResult methods to preserve correct 'this' context. - Added filter to skip .git directories in fuzzy_find_sync function to improve search performance.
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.3.13/schema.json",
|
||||
"$schema": "https://biomejs.dev/schemas/2.3.14/schema.json",
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
|
||||
Reference in New Issue
Block a user