agent-relay-server 0.83.1 → 0.84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/validation.ts CHANGED
@@ -124,6 +124,8 @@ export function cleanTokenConstraints(value: unknown): TokenConstraints | undefi
124
124
  if (cwd) constraints.cwd = cwd;
125
125
  const teamId = cleanString(value.teamId, "constraints.teamId", { max: 120 });
126
126
  if (teamId) constraints.teamId = teamId;
127
+ const tenantId = cleanString(value.tenantId, "constraints.tenantId", { max: 120 });
128
+ if (tenantId) constraints.tenantId = tenantId;
127
129
  for (const key of ["terminalAttach", "logsRead", "canDelegate"] as const) {
128
130
  if (value[key] !== undefined) {
129
131
  if (typeof value[key] !== "boolean") throw new ValidationError(`constraints.${key} must be a boolean`);