mirror of
https://github.com/lukaszraczylo/filepuff-mcp.git
synced 2026-10-17 05:47:33 +00:00
perf(lsp): default find_references to compact output
References defaulted to one line per reference; compact (one line per file, columns collapsed) existed only as opt-in. Compact preserves every line:col pair with zero information loss while cutting roughly one line per reference for the LLM consumer. Default it to true; compact=false and the session compact_refs pref still select the verbose per-reference layout (explicit override wins).
This commit is contained in:
@@ -299,7 +299,7 @@ func (s *Server) registerTools() {
|
||||
mcp.Description("Include the declaration in results. Only valid for action=references (default: true)."),
|
||||
),
|
||||
mcp.WithBoolean("compact",
|
||||
mcp.Description("Compact output: one line per file with all refs in brackets. Only valid for action=references. Default: false."),
|
||||
mcp.Description("Compact output: one line per file with all refs in brackets. Only valid for action=references. Default: true; set false for one line per reference."),
|
||||
),
|
||||
mcp.WithBoolean("verbose",
|
||||
mcp.Description("Emit count/header preamble. Applies to all actions. Default: false."),
|
||||
|
||||
Reference in New Issue
Block a user