softwaremill / softwaremill/chimp
T4 - add request metadata, result type, cache hints, error codes, discover schemas types
Open
Nobody has claimed this yet.
2026-07-28 version support
- Dominant language
- Scala
- Stars
- 102
- Forks
- 10
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 16
Description
Target branch: 2026-07-28-protocol-support
MetaKeysobject with the reserved_metakeys (progressToken,io.modelcontextprotocol/protocolVersion,
clientInfo,clientCapabilities,logLevel,subscriptionId,serverInfo,traceparent,tracestate,
baggage) and helpers to read and write typed values inOption[Map[String, Json]].ResultType(Complete,InputRequired,Other(String)) andresultType: Option[ResultType]on every result type.CacheScope(Public,Private) andttlMs,cacheScopeonListToolsResponse,ListPromptsResult,
ListResourcesResult,ListResourceTemplatesResult,ReadResourceResult.DiscoverParamsandDiscoverResultforserver/discover.- Error codes
-32020,-32021,-32022with typeddata(supported,requested,requiredCapabilities). extensions: Option[Map[String, Json]]onClientCapabilitiesandServerCapabilities.- Schema test cases for each type against the 2026-07-28 schema.
Spec:
- Basic - _meta
- Basic - Result Responses
- Basic - Error Codes
- Caching - Cacheable Results
- Discover - DiscoverResult
- Versioning - Extension Negotiation
- Schema - RequestMetaObject
- Schema - CacheableResult
- Schema - ServerCapabilities
Conformance scenarios that must pass after this task: none.
Docs: no.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the linked 2026-07-28 specification sections first, then locate the existing result, capability, error, and schema-test types in the Scala project. Implement the listed metadata, result, caching, discovery, error, and extension additions, and add schema test cases for each type against the 2026-07-28 schema.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100