From f823a2475d05493a5072fcd42861225ffe418e54 Mon Sep 17 00:00:00 2001 From: Zhi Date: Sat, 21 Feb 2026 12:12:28 +0000 Subject: [PATCH] feat: add /version endpoint + resolution ticket tested --- app/main.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/main.py b/app/main.py index 8fcdb32..52a5815 100644 --- a/app/main.py +++ b/app/main.py @@ -291,3 +291,14 @@ def remove_project_member(project_id: int, user_id: int, db: Session = Depends(g db.delete(member) db.commit() return None + + +# ============ System API ============ + +@app.get("/version") +def version(): + return { + "name": "HarborForge", + "version": "0.1.0", + "description": "Agent/人类协同任务管理平台" + }