From 09076079fb992a74ba3c79d3ba86cf8bd9c2972f Mon Sep 17 00:00:00 2001 From: Daniel Legt Date: Fri, 28 Aug 2026 13:26:50 +0300 Subject: [PATCH] Rename Local Management Agent to System Monitor Agent throughout the codebase, including updates to executable names, comments, and documentation. This change reflects a broader scope of functionality and improves clarity in the project's purpose. --- .gitignore | 2 +- README.md | 2 +- lib/agent/agent.go | 2 +- lib/agent/web/index.html | 4 ++-- lib/config/config.go | 8 ++++---- lib/install/install.go | 2 +- lib/install/install_test.go | 4 ++-- lib/openapi/spec.go | 4 ++-- main.go | 6 +++--- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index c54031b..fb741ba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # Build output -/localagent.exe +/SystemMonitorAgent.exe *.exe *.exe~ *.dll diff --git a/README.md b/README.md index 196a91b..4ed0437 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ ``` -GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o localagent.exe . +GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o SystemMonitorAgent.exe . ``` \ No newline at end of file diff --git a/lib/agent/agent.go b/lib/agent/agent.go index f79be22..f0082f4 100644 --- a/lib/agent/agent.go +++ b/lib/agent/agent.go @@ -98,7 +98,7 @@ func (a *Agent) Serve() error { return fmt.Errorf("listen %s: %w", a.addr, err) } - fmt.Printf("Local Management Agent %s\nListening on http://%s\nPress Ctrl+C to stop.\n", config.Version, a.addr) + fmt.Printf("System Monitor Agent %s\nListening on http://%s\nPress Ctrl+C to stop.\n", config.Version, a.addr) ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt) defer stop() diff --git a/lib/agent/web/index.html b/lib/agent/web/index.html index 5927c1e..cdaa8f8 100644 --- a/lib/agent/web/index.html +++ b/lib/agent/web/index.html @@ -3,7 +3,7 @@ - Local Management Agent + System Monitor Agent