#!/usr/bin/env bash # Compute a deterministic content hash of all news_mcp source files. # Produces the same value the server exposes at GET /health via _VERSION_HASH. set -euo pipefail cd "$(dirname "$0")" # always run from repo root find news_mcp -name '*.py' -type f \ | sort \ | xargs cat \ | sha256sum \ | cut -c1-9