Skip to content

Commit fd33e43

Browse files
authored
Update cli.py
1 parent a18f5ad commit fd33e43

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

python_agent_harness/cli.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,14 @@ def cmd_config(args: argparse.Namespace) -> int:
248248
print(f" {pattern}: {size}")
249249
else:
250250
print("context_windows: (none configured — built-in table in config.py applies)")
251+
# Show LSP server overrides (per-extension, layered over the built-ins)
252+
lsp_config = config.load_lsp_config(args.path)
253+
if lsp_config.servers:
254+
print("lsp servers:")
255+
for ext, server in sorted(lsp_config.servers.items()):
256+
print(f" {ext}: language_id={server.language_id}, command={' '.join(server.command)}")
257+
else:
258+
print("lsp servers: (none configured — built-in DEFAULT_SERVERS in lsp/manager.py applies)")
251259
# Show default agent
252260
default_agent = config.load_default_agent(args.path)
253261
print(f"default_agent: {default_agent or '(default: agent.md)'}")

0 commit comments

Comments
 (0)