包package
io.agentscope.extensions.channel.githubio.agentscope.extensions.channel.github
package io.agentscope.extensions.channel.github
io.agentscope.extensions.channel.github 属于渠道与平台集成,把智能体接入企业消息生态。 该包共收录 8 个公开类型。
io.agentscope.extensions.channel.github belongs to the Channels & integrations layer and contains 8 public types.
类Classes
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
GitHubBotIdentityResolver | 类class | GitHub Bot 身份解析器,把智能体接入外部消息渠道与企业平台。 Resolves the bot's GitHub user id (and login) for the configured PAT by calling
`GET /user`. |
GitHubChannel | 类class | GitHub 渠道,把智能体接入外部消息渠道与企业平台。 GitHub channel adapter. |
GitHubChannelRegistry | 类class | GitHub 渠道注册表,把智能体接入外部消息渠道与企业平台。 Process-wide lookup table from `channelId` to `GitHubChannel` instance. |
GitHubInboundMapper | 类class | GitHub 入站 Mapper,把智能体接入外部消息渠道与企业平台。 Maps a GitHub webhook delivery into an `InboundMessage`. |
GitHubOutboundClient | 类class | GitHub 出站客户端,封装与远端服务的连接和调用。 GitHub outbound HTTP client. |
GitHubSignatureVerifier | 类class | GitHub Signature 校验器,把智能体接入外部消息渠道与企业平台。 Verifies the `X-Hub-Signature-256` header on GitHub webhook deliveries: a `sha256=`
prefix followed by the HMAC-SHA256 of the raw request body keyed with the configured webhook
secret. |
GitHubWebhookController | 类class | GitHub Webhook 控制器,把智能体接入外部消息渠道与企业平台。 Handles GitHub webhook deliveries. |
记录Records
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
GitHubChannelProperties | 记录record | 承载 GitHub 渠道属性数据的记录类型。 Provider-specific configuration for a single GitHub channel instance, sourced from the
`properties` block of `channels.<id>` in `agentscope.json`. |