Skip to content

Root project indexing incorrectly excludes monorepo packages/ by default #4

@isaac10334

Description

@isaac10334

What happened?

AiDex appears to hardcode /packages/ in DEFAULT_EXCLUDE for both init and update. That breaks normal JS/TS monorepos where packages/ contains the primary source code. This is super common.

This makes AiDex fail on a very common monorepo layout and forces awkward workarounds like indexing packages/ as a separate project.

Relevant source:

  • src/commands/init.ts
  • src/commands/update.ts

What did you expect?

packages/** should not be excluded by default, or this should be configurable/project-aware

Steps to reproduce

  • Create a repo with source under packages/*/src/**
  • Run aidex_init at repo root
  • Run aidex_query or aidex_files for symbols/files under packages/**

Environment

  • AiDex Version: 10.9.2
  • Node.js Version: 20.13.1
  • OS: Windows 11
  • MCP Client: Codex (manual install)
  • Language: TypeScript (pnpm workspace)

Error output / logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions