2252 Commits
Author SHA1 Message Date
hengyunabc c7f293573e remove expert info 2025-11-27 16:15:58 +08:00
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
Yeaury 345d2c2c5c feat: upgrade MCP version to 2025-06-18 with elicitation and MCP-Protocol-Version (#3084) 2025-11-25 15:04:50 +08:00
hengyunabc ef6524a388 upgrade codeql-action to v3 2025-11-25 15:03:19 +08:00
yande2011 bb7418abe5 interrupt时如果处于TERMINATED也应该成功 (#3079)
触发条件:
HttpApiHandler的processExecRequest在job的状态是TERMINATED时会退出waitForJob,sessionManager.removeSession时会判断是否有foregroundJob,
如果存在则调用interrupt, 修改process的状态和把foregroundJob置空在另一个线程,并且是先设置状态为TERMINATED然后才会把foregroundJob置空,存在时间差
2025-11-24 10:50:00 +08:00
hzqnull 8c4828ca0f fix typo (#3080) 2025-11-24 10:48:32 +08:00
hengyunabc ca1b3336e0 release 4.1.1 arthas-all-4.1.1 2025-10-23 16:33:29 +08:00
Zhang Yu 91cb47a80f fix(auth): resolve authentication failure when accessed via remote IP (#3076) 2025-10-21 16:12:47 +08:00
hengyunabc 0f52876b42 Update CONTRIBUTING.md 2025-10-15 14:48:22 +08:00
hengyunabc 601cc2f150 release 4.1.0 arthas-all-4.1.0 2025-10-15 00:08:45 +08:00
hengyunabc 6d9b6051b2 use central-publishing-maven-plugin 2025-10-15 00:08:11 +08:00
hengyunabc f56297fde6 upgrade async-profiler to 4.1 #3008 2025-10-14 17:04:16 +08:00
hengyunabc f9b7481e82 Prettified Code! 2025-10-13 07:20:59 +00:00
Zhang Yu f6ff06b18b docs: add official documentation for MCP Server (#3073) 2025-10-13 15:14:48 +08:00
hengyunabc 0c38eee47b remove netty-all dep. 2025-10-11 15:17:31 +08:00
Zhang Yu 1eadcada98 fix: 优雅关闭 Netty SSE 连接,避免客户端出现 Premature close 错误 (#3072) 2025-10-10 17:21:15 +08:00
1599-web 0d203b4ad0 feat: add JFR analysis frontend and backend (#3050) 2025-10-10 16:12:36 +08:00
hengyunabc 2fb240cba9 fix as-package.sh jdk25 build 2025-10-09 18:05:38 +08:00
hengyunabc 8695dc4c4f upgrade asm to 9.9. #3049 2025-10-09 18:05:03 +08:00
Zhang Yu a324a83665 fix: 修复空指针异常并改进README (#3066) 2025-10-09 17:28:56 +08:00
Zhang Yu 91a6fa927d feat: enhance MCP authentication and allow configurable /mcp path (#3061) 2025-10-09 17:28:56 +08:00
Zhang Yu 7bb4408f31 feat: Add Bearer Token authentication support for MCP requests (#3059)
* feat: 为MCP请求添加Bearer Token认证支持
- MCP请求现在支持Bearer Token和Basic Auth两种认证方式
- 普通HTTP请求保持原有Basic Auth认证方式不变
2025-10-09 17:28:56 +08:00
Zhang Yu 71e4cd8e52 feat: mcp serialization fix (#3058)
* feat: 升级fastjson2版本并优化序列化处理

- 升级fastjson2版本以支持更大的序列化深度限制,修复"level too large : 2049"错误
- 优化工具类处理逻辑,解决无getter方法类的序列化问题
- 增强流式工具错误信息处理机制

* fix: 优化类名匹配和错误信息判定机制
2025-10-09 17:28:56 +08:00
Zhang Yu 367df00e25 feat: Support MCP 2025-03-26 protocol with streaming tools (#3054)
- 实现MCP协议2025-03-26版本支持
- 添加流式工具(Streamable Tools)架构
- 支持双传输模式:流式传输(SSE)和无状态传输
- 实现30+个Arthas工具的MCP接口封装
- 添加实时进度通知和结果流式输出
- 支持watch、monitor、trace、dashboard、profiler等流式工具
2025-10-09 17:28:56 +08:00
Zhang Yu 2b837ca2c4 feat: Add MCP (Model Context Protocol) base protocol implementation with Netty (#3039) 2025-10-09 17:28:56 +08:00
laoyin007 3a2322396f fix typo (#3063) 2025-09-20 10:15:03 +08:00
ChenglongZ 27a22fe8a1 命令行处理类名时,自动替换/为. (#3017) 2025-09-11 17:40:49 +08:00
Huang Xiao fc67880b33 Add the 'jcmd' command to replace 'jps'. (#3057) 2025-09-11 17:36:25 +08:00
hengyunabc 3c09d4a686 Prettified Code! 2025-07-27 01:14:50 +00:00
yunzhongyue23 31f31af94f Update monitor.md (#3026) 2025-07-27 09:14:32 +08:00
hengyunabc a4e8595350 Prettified Code! 2025-07-27 01:14:23 +00:00
yunzhongyue23 3e03bef386 Update monitor.md (#3025) 2025-07-27 09:14:07 +08:00
Lei Zhiyuan 0aeffc9bda fix bug of viewing enum obj (#3041) 2025-07-27 08:44:46 +08:00
hengyunabc 2b97ca86bc Prettified Code! 2025-07-27 00:43:23 +00:00
kkHAIKE 502a04858f Add mallocTrim command to vmTool (#3030) 2025-07-27 08:43:05 +08:00
hengyunabc 05962028ce upgrade github workflow windows-2019 to windows-2022 2025-07-16 23:54:01 +08:00
hengyunabc d9811a07b6 fix ArthasBanner latestVersion() block. #3021 2025-05-14 10:53:27 +08:00
hengyunabc b0990518e5 fix lambda class filter. #3010 2025-04-15 22:15:23 +08:00
hengyunabc 1140fa0d99 update site/docs/en/doc/tt.md 2025-04-15 20:13:13 +08:00
alliswell008 8034b5df18 Update tt.md
删除指定的 tt 记录需要指定索引
2025-04-15 20:10:50 +08:00
hengyunabc 0896c192e1 fix arthas-boot blocking in findTcpListenProcess method. #3007 2025-04-08 15:31:52 +08:00
Jiajing LU 47f7eb28ce Update flatten-maven-plugin to generate a flatten reduced POM (#3005) 2025-03-28 13:07:17 +08:00
Hervé Boutemy 0d6c1a63eb drop duplicate dependencies. fix #3004 2025-03-25 17:28:52 +08:00
Hervé Boutemy 63ee8dfb19 update Maven Wrapper: mvn wrapper:wrapper 2025-03-24 15:39:01 +08:00
Hervé Boutemy bde1136b6a drop duplicate dependency 2025-03-24 15:33:06 +08:00
Hervé Boutemy 4a21bd2b14 mvn -ntp: no transfer progress 2025-03-24 11:10:26 +08:00
hengyunabc f4899f02a4 release 4.0.5 arthas-all-4.0.5 2025-03-11 23:41:24 +08:00
hengyunabc de7e18a333 use async-profiler nightly version. #2997 2025-03-11 23:41:24 +08:00
hengyunabc a723b0b180 upgrade asm to 9.7.1 2025-03-11 23:32:12 +08:00
hengyunabc a35499171d upgrade bytekit to 0.1.4 2025-03-11 23:30:00 +08:00