Skip to content

Hydra 0.3.5: self-update, version reporting, shorter repeated failures

Choose a tag to compare

@rahul05ranjan rahul05ranjan released this 20 Nov 10:33

Hydra can now update itself and tell you which version it is, and test digests stay short when the same failure repeats across copies of a project.

New: hydra self-update

  • Checks the npm registry for the latest hydra-nano. If it is newer, Hydra stops its local server and reruns the installer pinned to that exact version, with the options you installed with (--agent, --no-hooks, --no-agents, --runtime-only).
  • hydra self-update --check only reports; --force reinstalls even when you are current.
  • The only network call is one read from the npm registry; it sends nothing about you. HYDRA_REGISTRY points it at a mirror.
  • The installer now records what it installed in ~/.hydra/installed.json. Installs from before 0.3.5 have no record, so their first hydra self-update reinstalls with default options. To get the command at all, update once with npx hydra-nano.

New: hydra version

  • hydra version (also --version, -v) prints the installed version. hydra doctor shows it too, and the MCP server now reports it to clients instead of "0".

Test and build digests

  • When the same failure repeats word for word across copies of a file (agent worktrees, vendored or duplicated packages), only the first copy is shown in full; each other copy keeps its first line, which names its path, and a note says how many were shortened. In real use, a prettier error repeated once per worktree copy had filled the digest to its limit.
  • A short failing run is labelled (exit N) instead of repeating the command you ran.