diskgraph
v0.3.1
Published
File-relationship engine for AI agents: disk usage, ownership, evidence, and history — a thin installer for the prebuilt DiskGraph binaries
Downloads
896
Maintainers
Readme
diskgraph (npm)
Thin installer for DiskGraph — a
Rust file-relationship engine for AI agents and PruneX. This package ships
no binaries: postinstall downloads the archive for your platform from the
project's GitHub release, verifies its SHA-256, and unpacks the two
binaries. No compiler, no toolchain, no build.
npx -y diskgraph --version # runs without installing
npm i -g diskgraph # puts `diskgraph` on PATHWhat you get
diskgraph— the CLI: scope/index/query surfaces with JSON envelopesdiskgraph-mcp— the MCP server (stdio, Streamable HTTP, legacy SSE)
Quick start
diskgraph scope add --root ~/projects --data-dir ~/.diskgraph
diskgraph index --scope <scope-id> --data-dir ~/.diskgraph --wait
diskgraph tree --scope <scope-id> --data-dir ~/.diskgraph --depth 3Point an MCP host at the server, e.g. for Codex:
codex mcp add diskgraph -- diskgraph-mcp --data-dir ~/.diskgraph --profile allIntegrity
The installer downloads
diskgraph-<target>.tar.gz plus its published .sha256 and refuses to
unpack anything whose digest does not match. Supported targets:
macOS (arm64, x64), Linux (x64, arm64), Windows (x64). An unsupported
platform is told to build from source (cargo install --path
crates/diskgraph-cli) rather than silently doing nothing.
Other channels
Homebrew tap, GitHub releases, winget, scoop, and source builds cover the same binaries; see the main repository's RELEASING.md.
