Initial commit: TaskPool React panel

- React frontend with route-level code splitting
- Backend rebranded from Baihu to TaskPool
- DB brand migration script and local compatibility
This commit is contained in:
2026-07-26 08:43:52 +08:00
commit e6956aa001
397 changed files with 73621 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
package constant
// CommandInfo 定义了终端可用命令的说明信息
type CommandInfo struct {
Name string
Description string
}
// Commands 是系统的可用业务命令说明列表
var Commands = []CommandInfo{
// {
// Name: "server",
// Description: "启动后台服务进程",
// },
{
Name: "reposync",
Description: "同步远程 Git 仓库或文件到本地",
},
{
Name: "resetpwd",
Description: "重置 admin 用户密码(需要二次确认)",
},
{
Name: "restore",
Description: "从本地 zip 文件中全量恢复系统级备份数据",
},
{
Name: "builtininstall",
Description: "为所有 mise 管理的 Node.js 和 Python 环境安装内建助手库",
},
{
Name: "task",
Description: "系统级任务的列表查询、触发运行、启停控制及状态查看",
},
{
Name: "depinstall",
Description: "一键补全指定任务执行日志中的缺失依赖包",
},
{
Name: "version",
Description: "查看当前系统版本号 (同 -v, -V)",
},
}