Skip to content

Commit 44d4af4

Browse files
Address cloud session review feedback
Remove the manual changelog entry and standardize Rust doc examples on the published crate name. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d8136d6 commit 44d4af4

2 files changed

Lines changed: 1 addition & 31 deletions

File tree

CHANGELOG.md

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,36 +5,6 @@ All notable changes to the Copilot SDK are documented in this file.
55
This changelog is automatically generated by an AI agent when stable releases are published.
66
See [GitHub Releases](https://github.com/github/copilot-sdk/releases) for the full list.
77

8-
## Unreleased
9-
10-
### Feature: `cloud` option for creating remote sessions in the cloud
11-
12-
Create a remote session in the cloud by passing repository metadata in the create-session configuration. This option is create-only and is not used when resuming a session.
13-
14-
```ts
15-
const session = await client.createSession({
16-
cloud: {
17-
repository: { owner: "github", name: "copilot-sdk", branch: "main" },
18-
},
19-
});
20-
```
21-
22-
```cs
23-
var session = await client.CreateSessionAsync(new SessionConfig {
24-
Cloud = new CloudSessionOptions {
25-
Repository = new CloudSessionRepository {
26-
Owner = "github",
27-
Name = "copilot-sdk",
28-
Branch = "main"
29-
}
30-
}
31-
});
32-
```
33-
34-
- Python: `await client.create_session(cloud=CloudSessionOptions(repository=CloudSessionRepository(owner="github", name="copilot-sdk", branch="main")))`
35-
- Go: `client.CreateSession(ctx, &copilot.SessionConfig{Cloud: &copilot.CloudSessionOptions{Repository: &copilot.CloudSessionRepository{Owner: "github", Name: "copilot-sdk", Branch: "main"}}})`
36-
- Rust: `client.create_session(SessionConfig::default().with_cloud(CloudSessionOptions::with_repository(CloudSessionRepository::new("github", "copilot-sdk").with_branch("main")))).await?`
37-
388
## [v0.2.2](https://github.com/github/copilot-sdk/releases/tag/v0.2.2) (2026-04-10)
399

4010
### Feature: `enableConfigDiscovery` for automatic MCP and skill config loading

docs/features/remote-sessions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ session.On((SessionEvent e) =>
9797

9898
<!-- docs-validate: skip -->
9999
```rust
100-
use copilot_sdk::{Client, ClientOptions};
100+
use github_copilot_sdk::{Client, ClientOptions, PermissionRequestResult, SessionConfig};
101101

102102
let client = Client::start(
103103
ClientOptions::new().with_remote(true)

0 commit comments

Comments
 (0)