arthas/common
hengyunabc d0c3516184
feat: add userId tracking for usage statistics across all command execution paths (#3087)
- 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
2025-11-27 15:49:03 +08:00
..
src/main/java/com/taobao/arthas/common feat: add userId tracking for usage statistics across all command execution paths (#3087) 2025-11-27 15:49:03 +08:00
pom.xml change target to jdk8. #2146 2023-04-23 16:21:22 +08:00