Class AgentsDiscoverRequest
java.lang.Object
com.github.copilot.generated.rpc.AgentsDiscoverRequest
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public final class AgentsDiscoverRequest
extends Object
Optional project paths to include in agent discovery.
Required inputs are constructor arguments. Optional inputs have fluent setters.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theagentDirectoriesproperty.Returns theexcludeHostAgentsproperty.Returns theprojectPathsproperty.setAgentDirectories(List<String> value) Sets theagentDirectoriesproperty.setExcludeHostAgents(Boolean value) Sets theexcludeHostAgentsproperty.setProjectPaths(List<String> value) Sets theprojectPathsproperty.
-
Constructor Details
-
AgentsDiscoverRequest
public AgentsDiscoverRequest()Creates a request with its required inputs.
-
-
Method Details
-
getProjectPaths
-
getExcludeHostAgents
Returns theexcludeHostAgentsproperty.- Returns:
- When true, omit the host's agents (the user-level agent directory and all plugin agents), leaving only project and remote agents. For multitenant deployments.
-
getAgentDirectories
Returns theagentDirectoriesproperty.- Returns:
- Explicit discovery-only agent roots, separate from customAgents and filesystem grants. Available without ambient discovery, subject to managed/source disables. Relative paths resolve against the request's effective working directory when supplied. Null and omission are equivalent; an empty array contributes no explicit roots.
-
setProjectPaths
Sets theprojectPathsproperty.- Parameters:
value- Optional list of project directory paths to scan for project-scoped agents. When omitted or empty, only user/plugin/remote-independent agents are returned (no project scan).- Returns:
- this request
-
setExcludeHostAgents
Sets theexcludeHostAgentsproperty.- Parameters:
value- When true, omit the host's agents (the user-level agent directory and all plugin agents), leaving only project and remote agents. For multitenant deployments.- Returns:
- this request
-
setAgentDirectories
Sets theagentDirectoriesproperty.- Parameters:
value- Explicit discovery-only agent roots, separate from customAgents and filesystem grants. Available without ambient discovery, subject to managed/source disables. Relative paths resolve against the request's effective working directory when supplied. Null and omission are equivalent; an empty array contributes no explicit roots.- Returns:
- this request
-