AgentCliAgentExt extension
Implementation members of AgentCli for agent-type discovery and listing.
- on
Methods
-
discoverAgentsFromRoots(
({List< AgentRoot> projectRoots, List<AgentRoot> userRoots}) roots, {Set<SkillSource> ? allowedSources}) → Future<void> -
Available on AgentCli, provided by the AgentCliAgentExt extension
Fire-and-forget discovery: scans project + user roots for agent .md files.allowedSourcesrestricts which root sources are scanned (the third-party consent gate;null= all). -
handleAgentsCommand(
String rest) → Future< void> -
Available on AgentCli, provided by the AgentCliAgentExt extension
/agents [types|<id>|open <id>]— the agents tree panel (Variant B): -
listAgentTypes(
) → void -
Available on AgentCli, provided by the AgentCliAgentExt extension
/agents: lists all available agent types (built-in + discovered). -
pickAgentAction(
String key) → Future< void> -
Available on AgentCli, provided by the AgentCliAgentExt extension
Picker routing for the child action picker. -
pickAgentFromTree(
String key) → Future< void> -
Available on AgentCli, provided by the AgentCliAgentExt extension
Picker routing for the agents tree (main → info, child → observe view, noop → nothing).