hermes-agent/tools
Xue-1997 72e8e2983a fix(session-search): strip ANSI from recalled messages
Recalled session messages can carry raw ANSI escape sequences (e.g.
archived terminal output), which then re-enter the model's context.
Strip them in _shape_message before content is truncated/returned,
reusing tools.ansi_strip.strip_ansi.

Re-applied onto current main (the original hunk predates the
max_content_len truncation in _shape_message; stripping happens on the
raw content before truncation so escape bytes never count against the
budget). Extracted from #40276.
2026-08-03 13:47:03 +05:30
..
computer_use fix(approval): classify CLI/TUI approval timeouts separately from explicit denials 2026-08-02 20:21:59 -07:00
environments feat(terminal): recoverable truncation — spill full output + report pre-truncation size 2026-08-02 15:52:14 -07:00
neutts_samples
wakewords
__init__.py
ansi_strip.py
approval.py fix(approval): stop treating newlines inside quoted arguments as command starts 2026-08-02 23:11:56 -07:00
async_delegation.py [verified] fix(desktop): preserve background delegates across session switches 2026-08-02 15:11:37 -07:00
audio_container.py
binary_extensions.py
blueprints.py
browser_camofox.py fix(browser): scope Camofox session identity 2026-08-02 00:11:50 -07:00
browser_camofox_state.py
browser_cdp_tool.py
browser_dialog_tool.py
browser_supervisor.py
browser_tool.py
budget_config.py
checkpoint_manager.py
clarify_gateway.py
clarify_tool.py
close_terminal_tool.py
code_execution_tool.py refactor(schema): trim terminal and execute_code schema prose ~40% 2026-08-02 16:02:26 -07:00
computer_use_tool.py
credential_files.py
cronjob_tools.py refactor(cron): log the heartbeat ceiling stop + test it 2026-08-02 14:04:52 +05:30
daemon_pool.py
debug_helpers.py
delegate_tool.py perf(tools): restore benchmark-sensitive phrasing in compacted description 2026-08-02 22:44:58 -07:00
delegation_live_log.py
desktop_ui.py
discord_tool.py
env_passthrough.py fix(security): scope passthrough env to routed profile 2026-08-02 00:36:03 -07:00
env_probe.py
fal_common.py
feishu_doc_tool.py
feishu_drive_tool.py
file_operations.py fix(search): restore zero-match probes on the rg engine after auto-multiline early-return 2026-08-02 15:34:22 -07:00
file_state.py
file_tools.py feat(file): verify write_file content on disk and say so (verified: true) 2026-08-02 15:12:23 -07:00
flux3_video_tool.py
focus_pane_tool.py
fuzzy_match.py feat(patch): list match locations in ambiguous old_string errors 2026-08-02 15:51:43 -07:00
homeassistant_tool.py
hook_output_spill.py
image_generation_tool.py
image_source.py
interrupt.py
kanban_tools.py
lazy_deps.py
managed_tool_gateway.py fix(secrets): scope-aware credential reads in core tool/gateway/web-server paths 2026-08-02 10:02:33 -07:00
mcp_dashboard_oauth.py
mcp_oauth.py
mcp_oauth_manager.py
mcp_stdio_watchdog.py
mcp_tool.py
memory_tool.py
microsoft_graph_auth.py
microsoft_graph_client.py
neutts_synth.py
open_preview_tool.py
openrouter_client.py fix(secrets): scope-aware credential reads in core tool/gateway/web-server paths 2026-08-02 10:02:33 -07:00
osv_check.py
patch_parser.py feat(patch): detect already-applied edits and return success no-op 2026-08-02 15:09:53 -07:00
path_security.py
process_registry.py fix(process): wait timeout result reads as status, not failure 2026-08-02 15:11:02 -07:00
project_tools.py
react_to_message_tool.py
read_extract.py
read_terminal_tool.py
registry.py
schema_sanitizer.py
send_message_tool.py fix(qqbot): scope the authz, startup-validation, and direct-send QQ reads 2026-08-02 10:01:16 -07:00
session_search_tool.py fix(session-search): strip ANSI from recalled messages 2026-08-03 13:47:03 +05:30
skill_manager_tool.py
skill_provenance.py
skill_usage.py
skills_ast_audit.py
skills_guard.py perf(agent): precompile response and skill-scan regexes (#33208) 2026-08-03 09:56:36 +05:30
skills_hub.py fix: use lazy logging with %s formatting in logger calls 2026-08-02 23:17:40 +05:30
skills_sync.py
skills_sync_client.py
skills_tool.py feat(skills): dedup repeat skill_view calls with an unchanged-content stub 2026-08-02 15:12:43 -07:00
slash_confirm.py
terminal_hints.py feat(terminal): output-pattern failure hints for common error classes 2026-08-02 15:08:35 -07:00
terminal_tool.py refactor(schema): trim terminal and execute_code schema prose ~40% 2026-08-02 16:02:26 -07:00
thread_context.py
threat_patterns.py
tirith_security.py fix(secrets): scope tier-3 credential reads (teams_pipeline, deepinfra models, FAL/XAI/VERCEL/DAYTONA/GITHUB presence, HERMES_API_KEY display) 2026-08-02 10:04:48 -07:00
todo_tool.py
tool_backend_helpers.py fix(secrets): scope tier-3 credential reads (teams_pipeline, deepinfra models, FAL/XAI/VERCEL/DAYTONA/GITHUB presence, HERMES_API_KEY display) 2026-08-02 10:04:48 -07:00
tool_output_limits.py
tool_result_storage.py
tool_search.py
transcription_tools.py
tts_streaming.py
tts_text_normalize.py
tts_tool.py perf(tts): pipeline sync per-sentence synthesis with playback 2026-08-03 10:25:15 +05:30
url_safety.py
video_generation_tool.py
vision_tools.py
voice_mode.py
wake_word.py
web_tools.py
website_policy.py
working_diff.py
write_approval.py
x_search_tool.py
xai_http.py fix(secrets): scope tier-3 credential reads (teams_pipeline, deepinfra models, FAL/XAI/VERCEL/DAYTONA/GITHUB presence, HERMES_API_KEY display) 2026-08-02 10:04:48 -07:00
xai_video_tools.py
yuanbao_tools.py