🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@github/copilot-sdk

Package Overview
Dependencies
Maintainers
21
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@github/copilot-sdk - npm Package Compare versions

Comparing version
0.1.18
to
0.1.19
+36
-4
dist/generated/session-events.d.ts

@@ -6,3 +6,3 @@ /**

* Generated by: scripts/generate-session-types.ts
* Generated at: 2026-01-22T04:11:04.988Z
* Generated at: 2026-01-26T18:08:33.710Z
*

@@ -126,2 +126,12 @@ * To update these types:

ephemeral: true;
type: "session.snapshot_rewind";
data: {
upToEventId: string;
eventsRemoved: number;
};
} | {
id: string;
timestamp: string;
parentId: string | null;
ephemeral: true;
type: "session.usage_info";

@@ -170,7 +180,26 @@ data: {

transformedContent?: string;
attachments?: {
type: "file" | "directory";
attachments?: ({
type: "file";
path: string;
displayName: string;
}[];
} | {
type: "directory";
path: string;
displayName: string;
} | {
type: "selection";
filePath: string;
displayName: string;
text: string;
selection: {
start: {
line: number;
character: number;
};
end: {
line: number;
character: number;
};
};
})[];
source?: string;

@@ -321,2 +350,4 @@ };

arguments?: unknown;
mcpServerName?: string;
mcpToolName?: string;
parentToolCallId?: string;

@@ -356,2 +387,3 @@ };

content: string;
detailedContent?: string;
};

@@ -358,0 +390,0 @@ error?: {

+1
-1

@@ -7,3 +7,3 @@ {

},
"version": "0.1.18",
"version": "0.1.19",
"description": "TypeScript SDK for programmatic control of GitHub Copilot CLI via JSON-RPC",

@@ -10,0 +10,0 @@ "main": "./dist/index.js",