Skip to content

Commit 4c4d237

Browse files
phernandezclaude
andcommitted
fix: correct api_commands set to use 'tool' not 'tools'
The command is registered as 'tool' (singular) but the api_commands set had 'tools' (plural). This caused ensure_initialization() to run for 'bm tool --help', triggering the hanging issue on Windows. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>
1 parent d98497e commit 4c4d237

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/basic_memory/cli/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def app_callback(
3737
# Run initialization for commands that don't use the API
3838
# Skip for 'mcp' command - it has its own lifespan that handles initialization
3939
# Skip for API-using commands (status, sync, etc.) - they handle initialization via deps.py
40-
api_commands = {"mcp", "status", "sync", "project", "tools"}
40+
api_commands = {"mcp", "status", "sync", "project", "tool"}
4141
if (
4242
not version
4343
and ctx.invoked_subcommand is not None

0 commit comments

Comments
 (0)