Skip to content

Revert StreamJsonRpc to 2.22.23 (matches transitive dependency version)#34

Closed
Copilot wants to merge 2 commits intodependabot/nuget/src/CopilotSdkPlayground/StreamJsonRpc-2.24.84from
copilot/sub-pr-29
Closed

Revert StreamJsonRpc to 2.22.23 (matches transitive dependency version)#34
Copilot wants to merge 2 commits intodependabot/nuget/src/CopilotSdkPlayground/StreamJsonRpc-2.24.84from
copilot/sub-pr-29

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 23, 2026

Dependabot upgraded StreamJsonRpc from 2.22.23 to 2.24.84, but this creates a version conflict with GitHub.Copilot.SDK's transitive dependency.

Changes

  • Downgrade StreamJsonRpc: 2.24.84 → 2.22.23 to align with GitHub.Copilot.SDK's transitive dependency
  • Update README.md: Correct dependency table to reflect actual package versions

Rationale

StreamJsonRpc 2.22.23 is already pulled in transitively by GitHub.Copilot.SDK. The explicit reference is required because C# doesn't expose transitive dependencies for direct code usage (StreamJsonRpc.RemoteInvocationException in App.cs). Using the transitive version avoids potential runtime conflicts.

// App.cs requires explicit access to StreamJsonRpc namespace
catch (StreamJsonRpc.RemoteInvocationException ex)
{
    _logger.LogError("JSON-RPC Error: {Message}", ex.Message);
    return 1;
}

This follows the error handling pattern documented in GitHub.Copilot.SDK's official README.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

dependabot Bot and others added 2 commits January 22, 2026 22:18
---
updated-dependencies:
- dependency-name: StreamJsonRpc
  dependency-version: 2.24.84
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/nuget/src/CopilotSdkPlayground/StreamJsonRpc-2.24.84 branch from cbe0d2e to a93eb4f Compare January 23, 2026 01:55
@dependabot dependabot Bot deleted the branch dependabot/nuget/src/CopilotSdkPlayground/StreamJsonRpc-2.24.84 January 23, 2026 01:56
@dependabot dependabot Bot closed this Jan 23, 2026
Copilot AI changed the title [WIP] Update StreamJsonRpc to version 2.24.84 Revert StreamJsonRpc to 2.22.23 (matches transitive dependency version) Jan 23, 2026
Copilot AI requested a review from SIkebe January 23, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants