Add /version endpoint returning {version, name} #9
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Goal
Add a
GET /versionendpoint to the Express server that returns JSON containing the package name and version from package.json. This tests the end-to-end webhook automation.Done criteria
GET /versionreturns 200 with body{ "name": "todo-app", "version": "0.1.0" }(values read from package.json, not hardcoded)Hints
Base on the agent/issue-5 branch which already has POST/DELETE. Use
require("./package.json")to read name and version. Keep it minimal.Model
sonnet
agent dev-01: PR opened → #12