hermes-agent/website/docs
Magaav a1ff6b45ea fix(gateway/discord): add safe startup slash sync policy
Replaces blind tree.sync() on every Discord reconnect with a diff-based
reconcile. In safe mode (default), fetch existing global commands,
compare desired vs existing payloads, skip unchanged, PATCH changed,
recreate when non-patchable metadata differs, POST missing, and delete
stale commands one-by-one. Keeps 'bulk' for legacy behavior and 'off'
to skip startup sync entirely.

Fixes restart-heavy workflows that burn Discord's command write budget
and can surface 429s when iterating on native slash commands.

Env var: DISCORD_COMMAND_SYNC_POLICY (safe|bulk|off), default 'safe'.

Co-authored-by: Codex <codex@openai.invalid>
2026-04-23 15:11:56 -07:00
..
developer-guide Rename _api_call_with_interrupt to _interruptible_api_call 2026-04-23 02:32:56 -07:00
getting-started docs: add PR review guides, rework quickstart, slim down installation 2026-04-19 05:30:50 -07:00
guides docs(cron): clarify default model/provider setup for scheduled jobs 2026-04-23 02:04:45 -07:00
integrations docs: add GMI Cloud to compatible providers list 2026-04-22 21:29:00 -07:00
reference fix(gateway/discord): add safe startup slash sync policy 2026-04-23 15:11:56 -07:00
user-guide fix(gateway/discord): add safe startup slash sync policy 2026-04-23 15:11:56 -07:00
index.md fix(docs): show sidebar on docs homepage 2026-04-16 04:24:45 -07:00