更新日志(中文)
[0.9.1] - 2026-02-27
新增
- 桌面端公告系统:新增完整公告能力链路,包含 Tauri 公告命令、前端 store/service/type 与公告中心 UI(列表/详情弹窗、未读角标、已读标记、刷新、弹窗公告、图片预览、tab/url/command 动作处理)。
- 开发调试公告源控制:新增本地覆盖文件支持(
~/.antigravity_cockpit/announcements.local.json)与 Debug 工作区公告源(announcements.json),用于npm run tauri dev调试,同时持久化已读记录与缓存文件。 - 仓库级公告种子文件:新增仓库根目录
announcements.json,内置欢迎公告与反馈动作,便于本地调试并与远端公告源结构保持一致。
变更
- 普通用户公告策略改为远端优先:非开发/运行时构建默认不再读取本地覆盖公告文件,统一走远端公告(含缓存与失败回退)。
- 仪表盘页头操作区调整:将仪表盘右上角日期展示替换为内嵌“公告”按钮;公告入口改为仪表盘上下文显示,不再全局全页悬浮。
- v0.9.0 公告内容已补齐全语言:新增/补齐
announcements.json中该公告的 17 种语言标题、摘要、正文与动作文案,确保各语言环境都能看到对应本地化内容。 - GitHub Copilot 用量展示对齐(仪表盘 + 托盘):用量解析切换为结构化快照口径(
completions/chat/premium_interactions),补充Included语义处理,并在仪表盘卡片与托盘摘要中新增Premium维度展示。 - 公告/托盘文案覆盖补齐:为全部语言文件新增
announcement.*文案键,并在托盘文案映射中补充Included与 GitHub Copilot 指标标签(Inline/Chat/Premium)。
Changelog (English)
[0.9.1] - 2026-02-27
Added
- Announcement system (desktop): Added a full announcement pipeline with Tauri commands, frontend store/service/types, and announcement center UI (list/detail modal, unread badge, mark-read, refresh, popup, image preview, and action handling for tab/url/command).
- Announcement source controls for dev testing: Added local override support (
~/.antigravity_cockpit/announcements.local.json) and debug workspace source (announcements.json) fornpm run tauri devtesting, with persisted read-state/cache files. - Repository announcement seed file: Added a repository-level
announcements.jsonwith a welcome announcement and feedback action for quick local debugging and remote source alignment.
Changed
- Remote-first announcement strategy for normal users: Non-dev/runtime builds now skip local override files and use remote announcements (with cache/fallback) by default.
- Dashboard header action area: Replaced the dashboard date display with an inline
Announcementaction button; announcement entry is now shown in dashboard context instead of global full-page placement. - v0.9.0 announcement content is now fully localized: Added/filled title, summary, body, and action copy for all 17 supported languages in
announcements.json, so users see localized announcement content per language environment. - GitHub Copilot usage rendering alignment (dashboard + tray): Switched usage parsing to structured snapshot semantics (
completions/chat/premium_interactions), addedIncludedhandling, and added aPremiummetric line/dimension in both dashboard cards and tray summaries. - Locale and copy coverage for announcement/tray semantics: Added
announcement.*keys across all locale files and extended tray copy mapping withIncludedand GitHub Copilot metric labels (Inline/Chat/Premium).