Skip to content

Commit 399b7de

Browse files
authored
Merge branch 'main' into fix/windows-local-transition-cleanup
2 parents 1348b86 + 9f85f10 commit 399b7de

35 files changed

Lines changed: 1680 additions & 1006 deletions

‎.github/workflows/_smoke.yml‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ jobs:
9595
steps:
9696
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
9797

98+
# SMOKE_REQUIRE_WRAPPERS=1 needs a Go toolchain for the Go wrapper; the
99+
# macOS runner images have none on PATH.
100+
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
101+
with:
102+
go-version-file: pkg/go/go.mod
103+
cache: false
104+
98105
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
99106
with:
100107
name: binaries-${{ matrix.goos }}-${{ matrix.goarch }}
@@ -118,6 +125,7 @@ jobs:
118125
env:
119126
CBM_SMOKE_ARTIFACT_DIR: ${{ runner.temp }}/cbm-artifact
120127
SMOKE_REQUIRE_UI: "1"
128+
SMOKE_REQUIRE_WRAPPERS: "1"
121129

122130
- name: Security audits
123131
run: |
@@ -175,6 +183,13 @@ jobs:
175183
steps:
176184
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
177185

186+
# SMOKE_REQUIRE_WRAPPERS=1 needs a Go toolchain for the Go wrapper; the
187+
# MSYS2 shell below inherits it (path-type: inherit).
188+
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
189+
with:
190+
go-version-file: pkg/go/go.mod
191+
cache: false
192+
178193
- uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
179194
with:
180195
msystem: ${{ matrix.arch == 'arm64' && 'CLANGARM64' || 'CLANG64' }}
@@ -224,6 +239,7 @@ jobs:
224239
env:
225240
SMOKE_ARCH: ${{ matrix.arch }}
226241
SMOKE_REQUIRE_UI: "1"
242+
SMOKE_REQUIRE_WRAPPERS: "1"
227243
run: |
228244
export CBM_SMOKE_ARTIFACT_DIR="$(cygpath -u "$RUNNER_TEMP")/cbm-artifact"
229245
bash test-infrastructure/vm/vm-smoke.sh
@@ -279,6 +295,12 @@ jobs:
279295
steps:
280296
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
281297

298+
# SMOKE_REQUIRE_WRAPPERS=1 needs a Go toolchain for the Go wrapper.
299+
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
300+
with:
301+
go-version-file: pkg/go/go.mod
302+
cache: false
303+
282304
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
283305
with:
284306
name: binaries-linux-${{ matrix.arch }}-portable
@@ -301,6 +323,7 @@ jobs:
301323
env:
302324
CBM_SMOKE_ARTIFACT_DIR: ${{ runner.temp }}/cbm-artifact
303325
SMOKE_REQUIRE_UI: "1"
326+
SMOKE_REQUIRE_WRAPPERS: "1"
304327

305328
# The -portable binary is what all linux install/update paths now deliver;
306329
# it MUST start on old glibc (Debian 11 / RHEL 8 / Ubuntu 20.04). Runs it

‎.github/workflows/pr.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,13 @@ jobs:
190190
steps:
191191
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
192192

193+
# SMOKE_REQUIRE_WRAPPERS=1 needs a Go toolchain for the Go wrapper; the
194+
# macOS runner images have none on PATH.
195+
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
196+
with:
197+
go-version-file: pkg/go/go.mod
198+
cache: false
199+
193200
- name: Install deps (Ubuntu)
194201
if: matrix.os == 'ubuntu-latest'
195202
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev ccache
@@ -232,6 +239,7 @@ jobs:
232239
env:
233240
CCACHE_DIR: ${{ github.workspace }}/.ccache
234241
CCACHE_MAXSIZE: 1000M
242+
SMOKE_REQUIRE_WRAPPERS: "1"
235243

236244
- name: Build prod + smoke (macOS)
237245
if: matrix.os == 'macos-14'
@@ -242,6 +250,7 @@ jobs:
242250
env:
243251
CCACHE_DIR: ${{ github.workspace }}/.ccache
244252
CCACHE_MAXSIZE: 1000M
253+
SMOKE_REQUIRE_WRAPPERS: "1"
245254

246255
- name: Build prod + smoke (Windows)
247256
if: matrix.os == 'windows-latest'
@@ -252,6 +261,7 @@ jobs:
252261
env:
253262
CCACHE_DIR: ${{ github.workspace }}/.ccache
254263
CCACHE_MAXSIZE: 1000M
264+
SMOKE_REQUIRE_WRAPPERS: "1"
255265

256266
# ── Waste sanitizer, REPORT-ONLY: memory + CPU waste on this repository and
257267
# the per-function scaling lane (Linux). Deliberately NOT in ci-ok's needs:

‎.github/workflows/release.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,15 @@ jobs:
283283
# move the release tag. (A floating HEAD also broke the 0.8.0 release:
284284
# HEAD had become a commit touching .github/workflows/, and the App
285285
# token may not create refs pointing at workflow-modifying commits.)
286+
# The Go wrapper is a nested module: `go install
287+
# .../pkg/go/cmd/codebase-memory-mcp@vX.Y.Z` and @latest resolve its
288+
# versions from pkg/go/v* tags only (without one, Go fetches the whole
289+
# repository, which is over its 500 MB module limit).
286290
run: |
287291
git tag -f "$VERSION" "$GITHUB_SHA"
288292
git push origin "$VERSION" --force
293+
git tag -f "pkg/go/$VERSION" "$GITHUB_SHA"
294+
git push origin "pkg/go/$VERSION" --force
289295
290296
- uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3
291297
with:
@@ -510,6 +516,12 @@ jobs:
510516
else
511517
npm publish --access public --provenance
512518
fi
519+
# `next` is "the newest you can opt into": once a stable release
520+
# exists, an older RC must not stay behind it (0.9.1-rc.1 did until
521+
# v0.12.1). Re-runnable: dist-tag add is idempotent.
522+
if [[ "$RELEASE_VERSION" != *-* ]]; then
523+
npm dist-tag add "codebase-memory-mcp@$V" next
524+
fi
513525
514526
# ── PyPI ─────────────────────────────────────────────────
515527
- name: Setup Python

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![GitHub Release](https://img.shields.io/github/v/release/DeusData/codebase-memory-mcp?style=flat&color=blue)](https://github.com/DeusData/codebase-memory-mcp/releases/latest)
44
[![License](https://img.shields.io/badge/license-MIT-green)](LICENSE)
5-
[![CI](https://img.shields.io/github/actions/workflow/status/DeusData/codebase-memory-mcp/dry-run.yml?branch=main&label=main%20CI)](https://github.com/DeusData/codebase-memory-mcp/actions/workflows/dry-run.yml)
5+
[![CI](https://img.shields.io/github/actions/workflow/status/DeusData/codebase-memory-mcp/release.yml?branch=main&label=main%20CI)](https://github.com/DeusData/codebase-memory-mcp/actions/workflows/release.yml)
66
[![C tests](https://img.shields.io/badge/C_tests-9388_cases-blue)](#tests)
77
[![MCP tools](https://img.shields.io/badge/MCP_tools-17-blue)](#mcp-tools)
88
[![Languages](https://img.shields.io/badge/languages-162-orange)](https://github.com/DeusData/codebase-memory-mcp)
@@ -63,7 +63,7 @@ These captures show CBM Lens Beta on 12–13 October 2026, using public source f
6363
## Why codebase-memory-mcp
6464

6565
- **Indexing performance**: Linux kernel (28M LOC, 75K files) in 3 minutes. RAM-first pipeline: LZ4 compression, in-memory SQLite, fused Aho-Corasick pattern matching. Memory released after indexing.
66-
- **Plug and play**: native executable plus authenticated release-owned assets for macOS (arm64/amd64), Linux (arm64/amd64), and Windows (amd64). The native install needs no Docker, language runtime, or API keys. Download → `install` → restart agent → done.
66+
- **Plug and play**: native executable plus authenticated release-owned assets for macOS (arm64/amd64), Linux (arm64/amd64), and Windows (arm64/amd64). The native install needs no Docker, language runtime, or API keys. Download → `install` → restart agent → done.
6767
- **162 languages**: vendored tree-sitter grammars compiled into the binary. No separate parser installation.
6868
- **About 120× fewer tokens in the reported five-query comparison**: ~3,400 tokens vs ~412,000 via file-by-file search. See [Performance](#performance) for the scope and sources.
6969
- **45 supported automatic/conditional client surfaces**: `install` configures detected clients and safely activates conditional clients only when their documented platform, marker, or explicit existing config path is present. See [Multi-Agent Support](#multi-agent-support) for the complete matrix and manual/UI-only boundaries.
@@ -360,7 +360,7 @@ The install script placed beside the binary is **reported, not deleted**: uninst
360360
- **Auto-sync**: Background watcher detects file changes in the project an MCP session is working in and re-indexes it automatically (other indexed repos: re-run `index_repository`)
361361
- **Route nodes**: REST endpoints are first-class graph entities
362362
- **CLI mode**: `codebase-memory-mcp cli search_graph --project my-project --name-pattern ".*Handler.*"`
363-
- **Available on**: npm, PyPI, Homebrew, Scoop, Winget, Chocolatey, AUR, `go install`
363+
- **Available on**: npm, PyPI, Homebrew, Scoop, AUR, `go install`
364364

365365
### Indexing modes
366366

‎docs/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ <h2>How do I install codebase-memory-mcp?</h2>
540540
Warp MCP, JetBrains AI/ACP, GitHub Copilot coding agent, Jules, CodeRabbit, Replit, BLACKBOX AI,
541541
Plandex, and SWE-agent. Warp is counted above for its detected skill installation; its MCP connection
542542
remains manual. Windows users run <code>install.ps1</code>. Also available via <code>npm</code>,
543-
<code>pip</code>, Homebrew, Scoop, Winget, Chocolatey, AUR, and <code>go install</code>.
543+
<code>pip</code>, Homebrew, Scoop, AUR, and <code>go install</code>.
544544
</p>
545545
<p class="muted">
546546
Lifecycle installation follows documented context contracts: Qoder uses <code>SessionStart</code>,
@@ -805,7 +805,7 @@ <h3>Does it support semantic or natural-language code search?</h3>
805805

806806
<h3>Do I need Docker or a runtime?</h3>
807807
<p>The native install needs no language runtime. It is a native executable with authenticated release-owned
808-
assets for macOS (arm64/amd64), Linux (arm64/amd64), and Windows (amd64); npm, PyPI, and Go wrapper
808+
assets for macOS (arm64/amd64), Linux (arm64/amd64), and Windows (arm64/amd64); npm, PyPI, and Go wrapper
809809
installations naturally use their package runtime.</p>
810810

811811
<h3>How does it stay up to date as I edit code?</h3>

‎docs/llms.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- Supported agents: 45 automatic/conditional client surfaces (39 automatically detected + 6 conditional/explicit): Claude Code, Codex CLI, Gemini CLI, Zed, OpenCode, Antigravity, Aider, KiloCode, VS Code, Cursor, Windsurf, Augment / Auggie, OpenClaw, Kiro, Junie, Hermes, OpenHands, Cline, Warp, Qwen Code, GitHub Copilot CLI, Factory Droid, Crush, Goose, Mistral Vibe, Grok Build, Qoder CLI, Kimi Code CLI, GitLab Duo CLI, Rovo Dev CLI, Amp, Devin CLI / Local, Tabnine, Continue / cn, Visual Studio, TRAE, Roo Code, Amazon Q Developer IDE, CodeBuddy Code CLI, IBM Bob IDE, IBM Bob Shell, Pochi, Pi, Oh My Pi (omp), and Sourcegraph Cody.
1616
- Agent profiles: documented custom-agent formats receive Scout (fast/provisional), Verify (default/task-directed), and Auditor (bounded/full verification) definitions. Every direct tier checks exact path/scope coverage with check_index_coverage and falls back to source for flagged gaps; unsafe child-MCP formats use explicit parent handoff. Kiro and Junie use positive-allowlist Scout/Analysis server profiles (7/11 tools); Qoder combines named-server selection with exact tier-specific MCP tool IDs, while Factory uses exact registered IDs without additive whole-server exposure. Foreign Junie aliases are preserved and force parent handoff.
1717
- Performance: Linux kernel (28M LOC, 75K files) full index in 3 minutes → 4.81M nodes, 7.72M edges; Cypher queries in under 1ms.
18-
- Distribution: verified runtime set (native executable plus authenticated release-owned assets); fully static Linux builds are available in the `-portable` archives. Also available through npm, PyPI, Homebrew, Scoop, Winget, Chocolatey, AUR, and `go install`.
18+
- Distribution: verified runtime set (native executable plus authenticated release-owned assets); fully static Linux builds are available in the `-portable` archives. Also available through npm, PyPI, Homebrew, Scoop, AUR, and `go install`.
1919

2020
## Links
2121

‎flake.nix‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
packages = forAllSystems (pkgs: rec {
6464
default = pkgs.stdenv.mkDerivation {
6565
pname = "codebase-memory-mcp";
66-
version = "0.11.0";
66+
version = "0.12.1";
6767

6868
src = ./.;
6969

‎pkg/chocolatey/codebase-memory-mcp.nuspec‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
33
<metadata>
44
<id>codebase-memory-mcp</id>
5-
<version>0.11.0</version>
5+
<version>0.12.1</version>
66
<title>codebase-memory-mcp</title>
77
<authors>DeusData</authors>
88
<projectUrl>https://github.com/DeusData/codebase-memory-mcp</projectUrl>
@@ -28,7 +28,7 @@ After installation, run:
2828

2929
to configure your coding agents automatically.
3030
</description>
31-
<releaseNotes>https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.11.0</releaseNotes>
31+
<releaseNotes>https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.12.1</releaseNotes>
3232
</metadata>
3333
<files>
3434
<file src="tools\**" target="tools" />

‎pkg/chocolatey/tools/chocolateyInstall.ps1‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
$ErrorActionPreference = 'Stop'
22

33
$packageName = 'codebase-memory-mcp'
4-
$version = '0.11.0'
4+
$version = '0.12.1'
55
$url64 = "https://github.com/DeusData/codebase-memory-mcp/releases/download/v${version}/codebase-memory-mcp-windows-amd64.zip"
6-
$checksum64 = '6eb6beaf261b19e419766e78baf93cbc3cf1c6338cff8fb7c0234859f96d1685'
6+
$checksum64 = '4e4e0f16b45233af5c757a1fcbe3c3b16e9056375b1fbe2ce020b6de75dedcc0'
77
$installDir = Join-Path $env:ChocolateyBinRoot $packageName
88

99
Install-ChocolateyZipPackage `

0 commit comments

Comments
 (0)