mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-21 03:39:54 +00:00
6d80aa80eb
- Remove dead _post_tool_call (body was only comments) - Remove _on_session_start (redundant — _ensure_service lazy-inits) - Remove _atexit_cleanup (duplicate of _on_session_end) - Switch _baselines from dict to set (presence sentinel only) - Remove redundant enabled_for recheck in transform_tool_result - Remove V4A guard (path-empty check already covers it) - Use modern type syntax (X | None, dict[], set[]) - Reduce from 322 → 217 lines, same behavior 77/77 tests pass.
12 lines
338 B
YAML
12 lines
338 B
YAML
name: lsp
|
|
version: "1.0.0"
|
|
description: >-
|
|
Semantic diagnostics from real language servers (pyright, gopls,
|
|
rust-analyzer, typescript-language-server, etc.) surfaced on
|
|
write_file/patch. Opt-in: add 'lsp' to plugins.enabled in config.yaml.
|
|
author: NousResearch
|
|
hooks:
|
|
- pre_tool_call
|
|
- transform_tool_result
|
|
- on_session_end
|