Skip to content

Packages

n-dx is composed of five packages in a strict dependency hierarchy.

  hench                         agent loops, tool dispatch

  rex · sourcevision            PRD management · static analysis

  @n-dx/llm-client              shared types, API client

The @n-dx/web package sits alongside these as a coordination layer, importing from both domain packages through gateway modules.

Package Summary

PackageKey CommandsOutput Directory
SourceVisionanalyze, serve, mcp.sourcevision/
Rexadd, status, recommend, analyze.rex/
Henchrun, status, show.hench/
LLM Client(library only)
Web Dashboardvia ndx start

Naming Convention

All packages are published under the @n-dx/ scope. The root package @n-dx/core depends on all sub-packages and registers CLI commands on install.

npm PackageCLI CommandsDescription
@n-dx/corendx, n-dxOrchestration entry point
@n-dx/rexrexPRD management
@n-dx/henchhenchAutonomous agent
@n-dx/sourcevisionsourcevision, svStatic analysis
@n-dx/llm-clientLLM foundation (library only)
@n-dx/webDashboard + MCP server

Public API

Every package exposes its public surface through src/public.ts, mapped to exports["."] in package.json. See Package Guidelines for the full convention.

Development

sh
pnpm build          # build all packages
pnpm test           # test all packages
pnpm typecheck      # typecheck all packages

# Per-package
pnpm --filter @n-dx/rex build
pnpm --filter @n-dx/sourcevision test
pnpm --filter @n-dx/hench typecheck

Released under the Elastic License 2.0.