kotlin-sdk/kotlin-sdk-client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Takuya Akamatsu 19db4b04e3
fix(client): gate completion/complete on the completions capability (#846)
Gate `completion/complete` on the server's `completions` capability
instead of `prompts`.

closes #845

## Motivation and Context

A server that declares `completions` but not `prompts` is currently
rejected for completion. Details in #845.

## How Has This Been Tested?

New `ClientAssertCapabilityTest` cases; they fail on `main` and pass
with this change. `apiCheck` / `ktlintCheck` / `detekt` pass.

## Breaking Changes

None.

## Types of changes

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update

## Checklist

- [x] I have read the [MCP
Documentation](https://modelcontextprotocol.io)
- [x] My code follows the repository's style guidelines
- [x] New and existing tests pass locally
- [x] I have added appropriate error handling
- [x] I have added or updated documentation as needed

Co-authored-by: Pavel Gorgulov <devcrocod@gmail.com>
2026-06-29 17:18:53 +02:00
..
api feat: sep-1036 add URL Mode Elicitation (#843) 2026-06-23 22:14:59 +02:00
src fix(client): gate completion/complete on the completions capability (#846) 2026-06-29 17:18:53 +02:00
build.gradle.kts test: remove mokksy dependency (#754) 2026-05-18 12:17:26 +02:00
detekt-baseline-main.xml refactor: explicit locked detekt config (#729) 2026-04-29 12:31:49 +02:00
Module.md docs: Update readme, enable Knit (#162) (#510) 2026-02-06 18:40:31 +02:00