Skip to content

Releases

v0.7.2

Choose a tag to compare

@github-actions github-actions released this 19 Oct 22:07
01581ca
v0.7.2

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 19 Oct 17:56
e92ad9d
v0.7.1

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 13:23
f2b19b0

zerograph 0.7.0

The release notes for the GitHub release page. The why behind each change is in the docs each line
links to.

Breaking

  • zerograph watch is removed. It ran the same poll as serve without answering anything, and
    every MCP tool now refreshes before it answers, so it was one more process per worktree and one
    more writer. A script or service that starts zerograph watch now fails with an unknown-command
    error: start zerograph serve instead, which polls the tree between questions with the same
    --every and --batch. serve exits after --idle seconds without a question (30 minutes by
    default), so a poller meant to stay up names a longer one, such as --idle 86400
    (serve).
  • install-agent writes no git hooks, and removes the block an earlier release wrote. The
    post-merge/post-checkout block lived in the common .git/hooks, so every git worktree add
    started a full embed. A re-run deletes the block and keeps the rest of each hook file; a file left with only its shebang is deleted. Every read already refreshes, and
    serve catches up when it starts. Git hooks remain an option, written by hand
    (keeping fresh).
  • install-agent --claude and --codex install a plugin, and take out what earlier releases
    wrote.
    The plugin is now the only way zerograph wires into Claude Code and Codex: it starts the
    MCP server, runs the session hook and carries the commands. --claude runs claude plugin marketplace add devmaxxx/zerograph, claude plugin marketplace update zerograph, claude plugin install zerograph@zerograph and claude plugin update zerograph@zerograph; --codex runs
    codex plugin marketplace add devmaxxx/zerograph --ref v0.7.0 and codex plugin add zerograph@zerograph, re-adding the marketplace when it was pinned to an older tag. A re-run after
    a binary upgrade moves either plugin to the binary's release.
    Once the plugin is in, the run removes the local-scope MCP servers in ~/.claude.json for the
    checkout and its worktrees, the hook entries in .claude/settings.json and $CODEX_HOME/hooks.json,
    the copied hook script, the zerograph and repo-query skills, the repo-scout subagent and the
    instructions stanza in CLAUDE.md or AGENTS.md; an edited file is left and named, a hook
    script stays until the entries that run it are gone, and a file git tracks is left for the team
    until --retire-repo asks for it. Where the CLI
    is missing it prints the commands and changes nothing. --command no longer reaches Claude Code
    or Codex: the plugins run zerograph (install).
  • Nothing from before the repograph rename is read any more: no .repograph/ store, repograph.toml, ~/.config/repograph/, ~/.cache/repograph/ or REPOGRAPH_* variable, and install-agent no longer retires the repograph hook, stanza or MCP server.
  • The session hook no longer runs a binary from the checkout it starts in. It used
    <checkout>/node_modules/.bin/zerograph when nothing else was found, so a cloned repository that
    committed one got it spawned as soon as a session started there; the Claude Code mod also tried
    target/{release,debug} under the checkout. The hook and the mod now take the binary from
    ZEROGRAPH_BIN or PATH only, and skip a PATH entry inside the checkout, compared as spelled
    and with every link followed. A project that installs zerograph as a dev dependency and has no
    global install sets ZEROGRAPH_BIN to that binary's absolute path (install).
  • The serve socket moved to ~/.cache/zerograph/sock/<hash>.sock, the hash of the canonical
    checkout path, from .zerograph/serve.sock or the temporary directory for a deep checkout. One
    rule now holds for every checkout depth and every $TMPDIR, which two processes of one user could
    disagree on. The private $TMPDIR/zerograph-<uid>/ is the fallback only when the path would not
    fit in sun_path or there is no absolute home directory. zerograph status prints the socket it checked,
    and status --json carries it as serve.socket, for a tool that looks for a server on its own
    (serve).

New

  • A machine-wide vector cache. A vector depends only on the model, the hub commit its files
    were fetched at, its width and the row's text, so every embed is written to ~/.cache/zerograph/vectors (%LOCALAPPDATA%\zerograph\vectors
    on Windows), and a dense sync reads the rows it is missing from there before it embeds anything.
    A row any checkout on the machine embedded once, whether a worktree, a clone or a fork, is a read
    for the rest. On the zerograph repository with e5-small, a cold build took 41.9 s. A new worktree
    at the same commit then built in 1.52 s, and so did an independent clone, which took
    56 s before. A worktree 30 commits back took 6.33 s, with 3979 rows
    read and 590 embedded. Edit→ask p90 stayed at 120 ms against 121 ms, and the top-5 was identical
    on 10 of 10 questions. Only rows this user embedded on this machine enter the cache: a store's
    vectors.f32 is never imported. The directory is private to the user, readers take no lock, and
    a torn or corrupt record is skipped, never returned. An ask reads at most 32 of the cache's
    shards, the fullest first, since it reads each whole before its budget is weighed; the rows it
    did not look up are embedded when they fit its budget and otherwise left to the refresh it starts (keeping fresh,
    bench).
  • zerograph cache status|prune. status shows the cache's rows and bytes per model and
    revision. prune trims it to 80% of its cap, least recently used first, or empties it when the
    cap is 0. Every prune also drops repeated and torn records, so one under the cap can still report
    rows removed; its line says how many went for each reason (commands).
  • vector_cache_max caps the cache at 4G by default; 0 turns it off. Only the machine
    config can set it, not a repository's zerograph.toml. A write that takes the cache over the cap
    starts a prune in a background process, at most once every 10 minutes per process, so a
    long-lived serve or MCP server keeps the cap too (configuration).
    ZEROGRAPH_VECTOR_CACHE moves the cache for one run; on Unix it is refused under a directory
    another user could change.
  • The session hook builds a checkout that has no index, in the background, when the checkout
    opted in: it holds a zerograph.toml or the hook an earlier release installed, or its main
    worktree does or has an index. With an
    index, the serve the hook starts catches up as it starts; with ZEROGRAPH_HOOK_SERVE=0, a
    detached update does it instead (keeping fresh).
  • A Codex plugin, agent/codex/: the MCP server, the session hook on SessionStart,
    SubagentStart and after an edit, and the commands as skills, $zerograph:ask to
    $zerograph:refresh (install).
  • Credentials written inside an indexed file are redacted. A provider token in a source file, a
    key exported in a shell script, a private key pasted into a README or a database URL with a
    password in it becomes [REDACTED_SECRET] before the file is extracted, so it never reaches the
    store, an index, a rerank prompt or zerograph families; the file keeps its line numbers and
    update names the file. Coverage is by provider pattern only (GitHub, GitLab, AWS, Slack, Stripe,
    OpenAI, Anthropic, Google, npm, PyPI, SendGrid, Twilio, Hugging Face, Discord, JWTs, private keys
    and several hundred more): a generic password = "...", api_key: "..." or Bearer header is not
    caught, because the catch-all rules that would catch it flagged dozens of spans on a real
    repository and none of them was a secret. A span that holds an id is never redacted, and a
    database URL on a loopback host or with a whole placeholder password (${VAR}, $VAR, <password>,
    ***) is left as written, unless the password is itself a provider token.
    redact_secrets = false in zerograph.toml, or ZEROGRAPH_REDACT_SECRETS=false for one run,
    turns it off (configuration).
  • A cache_status MCP tool reports the machine's vector cache as zerograph cache status does:
    where it is, its cap, and its rows and bytes per model (MCP).
  • A store records the release that wrote it. manifest.json carries release, status shows
    it, and a store a newer release wrote has a newer_grammar state of its own, which the Claude Code
    mod displays (commands).

Changed

  • With no --repo, the root is the top of the git checkout (git rev-parse --show-toplevel; a
    worktree is its own root), else the nearest directory above that holds a .zerograph/, else the
    current directory. A read where no store exists no longer creates .zerograph/: it answers from
    nothing and says zerograph build builds it. The walk skips every directory below the root that
    has its own .git, so nested worktrees, clones and submodules stay out of the index
    (configuration). The session hook resolves the same root, so inside a git
    checkout it asks about the top level whatever subdirectory the session is in
    (keeping fresh).
  • The reindex MCP tool builds a checkout that has no store with a detached build, where it
    used to fail; with a store it starts a detached update as before (MCP).
  • The Claude Code mod reads files instead of polling status --json. Every 10 s it reads
    background.log and stats the socket the last report named; the full report runs at session
    start, every 5 minutes, once after a...
Read more

zerograph 0.6.4

Choose a tag to compare

@github-actions github-actions released this 18 Oct 14:06
17c4dcc

zerograph status follows a refresh from the terminal, a Claude Code mod shows the index's state under the prompt, and work nobody waits on runs at background priority.

Install or upgrade

npm i -g zerograph@0.6.4

Or download the archive for your platform below (install). The Claude Code mod: /plugin install zerograph --marketplace devmaxxx/zerograph.

New

  • Background priority for work nobody waits on. The detached update that a git hook, a reader
    over its budget or the MCP reindex and switch_model tools start, and watch, run in the
    background band: macOS's PRIO_DARWIN_BG, nice 19 with the idle I/O class on Linux, and
    background mode on Windows. ask, build, update, embed, model and serve keep normal
    priority. A foreground update that finds a background one holding the store waits for it; ask
    never does (keeping fresh).

  • The skill is zerograph. install-agent --claude and --codex write it to
    skills/zerograph/SKILL.md, stamped with the release that wrote it as metadata.version, and with
    a section on what keeps the index fresh and how to pay owed vectors without blocking a turn. The
    repo-query skill an earlier release wrote is removed; an edited one is left and named
    (install).

  • embed_skip keeps a file in the graph and out of the vectors. Globs in zerograph.toml
    whose files keep their nodes, edges and lexical rows but get no vectors: generated code,
    migrations, mocks. A paraphrase no longer finds them; impact, trace and an ask by name do
    (configuration).

  • embed_model = "<hub id>:<variant>" picks a quantised export of the same model, such as
    onnx-community/embeddinggemma-300m-ONNX:q4 (a 197 MB download against 1.2 GB). A variant is a
    model of its own to the store, so switching re-embeds every row once
    (embeddings).

  • zerograph status follows a refresh from the terminal. The report the MCP status tool
    gives an agent: the index, the files behind, the model, owed vectors, the refresh's progress and
    what its run said besides the meters, whether a serve answers and the last lines of
    serve.log. --json gives the same as one object, --follow prints the refresh line until the
    run ends and fails when it ended without finishing (commands).

  • A Claude Code mod shows the index's state under the prompt: in sync, a bar and the time left
    while a refresh runs, the files behind and a warning count, with /zerograph for the full report.
    /plugin install zerograph --marketplace devmaxxx/zerograph; the mod is pinned to each release's
    tag (install).

Changed

  • The default embedder is embeddinggemma-300m's :q4 export,
    onnx-community/embeddinggemma-300m-ONNX:q4: a 197 MB first download against 1.2 GB and 0.91 GB
    peak RSS against 1.47 GB, at the same embed time and with no case lost on the bench suite
    (ADR-005).
  • resources = "balanced" takes 40% of the logical cores, up from 30%. Four threads on a
    twelve-core machine rather than three: a whole-store build of the bench fixture read 521.1 s at
    a 396% peak against 674.3 s at 301% (configuration). low and
    full are unchanged.

Fixed

  • changes names a TypeScript interface's data properties. A hunk that edited
    readonly range: CalendarRange; in a props or record interface named the file and no symbol; every
    named property signature is now a member of its interface, as a class field is of its class.
  • install-agent --claude keeps a matcher you narrowed. A re-run replaced zerograph's hook
    entries whole, so a matcher a repository had changed on purpose (PreToolUse without Bash, say)
    went back to the default on every upgrade. The hook script now records the version and the
    matchers it was installed with; a re-run moves a matcher it wrote to the current default and keeps
    any other.

Before upgrading

  • A store the fp32 default wrote stays on fp32, with no download and no re-embed. Name
    embed_model = "onnx-community/embeddinggemma-300m-ONNX:q4" in zerograph.toml to move it.
  • Hooks that run update --no-dense leave every new row without a vector, and a paraphrase
    misses them. Drop --no-dense from them: the embed now runs in the background band, and the
    first dense update pays every row owed so far.
  • Re-run install-agent to get the renamed skill. Anything that names repo-query — a
    CLAUDE.md line, a settings permission — should name zerograph.

Verify a download

shasum -a 256 -c --ignore-missing SHA256SUMS            # sha256sum on Linux
gh attestation verify zerograph-aarch64-apple-darwin.tar.gz -R devmaxxx/zerograph
Asset Platform
zerograph-aarch64-apple-darwin.tar.gz macOS, Apple silicon
zerograph-x86_64-unknown-linux-gnu.tar.gz Linux x64
zerograph-x86_64-pc-windows-msvc.zip Windows x64
SHA256SUMS checksums of the three archives

Full changelog: v0.6.3...v0.6.4

zerograph 0.6.3

Choose a tag to compare

@github-actions github-actions released this 17 Oct 16:25
0b76e60

install-agent now sets zerograph up for Cursor, VS Code with Copilot, Gemini CLI and opencode, next to Claude Code and Codex.

Install or upgrade

npm i -g zerograph@0.6.3

Or download the archive for your platform below (install).

New

  • install-agent --cursor, --copilot, --gemini, --opencode. Each writes the agent's project MCP file with a zerograph server and the stanza into the instructions file that agent always reads. Existing files are merged, their other servers and settings kept; a file that cannot be merged safely (a commented mcp.json, a symlink) is left alone and the entry to paste is printed. Any subset combines with --claude and --codex (other agents). #200
flag MCP file instructions
--cursor .cursor/mcp.json .cursor/rules/zerograph.mdc
--copilot .vscode/mcp.json .github/copilot-instructions.md
--gemini .gemini/settings.json GEMINI.md
--opencode opencode.json AGENTS.md

Verify a download

shasum -a 256 -c --ignore-missing SHA256SUMS            # sha256sum on Linux
gh attestation verify zerograph-aarch64-apple-darwin.tar.gz -R devmaxxx/zerograph
Asset Platform
zerograph-aarch64-apple-darwin.tar.gz macOS, Apple silicon
zerograph-x86_64-unknown-linux-gnu.tar.gz Linux x64
zerograph-x86_64-pc-windows-msvc.zip Windows x64
SHA256SUMS checksums of the three archives

Full changelog: v0.6.2...v0.6.3

zerograph 0.6.2

Choose a tag to compare

@github-actions github-actions released this 17 Oct 16:07
98f2712

A patch release for the npm page: it now shows the repository README. The binary is unchanged since 0.6.1.

Install or upgrade

npm i -g zerograph@0.6.2

Or download the archive for your platform below (install).

Fixed

  • The npm page shows the repository README, with the badges, navigation and comparison image. The package used to carry a short hand-kept copy that had drifted; the README is now taken from the root at pack time, every relative path pinned to the release tag. #198, #199
  • README setup is one command block: install, ignore .zerograph/, build, ask, connect the agent. #199

Verify a download

shasum -a 256 -c --ignore-missing SHA256SUMS            # sha256sum on Linux
gh attestation verify zerograph-aarch64-apple-darwin.tar.gz -R devmaxxx/zerograph
Asset Platform
zerograph-aarch64-apple-darwin.tar.gz macOS, Apple silicon
zerograph-x86_64-unknown-linux-gnu.tar.gz Linux x64
zerograph-x86_64-pc-windows-msvc.zip Windows x64
SHA256SUMS checksums of the three archives

Full changelog: v0.6.1...v0.6.2

zerograph 0.6.1

Choose a tag to compare

@github-actions github-actions released this 17 Oct 15:18
b01a20d

A patch release: a smoother Windows install, binaries you can verify without trusting the download, a detachable server, and a clickable ask output.

Install or upgrade

npm i -g zerograph@0.6.1

Or download the archive for your platform below. npm is the recommended route on every platform; on Windows it never meets SmartScreen (install).

Important

Upgrading on Windows with a 0.6.0 serve running: end it first with Stop-Process -Name zerograph (0.6.0 has no stop). From 0.6.1 on, upgrades work under a running server.

Scripts that parse ask text output: the first column is now a path, not an id. Parse --json, which is unchanged.

New

  • Verifiable binaries. Every archive and the binary inside it carry a build provenance attestation, and the release carries SHA256SUMS. Any copy, from this page or from an npm install, can be tied to the workflow and commit that built it (verifying a download). #190, #193
  • zerograph serve --detach starts a resident server in its own process, logs to .zerograph/serve.log, and returns once it listens (serve). #190
  • zerograph stop ends the server for a repository and removes its socket file, on Windows too (serve). #190, #196

Changed

  • zerograph ask text output leads each line with path:line, which terminals make clickable, and drops sym:, file: and entity: ids that only repeat the location or the name; document ids stay. Neighbours print under their seed with └ (commands). #192

Fixed

  • npm i -g zerograph under a running serve on Windows no longer fails with a sharing error: the launcher runs a copy of the binary from %LOCALAPPDATA%\zerograph\bin, one per version, and sweeps copies unused for 30 days. #190, #193
  • Windows first run: the first model download prints the optional Defender exclusion command for the model cache. #190

Verify a download

shasum -a 256 -c --ignore-missing SHA256SUMS            # sha256sum on Linux
gh attestation verify zerograph-aarch64-apple-darwin.tar.gz -R devmaxxx/zerograph
gh attestation verify "$(npm root -g)/zerograph/bin/darwin-arm64/zerograph" -R devmaxxx/zerograph
Asset Platform
zerograph-aarch64-apple-darwin.tar.gz macOS, Apple silicon
zerograph-x86_64-unknown-linux-gnu.tar.gz Linux x64
zerograph-x86_64-pc-windows-msvc.zip Windows x64
SHA256SUMS checksums of the three archives

Full changelog: v0.6.0...v0.6.1

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 14:47
fix(release): harden 0.6.0 and finish the rename (#187)

Bounds the rerank command with a deadline and forwards an interrupt to it, pins every measured embedder to a hub revision, caps an MCP server's paid reranks and charges them by the model commands an answer starts, checks the tag against Cargo.toml before a release publishes, ships every binary inside one unscoped zerograph package on the npm registry through trusted publishing, and renames the remaining repograph mentions while keeping what recognises an install from before the rename. Closes #182, #183, #184, #185 and #186.

v0.5.5

Choose a tag to compare

@github-actions github-actions released this 27 Sep 14:31
v0.5.5

v0.5.4

Choose a tag to compare

@github-actions github-actions released this 23 Sep 21:59
c3bc619
v0.5.4