You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/cross-repo-issue-analysis.md
+4-17Lines changed: 4 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
description: Analyzes copilot-sdk issues to determine if a fix is needed in copilot-agent-runtime, then opens a linked issue and suggested-fix PR there
2
+
description: Analyzes copilot-sdk issues to determine if a fix is needed in copilot-agent-runtime, then opens a linked issue there
@@ -106,18 +98,13 @@ Classify the issue into one of these categories:
106
98
- References the original SDK issue (e.g., `github/copilot-sdk#123`)
107
99
- Includes the specific files and code paths involved
108
100
- Suggests a fix approach
109
-
- Create a draft PR in `github/copilot-agent-runtime` with a suggested fix:
110
-
- Make the minimal, targeted code changes needed
111
-
- Include a clear PR description linking back to both issues
112
-
- If you're uncertain about the fix, still create the PR as a starting point for discussion
113
101
114
102
3.**Needs-investigation**: You cannot confidently determine the root cause. Label the issue `needs-investigation`.
115
103
116
104
## Guidelines
117
105
118
106
1.**Be thorough but focused**: Read enough code to be confident in your analysis, but don't read every file in both repos
119
107
2.**Err on the side of creating the runtime issue**: If there's a reasonable chance the fix is in the runtime, create the issue. False positives are better than missed upstream bugs.
120
-
3.**Make actionable PRs**: Even if the fix isn't perfect, a draft PR with a concrete starting point is more useful than just an issue description
121
-
4.**Link everything**: Always cross-reference between the SDK issue, runtime issue, and runtime PR so maintainers can follow the trail
122
-
5.**Be specific**: When describing the root cause, point to specific files, functions, and line numbers in both repos
123
-
6.**Don't duplicate**: Before creating a runtime issue, search existing open issues in `github/copilot-agent-runtime` to avoid duplicates. If a related issue exists, reference it instead of creating a new one.
108
+
3.**Link everything**: Always cross-reference between the SDK issue and runtime issue so maintainers can follow the trail
109
+
4.**Be specific**: When describing the root cause, point to specific files, functions, and line numbers in both repos
110
+
5.**Don't duplicate**: Before creating a runtime issue, search existing open issues in `github/copilot-agent-runtime` to avoid duplicates. If a related issue exists, reference it instead of creating a new one.
### Feature: backward compatibility with v2 CLI servers
11
+
12
+
SDK applications written against the v3 API now also work when connected to a v2 CLI server, with no code changes required. The SDK detects the server's protocol version and automatically adapts v2 `tool.call` and `permission.request` messages into the same user-facing handlers used by v3. ([#706](https://github.com/github/copilot-sdk/pull/706))
13
+
14
+
```ts
15
+
const session =awaitclient.createSession({
16
+
tools: [myTool], // unchanged — works with v2 and v3 servers
### Feature: multi-client tool and permission broadcasts (protocol v3)
31
+
32
+
The SDK now uses protocol version 3, where the runtime broadcasts `external_tool.requested` and `permission.requested` as session events to all connected clients. This enables multi-client architectures where different clients contribute different tools, or where multiple clients observe the same permission prompts — if one client approves, all clients see the result. Your existing tool and permission handler code is unchanged. ([#686](https://github.com/github/copilot-sdk/pull/686))
33
+
34
+
```ts
35
+
// Two clients each register different tools; the agent can use both
### Feature: strongly-typed `PermissionRequestResultKind` for .NET and Go
58
+
59
+
Rather than comparing `result.Kind` against undiscoverable magic strings like `"approved"` or `"denied-interactively-by-user"`, .NET and Go now provide typed constants. Node and Python already had typed unions for this; this brings full parity. ([#631](https://github.com/github/copilot-sdk/pull/631))
60
+
61
+
```cs
62
+
session.OnPermissionCompleted+= (e) => {
63
+
if (e.Result.Kind==PermissionRequestResultKind.Approved) { /* ... */ }
64
+
if (e.Result.Kind==PermissionRequestResultKind.DeniedInteractivelyByUser) { /* ... */ }
if result.Kind == copilot.PermissionKindApproved { /* ... */ }
72
+
```
73
+
74
+
### Other changes
75
+
76
+
- feature: **[Python]****[Go]** add `get_last_session_id()` / `GetLastSessionID()` for SDK-wide parity (was already available in Node and .NET) ([#671](https://github.com/github/copilot-sdk/pull/671))
77
+
- improvement: **[Python]** add `timeout` parameter to generated RPC methods, allowing callers to override the default 30s timeout for long-running operations ([#681](https://github.com/github/copilot-sdk/pull/681))
78
+
- bugfix: **[Go]**`PermissionRequest` fields are now properly typed (`ToolName`, `Diff`, `Path`, etc.) instead of a generic `Extra map[string]any` catch-all ([#685](https://github.com/github/copilot-sdk/pull/685))
@@ -107,8 +112,12 @@ Please use the [GitHub Issues](https://github.com/github/copilot-sdk/issues) pag
107
112
108
113
## Quick Links
109
114
115
+
-**[Documentation](./docs/index.md)** – Full documentation index
110
116
-**[Getting Started](./docs/getting-started.md)** – Tutorial to get up and running
117
+
-**[Setup Guides](./docs/setup/index.md)** – Architecture, deployment, and scaling
111
118
-**[Authentication](./docs/auth/index.md)** – GitHub OAuth, BYOK, and more
119
+
-**[Features](./docs/features/index.md)** – Hooks, custom agents, MCP, skills, and more
120
+
-**[Troubleshooting](./docs/troubleshooting/debugging.md)** – Common issues and solutions
112
121
-**[Cookbook](https://github.com/github/awesome-copilot/blob/main/cookbook/copilot-sdk)** – Practical recipes for common tasks across all languages
113
122
-**[More Resources](https://github.com/github/awesome-copilot/blob/main/collections/copilot-sdk.md)** – Additional examples, tutorials, and community resources
0 commit comments