Class AgentsGetDiscoveryPathsRequest

java.lang.Object
com.github.copilot.generated.rpc.AgentsGetDiscoveryPathsRequest

@CopilotExperimental @Generated("copilot-sdk-codegen") public final class AgentsGetDiscoveryPathsRequest extends Object
Optional project paths to include when enumerating agent discovery directories.

Required inputs are constructor arguments. Optional inputs have fluent setters.

Since:
1.0.0
  • Constructor Details

    • AgentsGetDiscoveryPathsRequest

      public AgentsGetDiscoveryPathsRequest()
      Creates a request with its required inputs.
  • Method Details

    • getProjectPaths

      public List<String> getProjectPaths()
      Returns the projectPaths property.
      Returns:
      Optional list of project directory paths. When omitted or empty, only the user-level directory is returned.
    • getExcludeHostAgents

      public Boolean getExcludeHostAgents()
      Returns the excludeHostAgents property.
      Returns:
      When true, omit the host's user-level agent directory, leaving only project directories. For multitenant deployments (mirrors `discover`'s `excludeHostAgents`).
    • getAgentDirectories

      public List<String> getAgentDirectories()
      Returns the agentDirectories property.
      Returns:
      Explicit discovery-only agent roots to enumerate, including configured missing directories. Relative paths resolve against the request's effective working directory when supplied. These are not filesystem grants or preferred creation targets. Null and omission are equivalent.
    • setProjectPaths

      public AgentsGetDiscoveryPathsRequest setProjectPaths(List<String> value)
      Sets the projectPaths property.
      Parameters:
      value - Optional list of project directory paths. When omitted or empty, only the user-level directory is returned.
      Returns:
      this request
    • setExcludeHostAgents

      public AgentsGetDiscoveryPathsRequest setExcludeHostAgents(Boolean value)
      Sets the excludeHostAgents property.
      Parameters:
      value - When true, omit the host's user-level agent directory, leaving only project directories. For multitenant deployments (mirrors `discover`'s `excludeHostAgents`).
      Returns:
      this request
    • setAgentDirectories

      public AgentsGetDiscoveryPathsRequest setAgentDirectories(List<String> value)
      Sets the agentDirectories property.
      Parameters:
      value - Explicit discovery-only agent roots to enumerate, including configured missing directories. Relative paths resolve against the request's effective working directory when supplied. These are not filesystem grants or preferred creation targets. Null and omission are equivalent.
      Returns:
      this request