Skip to main content

Module target

Module target 

Source
Expand description

The address an agents__* call names.

Re-exports§

use crate::mcp::peers::types::PeerStatus; ðŸ”’

Structs§

AgentTarget
A seat named the way forge names one: the (org, project, label) slot, with lead reserved for a project’s own agent.

Enums§

TargetError
Why a caller-supplied target did not resolve to a seat. The two are separate variants because they call for different corrections: a malformed target needs a field filled in, an unknown one needs the project name checked.

Constants§

LEAD_LABEL
The reserved spelling for a project’s own agent - the same one the worker and cron paths already resolve a slot with. Reserved label for a project’s own agent, addressed as the label of an agents__send_message target. agents__spawn rejects it so no live worker can shadow the keyword.