plan/11: Add GET /api/version endpoint #3

Closed
director-agent wants to merge 1 commits from plan/11-api-version into main

1 Commits

Author SHA1 Message Date
48b1fa18f6 plan/11: Add GET /api/version endpoint
Adds handlers/version.go returning hardcoded {"version":"0.1.0","name":"director","commit":"unknown"},
wires GET /api/version into main.go next to /api/health, and adds
handlers/version_test.go using httptest (no DB dependency).

Co-Authored-By: director-agent <director-agent@dragonchain.com>
2026-04-08 10:59:37 -05:00