fix+feat(gateway): salvage platform feature PRs #6914 #6851 #6909 #6852 #6842 - #7154
Merged
Conversation
When extra.base_url is set in the Telegram platform config, use it as the base URL for all Telegram API requests instead of api.telegram.org. This allows agents to route Telegram traffic through the credential proxy, which injects the real bot token — the VM never sees it. Also supports extra.base_file_url for file downloads (defaults to base_url if not set separately). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The on_processing_complete handler was never removing the eyes reaction because _send_reaction didn't return the reaction event_id. Fix: - _send_reaction returns Optional[str] event_id - on_processing_start stores it in _pending_reactions dict - on_processing_complete redacts the eyes reaction before adding completion emoji
_send_reaction now returns Optional[str] (event_id) instead of bool. Tests updated: - test_send_reaction: assert result == event_id string - test_send_reaction_no_client: assert result is None - test_on_processing_start_sends_eyes: _send_reaction returns event_id, now also asserts _pending_reactions is populated - test_on_processing_complete_sends_check: set up _pending_reactions and mock _redact_reaction, assert eyes reaction is redacted before sending check
Add debug logging when eyes reaction redaction fails, and add tests for the success=False path and the no-pending-reaction edge case. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… channel Simplified implementation of the feature from PR #6842 (RunzhouLi). Allows Discord channels/forum threads to auto-bind skills via config: discord: channel_skill_bindings: - id: "123456" skills: ["skill-a", "skill-b"] The run.py auto-skill loader now handles both str and list[str], loading multiple skills in order and concatenating their payloads. Forum threads inherit their parent channel's bindings. Co-authored-by: RunzhouLi <RunzhouLi@users.noreply.github.com>
This was referenced Apr 10, 2026
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
Salvage of 5 gateway platform feature PRs. Contributor authorship preserved via cherry-pick where applicable.
Cherry-picked (authorship preserved):
fix(feishu): wrap image bytes in BytesIO before uploading to lark SDK #6914 (Cygra) — Fix Feishu image upload: read into bytes + BytesIO wrapper for lark SDK's MultipartEncoder. Fixes "Can't recognize image format" error.
feat(telegram): support custom base_url for credential proxy routing #6851 (handsdiff) — Telegram
base_urlsupport: reads fromconfig.extra, enables credential proxy architectures. 10 lines, zero risk to existing users.fix(cli): make /status show gateway-style session status #6909 (xinbenlv) — CLI
/statuscommand: removesgateway_onlyflag, adds_show_session_status()showing session ID, model, timestamps. Separates from/statusbar.fix(matrix): remove eyes reaction on processing complete #6852 (fxfitz) — Matrix eyes reaction removal: tracks reaction event_id, redacts 👀 before sending ✅/❌. Rebased onto ProcessingOutcome enum (from bucket ②). Includes failure logging and additional test cases.
Simplified reimplementation (credited):
channel_skill_bindings: auto-load skills per channel/forum. Original PR was 385 lines; simplified to 68 additions by streamlining the resolver and multi-skill loader. Config format:run.pyauto-skill loader now handles bothstrandlist[str], loading multiple skills in order.Also closed/skipped:
Test results