Enhance Zsh and Config Commands, Update Network Configuration

- Implemented comprehensive Zsh installation command with multiple network scenarios
- Added 'config show' subcommand to display agent configuration
- Updated version command to print version information
- Modified Network configuration to clarify internet connectivity status
- Improved download utility with additional file existence checks
- Updated agent-wdd rules and documentation
This commit is contained in:
zeaslity
2025-02-27 14:20:05 +08:00
parent 16c041e3eb
commit 72bc56b5e5
8 changed files with 196 additions and 39 deletions

View File

@@ -1,13 +1,10 @@
---
description:
globs:
---
---
description: 构建agent-wdd的特定上下文的规则
globs: *.go
---
# 你是一个精通golang的编程大师熟练掌握github.com/spf13/cobra框架能够构建出非常现代的cli工具
@.cursorignore 请忽略这些目录下的文件
# 整个项目的架构结构如下
1. base 服务器基础操作 相关的功能存放于 [Base.go](mdc:agent-wdd/cmd/Base.go)
@@ -28,8 +25,7 @@ globs: *.go
6. selinux 关闭本机的selinux相关内容
7. firewall 关闭本机的防火墙相关的设置
8. sysconfig 修改主机sysconfig相关的内容
2. zsh zsh相关的内容
1. cn 参数如果有此参数则从跟国内安装zsh
2. zsh zsh相关的内容 自动安装配置zsh [Zsh.go](mdc:agent-wdd/cmd/Zsh.go)
3. proxy 主机代理相关的内容
1. xray xray相关的内容
1. install 安装最新版本的xray