Skip to content

Commit 04b5266

Browse files
committed
release: v0.9.14 Lua support and rmcp 0.14.0
- added Lua language support (parser, behavior, definition, resolution) - added Lua test fixtures, examples, grammar analysis docs - updated rmcp to 0.14.0 with renamed types and new required fields - fixed vector storage clippy panicking_unwrap false positive - updated clap, chrono, thiserror, rcgen, sysinfo dependencies
1 parent def0190 commit 04b5266

7 files changed

Lines changed: 113 additions & 38 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.9.14] - 2026-01-29
9+
10+
### Added
11+
12+
- Lua language support: parser, behavior, definition, resolution modules
13+
- Lua test fixtures and comprehensive examples
14+
- Lua grammar analysis and audit report documentation
15+
16+
### Changed
17+
18+
- Updated rmcp to 0.14.0 (CallToolRequestParams, InitializeRequestParams, StreamableHttpServerConfig API)
19+
- Updated clap to 4.5.56, chrono to 0.4.43, thiserror to 2.0.18, rcgen to 0.14.7, sysinfo to 0.38.0
20+
21+
### Fixed
22+
23+
- Vector storage clippy panicking_unwrap false positive
24+
825
## [0.9.13] - 2026-01-16
926

1027
### Added

Cargo.lock

Lines changed: 79 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "codanna"
3-
version = "0.9.13"
3+
version = "0.9.14"
44
authors = ["Angel Bartolli <bartolli@gmail.com>"]
55
edition = "2024"
66
description = "Code Intelligence for Large Language Models"
@@ -38,7 +38,7 @@ bin-dir = "{ name }-{ version }-windows-x64/{ bin }{ binary-ext }"
3838
[dependencies]
3939
anyhow = "1.0.100"
4040
bitflags = "2.10.0"
41-
clap = { version = "4.5.54", features = ["derive", "color", "env"] }
41+
clap = { version = "4.5.56", features = ["derive", "color", "env"] }
4242
crossbeam-channel = "0.5.15"
4343
dashmap = "6.1.0"
4444
dirs = "6.0.0"
@@ -49,12 +49,12 @@ notify = "8.2.0"
4949
num_cpus = "1.17.0"
5050
parking_lot = "0.12.5"
5151
rayon = "1.11.0"
52-
rmcp = { version = "0.12.0", features = ["server", "client", "transport-io", "transport-child-process", "transport-streamable-http-server", "transport-worker"] }
52+
rmcp = { version = "0.14.0", features = ["server", "client", "transport-io", "transport-child-process", "transport-streamable-http-server", "transport-worker"] }
5353
serde = { version = "1.0.228", features = ["derive"] }
5454
serde_json = "1.0.149"
5555
sha2 = "0.10"
5656
tantivy = "0.25.0"
57-
thiserror = "2.0.17"
57+
thiserror = "2.0.18"
5858
tokio = { version = "1.49.0", features = ["full"] }
5959
toml = { version = "0.9.8", features = ["preserve_order"] }
6060
tracing = "0.1.44"
@@ -83,21 +83,21 @@ serde_urlencoded = "0.7"
8383
tokio-util = "0.7.18"
8484
axum-server = { version = "0.8.0", features = ["tls-rustls-no-provider"], optional = true }
8585
rustls = { version = "0.23.36", default-features = false, features = ["ring"], optional = true }
86-
rcgen = { version = "0.14.6", optional = true }
86+
rcgen = { version = "0.14.7", optional = true }
8787
is-terminal = "0.4.17"
8888
regex = "1.12.2"
8989
tree-sitter-c = "0.24.1"
9090
tree-sitter-c-sharp = "0.23.1"
9191
tree-sitter-cpp = "0.23.4"
92-
chrono = "0.4.42"
92+
chrono = "0.4.43"
9393
git2 = { version = "0.20.3", features = ["vendored-openssl"] }
9494
tempfile = "3.24.0"
9595
serde_json5 = "0.2.1"
9696
tree-sitter-swift = "0.7.1"
9797
tree-sitter-lua = "0.4.1"
9898
glob = "0.3.3"
9999
async-trait = "0.1.89"
100-
sysinfo = "0.37.2"
100+
sysinfo = "0.38.0"
101101
indexmap = { version = "2.13.0", features = ["serde"] }
102102

103103
[dev-dependencies]

src/mcp/client.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ impl CodeIntelligenceClient {
1616
delay_before_tool_secs: Option<u64>,
1717
) -> Result<()> {
1818
use rmcp::{
19-
model::{CallToolRequestParam, ClientRequest, CustomRequest, JsonObject},
19+
model::{CallToolRequestParams, ClientRequest, CustomRequest, JsonObject},
2020
service::ServiceExt,
2121
transport::{ConfigureCommandExt, TokioChildProcess},
2222
};
@@ -57,9 +57,11 @@ impl CodeIntelligenceClient {
5757
// Always call get_index_info first to verify semantic availability
5858
println!("\nCalling get_index_info tool...");
5959
let get_info_result = client
60-
.call_tool(CallToolRequestParam {
60+
.call_tool(CallToolRequestParams {
61+
meta: None,
6162
name: "get_index_info".into(),
6263
arguments: None,
64+
task: None,
6365
})
6466
.await?;
6567
Self::print_tool_output(&get_info_result);
@@ -92,9 +94,11 @@ impl CodeIntelligenceClient {
9294
};
9395

9496
let tool_result = client
95-
.call_tool(CallToolRequestParam {
97+
.call_tool(CallToolRequestParams {
98+
meta: None,
9699
name: tool_name.into(),
97100
arguments: parsed_args,
101+
task: None,
98102
})
99103
.await?;
100104
Self::print_tool_output(&tool_result);

src/mcp/http_server.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ pub async fn serve_http(config: crate::Settings, watch: bool, bind: String) -> a
219219
StreamableHttpServerConfig {
220220
cancellation_token: ct.child_token(),
221221
sse_keep_alive: Some(Duration::from_secs(15)),
222+
sse_retry: None,
222223
stateful_mode: true,
223224
},
224225
);

src/mcp/https_server.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ pub async fn serve_https(config: crate::Settings, watch: bool, bind: String) ->
211211
StreamableHttpServerConfig {
212212
cancellation_token: ct.child_token(),
213213
sse_keep_alive: Some(Duration::from_secs(15)),
214+
sse_retry: None,
214215
stateful_mode: true,
215216
},
216217
);

src/mcp/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1906,7 +1906,7 @@ impl ServerHandler for CodeIntelligenceServer {
19061906

19071907
async fn initialize(
19081908
&self,
1909-
request: InitializeRequestParam,
1909+
request: InitializeRequestParams,
19101910
context: RequestContext<RoleServer>,
19111911
) -> Result<InitializeResult, McpError> {
19121912
// Register client capabilities (required for MCP handshake)

0 commit comments

Comments
 (0)