Commit Graph

38 Commits

Author SHA1 Message Date
Akizon77
5b599f1e96 feat: 优化安装脚本,提前检测架构并简化 GitHub 代理显示 2025-06-05 00:51:27 +08:00
Akizon77
20b6d38321 feat: windows安装脚本 2025-06-05 00:28:02 +08:00
Akizon77
b247a6ebee feat: 添加任务执行功能
fix: 版本解析逻辑
2025-06-04 17:20:39 +08:00
Akizon77
ccb8c06dac feat: 重构安装脚本,添加日志功能和参数解析 2025-05-30 17:24:25 +08:00
Akizon77
2c0bd25d18 feat: 添加虚拟化检测功能 2025-05-26 19:23:24 +08:00
Akizon77
21b1b17e84 feat: 添加 GPU 名称获取功能 2025-05-26 19:12:02 +08:00
Akizon77
6257278426 fix: 优化磁盘信息获取逻辑,排除临时文件系统和网络驱动器 2025-05-25 18:17:00 +08:00
Akizon77
26b54ac85d fix: 不使用环境变量获取shell 2025-05-25 13:58:23 +08:00
Akizon77
4cd8626d35 fix: Windows 11 版本识别 2025-05-25 00:54:08 +08:00
Akizon77
ae783daf80 fix: 优化 shell 查找逻辑,确保用户默认 shell 可用性验证 2025-05-25 00:06:02 +08:00
Akizon77
c136e452db fix: 增强卸载功能,确保旧服务和二进制文件被正确移除 2025-05-16 21:16:46 +08:00
Akizon77
c60c811119 fix: 修改退出代码为42,以符合程序约定 2025-05-16 21:09:13 +08:00
Akizon77
d64c11eab1 fix: 修正构建命令中的包路径,确保版本更新信息正确传递 2025-05-16 21:06:45 +08:00
Akizon77
12dbaf2be5 fix: 添加Web SSH禁用提示信息 2025-05-16 20:54:54 +08:00
Akizon77
7ce7ee18d3 feat: 实现跨平台终端启动功能,整合Unix和Windows终端逻辑 2025-05-16 20:17:51 +08:00
Akizon77
e34367de69 Refactor monitoring package: remove platform-specific files and consolidate OS detection and process counting logic
- Deleted os_windows.go and process_windows.go, replacing them with platform-agnostic implementations in unit directory.
- Removed Linux-specific process counting logic from process_linux.go and integrated it into unit.
- Consolidated uptime and OS name retrieval into unit files for better organization.
- Updated update mechanism to use global variables for current version and repository.
- Introduced command-line flags for configuration, including disabling auto-update and web SSH.
- Implemented WebSocket connection handling and terminal interaction for both Unix and Windows systems.
- Added basic info upload functionality to server package, enhancing monitoring capabilities.
2025-05-16 19:56:22 +08:00
Akizon77
b156e93409 fix: 笔误,写错了 2025-05-06 21:32:06 +08:00
Akizon77
0ec0eda400 fix: 更新失败后不在终止程序 2025-05-06 21:30:50 +08:00
Akizon77
a4b2c8e204 fix: 自动更新后不会自动重新启动 2025-05-06 21:25:42 +08:00
Akizon77
fe0098bf49 feat: #4 在上报的字段里添加当前agent版本 2025-05-06 21:12:34 +08:00
Akizon77
f593015598 feat: 一键部署脚本 2025-05-06 21:09:42 +08:00
Akizon77
180586d8aa fix: #3 修改CPU名称识别的逻辑 2025-05-06 21:08:38 +08:00
Akizon77
2cc6534177 fix: 基本信息添加一些不太会经常变动的数据 2025-05-03 21:27:04 +08:00
Akizon77
ca86b698ab Merge branch 'main' of https://github.com/komari-monitor/komari-agent 2025-05-03 21:22:09 +08:00
Akizon77
6334b3dd06 fix: 当前版本注入 2025-05-03 21:21:36 +08:00
Akizon
8a1041fda3 Update release.yml 2025-05-03 21:20:01 +08:00
Akizon77
ab9c81cb14 Merge branch 'main' of https://github.com/komari-monitor/komari-agent 2025-05-03 21:13:43 +08:00
Akizon77
aa7c52ffa4 fix: 更新版本获取逻辑,支持从环境变量读取版本号 2025-05-03 21:13:40 +08:00
Akizon
032f3cb591 Add files via upload 2025-04-29 21:48:09 +08:00
Akizon77
d4b66e86f9 feat: 自动更新 2025-04-29 21:26:50 +08:00
Akizon77
5f882d7042 fix: 优化构建二进制文件的命令,减少生成的文件大小 2025-04-29 21:15:54 +08:00
Akizon77
07b2eef610 fix: 修复构建和上传二进制文件的名称 2025-04-29 21:12:11 +08:00
Akizon77
f607957365 fix: text 自动生成二进制 2025-04-29 21:07:58 +08:00
Akizon77
ec5bbcb2f4 fix: text 自动生成二进制 2025-04-29 21:03:04 +08:00
Akizon77
79d1760163 feat: 自动发布realease 2025-04-29 20:57:23 +08:00
Akizon77
f21001c71e fix: ws api endpoint 2025-04-16 14:34:06 +08:00
Akizon77
f785c0044c feat(monitoring): 增加网络总量和进程计数监控
- 在 net.go 中添加总量统计功能,记录上次采样值
- 在 main.go 中添加进程计数监控
- 修改 remote.go 中的 JSON 字段名称
- 优化 report 函数,增加网络总量和进程计数数据
2025-04-12 22:50:56 +08:00
Akizon77
c2a9148d4c init 2025-04-11 17:26:34 +08:00