Skip to content

About

ChannelHub 是 VCP 的多渠道通信控制中心,不是第二个 VCP。 它让原本主要在 VCPChat 中使用的 Agent,能够通过 QQ 等外部渠道接收消息、选择响应身份、调用现有 VCP 服务,并将结果返回原渠道。 这套系统的目标可以拆成三个层次: 1. ChannelHub 解决“消息怎么进来、交给谁、怎么回去”。 2. NativeSync 解决“同一个人换渠道以后,是否还能安全接着聊”。3. VCP 解决“Agent 怎么思考、使用哪些知识、调用哪些工具”。 这些能力继续由 VCP 原生系统负责,不在 ChannelHub 中重造。

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ChannelHub

VCP-native multichannel gateway · Stable source baseline: 0.4.1

ChannelHub accepts authenticated channel events, binds channel conversations to existing VCP Agents, invokes the native VCP conversation endpoint and routes replies back to their source channels. It does not own VCP models, Agent prompts, memory stores, tools or desktop History.

Source and deployment

  • Source-of-record repository: JENN2046/ChannelHub.
  • Frozen baseline: JENN2046/VCPToolBox@fff563b2d33ad8aa93474714e050619a07e353e4, Plugin/ChannelHub/.
  • Install artifact: Plugin/ChannelHub/ is packaged as a top-level ChannelHub/ directory under the VCP host's Plugin/ directory.
  • The VCP runtime provides modules/agentManager, PORT, Key and the native plugin lifecycle. This is a VCP service plugin, not a separate Agent engine.
  • Adapter implementations, including QQPersonal / OneBot, are separate sibling plugins; this repository does not ship NapCat or live credentials.
  • Cross-end continuity and C2-R3 are not part of the 0.4.1 stable baseline.

Layout

  • Plugin/ChannelHub/: installable native VCP service, core modules, adapter contract, admin routes and UI
  • tests/: preserved regression tests, executed in the pinned VCP host fixture
  • .github/workflows/: source checks, pinned-host regression and ZIP package

Read Plugin/ChannelHub/README.md for configuration and adapter behavior.

Local development pilot

The isolated local pilot lives in dev/README.md. Run python3 -B dev/devctl.py doctor for prerequisites and python3 -B dev/devctl.py check for the pinned-host regression and synthetic fixture. This adds development helpers; the stable 46-file plugin, native APIs and CI remain unchanged. No production target or live channel credentials are supported by this pilot.

Four fixed host profiles are available: accepted (the default, ToolBox #302 merge 165a126b), reference, tencent-source, and tencent-runtime (the published commit corresponding to the observed development-machine release). Use python3 -B dev/devctl.py prepare --host all to verify one ZIP against all four isolated host fixtures. Target-host synthetic authentication and static server review are recorded separately from native lifecycle checks; this is not acceptance of a live server or channel.

Safety and release

ChannelHub is opt-in; ChannelHubEnabled=false is the example default. Runtime credentials, adapter tokens, state databases, logs and private media must not be committed. This source migration does not alter any running VCP, QQ or C2 deployment. A green CI run is not a production QQ acceptance test.

The inherited VCP-derived material requires its upstream copyright and license notices. See LICENSE and SOURCE_MIGRATION.md for scope and provenance.

License

VCP-derived source retains upstream CC BY-NC-SA 4.0 obligations. Check copyright and distribution terms before commercial use.

About

ChannelHub 是 VCP 的多渠道通信控制中心,不是第二个 VCP。 它让原本主要在 VCPChat 中使用的 Agent,能够通过 QQ 等外部渠道接收消息、选择响应身份、调用现有 VCP 服务,并将结果返回原渠道。 这套系统的目标可以拆成三个层次: 1. ChannelHub 解决“消息怎么进来、交给谁、怎么回去”。 2. NativeSync 解决“同一个人换渠道以后,是否还能安全接着聊”。3. VCP 解决“Agent 怎么思考、使用哪些知识、调用哪些工具”。 这些能力继续由 VCP 原生系统负责,不在 ChannelHub 中重造。

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages