v1.0.213
[1.0.212] - 2026-06-21
Added
- Reserved virtual
"all"group (#131):group="all"now resolves to every
registered repository, without being stored inrepos.json. The name is
reserved —codesearch groups add all/groups remove allare rejected. The
group is advertised in thescope_requirederror, thestatustool'sgroups
map, andcodesearch groups list(marked(virtual)). It is NOT the default
(safe-by-default scope_required behaviour is preserved); it auto-updates as
repos are registered/removed.
Changed
- MCP agent discoverability improvements (#130): the server instructions
published via the MCPinitializehandshake now lead with a "WHEN TO USE
codesearch (prefer over grep/glob)" block — good queries vs. not-ideal-for
cases — and a "SERVICE-MODE NOTES" block (paths come from the server's
filesystem → useget_chunk; unindexed directories like.venv/node_modules
→ ask, don't blindly grep).find_impactis reframed from "C# only" to "C#
today; usefind kind="usages"as a text-based fallback for other languages".
The instruction template is extracted to a named const (INSTRUCTIONS_TEMPLATE)
enabling genuine tests; the previousinclude_str!-based tests were
self-referential no-ops (the marker they searched for existed only in the test
source, not the real instructions) and are now fixed. README gains an "Agent
Guidance" subsection with a copy-paste quickstart forAGENTS.md/.cursorrules.
Fixed
- CLI delegate functions now send
CODESEARCH_SERVE_API_KEY(#132):
index add,index rm, andindex reindexbuilt their HTTP requests to a
runningcodesearch servewithout the API key header, so delegation to a
network-bound serve (e.g.--host 0.0.0.0, whererequire_auth_for_network
guards ALL endpoints) returned 401 and fell back to local indexing — risking
LMDB file-lock conflicts. A newbuild_serve_client()helper attaches
Authorization: Bearer <key>as a default header on every request (health
probe + all POST/DELETE) when the env var is set. A newauth_failure_hint()
produces a friendly 401 message naming the env var. The README Security
section is corrected: it previously claimed health/status/MCP endpoints
remained open, butrequire_auth_for_networkblocks everything when bound to
non-localhost.
What's Changed
- fix(index): send CODESEARCH_SERVE_API_KEY on serve delegation (fixes #132) by @flupkede in #133
- Reserved "all" virtual group resolving to all repos (fixes #131) by @flupkede in #134
- fix(mcp): agent discoverability — when-to-use guidance + service-mode notes (fixes #130) by @flupkede in #135
- docs(changelog): document #132, #131, #130 (1.0.212) by @flupkede in #136
Full Changelog: v1.0.209...v1.0.213