hermes - 💡(How to fix) Fix Plugin system lacks webhook delivery extension point — plugins must patch core source code [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#15006Fetched 2026-04-25 06:25:13
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Author
Participants
Timeline (top)
labeled ×4commented ×2

Fix Action

Fix / Workaround

当前 workaround:87 行 patch + patch_guard 自动恢复

RAW_BUFFERClick to expand / collapse

问题描述:

  1. 插件系统只支持 tool_call/llm_call/session 三个 hook,没有 webhook delivery 扩展点

影响:自定义 delivery 必须改 webhook.py 源码,升级后被覆盖

当前 workaround:87 行 patch + patch_guard 自动恢复

建议方案:给 VALID_HOOKS 加 delivery_handler,或者加一个 register_delivery_handler() 官方 API

Thanks

extent analysis

TL;DR

Adding a delivery_handler to VALID_HOOKS or introducing a register_delivery_handler() API could potentially resolve the issue with custom delivery in the plugin system.

Guidance

  • The current workaround involves patching webhook.py at line 87 and using patch_guard for automatic recovery, but this is not sustainable due to potential overwrites during upgrades.
  • To properly address the issue, consider proposing an official API change, such as adding delivery_handler to VALID_HOOKS, to support custom delivery without modifying core code.
  • Evaluate the feasibility of introducing a register_delivery_handler() function as an official API to allow for more flexible and sustainable custom delivery implementations.
  • Assess the impact of such changes on the existing plugin ecosystem and potential backwards compatibility issues.

Notes

The solution hinges on the feasibility of modifying the VALID_HOOKS list or introducing a new API, which may require coordination with the project maintainers or contributors.

Recommendation

Apply workaround: Introduce a register_delivery_handler() API, as it provides a more structured approach to extending the plugin system without directly modifying core files, potentially leading to a more maintainable solution.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING