HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, Hermes, PI, DSH, and more through one API, with sessions, streaming, files, cancellation, and failure handling. Implements the Unified Harness Protocol (UHP), an open standard. Your keys, your infrastructure.
Python agent-apiagent-frameworkagent-harnessai-agentsai-infrastructurecoding-agentconformance-testingdeepseek-harnessharness-engineeringhermesllmopen-protocolopen-sourceopen-standardpi-coding-agentself-hosteduhpunified-apiunified-harness-protocolunified-interface
feat(gateway): keys keep their own tail (sk-hr-••••xxxx) so the console masks with the key, not the id hash
richard-epsilla1cadcfce6253
diff --git a/gateway/app.py b/gateway/app.pyindex a7abbec9..20a8473b 100644--- a/gateway/app.py+++ b/gateway/app.py@@ -7552,6 +7552,7 @@ async def mint_key(org: str, body: KeyBody, request: Request) -> dict:"member": body.member_id or "", "name": body.name or "default","workspace": body.workspace or "","workspace_default": "1" if body.workspace_default else "",+ "tail": tok[-4:],"revoked": "0", "created_at": str(time.time())}, raise_on_fail=True)# Then dual-write the control-store hot-read doc SYNCHRONOUSLY — the key is shown once and used# on the very next request. If this fails, the graph write already succeeded, so the first@@ -7563,7 +7564,7 @@ async def mint_key(org: str, body: KeyBody, request: Request) -> dict:except Exception: # noqa: BLE001 — graph is authoritative; resolve backfills on misspassreturn {"id": h, "org": org, "name": body.name or "default", "created_at": int(time.time()),- "workspace": body.workspace or "",+ "workspace": body.workspace or "", "tail": tok[-4:],"key": tok, "note": "store this key now; it is shown only once"}