feat(auth): validate agent context upstream

This commit is contained in:
2026-06-12 10:18:41 +08:00
parent 4b572d9264
commit 8857b18dc9
13 changed files with 247 additions and 57 deletions
-2
View File
@@ -83,7 +83,6 @@ function normalizeSeenRequest(request) {
headers: {
authorization: request.headers.authorization,
"x-project-id": request.headers["x-project-id"],
"x-user-id": request.headers["x-user-id"],
},
method: request.method,
path: url.pathname,
@@ -280,7 +279,6 @@ test("matches Python CLI backend request shape for every command and key variant
access_token: "token",
network: "tjwater",
project_id: "project-1",
user_id: "user-1",
username: "alice",
headers: { "x-extra": "extra" },
};