hermes-agent/plugins/platforms/simplex
Repository files (latest commit first)
Filename Latest commit message Latest commit date
kshitijk4poor f9771a445d fix(simplex): warn about name allowlist entries once per process, as authz reads them
Both reconnect paths (gateway/run_adapters.py watcher and multiplex
secondary) build a FRESH SimplexAdapter before connect(is_reconnect=True),
so the per-instance _allowlist_warned flag never suppressed anything: a
daemon-down cold boot re-logged the warning on every backoff retry. Gating
on `not is_reconnect` would instead lose the warning when the first connect
fails. Dedup at module level keyed on (hermes_home_key(), frozenset(names)),
still checked before the connectivity probe. No shared warn-once helper
exists (plugin_compat.warn_once is compat-specific).

Read the value with platform_gate_env (the reader authz uses; differs from
get_scoped_secret when a scope is installed with multiplex off) and decode
JSON list literals with decode_json_list_literal like _coerce_allow_set, so
'["4","9"]' written by `hermes config set` no longer warns that valid IDs
are ignored.

The caplog test now builds two fresh adapters (first connect fails, second
succeeds) and asserts exactly one warning naming only 'alice'; it fails with
2 warnings against the pre-fold adapter.
2026-09-27 20:47:41 +05:30
..
__init__.py feat(gateway): add SimpleX Chat platform plugin 2026-05-15 01:41:30 -07:00
adapter.py fix(simplex): warn about name allowlist entries once per process, as authz reads them 2026-09-27 20:47:41 +05:30
plugin.yaml feat(simplex): groups, native attachments, text batching, auto-accept 2026-06-08 21:03:45 -07:00