包package
agentscope.app.channelagentscope.app.channel
module agentscope.app.channel
agentscope.app.channel 属于渠道与平台集成,把智能体接入企业消息生态。 该包共收录 19 个公开类型。
Channels translate a platform (DingTalk, Feishu, ...) to/from normalised
events;
the stateless :class:ChannelGateway orchestrates each event;
:class:~agentscope.app._service.ChannelService owns CRUD;
:class:ChannelLifecycleDispatcher keeps this node's live instances
reconciled with storage.
源码Source
agentscope/app/channel/__init__.py:1子包Subpackages
类Classes
BindingState类class | 绑定状态,把智能体接入外部消息渠道与企业平台。 Where a binding session is in its lifecycle. |
BindingStep类class | 绑定步骤,把智能体接入外部消息渠道与企业平台。 What one call to a provider produced. |
ChannelBase类class | 平台渠道的抽象基类。 Abstract base for platform channels. |
ChannelCapability类class | 渠道能力,把智能体接入外部消息渠道与企业平台。 Platform capability declaration for gateway degradation decisions. |
ChannelClients类class | 渠道客户端,封装与远端服务的连接和调用。 Builds and caches unconnected channel instances by channel id. |
ChannelConfirmationResultEvent类class | 渠道确认结果事件,描述执行过程中的事件。 A user's decision on a pending tool-approval, delivered inbound. |
ChannelError类class | 渠道错误,把智能体接入外部消息渠道与企业平台。 A channel operation failed. |
ChannelEvent类class | 渠道事件,描述执行过程中的事件。 A normalised inbound message from an external platform. |
ChannelGateway类class | 渠道网关,把智能体接入外部消息渠道与企业平台。 Route inbound channel events into runs; resume on card clicks. |
ChannelHeartbeat类class | 渠道心跳,把智能体接入外部消息渠道与企业平台。 One node's report of a channel's status, stamped with the time it was written. |
ChannelLifecycleDispatcher类class | 渠道生命周期调度器,把智能体接入外部消息渠道与企业平台。 Reconciles this node's channel instances against storage. |
ChannelStatus类class | 渠道状态,把智能体接入外部消息渠道与企业平台。 Live connection status of a running channel adapter — owned and updated by the adapter itself; read by the dispatcher's status API. |
ChannelTypeRegistry类class | 渠道类型注册表,把智能体接入外部消息渠道与企业平台。 The channel types a service allows, keyed by ``channel_type``. |
ChannelTypeSchema类class | 渠道类型模式,把智能体接入外部消息渠道与企业平台。 Frontend-facing metadata for one channel type. |
ChatKind类class | 聊天种类,把智能体接入外部消息渠道与企业平台。 A chat's audience shape, used to tailor the agent's context. |
CredentialBindingBase类class | 凭证绑定基类,把智能体接入外部消息渠道与企业平台。 Base for a channel type's interactive credential flow. |
DingTalkChannel类class | DingTalk 渠道,把智能体接入外部消息渠道与企业平台。 DingTalk enterprise application robot channel. |
DiscordChannel类class | Discord 渠道,把智能体接入外部消息渠道与企业平台。 Discord platform channel. |
FeishuChannel类class | Feishu 渠道,把智能体接入外部消息渠道与企业平台。 Feishu platform channel (SDK long-connection mode). |