@github/copilot-sdk
Advanced tools
@@ -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", |
96727
0.84%2693
1.2%