hermes-agent/gateway/platforms
Teknium 8bb1d15da4
chore: remove ~100 unused imports across 55 files (#3016)
Automated cleanup via pyflakes + autoflake with manual review.

Changes:
- Removed unused stdlib imports (os, sys, json, pathlib.Path, etc.)
- Removed unused typing imports (List, Dict, Any, Optional, Tuple, Set, etc.)
- Removed unused internal imports (hermes_cli.auth, hermes_cli.config, etc.)
- Fixed cli.py: removed 8 shadowed banner imports (imported from hermes_cli.banner
  then immediately redefined locally — only build_welcome_banner is actually used)
- Added noqa comments to imports that appear unused but serve a purpose:
  - Re-exports (gateway/session.py SessionResetPolicy, tools/terminal_tool.py
    is_interrupted/_interrupt_event)
  - SDK presence checks in try/except (daytona, fal_client, discord)
  - Test mock targets (auxiliary_client.py Path, mcp_config.py get_hermes_home)

Zero behavioral changes. Full test suite passes (6162/6162, 2 pre-existing
streaming test failures unrelated to this change).
2026-03-25 15:02:03 -07:00
..
__init__.py Enhance CLI with multi-platform messaging integration and configuration management 2026-02-02 19:01:51 -08:00
ADDING_A_PLATFORM.md docs: finish cron terminology cleanup 2026-03-14 19:20:58 -07:00
api_server.py fix(api_server): streaming breaks when agent makes tool calls (#2985) 2026-03-25 09:56:20 -07:00
base.py fix(discord): stop phantom typing indicator after agent turn completes (#3003) 2026-03-25 11:28:28 -07:00
dingtalk.py fix(dingtalk): requirements check passes with only one credential set 2026-03-17 03:50:45 -07:00
discord.py chore: remove ~100 unused imports across 55 files (#3016) 2026-03-25 15:02:03 -07:00
email.py chore: remove ~100 unused imports across 55 files (#3016) 2026-03-25 15:02:03 -07:00
homeassistant.py chore: remove ~100 unused imports across 55 files (#3016) 2026-03-25 15:02:03 -07:00
matrix.py chore: remove ~100 unused imports across 55 files (#3016) 2026-03-25 15:02:03 -07:00
mattermost.py chore: remove ~100 unused imports across 55 files (#3016) 2026-03-25 15:02:03 -07:00
signal.py fix(signal): use id instead of attachmentId in getAttachment RPC 2026-03-21 17:56:12 -07:00
slack.py chore: remove ~100 unused imports across 55 files (#3016) 2026-03-25 15:02:03 -07:00
sms.py chore: remove ~100 unused imports across 55 files (#3016) 2026-03-25 15:02:03 -07:00
telegram.py chore: remove ~100 unused imports across 55 files (#3016) 2026-03-25 15:02:03 -07:00
webhook.py feat(gateway): add webhook platform adapter for external event triggers 2026-03-20 06:33:36 -07:00
whatsapp.py chore: remove ~100 unused imports across 55 files (#3016) 2026-03-25 15:02:03 -07:00