diff --git a/CHANGELOG.md b/CHANGELOG.md index da90293..6cabf1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +## [0.3.3] - 2026-08-24 + +### Changed + +- **Self-healing symbol lookup errors** — `mcp` symbol calls on a missing + name now return up to five ranked suggestions (exact prefix, then + substring, then edit distance ≤ 2, case-insensitive, ties alphabetical) + plus an embedded mini-outline of top-level symbols, so an agent recovers + in one round-trip instead of failing. +- **Range-parse errors state accepted formats** — invalid `lines` input now + names the expected forms (`N`, `N-M`, `N-`) instead of a bare failure. + ## [0.3.2] - 2026-08-24 ### Fixed diff --git a/Cargo.lock b/Cargo.lock index 979c0db..8d9be7b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -157,7 +157,7 @@ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" [[package]] name = "ctx-exec" -version = "0.3.2" +version = "0.3.3" dependencies = [ "regex", "serde", @@ -167,7 +167,7 @@ dependencies = [ [[package]] name = "ctx-symbol" -version = "0.3.2" +version = "0.3.3" dependencies = [ "regex", "serde", @@ -191,7 +191,7 @@ dependencies = [ [[package]] name = "ctxctl" -version = "0.3.2" +version = "0.3.3" dependencies = [ "clap", "ctx-exec", diff --git a/Cargo.toml b/Cargo.toml index ce337e4..dcb91ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ resolver = "2" members = ["crates/ctx-symbol", "crates/ctx-exec", "crates/ctxctl"] [workspace.package] -version = "0.3.2" +version = "0.3.3" edition = "2024" license = "MIT" authors = ["fuyu"] @@ -11,8 +11,8 @@ repository = "https://github.com/Xuepoo/ctxctl" homepage = "https://ctxctl.xuepoo.xyz" [workspace.dependencies] -ctx-symbol = { path = "crates/ctx-symbol", version = "0.3.2" } -ctx-exec = { path = "crates/ctx-exec", version = "0.3.2" } +ctx-symbol = { path = "crates/ctx-symbol", version = "0.3.3" } +ctx-exec = { path = "crates/ctx-exec", version = "0.3.3" } clap = { version = "4", features = ["derive"] } serde = { version = "1", features = ["derive"] } serde_json = "1"