UUBulb
284bc5655f
ci: only keep the latest release ( #48 )
2024-07-28 23:08:00 +08:00
naiba
3989ee87c8
fix: 双栈位置上报
2024-07-28 22:22:47 +08:00
naiba
fa0cc9bb7a
fix: tcp-ping
2024-07-28 18:48:44 +08:00
naiba
c50a21c5b1
fix: 避免 agent 与 dashboard 更新不同步情况
2024-07-28 15:44:06 +08:00
naiba
80ef923a38
feat: tcp/icmp ping 提前取 IP
2024-07-28 15:05:30 +08:00
UUBulb
7ad3094cee
feat: use embed geoip database ( #46 )
2024-07-28 14:02:27 +08:00
UUBulb
3204095d63
chore: missing return ( #45 )
2024-07-24 23:17:39 +08:00
UUBulb
c0288971d8
chore: code style ( #44 )
...
* some code refactor
* service
* chore: code style
---------
Co-authored-by: naiba <hi@nai.ba>
2024-07-23 23:20:55 +08:00
UUBulb
a99bf7066b
feat(gpu): use pdh on Windows ( #43 )
2024-07-22 22:21:09 +08:00
UUBulb
d7ca50dd83
add a simple timeout check for sync script ( #42 )
...
* add a simple timeout check for sync script
* add workflow timeout
2024-07-21 16:18:25 +08:00
UUBulb
0a6adea9ab
fix: add recovery option for windows service ( #41 )
2024-07-20 19:01:11 +08:00
naiba
55c4a770a1
chore: upgrade dependencies
2024-07-19 19:05:22 +08:00
UUBulb
65bf012579
feat: add GPU information retrieval for darwin using cgo ( #40 )
...
* feat: add GPU information retrieval for darwin using cgo
* fix kIOMasterPortDefault thing
* return 0
2024-07-19 19:00:59 +08:00
naiba
f220134e5b
✨ HTTP 内网穿透
2024-07-14 19:41:13 +08:00
naiba
e674ee7177
fix: workflow
2024-07-14 13:00:19 +08:00
naiba
427c9b42fb
Merge branch 'main' of github.com:nezhahq/agent
2024-07-14 12:48:17 +08:00
naiba
52f6cf5fdf
feat: 去除 WebTerminal 的 websocket 依赖
2024-07-14 12:48:10 +08:00
UUBulb
1344fc3dd8
feat: self-updating using gitee ( #39 )
...
* feat: self-updating using gitee
* chore: rename
---------
Co-authored-by: naiba <hi@nai.ba>
2024-07-14 11:19:59 +08:00
naiba
f02d1ee04e
fix: branch name
2024-07-13 23:19:02 +08:00
naiba
a4955a75ff
feat: sync code to gitee
2024-07-13 23:16:16 +08:00
UUBulb
c5ec47c814
ci: sync release to gitee ( #38 )
...
* ci: sync release to gitee
* install dependency
2024-07-13 23:05:03 +08:00
UUBulb
fda3a52533
use --debug to replace --silent ( #37 )
...
* add --silent to service command
* ?
* use --debug to toggle the logging
2024-07-13 12:47:22 +08:00
UUBulb
3bf3f97767
feat: make logging and temperature monitoring optional ( #35 )
...
* feat: make logging and temperature monitoring optional
* chore: improve code style
* fix: import
---------
Co-authored-by: naiba <hi@nai.ba>
2024-07-10 23:58:19 +08:00
xykt
1bf702cfaa
Add --ipv6-countrycode runtime parameter to set the region flag using IPv6 by default ( #36 )
...
* Update main.go
Add --ipv6-countrycode runtime parameter to set the region flag using IPv6 by default.
* Update service.go
Add --ipv6-countrycode runtime parameter to set the region flag using IPv6 by default.
* Update myip.go
Add --ipv6-countrycode runtime parameter to set the region flag using IPv6 by default.
* chore: rename
---------
Co-authored-by: naiba <hi@nai.ba>
2024-07-10 23:29:35 +08:00
UUBulb
09c4ef1764
refactor(pty): switch to using interface ( #34 )
...
* refactor(pty): switch to using interface
for better flexibility (although may not be useful)
* chore: reduce error messages
* delete redundant messages
2024-07-07 10:18:59 +08:00
UUBulb
fb7b45527b
service: logging to syslog ( #33 )
...
* service: logging to syslog
* chore: update gopsutil to v4
* chore: move println() to the util package
* gpu: only return 0 on failure
2024-07-05 22:31:56 +08:00
UUBulb
532bca8867
Fix CPU counts error on Windows ( #31 )
2024-06-25 22:10:32 +08:00
UUBulb
fb86c89de7
fix: wrong IP value in some situations ( #32 )
2024-06-25 22:08:28 +08:00
UUBulb
81b774a7f0
fix: temperatureStat will stack up ( #30 )
2024-06-23 22:27:23 +08:00
naiba
505b7f2210
fix: goreleaser flag
2024-06-23 16:20:59 +08:00
UUBulb
804364e6c9
make atomicStoreFloat64 safe ( #29 )
2024-06-23 15:58:39 +08:00
Leon
136b3801c7
refactor: improve error handling for fetching sensor temperatures ( #27 )
2024-06-23 14:42:27 +08:00
UUBulb
338f0dabbe
feat: Add GPU inspection/monitoring support ( #28 )
2024-06-23 10:27:18 +08:00
Leon
968faca950
Add support for monitoring sensor temperatures ( #21 )
2024-06-01 19:11:54 +08:00
UUBulb
611ad8be20
Support more flags in the service command ( #23 )
...
fix for darwin
2024-05-31 21:38:45 +08:00
UUBulb
f882ca3498
Switch to ConPty on Windows 10 & support windows arm64 platform ( #20 )
2024-05-21 18:40:08 +08:00
UUBulb
060d13a759
Replace pflag with cobra, add service command ( #17 )
...
* Replace pflag with cobra, add service command
moved '-c' option to 'edit' command
* Restart after installation & add some friendly outputs
* Attempt to fix ci
* Update dependencies & revert gosec to 2.19.0
gosec 2.19.0 is the last version supports Go 1.20
* Remove gosec checks
2024-05-18 22:38:39 +08:00
UUBulb
833398cca0
Fix ret.CPU detection on various platforms ( #16 )
2024-05-12 16:49:21 +08:00
naiba
6aae5d4936
chore: upgrade dependencies
2024-05-05 00:13:11 +08:00
UUBulb
25ee86800c
fix virtualization detection ( #15 )
2024-05-05 00:06:50 +08:00
naiba
f57634fca0
chore: daocloud 镜像失效
2024-04-18 21:50:07 +08:00
naiba
2ae78030ec
⬆️ Update gopsutil
2024-04-06 11:40:30 +08:00
naiba
707da9c4cb
Update contributors' avatars
2024-03-23 13:08:05 +08:00
naiba
e4c52105ef
Update dependencies in go.mod and go.sum files
2024-03-23 13:06:31 +08:00
naiba
7e311c52ba
Update go.mod to use Go 1.21 and updated dependencies
2024-03-01 10:51:07 +08:00
naiba
7f00caabb7
🚸 upgrade self-update
2024-02-28 23:44:09 +08:00
Darc Z
4bfb17df46
feat: make ip update period modifiable ( #13 )
...
* feat: make ip update period modifiable
* doc: change text lead to misunderstand
2024-02-24 21:07:59 +08:00
naiba
a19ada8809
♻️ 更换镜像地址并加以检查
2024-02-09 21:08:38 +08:00
naiba
3d35db61f9
Update README.md [no ci]
2024-02-04 09:25:17 +08:00
笨蛋ovo
fc0f1f08b5
指定 go1.20.13 ( #10 )
2024-02-04 09:23:28 +08:00