Skip to content

Commit 4d4e892

Browse files
committed
Add @SInCE annotations to all classes.
1 parent 26c56b6 commit 4d4e892

89 files changed

Lines changed: 153 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/main/java/com/github/copilot/sdk/ConnectionState.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* to the Copilot CLI server.
1212
*
1313
* @see CopilotClient#getState()
14+
* @since 1.0.0
1415
*/
1516
public enum ConnectionState {
1617
/**

src/main/java/com/github/copilot/sdk/CopilotClient.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575
* session.send(new MessageOptions().setPrompt("Hello!")).get();
7676
* }
7777
* }</pre>
78+
*
79+
* @since 1.0.0
7880
*/
7981
public class CopilotClient implements AutoCloseable {
8082

src/main/java/com/github/copilot/sdk/CopilotSession.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
* @see CopilotClient#resumeSession(String,
7171
* com.github.copilot.sdk.json.ResumeSessionConfig)
7272
* @see AbstractSessionEvent
73+
* @since 1.0.0
7374
*/
7475
public final class CopilotSession implements AutoCloseable {
7576

src/main/java/com/github/copilot/sdk/JsonRpcClient.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535

3636
/**
3737
* JSON-RPC 2.0 client implementation for communicating with the Copilot CLI.
38+
*
39+
* @since 1.0.0
3840
*/
3941
class JsonRpcClient implements AutoCloseable {
4042

src/main/java/com/github/copilot/sdk/JsonRpcException.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
* <p>
1111
* This exception wraps error responses from the JSON-RPC protocol, including
1212
* the error code and message returned by the server.
13+
*
14+
* @since 1.0.0
1315
*/
1416
final class JsonRpcException extends RuntimeException {
1517

src/main/java/com/github/copilot/sdk/SdkProtocolVersion.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
/**
1010
* Provides the SDK protocol version. This must match the version expected by
1111
* the copilot-agent-runtime server.
12+
*
13+
* @since 1.0.0
1214
*/
1315
public enum SdkProtocolVersion {
1416

src/main/java/com/github/copilot/sdk/SystemMessageMode.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* system message or replace it entirely.
1515
*
1616
* @see com.github.copilot.sdk.json.SystemMessageConfig
17+
* @since 1.0.0
1718
*/
1819
public enum SystemMessageMode {
1920
/**

src/main/java/com/github/copilot/sdk/events/AbortEvent.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
/**
1111
* Event: abort
12+
*
13+
* @since 1.0.0
1214
*/
1315
@JsonIgnoreProperties(ignoreUnknown = true)
1416
public final class AbortEvent extends AbstractSessionEvent {

src/main/java/com/github/copilot/sdk/events/AbstractSessionEvent.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
*
4747
* @see com.github.copilot.sdk.CopilotSession#on(java.util.function.Consumer)
4848
* @see SessionEventParser
49+
* @since 1.0.0
4950
*/
5051
@JsonIgnoreProperties(ignoreUnknown = true)
5152
public abstract sealed class AbstractSessionEvent permits

src/main/java/com/github/copilot/sdk/events/AssistantIntentEvent.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
/**
1111
* Event: assistant.intent
12+
*
13+
* @since 1.0.0
1214
*/
1315
@JsonIgnoreProperties(ignoreUnknown = true)
1416
public final class AssistantIntentEvent extends AbstractSessionEvent {

0 commit comments

Comments
 (0)