Class SessionSandboxApi
java.lang.Object
com.github.copilot.generated.rpc.SessionSandboxApi
API methods for the
sandbox namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionRequest to disable sandboxing for the current session while resolving an active sandbox-bypass permission prompt.Identifies the target session.Request to accept the sandbox path grant offered on an active sandbox escalation permission prompt.
-
Method Details
-
getEnforcementStatus
@CopilotExperimental public CompletableFuture<SessionSandboxGetEnforcementStatusResult> getEnforcementStatus()Identifies the target session.- Since:
- 1.0.0
-
disableForSession
@CopilotExperimental public CompletableFuture<SessionSandboxDisableForSessionResult> disableForSession(SessionSandboxDisableForSessionParams params) Request to disable sandboxing for the current session while resolving an active sandbox-bypass permission prompt.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
grantPathForRequest
@CopilotExperimental public CompletableFuture<SessionSandboxGrantPathForRequestResult> grantPathForRequest(SessionSandboxGrantPathForRequestParams params) Request to accept the sandbox path grant offered on an active sandbox escalation permission prompt.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-