Package io.agentscope.harness.agent.gateway
package io.agentscope.harness.agent.gateway
-
ClassDescriptionRegistry and lifecycle manager for
Channeladapters.Gateway-style entrypoint: route inbound turns byMsgContext, and bind the primaryHarnessAgentfor announce delivery.Multi-agent + channel routing bootstrap.DefaultGatewayimplementation.Default single-processSubagentRegistry.Process-local fair per-key mutual exclusion for gateway turns.Routing context for inbound turns (direct API, channel adapter, group/room/thread).Deterministic session-ID derivation.Per-key mutual exclusion for gateway turns (user/channel inbound runs and subagent notification).DistributedSubagentRegistrybacked by aBaseStore.Bridge betweenAgentSpawnTooland the gateway layer.Result of exposing a subagent to the user.Rebuilds a subagentAgentinstance from its type id.Durable, recovery-oriented descriptor of an exposed subagent.Durable registry of exposed subagents, keyed bysubagentId.Thrown when a session turn gate cannot be acquired because another turn holds the lock.A handle representing an acquired session turn slot.Per-process dispatcher that wakes idle sessions when background work completes.Thin interface for the two gateway operations the dispatcher needs.