[claude] feat: Add /api/health endpoint for monitoring (#6) #12
Reference in New Issue
Block a user
Delete Branch "claude/issue-6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #6
Changes
api/health/index.json— static JSON health endpoint returning status, services, uptime, and versionscripts/build.pyto regenerate the health endpoint on each build with a timestamped versionHow it works
Since this is a static site (no Express/Node backend), the health endpoint is a static JSON file served at
/api/health/index.json. The build script generates it with:api: trueconfirms the static site is being servedagent_loopandwebsocketarefalseuntil a backend (tower-hermes) is addedversionis the UTC build timestampcurl, uptime monitors, and any HTTP health checkerTest