feat(mesh): add Xquik fallback and repair Mesh docs links - #148
Open
kriptoburak wants to merge 1 commit into
Open
feat(mesh): add Xquik fallback and repair Mesh docs links#148kriptoburak wants to merge 1 commit into
kriptoburak wants to merge 1 commit into
Conversation
kriptoburak
force-pushed
the
codex/add-xquik-twitter-provider
branch
from
July 20, 2026 02:23
8525831 to
2050e61
Compare
kriptoburak
force-pushed
the
codex/add-xquik-twitter-provider
branch
from
July 29, 2026 13:12
2050e61 to
bfaea0a
Compare
kriptoburak
force-pushed
the
codex/add-xquik-twitter-provider
branch
from
July 29, 2026 13:13
bfaea0a to
7980f65
Compare
Author
|
Audited and repaired this contribution at signed commit The Xquik request previously opted into normalized snake_case responses while the provider parsed default v1 camelCase fields. Real responses could therefore lose dates and engagement metrics. The request now sends only the environment-backed API key, matching the parser and fixtures. A focused assertion protects that contract. The branch is rebased onto current upstream |
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.
Description
Adds Xquik as an optional provider for
TwitterInfoAgent. When the primaryprovider is unavailable or unconfigured,
XQUIK_API_KEYenables profilelookup, timelines, search, tweet detail, thread context, and replies before the
agent uses its final fallback.
The integration preserves the existing response shape, sends credentials only
through environment-backed request headers, forwards requested timeline limits,
updates agent metadata, and includes mocked examples that require no live key.
Independent Repository Fix
The API documentation links in both
README.mdandmesh/README.mdredirectedto a 404 page. They now point to the current Heurist Mesh overview, which returns
HTTP 200.
Related Issues / Tickets
None.
How Has This Been Tested?
uv run --python 3.12 python mesh/tests/twitter_info_agent_xquik.pyuv run --python 3.12 python -m py_compile mesh/agents/twitter_info_agent.py mesh/tests/twitter_info_agent_xquik.pyuv run --python 3.12 ruff check --line-length=120 mesh/agents/twitter_info_agent.py mesh/tests/twitter_info_agent_xquik.pyuv run --python 3.12 ruff format --check --line-length=120 mesh/agents/twitter_info_agent.py mesh/tests/twitter_info_agent_xquik.pygit diff --checkmain.Checklist
TwitterInfoAgentmetadata.Xquik is an independent third-party service. Not affiliated with X Corp.
"Twitter" and "X" are trademarks of X Corp.