mirror of
https://github.com/alibaba/arthas.git
synced 2026-10-20 00:17:01 +00:00
- Add userId field to Session interface and implementation - Support userId extraction from HTTP headers (X-User-Id) and URL parameters - Pass userId through command execution chain (HTTP API, MCP server, command executor) - Include userId in usage statistics reporting to arthasUsageSuccess - Add userId display in session command output - Update CommandExecutor interface to accept userId parameter - Ensure userId is properly propagated in: * HTTP term connections (BasicHttpAuthenticatorHandler, ExtHttpTtyConnection) * HTTP API requests (ApiRequest, HttpApiHandler) * MCP server stateless and streamable handlers * Arthas command context and tool execution