Waydev Git-Hooks & AI Telemetry Installer

Installer script

📘

The bash script is open source and can be freely reviewed or modified at your own risk; extended documentation is also available in the archive, Drive download (script & extended documentation).

The install-wd.sh script automates the setup of Waydev git commit hooks (wd_commit_hook), Entire CLI agent tracking, and OpenTelemetry (OTel) configuration across local repositories.

The following capabilities are included:

  • Repository detection - Automatically detects local Git repositories and installs/configures the wd_commit_hook and post-commit hooks while preserving existing hooks (e.g. Husky).
  • Agent session tracking - Automatically checks for and configures session tracking across supported AI coding agents (claude-code, opencode, cursor, copilot-cli, factoryai-droid, gemini).
  • OTel configuration merge - Merges OpenTelemetry environment configurations into .claude/settings.json and .opencode/settings.json.
  • Interactive and non-interactive UX - Includes interactive prompt-first UX as well as non-interactive/utility flags:
    • --check - runs prerequisite checks (OS, Git, Node, curl, Entire CLI)
    • --uninstall - cleans up installed hooks and OTel environment keys, without touching the Entire CLI installation
    • --dir - target directory override

How to Run

Navigate to your workspace directory containing your Git repos (or run from anywhere and specify --dir):
bash install-wd.sh

The script operates with a prompt-first UX: it asks for all configuration options upfront, displays a full summary, and requests final confirmation before altering any files.