fix: support Hermes reconnects and add Xquik search - #3
Open
kriptoburak wants to merge 1 commit into
Open
Conversation
kriptoburak
force-pushed
the
codex/add-hermes-tweet-kapso-context-20260702T172724Z
branch
from
July 30, 2026 19:10
c132035 to
9383e0c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
connect(is_reconnect=...)platform contractxquik_searchtoolIndependent Fix
Fixes #2.
Hermes 0.17 and newer pass
is_reconnectto every platform adapter. The oldKapso signature rejected that keyword before the webhook listener could bind.
The adapter now accepts the exact core contract. Kapso uses push webhooks, so it
does not need a server-side reconnect queue policy.
Xquik Integration
The plugin now registers
xquik_searchthrough Hermes' native tool registry andbundles
kapso:xquik-social-research.The integration:
and pagination cursors
XQUIK_API_KEYonly from the environmentSearch results return to Hermes. Hermes decides what to summarize or send
through the existing Kapso WhatsApp adapter.
Validation
uv run --python 3.11 --isolated --with '.[test]' pytest -v: 56 passedpytest-cov: 100% statement and branch coverage forxquik_tool.pyXquik is an independent third-party service. Not affiliated with X Corp.
"Twitter" and "X" are trademarks of X Corp.