diff --git a/Cargo.lock b/Cargo.lock index 8640cd4467..177be8d5da 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -19,7 +19,7 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "aft-base" -version = "0.66.0" +version = "0.67.0" dependencies = [ "aft-secret-rules", "aft-store", @@ -87,7 +87,7 @@ dependencies = [ [[package]] name = "aft-db" -version = "0.66.0" +version = "0.67.0" dependencies = [ "aft-base", "blake3", @@ -107,7 +107,7 @@ dependencies = [ [[package]] name = "aft-parse" -version = "0.66.0" +version = "0.67.0" dependencies = [ "aft-base", "aft-store", @@ -171,7 +171,7 @@ dependencies = [ [[package]] name = "aft-secret-rules" -version = "0.66.0" +version = "0.67.0" dependencies = [ "idna", "serde", @@ -182,7 +182,7 @@ dependencies = [ [[package]] name = "aft-store" -version = "0.66.0" +version = "0.67.0" dependencies = [ "blake3", "content_inspector", @@ -211,7 +211,7 @@ dependencies = [ [[package]] name = "aft-tokenizer" -version = "0.66.0" +version = "0.67.0" dependencies = [ "criterion", "fancy-regex 0.18.0", @@ -222,7 +222,7 @@ dependencies = [ [[package]] name = "agent-file-tools" -version = "0.66.0" +version = "0.67.0" dependencies = [ "aft-base", "aft-db", diff --git a/benchmarks/aft-search/slice-descriptors/land-release-0.67.0.json b/benchmarks/aft-search/slice-descriptors/land-release-0.67.0.json new file mode 100644 index 0000000000..27e9e44660 --- /dev/null +++ b/benchmarks/aft-search/slice-descriptors/land-release-0.67.0.json @@ -0,0 +1,8 @@ +{ + "fixtures": [ + "harness-goldens" + ], + "kind": "harness", + "slice_class": "non_ranking", + "targeted_mechanism": "none" +} diff --git a/bun.lock b/bun.lock index 1e1240443f..4d6297dab7 100644 --- a/bun.lock +++ b/bun.lock @@ -20,7 +20,7 @@ }, "packages/aft-bridge": { "name": "@cortexkit/aft-bridge", - "version": "0.66.0", + "version": "0.67.0", "dependencies": { "@cortexkit/subc-client": "^0.24.5", }, @@ -31,14 +31,14 @@ }, "packages/aft-cli": { "name": "@cortexkit/aft", - "version": "0.66.0", + "version": "0.67.0", "bin": { "aft": "dist/index.js", }, "dependencies": { "@clack/core": "^1.4.2", "@clack/prompts": "^1.6.0", - "@cortexkit/aft-bridge": "0.66.0", + "@cortexkit/aft-bridge": "0.67.0", "comment-json": "^4.6.2", }, "devDependencies": { @@ -48,10 +48,10 @@ }, "packages/opencode-plugin": { "name": "@cortexkit/aft-opencode", - "version": "0.66.0", + "version": "0.67.0", "dependencies": { "@clack/prompts": "^1.6.0", - "@cortexkit/aft-bridge": "0.66.0", + "@cortexkit/aft-bridge": "0.67.0", "@cortexkit/opencode-sidebar": "0.3.0", "@opentui/core": "0.4.5", "@opentui/solid": "0.4.5", @@ -69,12 +69,12 @@ "typescript": "^5.8.0", }, "optionalDependencies": { - "@cortexkit/aft-darwin-arm64": "0.66.0", - "@cortexkit/aft-darwin-x64": "0.66.0", - "@cortexkit/aft-linux-arm64": "0.66.0", - "@cortexkit/aft-linux-x64": "0.66.0", - "@cortexkit/aft-win32-arm64": "0.66.0", - "@cortexkit/aft-win32-x64": "0.66.0", + "@cortexkit/aft-darwin-arm64": "0.67.0", + "@cortexkit/aft-darwin-x64": "0.67.0", + "@cortexkit/aft-linux-arm64": "0.67.0", + "@cortexkit/aft-linux-x64": "0.67.0", + "@cortexkit/aft-win32-arm64": "0.67.0", + "@cortexkit/aft-win32-x64": "0.67.0", }, "peerDependencies": { "@opencode-ai/plugin": ">=0.0.0-beta-0", @@ -87,9 +87,9 @@ }, "packages/pi-plugin": { "name": "@cortexkit/aft-pi", - "version": "0.66.0", + "version": "0.67.0", "dependencies": { - "@cortexkit/aft-bridge": "0.66.0", + "@cortexkit/aft-bridge": "0.67.0", "comment-json": "^5.0.0", "diff": "^8.0.4", "zod": "^4.4.3", @@ -103,12 +103,12 @@ "typescript": "^5.8.0", }, "optionalDependencies": { - "@cortexkit/aft-darwin-arm64": "0.66.0", - "@cortexkit/aft-darwin-x64": "0.66.0", - "@cortexkit/aft-linux-arm64": "0.66.0", - "@cortexkit/aft-linux-x64": "0.66.0", - "@cortexkit/aft-win32-arm64": "0.66.0", - "@cortexkit/aft-win32-x64": "0.66.0", + "@cortexkit/aft-darwin-arm64": "0.67.0", + "@cortexkit/aft-darwin-x64": "0.67.0", + "@cortexkit/aft-linux-arm64": "0.67.0", + "@cortexkit/aft-linux-x64": "0.67.0", + "@cortexkit/aft-win32-arm64": "0.67.0", + "@cortexkit/aft-win32-x64": "0.67.0", }, "peerDependencies": { "@earendil-works/pi-ai": "*", diff --git a/crates/aft-base/Cargo.toml b/crates/aft-base/Cargo.toml index 1f1cf0c248..b0323dfed9 100644 --- a/crates/aft-base/Cargo.toml +++ b/crates/aft-base/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aft-base" -version = "0.66.0" +version = "0.67.0" edition = "2021" rust-version.workspace = true license = "MIT" @@ -19,8 +19,8 @@ test-timing-hooks = [] secret-test-fake = [] [dependencies] -aft-store = { path = "../aft-store", version = "0.66.0" } -secret-rules = { path = "../secret-rules", version = "0.66.0", package = "aft-secret-rules" } +aft-store = { path = "../aft-store", version = "0.67.0" } +secret-rules = { path = "../secret-rules", version = "0.67.0", package = "aft-secret-rules" } log = "0.4" env_logger = "0.11" serde = { version = "1", features = ["derive"] } diff --git a/crates/aft-db/Cargo.toml b/crates/aft-db/Cargo.toml index cb6c60a18d..8e226e1f97 100644 --- a/crates/aft-db/Cargo.toml +++ b/crates/aft-db/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aft-db" -version = "0.66.0" +version = "0.67.0" edition = "2021" rust-version.workspace = true license = "MIT" @@ -14,7 +14,7 @@ test-hooks = ["aft-base/test-hooks"] test-timing-hooks = ["aft-base/test-timing-hooks"] [dependencies] -aft-base = { path = "../aft-base", version = "0.66.0" } +aft-base = { path = "../aft-base", version = "0.67.0" } rusqlite = { version = "0.32", features = ["bundled", "backup", "trace", "functions"] } serde = { version = "1", features = ["derive"] } serde_json = "1" @@ -32,5 +32,5 @@ tempfile = { version = "3", optional = true } windows-sys = { version = "0.61", features = ["Win32_Foundation", "Win32_Storage_FileSystem"] } [dev-dependencies] -aft-base = { path = "../aft-base", version = "0.66.0", features = ["test-support"] } +aft-base = { path = "../aft-base", version = "0.67.0", features = ["test-support"] } tempfile = "3" diff --git a/crates/aft-parse/Cargo.toml b/crates/aft-parse/Cargo.toml index 98fd24218d..07f465a7df 100644 --- a/crates/aft-parse/Cargo.toml +++ b/crates/aft-parse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aft-parse" -version = "0.66.0" +version = "0.67.0" edition = "2021" rust-version.workspace = true license = "MIT" @@ -16,8 +16,8 @@ callgraph-shape-census = ["aft-base/callgraph-shape-census"] wasm-grammars = ["tree-sitter/wasm", "dep:wasmtime", "dep:wasmtime-c-api-impl", "dep:reqwest", "dep:getrandom"] [dependencies] -aft-base = { path = "../aft-base", version = "0.66.0" } -aft-store = { path = "../aft-store", version = "0.66.0" } +aft-base = { path = "../aft-base", version = "0.67.0" } +aft-store = { path = "../aft-store", version = "0.67.0" } log = "0.4" serde = { version = "1", features = ["derive"] } serde_json = { version = "1", features = ["raw_value"] } @@ -76,6 +76,6 @@ wasmtime = { version = "=36.0.20", optional = true, default-features = false, fe wasmtime-c-api-impl = { version = "=36.0.20", optional = true, default-features = false } [dev-dependencies] -aft-base = { path = "../aft-base", version = "0.66.0", features = ["test-support"] } +aft-base = { path = "../aft-base", version = "0.67.0", features = ["test-support"] } tempfile = "3" rayon = "1" diff --git a/crates/aft-store/Cargo.toml b/crates/aft-store/Cargo.toml index b64a305fb6..db2d82113d 100644 --- a/crates/aft-store/Cargo.toml +++ b/crates/aft-store/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aft-store" -version = "0.66.0" +version = "0.67.0" edition = "2024" description = "On-disk index formats for Agent Foundational Toolkit" license = "MIT" diff --git a/crates/aft-tokenizer/Cargo.toml b/crates/aft-tokenizer/Cargo.toml index 35b8b7fe23..32dd9d22a3 100644 --- a/crates/aft-tokenizer/Cargo.toml +++ b/crates/aft-tokenizer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aft-tokenizer" -version = "0.66.0" +version = "0.67.0" edition = "2021" description = "Claude lookup-encoding tokenizer for Agent Foundational Toolkit" license = "MIT" diff --git a/crates/aft/Cargo.toml b/crates/aft/Cargo.toml index e7b08e9ebb..e3b8b503fa 100644 --- a/crates/aft/Cargo.toml +++ b/crates/aft/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "agent-file-tools" -version = "0.66.0" +version = "0.67.0" edition = "2021" default-run = "aft" description = "Agent Foundational Toolkit — tree-sitter powered code analysis for AI agents" @@ -129,10 +129,10 @@ secret-test-fake = ["aft-base/secret-test-fake"] semantic-chunk-census = [] [dependencies] -aft-base = { path = "../aft-base", version = "0.66.0" } -aft-db = { path = "../aft-db", version = "0.66.0" } -aft-parse = { path = "../aft-parse", version = "0.66.0" } -aft-store = { path = "../aft-store", version = "0.66.0" } +aft-base = { path = "../aft-base", version = "0.67.0" } +aft-db = { path = "../aft-db", version = "0.67.0" } +aft-parse = { path = "../aft-parse", version = "0.67.0" } +aft-store = { path = "../aft-store", version = "0.67.0" } log = "0.4" env_logger = "0.11" serde = { version = "1", features = ["derive"] } @@ -204,10 +204,10 @@ oxc_str = "0.126" rustc-hash = "2" rustc-demangle = "0.1" rusqlite = { version = "0.32", features = ["bundled", "backup", "trace", "functions"] } -aft-tokenizer = { path = "../aft-tokenizer", version = "0.66.0" } +aft-tokenizer = { path = "../aft-tokenizer", version = "0.67.0" } # The placeholder grammar, key-location rules and audit record AFT's vault # seam speaks. AFT owns the crate; basal links it later. -secret-rules = { path = "../secret-rules", version = "0.66.0", package = "aft-secret-rules" } +secret-rules = { path = "../secret-rules", version = "0.67.0", package = "aft-secret-rules" } zeroize = "1" bytes = "1" http-body-util = "0.1" @@ -329,9 +329,9 @@ windows-sys = { version = "0.61", features = [ ] } [dev-dependencies] -aft-base = { path = "../aft-base", version = "0.66.0", features = ["test-support"] } -aft-db = { path = "../aft-db", version = "0.66.0", features = ["test-support"] } -aft-parse = { path = "../aft-parse", version = "0.66.0", features = ["test-support"] } +aft-base = { path = "../aft-base", version = "0.67.0", features = ["test-support"] } +aft-db = { path = "../aft-db", version = "0.67.0", features = ["test-support"] } +aft-parse = { path = "../aft-parse", version = "0.67.0", features = ["test-support"] } cortexkit-test-support = "=0.1.14" graphql-parser = "0.4.1" cortexkit-role-tool-provider-conformance = "=0.15.16" diff --git a/crates/aft/tests/fixtures/config_parity/callgraph_chunk_removed_user_opencode/expected.json b/crates/aft/tests/fixtures/config_parity/callgraph_chunk_removed_user_opencode/expected.json index c6b7f19caa..4414548783 100644 --- a/crates/aft/tests/fixtures/config_parity/callgraph_chunk_removed_user_opencode/expected.json +++ b/crates/aft/tests/fixtures/config_parity/callgraph_chunk_removed_user_opencode/expected.json @@ -1,16 +1,5 @@ { - "aft_search_registered": true, - "disabled_tools": [ - "aft_delete", - "aft_move" - ], - "experimental_bash_background": true, - "experimental_bash_compress": true, - "experimental_bash_rewrite": true, - "indexes": { - "callgraph": true, - "semantic": true, - "trigram": true - }, - "restrict_to_project_root": false + "rejected": [ + "removed_config_key:callgraph_chunk_size; run npx @cortexkit/aft doctor --fix" + ] } diff --git a/crates/aft/tests/fixtures/config_parity/callgraph_chunk_removed_user_pi/expected.json b/crates/aft/tests/fixtures/config_parity/callgraph_chunk_removed_user_pi/expected.json index c6b7f19caa..4414548783 100644 --- a/crates/aft/tests/fixtures/config_parity/callgraph_chunk_removed_user_pi/expected.json +++ b/crates/aft/tests/fixtures/config_parity/callgraph_chunk_removed_user_pi/expected.json @@ -1,16 +1,5 @@ { - "aft_search_registered": true, - "disabled_tools": [ - "aft_delete", - "aft_move" - ], - "experimental_bash_background": true, - "experimental_bash_compress": true, - "experimental_bash_rewrite": true, - "indexes": { - "callgraph": true, - "semantic": true, - "trigram": true - }, - "restrict_to_project_root": false + "rejected": [ + "removed_config_key:callgraph_chunk_size; run npx @cortexkit/aft doctor --fix" + ] } diff --git a/crates/secret-rules/Cargo.toml b/crates/secret-rules/Cargo.toml index f15b1e0443..aa3df28fb8 100644 --- a/crates/secret-rules/Cargo.toml +++ b/crates/secret-rules/Cargo.toml @@ -3,7 +3,7 @@ # crates.io refuses a crate whose dependencies it can't resolve. The version # moves in lockstep with AFT's (scripts/version-sync.mjs). name = "aft-secret-rules" -version = "0.66.0" +version = "0.67.0" edition = "2021" description = "Placeholder grammar, key location rules, host/path matching and response scrubbing for agent secret use" license = "MIT" diff --git a/packages/aft-bridge/package.json b/packages/aft-bridge/package.json index 88ea6423fd..2d2ed7e35e 100644 --- a/packages/aft-bridge/package.json +++ b/packages/aft-bridge/package.json @@ -1,6 +1,6 @@ { "name": "@cortexkit/aft-bridge", - "version": "0.66.0", + "version": "0.67.0", "type": "module", "description": "Shared NDJSON bridge transport, binary resolution, and ONNX runtime helpers for AFT agent-host plugins (OpenCode, Pi)", "license": "MIT", diff --git a/packages/aft-cli/package.json b/packages/aft-cli/package.json index 1c9619faea..6179a8879f 100644 --- a/packages/aft-cli/package.json +++ b/packages/aft-cli/package.json @@ -1,6 +1,6 @@ { "name": "@cortexkit/aft", - "version": "0.66.0", + "version": "0.67.0", "type": "module", "description": "Unified CLI for Agent Foundational Toolkit (AFT) — setup, one-shot index snapshots, doctor, and diagnostics across supported agent harnesses (OpenCode, Pi)", "license": "MIT", @@ -25,7 +25,7 @@ "dependencies": { "@clack/core": "^1.4.2", "@clack/prompts": "^1.6.0", - "@cortexkit/aft-bridge": "0.66.0", + "@cortexkit/aft-bridge": "0.67.0", "comment-json": "^4.6.2" }, "devDependencies": { diff --git a/packages/npm/darwin-arm64/package.json b/packages/npm/darwin-arm64/package.json index 83e7eee643..72ca5037ec 100644 --- a/packages/npm/darwin-arm64/package.json +++ b/packages/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@cortexkit/aft-darwin-arm64", - "version": "0.66.0", + "version": "0.67.0", "description": "AFT binary for macOS ARM64 (Apple Silicon)", "os": [ "darwin" diff --git a/packages/npm/darwin-x64/package.json b/packages/npm/darwin-x64/package.json index f766924444..3a94d86442 100644 --- a/packages/npm/darwin-x64/package.json +++ b/packages/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@cortexkit/aft-darwin-x64", - "version": "0.66.0", + "version": "0.67.0", "description": "AFT binary for macOS x64 (Intel)", "os": [ "darwin" diff --git a/packages/npm/linux-arm64/package.json b/packages/npm/linux-arm64/package.json index dd52bce16f..bf713316f2 100644 --- a/packages/npm/linux-arm64/package.json +++ b/packages/npm/linux-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@cortexkit/aft-linux-arm64", - "version": "0.66.0", + "version": "0.67.0", "description": "AFT binary for Linux ARM64", "os": [ "linux" diff --git a/packages/npm/linux-x64/package.json b/packages/npm/linux-x64/package.json index e7cf0c9301..46bb328b98 100644 --- a/packages/npm/linux-x64/package.json +++ b/packages/npm/linux-x64/package.json @@ -1,6 +1,6 @@ { "name": "@cortexkit/aft-linux-x64", - "version": "0.66.0", + "version": "0.67.0", "description": "AFT binary for Linux x64", "os": [ "linux" diff --git a/packages/npm/win32-arm64/package.json b/packages/npm/win32-arm64/package.json index 9756cbbe1f..380108bd3b 100644 --- a/packages/npm/win32-arm64/package.json +++ b/packages/npm/win32-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@cortexkit/aft-win32-arm64", - "version": "0.66.0", + "version": "0.67.0", "description": "AFT binary for Windows ARM64", "os": [ "win32" diff --git a/packages/npm/win32-x64/package.json b/packages/npm/win32-x64/package.json index 2ae68c03eb..4d6c4eb127 100644 --- a/packages/npm/win32-x64/package.json +++ b/packages/npm/win32-x64/package.json @@ -1,6 +1,6 @@ { "name": "@cortexkit/aft-win32-x64", - "version": "0.66.0", + "version": "0.67.0", "description": "AFT binary for Windows x64", "os": [ "win32" diff --git a/packages/opencode-plugin/package.json b/packages/opencode-plugin/package.json index d5d2cb0977..8500e3407c 100644 --- a/packages/opencode-plugin/package.json +++ b/packages/opencode-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@cortexkit/aft-opencode", - "version": "0.66.0", + "version": "0.67.0", "type": "module", "description": "OpenCode plugin for Agent Foundational Toolkit (AFT) — tree-sitter and lsp powered code analysis", "main": "dist/index.js", @@ -40,7 +40,7 @@ }, "dependencies": { "@clack/prompts": "^1.6.0", - "@cortexkit/aft-bridge": "0.66.0", + "@cortexkit/aft-bridge": "0.67.0", "@cortexkit/opencode-sidebar": "0.3.0", "@opentui/core": "0.4.5", "@opentui/solid": "0.4.5", @@ -50,12 +50,12 @@ "zod": "^4.4.3" }, "optionalDependencies": { - "@cortexkit/aft-darwin-arm64": "0.66.0", - "@cortexkit/aft-darwin-x64": "0.66.0", - "@cortexkit/aft-linux-arm64": "0.66.0", - "@cortexkit/aft-linux-x64": "0.66.0", - "@cortexkit/aft-win32-arm64": "0.66.0", - "@cortexkit/aft-win32-x64": "0.66.0" + "@cortexkit/aft-darwin-arm64": "0.67.0", + "@cortexkit/aft-darwin-x64": "0.67.0", + "@cortexkit/aft-linux-arm64": "0.67.0", + "@cortexkit/aft-linux-x64": "0.67.0", + "@cortexkit/aft-win32-arm64": "0.67.0", + "@cortexkit/aft-win32-x64": "0.67.0" }, "devDependencies": { "@opencode-ai/plugin": "^1.17.11", diff --git a/packages/pi-plugin/package.json b/packages/pi-plugin/package.json index d0d89ff7b2..146a37916e 100644 --- a/packages/pi-plugin/package.json +++ b/packages/pi-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@cortexkit/aft-pi", - "version": "0.66.0", + "version": "0.67.0", "type": "module", "description": "Pi coding agent extension for Agent Foundational Toolkit (AFT) — tree-sitter and LSP-powered code analysis", "main": "dist/index.js", @@ -24,18 +24,18 @@ "test:e2e": "bun test src/__tests__/e2e/" }, "dependencies": { - "@cortexkit/aft-bridge": "0.66.0", + "@cortexkit/aft-bridge": "0.67.0", "comment-json": "^5.0.0", "diff": "^8.0.4", "zod": "^4.4.3" }, "optionalDependencies": { - "@cortexkit/aft-darwin-arm64": "0.66.0", - "@cortexkit/aft-darwin-x64": "0.66.0", - "@cortexkit/aft-linux-arm64": "0.66.0", - "@cortexkit/aft-linux-x64": "0.66.0", - "@cortexkit/aft-win32-arm64": "0.66.0", - "@cortexkit/aft-win32-x64": "0.66.0" + "@cortexkit/aft-darwin-arm64": "0.67.0", + "@cortexkit/aft-darwin-x64": "0.67.0", + "@cortexkit/aft-linux-arm64": "0.67.0", + "@cortexkit/aft-linux-x64": "0.67.0", + "@cortexkit/aft-win32-arm64": "0.67.0", + "@cortexkit/aft-win32-x64": "0.67.0" }, "devDependencies": { "@earendil-works/pi-coding-agent": "^0.80.2", diff --git a/scripts/release.sh b/scripts/release.sh index 471a326846..9949616ede 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -353,12 +353,6 @@ echo "→ Syncing versions to $VERSION..." bun scripts/version-sync.mjs "$VERSION" echo "" -# Regenerate the JSON Schema asset so editor `$schema` URLs always resolve -# to a schema that matches the shipped config surface for this release. -echo "→ Rebuilding aft.schema.json..." -cargo run --locked --quiet -p agent-file-tools --example aft-settings-schema > assets/aft.schema.json -echo "" - # Refresh bun.lock so workspace package versions match the bumped # package.json files. Without this, CI's `bun install --frozen-lockfile` # fails because the lockfile still pins the old versions. @@ -374,6 +368,14 @@ echo "→ Refreshing Cargo.lock..." cargo update -w --offline --quiet || { echo "Error: cargo update failed after version sync"; exit 1; } echo "" +# Regenerate the JSON Schema asset so editor `$schema` URLs always resolve +# to a schema that matches the shipped config surface for this release. It +# runs after the Cargo.lock refresh because `--locked` refuses a lock file that +# still names the previous workspace versions. +echo "→ Rebuilding aft.schema.json..." +cargo run --locked --quiet -p agent-file-tools --example aft-settings-schema > assets/aft.schema.json +echo "" + # Recapture the config parity goldens at the new version. Some config keys are # refused only from a given release (for example `callgraph_chunk_size` from # 0.67), so the TypeScript loader's answer for those cases changes with the