hermes-agent/plugins/platforms
teknium1 d2ac38cf6c
fix(dingtalk): broaden optional-SDK import guards to catch non-ImportError (cryptography version skew)
CI shard (test 1) deterministically failed importing the dingtalk plugin:
alibabacloud_dingtalk transitively imports cryptography and raises
AttributeError ('cryptography.utils' has no attribute 'DeprecatedIn46') when
CI's cryptography is older than the SDK expects. The adapter guarded that SDK
import with 'except ImportError', which does NOT catch AttributeError, so the
whole adapter (and thus plugin discovery via __init__'s 'from .adapter import
register') crashed instead of degrading. Broadened the alibabacloud_dingtalk
guard, the dingtalk_stream guard, and the check_dingtalk_requirements lazy
re-import to 'except Exception' so a broken optional SDK dependency chain
degrades gracefully (CARD_SDK_AVAILABLE/DINGTALK_STREAM_AVAILABLE=False), same
as a missing dep. This was invisible before migration because the inline
adapter was only imported when dingtalk was activated, not at plugin-discovery
time.
2026-06-07 06:52:38 -07:00
..
dingtalk fix(dingtalk): broaden optional-SDK import guards to catch non-ImportError (cryptography version skew) 2026-06-07 06:52:38 -07:00
discord fix(discord): fail closed for component button auth when no allowlist set 2026-06-07 06:21:37 -07:00
email refactor(gateway): migrate email + sms adapters to bundled plugins 2026-06-07 06:32:02 -07:00
feishu test+fix: rewrite migrated-platform test imports; fix connected-check discovery, telegram extra precedence, prompt_choice import 2026-06-07 06:23:08 -07:00
google_chat fix: guard int(os.getenv()) casts against malformed env vars (#40598) 2026-06-07 06:14:24 -07:00
homeassistant refactor(gateway): migrate Home Assistant adapter to bundled plugin 2026-06-06 11:46:24 -07:00
irc fix: guard int(os.getenv()) casts against malformed env vars (#40598) 2026-06-07 06:14:24 -07:00
line fix(line): map inbound message types to the correct MessageType 2026-06-04 21:55:20 -07:00
matrix fix: plugin is_connected reads via gateway.get_env_value; matrix gets explicit is_connected; setup-flow test stubs 2026-06-07 06:23:08 -07:00
mattermost refactor(gateway): migrate Mattermost adapter to bundled plugin 2026-05-24 18:05:33 -07:00
ntfy test(ntfy): cover echo-tag filter; tag standalone send path 2026-05-29 13:17:46 -07:00
simplex fix(simplex): accept display name in SIMPLEX_ALLOWED_USERS 2026-06-07 04:53:22 -07:00
sms refactor(gateway): migrate email + sms adapters to bundled plugins 2026-06-07 06:32:02 -07:00
teams chore: ruff auto-fix PLR6201 resweep — tuple → set in membership tests (#27355) 2026-05-17 02:29:41 -07:00
telegram fix: plugin is_connected reads via gateway.get_env_value; matrix gets explicit is_connected; setup-flow test stubs 2026-06-07 06:23:08 -07:00
wecom refactor(gateway): migrate wecom + wecom_callback adapters to bundled plugin 2026-06-07 06:23:08 -07:00
whatsapp fix: plugin is_connected reads via gateway.get_env_value; matrix gets explicit is_connected; setup-flow test stubs 2026-06-07 06:23:08 -07:00