Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: github/copilot-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: github/copilot-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: davidfowl-probable-telegram
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Oct 6, 2026

  1. feat(rust): port read-only original-session policy getter

    Port only published leaf 7682348 (parent 6f67591, tree 8724767) onto recorded SDK baseline ef04633. Applied via git cherry-pick --no-commit without conflicts; stable patch ID 84ff457e169aca1de6790c95cbd024e0c449f31d matches exactly.
    
    Generated Rust declarations are reused from the published leaf, not hand-edited or independently regenerated here. Source reports API SHA256 7f2f51e8ea294ec8fa116da77ff58bf0e1fea4d8fb0b4bcfd460195e2fd667f6 and events SHA256 1e363c28ca3b2197ea4baf2ba25980138eda63213cd8a6585151deeb111a882d. Canonical runtime a1c2f57babcdd3dea5a406ca34e726745ef8ba74 and predecessor eaec03ae972f75282fe5122bebd54cba3c6cae01 are caller-supplied provenance, not an independent canonical derivation performed in this port.
    
    Validated serially using locked external-stream-only Cargo builds: 3 focused getter tests, 178 affected session tests, 11 framed JSON-RPC tests, nightly format check and focused Clippy. One unrelated Client::start configuration test requires the runtime feature and was excluded from the passing session run. Preserve all other files, public APIs, dependency manifests/locks, Node/build/harness paths and CLI pins. No app/runtime launch or guard input consumption.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Copilot committed Oct 6, 2026
    Configuration menu
    Copy the full SHA
    4348ec7 View commit details
    Browse the repository at this point in the history
  2. feat(rust): add typed original-owner export guard RPC

    Port only the canonical guardExport method constant, RemoteGuardExportResult, SessionRemoteGuardExportParams/Result and SessionRpcRemote::guard_export from published github/copilot-agent-runtime eae65d27df485bad0e2849d01672436e2c726470 (parent 1855ddfafd3194a4a28c6631c45a9cd1ddc688e3, tree ce1f17a33732584582dcc5e5a1bdd8c54454d35b) onto SDK 4348ec7.
    
    Independently verified remote source ref, immutable commit/tree and full Git blobs. API schema blob b92419fc405c1f0212691bd72ebc209512113c0f is 2234776 bytes, SHA256 cfa51e2835189c419dd68c3b90921817673802a7bbf58b48777c83ce17953be5. Events blob 7c2ce2b282daefa116f47f3a6712502ff80662ed SHA256 1e363c28ca3b2197ea4baf2ba25980138eda63213cd8a6585151deeb111a882d. Generated source blobs: api_types.rs 1908532835dfde2ca3aa12dae07b252ebb32df78, rpc.rs a25bcc79c9f1578179c1ff3632f23d81aec2bcf1. Canonical guard-only blocks extracted mechanically and verified byte-for-byte, not regenerated independently or hand-authored. Removing the additions reproduces both SDK baseline generated files exactly.
    
    Framed tests cover retained original sessionId, exact method and params, true/false receipts, missing/null/wrong types, unknown/unsubscribed/non-origin/missing-session RPC refusals and absence of extra/fallback/mutating RPCs. Serial locked external-stream validation: 6 getter/guard tests, 181 applicable session tests and 11 JSON-RPC tests passed; nightly format and focused Clippy passed. Unchanged Client::start validation test still requires runtime feature and fails in external-stream-only mode; no assertions weakened. No live runtime ownership validation claimed.
    
    Only four approved Rust leaf paths change. Preserve getter, all other APIs/files, CLI/Node/dependency/build/harness pins and protocol/events. No runtime/app launch, listener/export creation, mode change, PR or packages. SDK transport availability does not admit an executable/provider or complete github/github-app#18298.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Copilot committed Oct 6, 2026
    Configuration menu
    Copy the full SHA
    bbb80a9 View commit details
    Browse the repository at this point in the history
Loading