Uses of Class
com.github.copilot.rpc.ResumeSessionConfig
Packages that use ResumeSessionConfig
Package
Description
Core classes for the GitHub Copilot SDK for Java.
Configuration classes and data transfer objects for the Copilot SDK.
-
Uses of ResumeSessionConfig in com.github.copilot
Methods in com.github.copilot with parameters of type ResumeSessionConfigModifier and TypeMethodDescriptionCopilotClient.resumeSession(String sessionId, ResumeSessionConfig config) Resumes an existing Copilot session. -
Uses of ResumeSessionConfig in com.github.copilot.rpc
Methods in com.github.copilot.rpc that return ResumeSessionConfigModifier and TypeMethodDescriptionResumeSessionConfig.clearCoauthorEnabled()Clears the coauthorEnabled setting.ResumeSessionConfig.clearCustomAgentsLocalOnly()Clears the customAgentsLocalOnly setting.ResumeSessionConfig.clearEnableConfigDiscovery()Clears the enableConfigDiscovery setting, reverting to the default behavior.ResumeSessionConfig.clearEnableSessionTelemetry()Clears the enableSessionTelemetry setting, reverting to the default behavior.ResumeSessionConfig.clearIncludeSubAgentStreamingEvents()Clears the includeSubAgentStreamingEvents setting, reverting to the default behavior.ResumeSessionConfig.clearManageScheduleEnabled()Clears the manageScheduleEnabled setting.ResumeSessionConfig.clearSkipCustomInstructions()Clears the skipCustomInstructions setting.ResumeSessionConfig.clone()Creates a shallow clone of thisResumeSessionConfiginstance.Sets the name of the custom agent to activate when the session starts.ResumeSessionConfig.setAvailableTools(List<String> availableTools) Sets the list of tool names that are allowed in this session.ResumeSessionConfig.setClientName(String clientName) Sets the client name to identify the application using the SDK.ResumeSessionConfig.setCoauthorEnabled(boolean coauthorEnabled) Sets whether the runtime is allowed to append aCo-authored-bytrailer.ResumeSessionConfig.setCommands(List<CommandDefinition> commands) Sets slash commands registered for this session.ResumeSessionConfig.setConfigDir(String configDir) Sets the configuration directory path.ResumeSessionConfig.setCustomAgents(List<CustomAgentConfig> customAgents) Sets custom agent configurations.ResumeSessionConfig.setCustomAgentsLocalOnly(boolean customAgentsLocalOnly) Sets whether custom-agent discovery is restricted to the session's local working directory.ResumeSessionConfig.setDefaultAgent(DefaultAgentConfig defaultAgent) Sets the default agent configuration.ResumeSessionConfig.setDisabledSkills(List<String> disabledSkills) Sets skills that should be disabled for this session.ResumeSessionConfig.setDisableResume(boolean disableResume) Sets whether to disable the session.resume event.ResumeSessionConfig.setEnableConfigDiscovery(boolean enableConfigDiscovery) Sets whether to automatically discover MCP server configurations and skill directories from the working directory.ResumeSessionConfig.setEnableSessionTelemetry(boolean enableSessionTelemetry) Enables or disables internal session telemetry for this session.ResumeSessionConfig.setExcludedTools(List<String> excludedTools) Sets the list of tool names to exclude from this session.ResumeSessionConfig.setGitHubToken(String gitHubToken) Sets the GitHub token for per-session authentication.ResumeSessionConfig.setHooks(SessionHooks hooks) Sets hook handlers for session lifecycle events.ResumeSessionConfig.setIncludeSubAgentStreamingEvents(boolean includeSubAgentStreamingEvents) Sets whether to include sub-agent streaming events in the event stream.ResumeSessionConfig.setInfiniteSessions(InfiniteSessionConfig infiniteSessions) Sets the infinite session configuration for persistent workspaces and automatic compaction.ResumeSessionConfig.setInstructionDirectories(List<String> instructionDirectories) Sets additional directories to search for custom instruction files.ResumeSessionConfig.setManageScheduleEnabled(boolean manageScheduleEnabled) Sets whether to enable themanage_scheduletool.ResumeSessionConfig.setMcpServers(Map<String, McpServerConfig> mcpServers) Sets MCP (Model Context Protocol) server configurations.Sets the AI model to use for the resumed session.ResumeSessionConfig.setModelCapabilities(ModelCapabilitiesOverride modelCapabilities) Sets per-property overrides for model capabilities, deep-merged over runtime defaults.ResumeSessionConfig.setOnAutoModeSwitch(AutoModeSwitchHandler onAutoModeSwitch) Sets a handler for auto-mode-switch requests from the server.ResumeSessionConfig.setOnElicitationRequest(ElicitationHandler onElicitationRequest) Sets a handler for elicitation requests from the server or MCP tools.ResumeSessionConfig.setOnEvent(Consumer<SessionEvent> onEvent) Sets an event handler that is registered on the session before thesession.resumeRPC is issued.ResumeSessionConfig.setOnExitPlanMode(ExitPlanModeHandler onExitPlanMode) Sets a handler for exit-plan-mode requests from the server.ResumeSessionConfig.setOnPermissionRequest(PermissionHandler onPermissionRequest) Sets a handler for permission requests from the assistant.ResumeSessionConfig.setOnUserInputRequest(UserInputHandler onUserInputRequest) Sets a handler for user input requests from the agent.ResumeSessionConfig.setProvider(ProviderConfig provider) Sets a custom API provider for BYOK scenarios.ResumeSessionConfig.setReasoningEffort(String reasoningEffort) Sets the reasoning effort level for models that support it.ResumeSessionConfig.setRemoteSession(String remoteSession) Sets the per-session remote behavior control.ResumeSessionConfig.setSkillDirectories(List<String> skillDirectories) Sets directories containing skill definitions.ResumeSessionConfig.setSkipCustomInstructions(boolean skipCustomInstructions) Sets whether to suppress loading of custom instruction files.ResumeSessionConfig.setStreaming(boolean streaming) Sets whether to enable streaming of response chunks.ResumeSessionConfig.setSystemMessage(SystemMessageConfig systemMessage) Sets the system message configuration.ResumeSessionConfig.setTools(List<ToolDefinition> tools) Sets custom tools that the assistant can invoke during the session.ResumeSessionConfig.setWorkingDirectory(String workingDirectory) Sets the working directory for the session.