Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .githooks/pre-commit
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions .github/workflows/java-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,5 @@ jobs:
path: |
java/target/surefire-reports/
java/target/surefire-reports-isolated/
java/target/failsafe-reports/
retention-days: 7
2 changes: 1 addition & 1 deletion java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Java SDK for programmatic control of GitHub Copilot CLI, enabling you to build A

```groovy
implementation 'com.github:copilot-sdk-java:1.0.0-beta-10-java.0'

```

#### Snapshot Builds

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/

package com.github.copilot.rpc;

import com.fasterxml.jackson.annotation.JsonInclude;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ public ResumeSessionConfig setProvider(ProviderConfig provider) {
* {@code true}, telemetry is enabled for GitHub-authenticated sessions. When a
* custom {@link ProviderConfig} (BYOK) is configured, session telemetry is
* always disabled regardless of this setting. This is independent of
* {@link com.github.copilot.rpc.CopilotClientOptions#getTelemetry()
* {@link CopilotClientOptions#getTelemetry()
* CopilotClientOptions.TelemetryConfig}, which configures OpenTelemetry export
* for observability.
*
Expand Down Expand Up @@ -1060,8 +1060,9 @@ public String getMcpOAuthTokenStorage() {
* <li>{@code "in-memory"} — tokens are stored in memory and discarded when the
* session ends</li>
* </ul>
* If not set, the SDK defaults to {@code "in-memory"} for safe multitenant
* behavior.
* If not set and the client is in {@link CopilotClientMode#EMPTY EMPTY} mode,
* the SDK defaults to {@code "in-memory"} for safe multitenant behavior. In
* other modes this field is left unset.
*
* @param mcpOAuthTokenStorage
* the storage mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -705,8 +705,9 @@ public String getMcpOAuthTokenStorage() {
* <li>{@code "in-memory"} — tokens are stored in memory and discarded when the
* session ends</li>
* </ul>
* If not set, the SDK defaults to {@code "in-memory"} for safe multitenant
* behavior.
* If not set and the client is in {@link CopilotClientMode#EMPTY EMPTY} mode,
* the SDK defaults to {@code "in-memory"} for safe multitenant behavior. In
* other modes this field is left unset.
*
* @param mcpOAuthTokenStorage
* the storage mode
Expand Down
Loading