Skip to content

v1.3.1 | Adamantine

Choose a tag to compare

@yuzeguitarist yuzeguitarist released this 04 Mar 11:52
· 209 commits to main since this release

Deck


Release Notes v1.3.1

DeckAI.mov

TL;DR

  • AI 助手设置中心上线
    新增 AI 助手设置页,支持 ChatGPT 订阅、OpenAI API、Anthropic API、Ollama 四种接入方式。
    Added a dedicated AI Assistant settings page with support for ChatGPT Subscription, OpenAI API, Anthropic API, and Ollama.
  • 更新安全性显著提升
    更新前后都加入版本与 SHA-256 校验,避免错误包或被篡改包被安装。
    Update flow now verifies version and SHA-256 before and after download to block mismatched or tampered packages.
  • 录制快捷键更安心
    录制期间会自动暂停全局热键与相关全局触发,避免误触和冲突。
    Global hotkeys and related global triggers are now paused during shortcut recording to prevent conflicts.
  • AI 流式回复更稳
    网络抖动时会自动重试,并避免重连后重复刷出已显示内容。
    Streaming AI responses now auto-retry on transient failures and avoid duplicate text after reconnect.
  • 存储整理新增二进制瘦身
    支持扫描与整理可精简架构,并把结果展示在整理报告中。
    One-click maintenance now includes binary slimming scan/cleanup with results shown in the maintenance report.

新增 / Added

  • AI 助手设置页与 Provider 配置
    设置中新增「AI 助手 / AI Assistant」Tab,包含 Provider 选择、地址与密钥配置、模型配置、快捷键说明和安全提示。
    Added an "AI Assistant" tab in Settings with provider selection, endpoint/token/model configuration, shortcut reference, and safety notes.
  • 二进制瘦身能力接入
    新增多架构二进制扫描与清理能力,可在启动时后台扫描,并可在一键整理时执行。
    Added binary slimming support to scan removable architectures in the background at startup and clean them during one-click maintenance.
  • 更新信息本地安全记录
    检测到新版本后会保存版本、大小和 SHA 信息,并在启动时自动恢复更新提示状态。
    New local update records now store version, size, and SHA metadata and can restore pending update prompts on app startup.

优化 / Improvements

  • 光标助手弹窗定位更准确
    弹窗会按当前坐标所在屏幕定位,插入点坐标异常时自动回退到鼠标位置。
    Cursor assistant popup now positions by the actual target screen and falls back to mouse position when caret coordinates are unreliable.
  • 主面板切换更稳定
    主面板弹出后加入短暂保护窗口,减少焦点抖动导致的瞬时关闭。
    Added a short protection window after showing the main panel to reduce accidental instant close from focus jitter.
  • 横板队列布局更紧凑
    横板队列栏高度调整为 33,避免挤压卡片底部内容;竖板保持原有高度。
    Horizontal queue bar height is adjusted to 33 to avoid compressing card bottoms, while vertical layout keeps previous height.
  • AI 流式输出容错增强
    对超时、429、5xx 等临时错误增加自动退避重试,并在重试中保留上下文与工具链路。
    Added backoff retries for transient errors (timeouts, 429, 5xx) while preserving conversation context and tool flow across retries.

变更 / Changes

  • 数字快捷键修饰键可自选
    1-9 快捷键不再固定为 Command,可按偏好切换为 Command / Option / Control。
    1-9 shortcuts are no longer hardcoded to Command and can now use Command / Option / Control.
  • 录制期间的全局行为调整
    快捷键录制期间会暂停全局热键、暂停 Option 双击监听,并放行模拟输入相关事件。
    During shortcut recording, global hotkeys and Option double-click listening are paused, and simulated-input-related events are passed through.
  • 更新来源与安全默认值调整
    更新与日志上传后端地址已更新;更新源改为仅走 Worker,代码签名校验默认开启。
    Update and log-upload backend URLs were updated; updates now use Worker-only source with code signature enforcement enabled by default.
  • 列表置顶同步策略调整
    置顶操作会同步更新最近缓存,保证主面板与光标助手看到一致顺序。
    Move-to-top now also syncs recent cache so main panel and cursor assistant share the same ordering.
  • 剪贴板搜索片段策略调整
    工具返回的片段增加长度上限与打码处理,减少敏感信息暴露风险。
    Clipboard search snippets now apply length limits and masking to reduce sensitive data exposure risk.

修复 / Fixes

  • OAuth 回调重复参数崩溃
    修复重复 query key 触发的运行时崩溃问题,改为稳定覆盖逻辑。
    Fixed runtime crash caused by duplicate OAuth query keys by switching to stable overwrite behavior.
  • 插件覆盖安装中途失败风险
    修复覆盖安装时可能丢失旧数据的问题,失败时可回滚到安全状态。
    Fixed potential data loss during overwrite install by adding safe replacement and rollback behavior.
  • 授权请求悬挂问题
    修复会话切换后授权仍悬挂的问题,取消路径已统一收口。
    Fixed hanging approval requests after conversation switches by unifying cancellation handling.
  • 流式结果半截误判完成
    修复流提前断开时被当作完成的问题,未收到完成态会自动重试。
    Fixed premature stream close being treated as completion; missing completion state now triggers retry.
  • 存储整理相关稳定性问题
    修复 Swift 6 主线程隔离报错与整理报告参数不匹配问题。
    Fixed Swift 6 MainActor isolation errors and maintenance report argument mismatch issues.
  • 更新失败兜底恢复
    修复更新失败后的回退流程,失败时可拉回旧版本应用。
    Fixed fallback recovery path after failed updates to restore previous app version.

说明 / Notes

  • 多语言文案补全
    新增的 16 条文案已补齐 7 种语言,并完成结构有效性校验。
    All 16 newly added strings were completed in 7 languages and validated for structure integrity.

兼容性与行为说明 / Compatibility & Behavior Notes

  • 录制时全局触发暂不可用
    这是为了防止误触,录制结束后会自动恢复。
    This is intentional to prevent accidental triggers; all related global actions auto-resume after recording ends.
  • 更新校验更严格
    若同版本但 SHA 不一致会直接拒绝更新;若检测到新版本会提示你重新确认。
    Updates are now stricter: same version with different SHA is rejected, and newly detected versions require a fresh confirmation.
  • 二进制瘦身可能请求系统授权
    仅在执行需要权限的清理动作时才会触发管理员授权。
    Admin permission is requested only when cleanup actions require elevated system access.

升级建议 / Upgrade Notes

  • 升级后建议检查两处设置
    建议先在「设置 > 快捷键」确认数字快捷键修饰键,再在「设置 > 存储」确认二进制瘦身开关是否符合你的使用习惯。
    After upgrading, review shortcut modifier settings in "Settings > Shortcuts" and binary slimming toggles in "Settings > Storage" to match your preference.