v1.108.50 - delete-index CLI subcommand
Adds a CLI command to delete an index, so tooling (the jMunch Console) can manage indexes without speaking MCP.
Added
jcodemunch-mcp delete-index <repo> [--json]— CLI alias for theinvalidate_cacheMCP tool. Resolves the repo (owner/repo or the bare name shown bylist-repos), deletes its index and cached data, and clears in-process caches. Exits0on success and non-zero when no index is found, so scripted callers can branch on the return code, not just the JSON body.--jsonemits the structured{success, repo, message|error}result.
Notes
Indexes are SQLite-backed, so a filesystem delete is unsafe; this routes through the canonical invalidate path. Pure additive surface, no existing behavior changes. 1 new hermetic CLI test. Full suite: 4515 passed / 10 skipped.
Install
PyPI account is under appeal (#308), so install the wheel attached to this release:
pip install https://github.com/jgravelle/jcodemunch-mcp/releases/download/v1.108.50/jcodemunch_mcp-1.108.50-py3-none-any.whl