generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Labels
Description
Before opening, please confirm:
Operating System
macOS 15.7.3
Kiro Version
1.24.0
Bug Description
When providing a custom LSP (running as a jar), Kiro CLI is not providing the clientInfo as specified by [1].
Steps to Reproduce
- Use some custom LSP provided as a Jar in the workspace LSP config. Our LSP will throw a NPE when
clientInfois not provided, which discovers this issue. - Run Kiro CLI with
/code init -f - Observe via
/code logsthat the NPE is thrown andclientInfois not provided
Even when adding it to the initialization_options - like seen below - the LSP receives a null clientInfo
Example config:
"initialization_options": {
"clientInfo": {
"name": "Kiro CLI",
"version": "1.0.0"
}
}
When we modify the LSP to accept a null clientInfo, then we have no such issue and it works as expected.
Expected Behavior
Kiro CLI should pass clientInfo to the LSP by default according to best satisfy the current spec of the LSP and provide as much info as possible.
Manually providing clientInfo via initialization_options should also work.
Conversation ID
No response
Additional Context
No response