Skip to content

zerograph 0.6.4

Choose a tag to compare

@github-actions github-actions released this 18 Oct 14:06
· 20 commits to main since this release
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