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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theexcludeHostInstructionsproperty.Returns theinstructionDirectoriesproperty.Returns theprojectPathsproperty.Sets theexcludeHostInstructionsproperty.setInstructionDirectories(List<String> value) Sets theinstructionDirectoriesproperty.setProjectPaths(List<String> value) Sets theprojectPathsproperty.
-
Constructor Details
-
InstructionsDiscoverRequest
public InstructionsDiscoverRequest()Creates a request with its required inputs.
-
-
Method Details
-
getProjectPaths
-
getExcludeHostInstructions
Returns theexcludeHostInstructionsproperty.- 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
Returns theinstructionDirectoriesproperty.- 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
Sets theprojectPathsproperty.- 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
Sets theexcludeHostInstructionsproperty.- 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
Sets theinstructionDirectoriesproperty.- 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
-