feat(plugin): tiktok business messaging platform adapter - #87042
Closed
andrexibiza wants to merge 1 commit into
Closed
andrexibiza wants to merge 1 commit into
andrexibiza wants to merge 1 commit into
Conversation
… + client + models + plugin) Depends on: NousResearch#86951 (bytedance-shared) Ref NousResearch#86950 (EPIC) Ref NousResearch#86953 (Lane 2) - plugins/platforms/tiktok_business/plugin.yaml (platform kind) - webhook.py: HMAC-SHA256 verifier + event parser (nested payload.message, msg_type variants) - policy.py: capability-aware policy engine - client.py: TikTok Business API client - models.py: API models - adapter.py: PlatformAdapter implementation - plugin.py: register(ctx) -> ctx.register_platform() 7 files pass ast.parse syntax validation. Co-authored-by: Ares <a@b.com>
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.
What does this PR do?
Adds the TikTok Business Messaging platform adapter plugin for Hermes Agent. This adapter integrates with the ByteDance shared runtime library (PR #87022).
Related Issue
Ref EPIC #86950
Closes #86953
Depends on: PR #87022 (Lane 1/5: bytedance-shared library)
Changes Made
plugins/platforms/tiktok_business/— TikTok Business Messaging adapter:plugin.yaml— platform kind manifestwebhook.py— HMAC-SHA256 verifier + event parser (nested payload.message, msg_type variants)policy.py— capability-aware policy engineclient.py— TikTok Business API clientmodels.py— API modelsadapter.py— PlatformAdapter implementationplugin.py— register(ctx) → ctx.register_platform()How to Test
python -m ast.tools.parse plugins/platforms/tiktok_business/*.pyChecklist
ast.parsesyntax validation