Skip to content

feat(plugin): tiktok business messaging platform adapter - #87042

Closed
andrexibiza wants to merge 1 commit into
NousResearch:mainfrom
andrexibiza:lane-2-tiktok-business-platform
Closed

andrexibiza wants to merge 1 commit into
NousResearch:mainfrom
andrexibiza:lane-2-tiktok-business-platform

Conversation

@andrexibiza

Copy link
Copy Markdown
Contributor

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 manifest
  • 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()

How to Test

python -m ast.tools.parse plugins/platforms/tiktok_business/*.py

Checklist

  • All Python files pass ast.parse syntax validation
  • Plugin lives in its own directory (no core changes)
  • Follows LINE/Discord/Telegram plugin pattern (platform kind + register())
  • Depends on Lane 1 (shared library) — not mergeable until feat(plugin): bytedance shared runtime library #87022 ships

… + 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>
@alt-glitch alt-glitch added type/feature New feature or request comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have blocked Waiting on external dependency or decision labels Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked Waiting on external dependency or decision comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Lane 2/5] tiktok-business-platform adapter: webhook + parser + policy + client + models

2 participants