Skip to content

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.

fix: a caller outlived the helper I deleted, and a marker call missed its new argument

richard-epsillaed1268bad03c
diff --git a/gateway/app.py b/gateway/app.py
index 341f973e..5b0c96cd 100644
--- a/gateway/app.py
+++ b/gateway/app.py
@@ -2980,7 +2980,8 @@ async def admin_integrations_put(body: IntegrationsBody, request: Request) -> di
# there, so an existing integration picks up new models on the next release instead of
# every user editing every integration by hand.
if not models:
- models = _provider_models(provider)
+ models = [{"canonical": c, "provider_id": v}
+ for c, v in _vendor_models(provider).items()]
out.append({"name": name, "provider": provider, "config": cfg, "models": models})
names = {i["name"] for i in out}
if len(names) != len(out):
diff --git a/runner/server.py b/runner/server.py
index c91d8fcb..6d7f6062 100644
--- a/runner/server.py
+++ b/runner/server.py
@@ -1714,7 +1714,7 @@ def checkpoint(background_tasks: BackgroundTasks, identifier: str = "") -> Respo
h.update(chunk)
nbytes += len(chunk)
head = _git(ws, "rev-parse", "--short", "HEAD").stdout.strip()
- _ws_marker_set(h.hexdigest()) # sandbox now HOLDS this checkpoint
+ _ws_marker_set(identifier, h.hexdigest()) # this session now HOLDS this checkpoint
background_tasks.add_task(os.unlink, tar_path) # cleanup after the response streams out
return FileResponse(tar_path, media_type="application/gzip", background=background_tasks,
headers={"X-Checkpoint-Bytes": str(nbytes), "X-Git-Head": head})