mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-06 13:26:40 +00:00
PLATFORM_HINTS (agent/prompt_builder.py) and _PLATFORM_DEFAULTS (gateway/display_config.py) duplicated per-platform data for every bundled messaging plugin. Both consumers already fell back to the registry (PlatformEntry.platform_hint / display_tier), so the plugin rows move onto each plugin's register() call and the core tables keep only core surfaces (cron, cli, tui, desktop, api_server hints; webhook, api_server display rows). New PlatformEntry field display_overrides: per-key defaults layered over display_tier (telegram, discord, slack, wecom had tier + tweaks). Hint text is copied byte-for-byte (the shared _MEDIA_NATIVE fragment is inlined); a base-vs-head oracle of platform_hint() and resolve_display_setting()/resolve_tool_progress() for every platform, with and without user display overrides, is byte-identical. Oversize adapters keep the hint in adapter_hint.py.