Skip to content

v1.108.50 - delete-index CLI subcommand

Choose a tag to compare

@jgravelle jgravelle released this 10 Jun 13:53
· 22 commits to main since this release

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 the invalidate_cache MCP tool. Resolves the repo (owner/repo or the bare name shown by list-repos), deletes its index and cached data, and clears in-process caches. Exits 0 on success and non-zero when no index is found, so scripted callers can branch on the return code, not just the JSON body. --json emits 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