Skip to content

smart_outline fails on Python files after clean marketplace install on Windows 11 (tree-sitter missing in v12.1.0 install) #1663

@mon9080

Description

@mon9080

Problem

After a clean uninstall/reinstall of claude-mem@thedotmack from the Claude Code plugin marketplace on Windows 11, the memory MCP tools load, but smart_outline fails on non-empty Python files with:

Could not parse <file>. File may use an unsupported language or be empty.

This reproduces after a clean reinstall of v12.1.0.


Environment

  • Windows 11 Pro 10.0.26200
  • Claude Code 2.1.97.2a3
  • claude-mem 12.1.0
  • Install source: Claude Code plugin marketplace
  • Node.js v24.13.0

What works

  • plugin installs successfully
  • plugin is enabled
  • MCP tools are visible
  • search(...) works
  • timeline(...) works

What fails

smart_outline(...) fails on non-empty Python files like:

  • ww-memory/memory_core/binding.py
  • ww-memory/memory_core/io_utils.py
  • ww-memory/memory_core/long_term_runtime.py

Response:

Could not parse <file>. File may use an unsupported language or be empty.

Clean reinstall reproduction

claude plugins uninstall "claude-mem@thedotmack"
claude plugins install "claude-mem@thedotmack"
npm ls tree-sitter --prefix "C:/Users/<user>/.claude/plugins/cache/thedotmack/claude-mem/12.1.0"

Result:

claude-mem-plugin@12.1.0
`-- (empty)

So after a clean marketplace install, the plugin has grammar packages like tree-sitter-python, but the root tree-sitter runtime package is missing.


Additional note

I also tested manual recovery on Node 24. Installing tree-sitter@0.25.0 required patching its binding.gyp from C++17 to C++20 because Node 24 headers require C++20.

That may be a second issue, but the first issue seems simpler:

clean marketplace install of v12.1.0 leaves smart-explore without the required tree-sitter runtime.


Expected

After a clean marketplace install of claude-mem@12.1.0, smart_outline should work on bundled languages like Python without manual dependency patching.


Actual

  • install succeeds
  • MCP loads
  • search/timeline work
  • smart-explore parse tools fail
  • tree-sitter runtime is missing after clean install

I can provide npm logs / Windows build logs if helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions