Skip to content

WIP feat: dual-era datatypes and server handling for 2026-07-28 (T4, T8) - #1

Closed
sideeffffect wants to merge 1 commit into
feat/protocol-2026-07-28from
feat/protocol-2026-07-28-server
Closed

sideeffffect wants to merge 1 commit into
feat/protocol-2026-07-28from
feat/protocol-2026-07-28-server

Conversation

@sideeffffect

Copy link
Copy Markdown
Owner

WIP — stacked on top of softwaremill#238.

Base is that PR's branch, so this diff shows only the parts that were moved out of softwaremill#238 at review request (keeping softwaremill#238 scoped to T1 + T2). Review/merge after softwaremill#238.

Carries two tickets:

Once softwaremill#238 merges into 2026-07-28-protocol-support, this can be retargeted there (or split into separate T4 and T8 PRs if preferred).

🤖 Generated with Claude Code

Stacked on top of softwaremill#238 (T1 + T2).
Carries the parts moved out of that PR at review request:

T4 (softwaremill#242) - request metadata, result type, cache hints, error codes, discover types:
- Versioning.scala: ProtocolMeta, CacheScope, DiscoverResult (+ getSupportedVersions)
- JSONRPCErrorCodes.UnsupportedProtocolVersion (-32022)
- ProtocolVersion.supported / isModern
- DiscoverResultSpec + DiscoverResult / UnsupportedProtocolVersionError schema conformance

T8 (softwaremill#246) - serve 2026-07-28 requests next to legacy requests:
- McpHandler: server/discover, per-request modern-version validation, dual-era dispatch
- McpHandlerSpec: discover, -32022, modern and legacy-path coverage
- docs/server/capabilities.md

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@sideeffffect

Copy link
Copy Markdown
Owner Author

Reopened on upstream: softwaremill#260

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.

1 participant