Hermes Agent
|
a90f394eb1
|
feat(mcp): 内置 MCP 服务端(streamable-http)
Docker Build / Build and Push Docker Image (push) Successful in 1m7s
Docker Build / Deploy to Server (push) Successful in 3s
- 新增 backend/internal/router/mcp:MCP 端点 /api/v1/mcp,Bearer/X-MCP-Token/?token 鉴权
- 只读工具:list_apps / list_versions / get_version / simulate_check_update /
list_cards / app_stats / list_devices / list_logs
- 写工具(mcp.allow_write=true):publish_version / deprecate_version,默认 dry_run,
写操作落 logs 审计
- simulate_check_update 复刻 check-update 判定规则,可预判“同版本号重传不生效”
- 导出 app.BuildManifest 复用清单计算口径,避免逻辑漂移
- 构建环境 go 1.21 -> 1.23(mcp-go 要求),Dockerfile 同步
- 文档 docs/mcp.md
|
2026-11-21 00:31:03 +08:00 |
|
Trae AI
|
baf6b5ca9f
|
fix: 单列唯一索引改用 unique 标签,修复迁移因 DROP uni_ 索引报 1091 中断导致建表失败
Docker Build / Build and Push Docker Image (push) Successful in 2m23s
Docker Build / Deploy to Server (push) Successful in 4s
- 缺表时直接 CreateTable,避免列级差异中断整表迁移
- packages.currency 手动迁移改用 HasColumn 判断,修正 TEXT 默认值在 MySQL 下非法
|
2026-11-11 22:10:58 +08:00 |
|
Trae AI
|
067fb0f8af
|
fix: 数据库迁移改为逐表执行并输出缺失表,修复 versions 表未创建导致创建版本失败
Docker Build / Build and Push Docker Image (push) Successful in 2m21s
Docker Build / Deploy to Server (push) Successful in 4s
|
2026-11-11 21:57:32 +08:00 |
|
Trae AI
|
2a023280a5
|
ci: 在 checkout 前安装 nodejs,修复 runner 缺少 node 导致拉取失败
Docker Build / Build and Push Docker Image (push) Successful in 2m30s
Docker Build / Deploy to Server (push) Successful in 6s
|
2026-11-11 21:40:49 +08:00 |
|
Trae AI
|
0a99c2b006
|
feat: 版本补丁包合并与 JS 沙箱执行,创建版本失败透出真实原因
Docker Build / Build and Push Docker Image (push) Failing after 9s
Docker Build / Deploy to Server (push) Skipped
- 新增 contentstore 统一存放版本内容并支持定期 GC
- 新增 jsexec 沙箱执行动态接口代码(带超时保护)
- 补丁版本自动合并完整包,筛选仅含完整包的版本
- 创建版本写库失败时记录日志并返回具体错误
|
2026-11-11 21:34:15 +08:00 |
|
Trae AI
|
25bbe1e4a9
|
fix: 代理授权支持增量添加卡类型
Docker Build / Build and Push Docker Image (push) Successful in 1m6s
Docker Build / Deploy to Server (push) Successful in 4s
修改 handleDirectAuthorize 接口逻辑:
- 已存在授权记录时不再报错,而是增量更新卡类型权限
- 已存在的卡类型会更新价格和权限
- 新的卡类型会添加到授权记录中
|
2026-08-16 01:58:36 +08:00 |
|
Trae AI
|
20a70090a9
|
fix: 使用TOKEN密钥进行容器镜像仓库登录
Docker Build / Build and Push Docker Image (push) Successful in 3m3s
Docker Build / Deploy to Server (push) Failing after 0s
|
2026-08-08 19:37:53 +08:00 |
|
Trae AI
|
5ad59b7142
|
revert: 恢复docker-compose.prod.yml配置
Docker Build / Build and Push Docker Image (push) Failing after 5s
Docker Build / Deploy to Server (push) Has been skipped
|
2026-08-08 19:35:45 +08:00 |
|
Trae AI
|
45878abe38
|
fix: 更新工作流运行器名称为ubuntu
Docker Build / Build and Push Docker Image (push) Failing after 4s
Docker Build / Deploy to Server (push) Has been skipped
|
2026-08-08 18:45:30 +08:00 |
|
Trae AI
|
268fd514e1
|
chore: 更新生产环境docker-compose配置
Docker Build / Build and Push Docker Image (push) Has been cancelled
Docker Build / Deploy to Server (push) Has been cancelled
- 更新镜像地址为git.viaeon.com/admin/license:latest
- 添加SQLite数据库环境变量配置
- 调整端口映射为50088:8080
|
2026-08-08 17:34:23 +08:00 |
|
Trae AI
|
84326c3a57
|
ci: 改为推送到 Gitea Container Registry,使用 TOKEN 密钥
Docker Build / Build and Push Docker Image (push) Has been cancelled
Docker Build / Deploy to Server (push) Has been cancelled
|
2026-06-27 04:22:03 +08:00 |
|
Trae AI
|
7991a4bfab
|
删除 1.php
|
2026-06-27 04:18:12 +08:00 |
|
Trae AI
|
857e55ca72
|
fix: 重新上传zip包时自动清空entry_file/entry_files/desktop_shortcut_files
|
2026-06-21 18:47:38 +08:00 |
|
Trae AI
|
75d38a6972
|
fix: 版本匹配只从published和superseded状态中查找,排除draft和deprecated
|
2026-06-21 17:48:06 +08:00 |
|
Trae AI
|
2ae80d8114
|
fix: check-update只从已发布版本中选取最新版本, 用所有版本匹配客户端版本号
|
2026-06-21 17:45:46 +08:00 |
|
Trae AI
|
d1251a9356
|
fix: 删除版本时恢复被取代的旧版本, 回滚时处理取代版本已删除的情况
|
2026-06-21 17:27:53 +08:00 |
|
Trae AI
|
f1f7181a77
|
fix: 版本检测统一查询所有版本(含已失效)用于匹配和计算最新版本
|
2026-06-21 16:38:58 +08:00 |
|
Trae AI
|
47660cf7f8
|
fix: 版本检测包含已失效版本用于匹配客户端版本号
|
2026-06-21 16:36:38 +08:00 |
|
Trae AI
|
0e0629d809
|
fix: 客户端版本不在列表中时视为需要更新而非报错
|
2026-06-21 16:31:25 +08:00 |
|
Trae AI
|
0a7392f30d
|
fix: 加密中间件对GET请求空body返回400的问题
|
2026-06-21 16:22:05 +08:00 |
|
Trae AI
|
69d7b71995
|
fix: fix Chinese filename garbled in zip file list (GBK to UTF-8)
|
2026-06-21 14:39:56 +08:00 |
|
Trae AI
|
7f8bb5d6c3
|
fix: add app_name to API response, fix UiSwitch binding in version pages
|
2026-06-20 06:09:58 +08:00 |
|
Trae AI
|
a32d3bc863
|
fix: prevent empty name/description from overwriting on partial update
|
2026-06-18 23:10:17 +08:00 |
|
Trae AI
|
d0bb788e67
|
fix: remove leftover DefaultInstallDir in install-mode response
|
2026-06-18 22:20:40 +08:00 |
|
Trae AI
|
f77cb0cb05
|
refactor: remove default_install_dir, Update uses built-in default path
|
2026-06-18 22:09:18 +08:00 |
|
Trae AI
|
a0c817571a
|
fix: remove leftover AutoRun, replace checkbox with switch in file list
|
2026-06-18 19:53:16 +08:00 |
|
Trae AI
|
8d5d8b1461
|
refactor: remove auto_run, add default install dir value
|
2026-06-18 19:43:19 +08:00 |
|
Trae AI
|
6db476549e
|
fix: remove leftover CreateStartMenu reference in info.go
|
2026-06-18 19:32:42 +08:00 |
|
Trae AI
|
eba163d43a
|
refactor: remove create_start_menu, auto create start menu for entry files
|
2026-06-18 19:17:46 +08:00 |
|
Trae AI
|
2751b24e18
|
feat: file list shows full package files, desktop shortcut per-file setting
|
2026-06-18 18:59:50 +08:00 |
|
Trae AI
|
77a2dd468f
|
feat: 版本管理支持多入口文件、安装选项(桌面快捷方式/开始菜单/自动运行/默认安装目录)
|
2026-06-18 18:15:51 +08:00 |
|
Trae AI
|
9ea0ef4536
|
fix: 编辑版本时基础版本选择器排除当前版本
|
2026-06-18 17:05:30 +08:00 |
|
Trae AI
|
472d65eeb2
|
fix: 版本编辑时UpdateType变化自动更新全量包,禁止选择自身作为基础版本
|
2026-06-18 17:03:41 +08:00 |
|
Trae AI
|
23fdcb4a7e
|
fix: check-update无版本号时download_url优先指向全量包
|
2026-06-18 16:15:29 +08:00 |
|
Trae AI
|
69cac1237c
|
fix: 修复应用设置保存时字段覆盖问题; check-update无版本号时返回full_package_url
|
2026-06-18 13:06:33 +08:00 |
|
Trae AI
|
4a6fc087c6
|
fix: 修复应用设置保存时未传字段被覆盖为空值/默认值的问题
|
2026-06-18 12:38:19 +08:00 |
|
Trae AI
|
6ca561404d
|
fix: AppCryptoMiddleware添加请求体解密逻辑,修复AES加密通信登录失败
|
2026-06-17 23:40:31 +08:00 |
|
 adminandClaude
|
59f7b00b9d
|
chore: 默认品牌名从'微授权'改为'网络验证'
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-16 03:25:30 +08:00 |
|
 adminandClaude
|
cb688be222
|
fix: 心跳接口根据运营模式返回不同信息
- 订阅模式返回到期时间 expiry_at
- 余额模式返回余额 balance
- 永久会员返回 is_permanent 标识
- 免费模式只返回成功消息
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-16 03:00:07 +08:00 |
|
 adminandClaude
|
113c01e89f
|
feat: 心跳接口改用JWT token获取用户设备信息
- JWT Claims 增加 device_id 和 instance_id 字段
- 登录时将设备信息编码到 token
- 心跳接口从 token 自动获取用户和设备信息
- 心跳路由移到需要 JWT 认证的路由组
- 更新 API 文档
优点:
- 更安全:无法伪造设备信息
- 请求更简洁:心跳无需传递参数
- 符合业界标准做法
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-16 02:25:53 +08:00 |
|
 adminandClaude
|
5bbae23bca
|
feat: 用户管理页面添加充值功能
- 后端新增 POST /app-users/:id/recharge API
- 前端新增独立的用户充值页面 (/admin/users/:id/recharge)
- 充值页面风格与添加用户/编辑用户页面一致
- 支持选择卡密类型和数量进行充值
- 永久会员显示提示不允许充值
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-14 11:49:34 +08:00 |
|
 adminandClaude
|
d1228954ea
|
perf: 静态文件完全绕过所有中间件
- 使用 gin.New() 替代 gin.Default(),避免默认中间件
- 添加 skipUploads 包装器,所有中间件跳过 /uploads/ 路径
- 静态文件路由注册在最前面,零中间件开销
- 移除 gzipMiddleware 中重复的跳过逻辑
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-13 00:22:21 +08:00 |
|
 adminandClaude
|
0d08bcc0f8
|
perf: 大幅优化静态文件下载性能
- 使用 http.ServeFile 替代手动实现,利用 sendfile 零拷贝
- gzip 中间件跳过 /uploads/ 路径,避免额外开销
- 支持 Range 请求和断点续传(由标准库自动处理)
- 移除不必要的手动 MIME 类型映射
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-12 23:46:26 +08:00 |
|
 adminandClaude
|
6c191d1b0d
|
perf: 优化静态文件下载性能,支持断点续传
- 替换 Gin 默认 Static 为自定义处理器
- 支持 Range 请求头,实现断点续传
- 使用 1MB 大缓冲区,减少系统调用次数
- 添加 Accept-Ranges 和精确 Content-Length 响应头
- 设置正确的 MIME 类型映射
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-06-12 23:08:53 +08:00 |
|
admin
|
21b337f7c3
|
fix: 修复 Megaphone 图标导入拼写错误
|
2026-06-06 12:29:11 +08:00 |
|
 adminandClaude Opus 4.8
|
1cb8f11acd
|
fix: 修复系统设置动态注入到静态文件
- 简化前端 useSiteSettings,直接使用后端注入的 window.__SITE_CONFIG__
- 修复后端 serveIndexHTML 中的设置 key 名,与前端的 key 名一致
- site_name 替换为正确的数据库字段名
- logo 和 favicon 使用 site_logo 和 site_favicon
- 添加 getLogo 函数根据主题自动选择 logo
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-06-03 13:59:03 +08:00 |
|
 adminandClaude Opus 4.8
|
53ab7fd778
|
fix: 修复系统设置的动态注入问题
- 创建 useSiteSettings composable 在应用启动时加载系统设置
- 从 window.__SITE_CONFIG__(后端注入)和 localStorage 初始化设置
- 修复 favicon 更新逻辑,正确移除旧 favicon 并添加新的
- 在路由守卫中设置页面标题,格式为 '页面名 - 网站名'
- 简化 admin.vue 和 admin-sidebar 组件,使用统一的设置管理
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-06-03 13:15:31 +08:00 |
|
 adminandClaude Opus 4.8
|
7eb232fd8e
|
fix: 恢复 SidebarRail 拖拽鼠标样式,移除右上角主题设置弹窗
- 恢复 SidebarRail 的 cursor-w-resize/cursor-e-resize 样式
- 移除右上角的 ThemePopover 组件
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-06-03 12:53:10 +08:00 |
|
 adminandClaude Opus 4.8
|
e89b212dbb
|
fix: 修复侧边栏拖拽区域的国际化文案和鼠标样式
- 添加 toggleSidebar 的中英文翻译
- 移除无效的拖拽鼠标样式,改为 pointer
- 使用 i18n 替换硬编码的英文文本
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-06-03 05:15:24 +08:00 |
|
 adminandClaude Opus 4.8
|
3716a2a80f
|
fix: 修复 DataTable 组件未传递 onDownloadFullPackage prop
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-06-03 05:06:27 +08:00 |
|