Class InstructionsDiscoverRequest

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

@CopilotExperimental @Generated("copilot-sdk-codegen") public final class InstructionsDiscoverRequest extends Object
Optional project paths to include in instruction discovery.

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

Since:
1.0.0
  • Constructor Details

    • InstructionsDiscoverRequest

      public InstructionsDiscoverRequest()
      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 to scan for repository/working-directory instruction sources. When omitted or empty, only user-level and plugin instruction sources are returned (no project scan).
    • getExcludeHostInstructions

      public Boolean getExcludeHostInstructions()
      Returns the excludeHostInstructions property.
      Returns:
      When true, omit the host's instruction sources (user/home-level files and plugin rules), leaving only repository and working-directory sources. For multitenant deployments.
    • getInstructionDirectories

      public List<String> getInstructionDirectories()
      Returns the instructionDirectories property.
      Returns:
      Explicit discovery-only instruction roots using existing SDK instruction formats, not filesystem grants. Available without ambient discovery, subject to instruction/managed 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

      public InstructionsDiscoverRequest setProjectPaths(List<String> value)
      Sets the projectPaths property.
      Parameters:
      value - Optional list of project directory paths to scan for repository/working-directory instruction sources. When omitted or empty, only user-level and plugin instruction sources are returned (no project scan).
      Returns:
      this request
    • setExcludeHostInstructions

      public InstructionsDiscoverRequest setExcludeHostInstructions(Boolean value)
      Sets the excludeHostInstructions property.
      Parameters:
      value - When true, omit the host's instruction sources (user/home-level files and plugin rules), leaving only repository and working-directory sources. For multitenant deployments.
      Returns:
      this request
    • setInstructionDirectories

      public InstructionsDiscoverRequest setInstructionDirectories(List<String> value)
      Sets the instructionDirectories property.
      Parameters:
      value - Explicit discovery-only instruction roots using existing SDK instruction formats, not filesystem grants. Available without ambient discovery, subject to instruction/managed 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