diff --git a/plugins/ssh-batch-exec/.gitignore b/plugins/ssh-batch-exec/.gitignore index 4c7ba7c4b..2f5fdb8ed 100644 --- a/plugins/ssh-batch-exec/.gitignore +++ b/plugins/ssh-batch-exec/.gitignore @@ -6,6 +6,12 @@ .vite/ *.tsbuildinfo +# DBX 是独立项目,不属于 ZTools 插件源码 +/dbx/ + +# 本地 AI 文档 +/.trae/ + # 其他 *.log .DS_Store diff --git a/plugins/ssh-batch-exec/CHANGELOG.md b/plugins/ssh-batch-exec/CHANGELOG.md index d6e28b269..c163026f4 100644 --- a/plugins/ssh-batch-exec/CHANGELOG.md +++ b/plugins/ssh-batch-exec/CHANGELOG.md @@ -1,11 +1,22 @@ # Changelog +## 1.0.3 - 2026-11-27 + +- 新增服务器配置导出:可在服务器管理页将现有服务器配置导出为 JSON,便于备份或迁移 +- 导出时剔除 PouchDB 内部字段,保留服务器 ID、连接信息、认证方式与凭据 +- 增加明文凭据保管提示,提醒导出文件妥善保存并在迁移后及时删除 +- 整理历史更新日志,按版本号与时间顺序排列 + ## 1.0.2 - 2026-10-17 - 修复 macOS 市场安装版启动后「测试连接」报错、执行永远卡在连接中的问题:根因为构建产物缺失 preload 的 Node 依赖(node_modules/ssh2 未被包含进插件包),导致 preload.js 加载即抛 Cannot find module、window.services 未挂载 - 修复 .gitignore 规则:原 `node_modules/` 误排除所有子目录依赖,改为仅排除项目根目录,确保 public/node_modules 与 dist/node_modules 随仓库提交并进入发布包 - 构建时向 dist 写入的 plugin.json 移除 development 覆盖,避免开发模式安装时强制加载 localhost:5173 导致白屏 +## 1.0.1 - 2026-09-21 + +- 维护版本:修复若干已知问题并优化性能 + ## 1.0.0 - 2026-09-11 - 首个正式版本,基于 ZTools 插件平台 + Vue 3 + Vite + ssh2 实现一键批量执行服务器命令 @@ -18,7 +29,3 @@ - 终端式结果展示:stdout / stderr 分区着色 - 执行记录:每次独立持久化,默认保留 10 条可自定义 - 三栏布局首页,明暗主题适配 - -## 1.0.1 - 2026-09-21 - -- 修复了一些 bug,优化了一些性能 diff --git a/plugins/ssh-batch-exec/plugin.json b/plugins/ssh-batch-exec/plugin.json index 7787ba53b..c2624fb32 100644 --- a/plugins/ssh-batch-exec/plugin.json +++ b/plugins/ssh-batch-exec/plugin.json @@ -2,7 +2,7 @@ "name": "ssh-batch-exec", "title": "批量命令执行", "description": "一键批量执行服务器命令:服务器配置管理、快捷命令库、多服务器快捷指令,支持实时输出与结果统计", - "version": "1.0.2", + "version": "1.0.3", "author": "木子", "main": "index.html", "logo": "logo.png", diff --git a/plugins/ssh-batch-exec/src/components/ServerManager.vue b/plugins/ssh-batch-exec/src/components/ServerManager.vue index b9d237b16..d727c36be 100644 --- a/plugins/ssh-batch-exec/src/components/ServerManager.vue +++ b/plugins/ssh-batch-exec/src/components/ServerManager.vue @@ -1,4 +1,5 @@