Skip to content

fix: scanner redis sentinel, publish flush, version delete, clipboard fallback#157

Merged
XiaoSeS merged 8 commits intomainfrom
scanner-fix
Mar 24, 2026
Merged

fix: scanner redis sentinel, publish flush, version delete, clipboard fallback#157
XiaoSeS merged 8 commits intomainfrom
scanner-fix

Conversation

@XiaoSeS
Copy link
Copy Markdown
Collaborator

@XiaoSeS XiaoSeS commented Mar 24, 2026

概述

修复多个独立问题,涵盖后端 scanner/publish/数据库 和前端剪贴板兼容性。

变更内容

后端

  • fix(scanner): Redisson 配置支持 Redis Sentinel 模式,迁移 scan stream 到 Redisson
  • fix(publish): 重新发布时先清理被替换的版本,避免版本冲突
  • fix(db): 允许删除有审计历史的 skill version(移除外键约束)

前端

  • fix(clipboard): navigator.clipboard 在非安全上下文(HTTP/iframe/WebView)下为 undefined,新增 copyToClipboard() 工具函数,带 execCommand 降级方案,修复全部 6 处调用
  • fix(i18n): 中文 locale 中 agent setup 命令本地化
  • fix(web): 安全审计 pending 标签更新

XiaoSeS added 8 commits March 24, 2026 14:43
# Conflicts:
#	server/skillhub-app/src/main/java/com/iflytek/skillhub/config/RedissonConfig.java
#	server/skillhub-app/src/test/java/com/iflytek/skillhub/config/RedissonConfigTest.java
Translate the agent quick-start prompt from English to Chinese and add
a test to verify both locale strings.
navigator.clipboard is undefined in HTTP/iframe/WebView contexts,
causing TypeError on copy. Extract copyToClipboard() utility with
execCommand fallback and apply across all 6 call sites.
@XiaoSeS XiaoSeS merged commit e7c1734 into main Mar 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants