Skip to content

codebase-memory graph it doesn't resolve TypeScript aliases like @packages/shared #730

Description

@juato

Version

codebase-memory-mcp 0.8.1

Platform

macOS (Apple Silicon)

Install channel

GitHub release archive / install.sh / install.ps1

Binary variant

standard

What happened, and what did you expect?

The codebase-memory graph resolves imports by direct file path, but it doesn't resolve TypeScript aliases like @packages/shared → ../../packages/shared/src/index.ts. This generates a massive amount of fake dead code for everything imported via alias. I did the tests using codebase-memory-mcp from opencode

Reproduction

The codebase-memory graph resolves imports by direct file path, but it doesn't resolve TypeScript aliases like @packages/shared → ../../packages/shared/src/index.ts. This generates a massive amount of fake dead code for everything imported via alias. I did the tests using codebase-memory-mcp from opencode

Logs


Diagnostics trajectory (memory / performance / leak issues)


Project scale (if relevant)

No response

Confirmations

  • I searched existing issues and this is not a duplicate.
  • My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingparsing/qualityGraph extraction bugs, false positives, missing edgespriority/normalStandard review queue; useful PR with ordinary maintainer urgency.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions