# Changelog / 更新日志 All notable changes to **Obsidian Prism** are documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). 本项目遵循语义化版本(SemVer)规范,记录各正式版本的新增功能、架构变更、安全加固与缺陷修复。 ## [1.0.8-beta.6] - 2026-11-28 > **Obsidian Prism `v1.0.8-beta.6` 预发布版**在 `v1.0.8-beta.5` 基础上完成 **Wave P3 真实交互 300Hz 性能根治(鼠标扫过 `92.7 → 300.0 fps`、最大帧时 `-98.4%`、`universal-via-:is` `230 → 0`、零降画质保留毛玻璃)**、**Channel 17 `projectPartitions` 三级项目分区通道([PR #113](https://github.com/RMvdesi/obsidian-prism/pull/113))**、**动态视频壁纸 403 根治与 `0%..100%` 对话蒙版透明度滑块([#165](https://github.com/RMvdesi/obsidian-prism/issues/165))**、**首页底部光晕与点阵波纹解耦开关([#149](https://github.com/RMvdesi/obsidian-prism/issues/149))**、**macOS Watcher 管道描述符泄漏修复([#147](https://github.com/RMvdesi/obsidian-prism/issues/147) · [PR #148](https://github.com/RMvdesi/obsidian-prism/pull/148))与 Windows 重定向桌面扫描([#144](https://github.com/RMvdesi/obsidian-prism/issues/144))**、**高吞吐同步 SSE 解析与 9 语精简英文提示词([PR #130](https://github.com/RMvdesi/obsidian-prism/pull/130) · [PR #139](https://github.com/RMvdesi/obsidian-prism/pull/139))**,以及 **20+ 项社区修复、窄分屏精修与生态兼容强化([#146](https://github.com/RMvdesi/obsidian-prism/issues/146) · [#151](https://github.com/RMvdesi/obsidian-prism/issues/151) · [#155](https://github.com/RMvdesi/obsidian-prism/issues/155) · [#159](https://github.com/RMvdesi/obsidian-prism/issues/159) · [#162](https://github.com/RMvdesi/obsidian-prism/issues/162) · [#173](https://github.com/RMvdesi/obsidian-prism/issues/173) · [#175](https://github.com/RMvdesi/obsidian-prism/issues/175) · [#176](https://github.com/RMvdesi/obsidian-prism/issues/176) · [PR #145](https://github.com/RMvdesi/obsidian-prism/pull/145) · [PR #150](https://github.com/RMvdesi/obsidian-prism/pull/150) · [PR #152](https://github.com/RMvdesi/obsidian-prism/pull/152) · [PR #153](https://github.com/RMvdesi/obsidian-prism/pull/153) · [PR #154](https://github.com/RMvdesi/obsidian-prism/pull/154) · [PR #157](https://github.com/RMvdesi/obsidian-prism/pull/157) · [PR #164](https://github.com/RMvdesi/obsidian-prism/pull/164) · [PR #166](https://github.com/RMvdesi/obsidian-prism/pull/166) · [PR #167](https://github.com/RMvdesi/obsidian-prism/pull/167) · [PR #177](https://github.com/RMvdesi/obsidian-prism/pull/177) · [PR #178](https://github.com/RMvdesi/obsidian-prism/pull/178) · [PR #179](https://github.com/RMvdesi/obsidian-prism/pull/179) · [PR #182](https://github.com/RMvdesi/obsidian-prism/pull/182))**。 > > **3D 元素周期表协议归属说明 / Design Provenance & License Notice**:本版继续包含基于原作者另一仓库 **[RMvdesi/prism-periodic-console](https://github.com/RMvdesi/prism-periodic-console)**(该设计稿仓库采用 `All Rights Reserved`)视觉与交互方案在本仓库独立集成实现的 Channel 8 元素周期表模块,并继续按 `obsidian-prism` 的 **GPL-3.0** 协议开源发布。 > *The Channel 8 3D periodic-table model picker integrated in this release originates from the author's separate design study repository [RMvdesi/prism-periodic-console](https://github.com/RMvdesi/prism-periodic-console) (`All Rights Reserved`) and is implemented and released here by the original author under `obsidian-prism`'s **GPL-3.0** license.* ### 300Hz Interactive Performance Overhaul (Wave P3) / 300Hz 交互性能根治(Wave P3) - **全链路交互热路径零回流(Wave P3-A,鼠标扫过 `92.7 → 300.0 fps`)**: - 将 `conv-aura.js` 运行态探测改用 `WeakMap` 缓存并在全调用点传 `skipSyncVis = true`,消除每帧击穿 2,020 个布局节点的 `235.4ms` 同步 `checkVisibility()` 回流; - 将 `prism-rim-canvas.js` 64ms/1500ms 轮询强测替换为 `ResizeObserver` + 脏标并在空闲 `0×0` 时设 `display: none` 销毁 `146,280 px²` 幽灵合成层;剪除 `inline-diff` 全局 `pointerover` 16 层 `getComputedStyle`、`host-i18n` 全文档捕获级 `pointerenter`、`motion-engine` 无负缓存与 `omni-client` 逐帧 `caretRangeFromPoint`;为 `dual-mascot-rig.js` 增加鼠标跟踪像素量化防抖,实机 300Hz 下鼠标连续扫过由 `92.7 fps (max 220.0ms, >4ms 66.7%)` 提升至 **`300.0 fps (max 3.6ms, >4ms 0%, LongTask 0)`**,Renderer 单核 CPU 降 **69%**、GPU 降 **63%**。 - *Zero-Reflow Interactive Hot Paths (Wave P3-A)*: Replaces global `checkVisibility()` thrashing (`235.4ms -> 0ms`) via scoped `WeakMap` caching and `skipSyncVis = true`; switches `prism-rim-canvas.js` to `ResizeObserver` + `display: none` ghost-layer cleanup; removes global mouse `getComputedStyle`/DOM-walk storms; and quantizes mascot pointer tracking—lifting live mouse-sweep performance from `92.7 fps (max 220.0ms)` to **`300.0 fps (max 3.6ms, 0% >4ms, 0 LongTasks)`**. - **运行时零通用 `:is()` 规则与毛玻璃 GPU 解耦(Wave P3-B,[#151](https://github.com/RMvdesi/obsidian-prism/issues/151))**: - 升级 `src/compiler/css-flatten.cjs` 与 `src/compiler/ch1-templates.cjs`,在加载注入期按权重分组安全展开顶层 `:is()`(覆盖混杂权重、伪元素与嵌套 `:is()`),将 Blink `universal-via-:is` 规则从 **`230 → 0`**、总 `universal_rules_` 从 `270 → 38`(**-85.93%**),插件附加 `RecalcStyle` 开销降低 **58%–63%**(侧栏批量插入 20 行从 `5.0ms` 压回 **`2.3ms`**,稳在 300Hz `3.33ms` 预算内); - 将 `overview-panel` `246k px²` `backdrop-filter: blur(16px) saturate(140%)` 解耦至带 `isolation: isolate` 的静态底层 `::before` GPU 层,零降画质消除呼吸渐变与运行动画触发的全屏重采样,并按需剥离非 RTL 场景下的 `:has(:dir(rtl))` 规则。 - *Zero Runtime `universal-via-:is` & Backdrop Isolation (Wave P3-B, #151)*: Expands top-level subject `:is()` rules safely at load time (`230 -> 0`, `-85.93%` total `universal_rules_`, cutting plugin `RecalcStyle` overhead by `58%-63%`), and isolates `overview-panel` `backdrop-filter` onto a static `::before` layer with `isolation: isolate` while preserving full frosted glass quality. - **运行时总线零放大、SSE 高吞吐重构与切页/点击剪枝(Wave P3-C/D · [PR #130](https://github.com/RMvdesi/obsidian-prism/pull/130) · [PR #153](https://github.com/RMvdesi/obsidian-prism/pull/153) · [PR #182](https://github.com/RMvdesi/obsidian-prism/pull/182))**: - 解除 `dom-bus` 根槽全页 `characterData: true` 广播;`ui-runtime` 增加 `bS >= 40` 批封顶与 `df.mp` 模型面板内部变异隔离(防 TDZ),并新增 `dom-bus.replayRecords()` 根治聚焦输入框直开设置时 `runGuardedMut()` 吞掉宿主 `[role="dialog"]` 插入导致外观设置页不自动挂载的 P0 回归; - 将 `ag-cs-conv-glow` 降为 `0.5x` 低分纹理双线性平滑放大(显存/填充率 `-75%`),合并前端遥测单源增量调度(`inline-fallback` + `pulse-vial-bridge`)并新增 `compile-cache-guard.mjs` 启动期自动裁剪过期编译缓存; - 集成 `PR #130` 零正则同步 `sse-delta-scanner.mjs`、56ms 流式合帧、高积压(`>128`)自适应提交(拆出 `entry.pSk` 修骨架计数覆写)、`noThink` 400/422 拒收缓存(严格不引入 `cache_control`)与 `stream-choreography` 祖先记忆化; - 安全拆拣 `PR #153`(及 Follow-up #2/#3)无降质 GPU 过渡与切页防闪:显式 `.cancel()` 悬挂的 `fill: 'forwards'` 交换动画彻底修复切回会话卡死 `opacity: 0.04` P0 隐患、取消巨型子树 `scale()` 重光栅化、`transitionend` 过滤纯绘制属性及非滚动光标跳过 `scrollLeft/Top` 同步读取,同时保留 Wave P3 无损毛玻璃与 30/60fps 节流;合入 `PR #182` 中 `periodic-picker` 短按跳过光环全扫与 `60ms` 徽标点击防抖。 - *Runtime Bus Zero-Amplification, Sync SSE Scanner & Transition Pruning (Wave P3-C/D / PR #130 / PR #153 / PR #182)*: Drops global `characterData: true` broadcasts; adds `dom-bus.replayRecords()` to prevent `runGuardedMut()` from swallowing `[role="dialog"]` mounts when opening Settings from a focused composer; adds `df.mp` model-panel isolation (`PR #182`), `0.5x` soft conv glow, single-source delta telemetry, and `compile-cache-guard.mjs`; integrates zero-regex `sse-delta-scanner.mjs` with `56ms` coalescing and `noThink` rejection cache (`PR #130`); and cherry-picks `PR #153` GPU transitions, `.cancel()` opacity-0.04 fix, and paint-only `transitionend`/non-scroll caret pruning without relaxing frosted glass or 30/60fps throttling. ### Features & UX Enhancements / 新功能与体验增强 - **新增按需开启 Channel 17 `projectPartitions` 侧边栏三级项目分区通道([PR #113](https://github.com/RMvdesi/obsidian-prism/pull/113))**: - 默认 `off`(`0 B` 编译、注入与常驻内存开销),开启后支持自定义项目分区创建/重命名/删除、原生项目菜单移动归类、跨端口重启的 `project-partitions.json` 原子磁盘持久化与完整 9 语种支持;经过主帧/来源/代际校验、原型安全 Map、`160ms` 节流与 `renderSig` 跳过 `replaceChildren` 加固。 - *Opt-In Channel 17 `projectPartitions` 3-Level Sidebar Hierarchy (PR #113)*: Default `off` (`0 B` overhead); adds custom project partition CRUD, native menu integration, cross-port `project-partitions.json` persistence, and 9-locale UI, hardened with main-frame/`docGen` verification, null-prototype maps, `160ms` throttling, and `renderSig` diffing. - **对话页壁纸蒙版透明度滑块(`convOverlay`)与首页光晕/波纹拆开关(`homeGlow`)([#165](https://github.com/RMvdesi/obsidian-prism/issues/165) · [#149](https://github.com/RMvdesi/obsidian-prism/issues/149))**: - Channel 7 壁纸设置新增独立 `convOverlay` 滑块(`0%..100%`,支持拉至 `0%` 全通透,保留旧版 `52%` 暗/`66%` 亮默认兼容),配齐 9 语种说明; - 将首页底部地平线光晕拆为独立 `homeGlow` 开关(56 键三端同步对齐,向后兼容旧 `homeRipple: false` 配置),关闭字符波纹仅保留光晕时不再挂载点阵画布与 Worker。 - *Conversation Wallpaper Scrim Slider (`convOverlay`, #165) & Decoupled `homeGlow` Toggle (#149)*: Adds an independent `0%-100%` conversation scrim slider in Channel 7 (`9` locales) and decouples `homeGlow` from `homeRipple` across schema, UI, and native C#/Swift clients with backward compatibility. - **思维链提示词优化、宿主模型面板本地化与周期表/侧栏/波纹精修([PR #139](https://github.com/RMvdesi/obsidian-prism/pull/139) · [PR #145](https://github.com/RMvdesi/obsidian-prism/pull/145) · [PR #152](https://github.com/RMvdesi/obsidian-prism/pull/152) · [PR #154](https://github.com/RMvdesi/obsidian-prism/pull/154) · [PR #157](https://github.com/RMvdesi/obsidian-prism/pull/157) · [PR #167](https://github.com/RMvdesi/obsidian-prism/pull/167))**: - `PR #139`:补齐第 9 语种 `'tr'` 工具摘要提示词,并将 9 语工具摘要系统提示词统一为精简英文指令(省 ~40%–50% Token);`custom` 预设去除语言/语气强覆写,保留极简语种中立 `` 防注入边界; - `PR #145`:安全拆拣模型选择器面板白名单本地化(含 50k 字符 ReDoS `<0.05ms` 线性正则与 `zh-CN`/`tr` 词条)、并发 `HoverCard` 有界队列与 Launcher 输入框 `placeholder` 祖先保护本地化(严守会话列表用户内容边界); - `PR #157`:选中 `Orchestrator` 时左侧周期表键帽实时同步当前实际调用的遥测子模型; - `PR #152` & `PR #154`:打字期间延续桌宠 Clawd 平滑书写动画;Sidebar Studio 锁定并置灰不可用/零配额模型(修复 `null` 误锁与缺失锁图标)、自动选中首个可用模型、再点模型按钮收起弹层及右键 `stopPropagation()`; - `PR #167`(Shader 拆拣):`HORIZON_FRAGMENT_SHADER` 改用线性光插值 `lmix()`、`highp` 渐变精度链与 3 通道 TPDF 抖动,消除 8-bit 暗部色带断层(保持 Wave P3-A 分辨率缩放与休眠)。 - *Prompt Optimization, Model Panel i18n, Live Orchestrator Badge, Mascot/Sidebar & Anti-Banding Shader*: Unifies 9-locale concise English tool-summary prompts with minimal `` custom-prompt guard (`PR #139`), integrates hardened model-panel/HoverCard/launcher placeholder localization (`PR #145`), reflects live invoked models on the Orchestrator keycap (`PR #157`), extends continuous typing animation (`PR #152`) and Sidebar Studio model locking/menu toggles (`PR #154`), and eliminates 8-bit shader banding with linear-light `lmix()` and 3-channel TPDF dithering (`PR #167`). ### Critical Bug Fixes & Ecosystem Compatibility / 关键 Bug 修复与生态兼容 - **动态 MP4 视频壁纸 403 根治([#165](https://github.com/RMvdesi/obsidian-prism/issues/165))**:放行无 `Origin` 的合法 `Sec-Fetch-Dest: video|image` 媒体请求与回环 HTTPS 来源,同时死守回环 `Host`、256-bit `timingSafeStrEqual` 令牌与 HTTP 206 Range 流校验。 - *Video Wallpaper 403 Fix (#165)*: Allows `no-cors` `Sec-Fetch-Dest: video|image` requests and loopback HTTPS origins while strictly enforcing loopback `Host`, 256-bit constant-time token checks, and HTTP 206 Range validation. - **macOS Watcher FIFO 管道描述符泄漏修复 & Windows 重定向桌面扫描([#147](https://github.com/RMvdesi/obsidian-prism/issues/147) · [PR #148](https://github.com/RMvdesi/obsidian-prism/pull/148) · [#144](https://github.com/RMvdesi/obsidian-prism/issues/144))**: - 将 macOS `CdpClient.swift`、`LaunchGuard.swift` 与 `Watcher/main.swift` 全 8 处子进程 stdout 读取统一收口至 `CdpHelper.readProcessOutput(_:)`(`autoreleasepool` + `defer` 关闭管道读写端 + 先排空再 `waitUntilExit()`),根治长驻运行累积上千 FIFO 句柄导致宿主/其他应用 `Broken pipe` 的问题; - Node 侧 `src/platform/win-lnk.cjs` 新增带进程级缓存的异步只读 `reg.exe query` 查询 `User Shell Folders\Desktop`(支持严格 UTF-8/GB18030 双解码,0 AV 红线),修复迁移至非 `%USERPROFILE%` 盘符的桌面快捷方式漏扫。 - *macOS Watcher Pipe FD Leak Fix (#147 / PR #148) & Windows Relocated Desktop Shortcuts (#144)*: Routes all 8 Swift subprocess stdout captures through `CdpHelper.readProcessOutput(_:)` with `autoreleasepool` + `defer` close, and resolves registry-redirected Windows Desktop paths via cached read-only `reg.exe` (`UTF-8`/`GB18030`). - **配额组分类、底栏 `tok/s` 阈值、机翻分块与遥测竞态修复([#176](https://github.com/RMvdesi/obsidian-prism/issues/176) · [#146](https://github.com/RMvdesi/obsidian-prism/issues/146) · [#155](https://github.com/RMvdesi/obsidian-prism/issues/155) · [PR #156](https://github.com/RMvdesi/obsidian-prism/pull/156) · [#159](https://github.com/RMvdesi/obsidian-prism/issues/159) · [PR #160](https://github.com/RMvdesi/obsidian-prism/pull/160) · [PR #177](https://github.com/RMvdesi/obsidian-prism/pull/177))**: - `usage-core.js` 与 `inline-fallback.js` 优先按结构化 `id`/`groupId`/`name`/`label`/`window.id` 判定配额池类别,仅在缺失/泛化时回退扫描 `group.description`,修复 Antigravity `v2.35.2` 统一 `Gemini Models` 池被误标为 `Gemini (Argon)`(`#176`); - 重校准底栏折叠阈值(`compact` `[680,620,530,440,360]` / `both` `[720,650,560,440,360]`)使 `750px` 桌面输入框稳定显示 `tok/s`,并支持 `{ unchanged: true }` 跨分屏零 RPC 同步刷新(`#146`); - 修复免费机翻分段越界超 900 字符、劈断 UTF-16 代理对导致 emoji 变 `U+FFFD` 及空译文未触发 HTTP 502 回退(`#155` / `PR #156`);修复遥测轨迹请求乱序返回时旧响应覆写新缓存(`#159` / `PR #160`);无可归档子代理且内存正常时跳过无意义存储守卫警告横幅(`PR #177` Commit 2)。 - *Quota Classification, `tok/s` Cuts, MT Surrogates, Trajectory Race & Storage-Guard Suppression*: Classifies quota pools by structured ID/name before description fallback (`#176`); recalibrates footer breakpoints for `750px` composers (`#146`); fixes Bing 900-unit chunking/surrogate-pair splitting and empty-reply 502 fallback (`#155`/`PR #156`); guards out-of-order trajectory cache writes (`#159`/`PR #160`); and suppresses false-positive storage-guard banners when nothing is archivable (`PR #177`). - **桌宠边界与唤醒、首页工具栏跑道避让、回底按钮防抖、窄分屏与外部插件共存([#162](https://github.com/RMvdesi/obsidian-prism/issues/162) · [PR #163](https://github.com/RMvdesi/obsidian-prism/pull/163) · [#175](https://github.com/RMvdesi/obsidian-prism/issues/175) · [PR #178](https://github.com/RMvdesi/obsidian-prism/pull/178) · [PR #179](https://github.com/RMvdesi/obsidian-prism/pull/179) · [PR #150](https://github.com/RMvdesi/obsidian-prism/pull/150) · [PR #164](https://github.com/RMvdesi/obsidian-prism/pull/164) · [PR #166](https://github.com/RMvdesi/obsidian-prism/pull/166) · [#173](https://github.com/RMvdesi/obsidian-prism/issues/173) · [PR #174](https://github.com/RMvdesi/obsidian-prism/pull/174) · [PR #182](https://github.com/RMvdesi/obsidian-prism/pull/182))**: - 修复迷你蟹骑乘大宠 `11px` 悬空、统一左右舞台活动边界 `stageBoundsX` 及点击睡宠唤醒起床气并保持清醒 `20s`(`#162` / `PR #163`); - 移除首页顶部工具栏固定 `46px` `margin-bottom` 悬空留白,采用零高频回流空间跑道感知避让(`z-index: 26` 容器点击透传、窗口/分栏缩放 rAF 重算、窄跑道 `<104px` 自动 `peek` 与主宠拖拽边界锁,`#175` / `PR #178`); - `subtle` 动效重置规则排除 `.agy-scroll-bottom`,消除悬停回底按钮左右抖动(`PR #179`);关闭 `composerRestyle` 时保留 Orchestrator 水晶推理滑条(`#173` / `PR #174`); - 恢复 `obsidian` + `classic` 首页未开壁纸时的不透明黑底并隐藏宿主壁纸(`PR #150`);全链路豁免外部 `Usage & Speed Monitor` 胶囊/弹层并在 `auto` 模式自动让位(`PR #164`),补齐 `.agy-home` 外部 Pulse 栏门控与零回流隐藏态 Keep-Alive 判断(`PR #166`); - 集成 `PR #182` 窄分屏底栏 28px 对齐、`entity-pill` / `inline-diff` 省略号截断与中日韩动词排除、亮色内嵌 pill 清边框、`step-plan` 深浅阴影收敛及窄窗 `#context-card` 左边缘防裁切定位。 - *Mascots, Home Runway Avoidance, Scroll-Bottom Jitter, Narrow-Pane Polish & Coexistence*: Fixes mini-crab stacking height, unified `stageBoundsX`, and click-to-wake (`#162`/`PR #163`); replaces fixed `46px` top-toolbar margin with spatial runway avoidance (`#175`/`PR #178`); stops `.agy-scroll-bottom` hover jitter (`PR #179`); decouples Orchestrator crystal bar from `composerRestyle` (`#173`/`PR #174`); restores `obsidian` + `classic` home opacity (`PR #150`); adds `Usage & Speed Monitor` exemptions/auto-yield (`PR #164`) and zero-reflow `.agy-home` external Pulse coexistence (`PR #166`); and ports narrow-pane pill/card/shadow polish (`PR #182`). ### Security Hardening & Architecture Hygiene / 安全加固与架构卫生 - **P2 纵深安全加固与门禁对齐**:将 `projectPartitions` 映射升级为 `Object.create(null)` 防原型键碰撞与 `500/128` 容量上限对齐、补齐 Ch17 主帧/`docGen`/`sidebarHostVerified`/非宿主撤回绑定、为 `compile-cache-guard.mjs` 增加 `allowedBaseDir` 与父目录 `lstat` 非符号链接校验、在 `test/gates/bundle-budget.test.mjs` 增补 Ch17 体积及 `0`-byte-off 收紧校验,并全量更新 `docs/CONTRIBUTORS.md`。 - *Defense-in-Depth Security & Gate Hardening*: Hardens `projectPartitions` with null-prototype maps, main-frame/`docGen`/non-host binding cleanup, and Ch17 `0`-byte-off gate enforcement; enforces `lstat` symlink-free checks in `compile-cache-guard.mjs`; and updates `docs/CONTRIBUTORS.md`. ### Acknowledgements / 社区致谢(Community Credits) - 衷心感谢推动 `v1.0.8-beta.6` 落地的每一位社区开发者与问题定位伙伴(全部已吸收 PR 均保留 `Co-authored-by` 署名并收录至 [`docs/CONTRIBUTORS.md`](./docs/CONTRIBUTORS.md)): - **代码贡献(PR)**:**[@SuzumiyaHaruhi719](https://github.com/SuzumiyaHaruhi719)**([PR #153](https://github.com/RMvdesi/obsidian-prism/pull/153))、**[@Cace-ggg](https://github.com/Cace-ggg)**([PR #113](https://github.com/RMvdesi/obsidian-prism/pull/113))、**[@liuye0209](https://github.com/liuye0209)**([PR #130](https://github.com/RMvdesi/obsidian-prism/pull/130))、**[@World-false](https://github.com/World-false)**([PR #139](https://github.com/RMvdesi/obsidian-prism/pull/139) · [PR #179](https://github.com/RMvdesi/obsidian-prism/pull/179) · [#151](https://github.com/RMvdesi/obsidian-prism/issues/151))、**[@allen2life](https://github.com/allen2life)**([PR #139](https://github.com/RMvdesi/obsidian-prism/pull/139))、**[@bileizhen](https://github.com/bileizhen)**([PR #145](https://github.com/RMvdesi/obsidian-prism/pull/145))、**[@ellislrving](https://github.com/ellislrving)**([PR #148](https://github.com/RMvdesi/obsidian-prism/pull/148) · [#147](https://github.com/RMvdesi/obsidian-prism/issues/147))、**[@AaronWu77](https://github.com/AaronWu77)**([PR #150](https://github.com/RMvdesi/obsidian-prism/pull/150))、**[@itsKyze](https://github.com/itsKyze)**([PR #152](https://github.com/RMvdesi/obsidian-prism/pull/152) · [PR #154](https://github.com/RMvdesi/obsidian-prism/pull/154))、**[@qhchen31](https://github.com/qhchen31)**([PR #156](https://github.com/RMvdesi/obsidian-prism/pull/156) · [PR #160](https://github.com/RMvdesi/obsidian-prism/pull/160) · [#155](https://github.com/RMvdesi/obsidian-prism/issues/155) · [#159](https://github.com/RMvdesi/obsidian-prism/issues/159))、**[@Aperfish](https://github.com/Aperfish)**([PR #157](https://github.com/RMvdesi/obsidian-prism/pull/157))、**[@Gruu6y](https://github.com/Gruu6y)**([PR #163](https://github.com/RMvdesi/obsidian-prism/pull/163) · [PR #164](https://github.com/RMvdesi/obsidian-prism/pull/164) · [PR #178](https://github.com/RMvdesi/obsidian-prism/pull/178) · [#162](https://github.com/RMvdesi/obsidian-prism/issues/162) · [#175](https://github.com/RMvdesi/obsidian-prism/issues/175))、**[@WANGSHUISHUI2725](https://github.com/WANGSHUISHUI2725)**([PR #166](https://github.com/RMvdesi/obsidian-prism/pull/166))、**[@OyatsuSuki](https://github.com/OyatsuSuki)**([PR #167](https://github.com/RMvdesi/obsidian-prism/pull/167))、**[@Antonioxv](https://github.com/Antonioxv)**([PR #174](https://github.com/RMvdesi/obsidian-prism/pull/174) · [#173](https://github.com/RMvdesi/obsidian-prism/issues/173))、**[@Kaankrby](https://github.com/Kaankrby)**([PR #177](https://github.com/RMvdesi/obsidian-prism/pull/177))、**[@Aflydream](https://github.com/Aflydream)**([PR #182](https://github.com/RMvdesi/obsidian-prism/pull/182))。 - **问题定位与建议反馈**:**[@KitaHare](https://github.com/KitaHare)**([#144](https://github.com/RMvdesi/obsidian-prism/issues/144) · [#176](https://github.com/RMvdesi/obsidian-prism/issues/176))、**[@ChenYueC](https://github.com/ChenYueC)**([#146](https://github.com/RMvdesi/obsidian-prism/issues/146))、**[@Michael-IT001](https://github.com/Michael-IT001)**([#149](https://github.com/RMvdesi/obsidian-prism/issues/149))、**[@yaoguaiLYG](https://github.com/yaoguaiLYG)**([#162](https://github.com/RMvdesi/obsidian-prism/issues/162))、**[@yuaniyuan](https://github.com/yuaniyuan)**([#165](https://github.com/RMvdesi/obsidian-prism/issues/165))、**[@zzirui321-rgb](https://github.com/zzirui321-rgb)**([#175](https://github.com/RMvdesi/obsidian-prism/issues/175))、**[@Folozz](https://github.com/Folozz)**([#95](https://github.com/RMvdesi/obsidian-prism/issues/95))、**[@fenzsen](https://github.com/fenzsen)**([#161](https://github.com/RMvdesi/obsidian-prism/issues/161))。 - *Special thanks to all code contributors (credited via `Co-authored-by` and `docs/CONTRIBUTORS.md`) and issue reporters who made `v1.0.8-beta.6` possible!* ## [1.0.8-beta.5] - 2026-11-27 > **Obsidian Prism `v1.0.8-beta.5` 预发布版**在 `v1.0.8-beta.4` 基础上交付 **300Hz 高刷全链路性能跃迁与零 `:has()` GPU 合成重构(实测 `171.9→296.2 fps`,吸收 [PR #120](https://github.com/RMvdesi/obsidian-prism/pull/120) · [PR #126](https://github.com/RMvdesi/obsidian-prism/pull/126) · [PR #127](https://github.com/RMvdesi/obsidian-prism/pull/127) · [PR #138](https://github.com/RMvdesi/obsidian-prism/pull/138) · [#95](https://github.com/RMvdesi/obsidian-prism/issues/95) · [#123](https://github.com/RMvdesi/obsidian-prism/issues/123))**、**Git 在线升级 `src/**` 清单完整性修复与纯 JS 热重载样式守卫([#134](https://github.com/RMvdesi/obsidian-prism/issues/134) · [PR #137](https://github.com/RMvdesi/obsidian-prism/pull/137) · [#142](https://github.com/RMvdesi/obsidian-prism/issues/142))**、**11 款像素摆件三层纯 GPU 氛围光感与输入/首页/侧栏视觉精修([#106](https://github.com/RMvdesi/obsidian-prism/issues/106) · [#109](https://github.com/RMvdesi/obsidian-prism/issues/109) · [#143](https://github.com/RMvdesi/obsidian-prism/issues/143) · [PR #128](https://github.com/RMvdesi/obsidian-prism/pull/128))**、**思考翻译 Google ⇄ Bing 免费双活降级链**、**光滑光标内联装饰器 / Quote 芯片守卫([PR #135](https://github.com/RMvdesi/obsidian-prism/pull/135) · [PR #140](https://github.com/RMvdesi/obsidian-prism/pull/140))**、**本地 0ms 工具步骤条与 `on/auto` 侧栏骨架汉化([PR #133](https://github.com/RMvdesi/obsidian-prism/pull/133))**、**`agy-powertools` 兼容自动让位([#136](https://github.com/RMvdesi/obsidian-prism/issues/136) · [PR #140](https://github.com/RMvdesi/obsidian-prism/pull/140))**,以及 **清零全部公开仓 CodeQL 告警与 25 处版本锚点对齐**。 > > **3D 元素周期表协议归属说明 / Design Provenance & License Notice**:本版继续包含基于原作者另一仓库 **[RMvdesi/prism-periodic-console](https://github.com/RMvdesi/prism-periodic-console)**(该设计稿仓库采用 `All Rights Reserved`)视觉与交互方案在本仓库独立集成实现的 Channel 8 元素周期表模块,并继续按 `obsidian-prism` 的 **GPL-3.0** 协议开源发布。 > *The Channel 8 3D periodic-table model picker integrated in this release originates from the author's separate design study repository [RMvdesi/prism-periodic-console](https://github.com/RMvdesi/prism-periodic-console) (`All Rights Reserved`) and is implemented and released here by the original author under `obsidian-prism`'s **GPL-3.0** license.* ### 300Hz Performance, Low-End Adaptation & Architecture / 300Hz 高刷性能、低配自适应与架构稳健 - **全链路 300Hz 高刷渲染与调度优化([PR #120](https://github.com/RMvdesi/obsidian-prism/pull/120) · [PR #127](https://github.com/RMvdesi/obsidian-prism/pull/127) · [PR #138](https://github.com/RMvdesi/obsidian-prism/pull/138))**: - 将浮层统一收口至隔离容器 `#ag-prism-overlay-portal` 并用 `
` 替代 `
`,根治右键菜单挂载引发的 `156ms` `` 全树样式失效; - 将残余绘制期动画迁移为纯 GPU `transform`/`opacity` 合成,全仓消除 15 处 `:has()` 选择器,移除整轮对话与 Markdown `
` 残留的 `content-visibility: auto` 防止吸顶与长对话滚动错位,并将视口虚拟化范围收紧至底部 16 轮之外、重校准螃蟹与卡片 `75cqh - 77px` 留白(`PR #127`);
  - 拆分根属性与子节点 `MutationObserver`、新增静默 `discardMutations`、输入打字态零重绘、限定滚动/流式扫描区间与跨帧合并(`PR #120`);守护进程引入版本化渲染器 RPC 分发缓存(`49 KB → 283 B`)、`O(1)` Fiber BFS 负缓存、`?tab=` 路由防抖与 `inline-diff` Git 状态缓存;吸收 `PR #138` 编译器(`glsl-minifier` / `css-flatten` / `css-pack`)及波纹/光晕/边缘渲染热路径优化,并对齐全仓 25 处版本锚点。
  - *300Hz Rendering & Scheduler Overhaul (PR #120 / PR #127 / PR #138)*: Isolates overlays inside `#ag-prism-overlay-portal` to eliminate 156ms `` invalidation; eliminates 15 `:has()` selectors and residual whole-turn/code-block `content-visibility: auto` (scoping outside the bottom 16 turns with `75cqh - 77px` clearance in PR #127); migrates remaining paint animations to GPU `transform`/`opacity`; adds silent `discardMutations`, versioned Daemon RPC caching, `O(1)` Fiber BFS, and PR #138 compiler/daemon/hot-path hardening across all 25 version anchors.
- **低配硬件自适应与省电档 60Hz VSync 校准([#95](https://github.com/RMvdesi/obsidian-prism/issues/95) · [#123](https://github.com/RMvdesi/obsidian-prism/issues/123) · [PR #126](https://github.com/RMvdesi/obsidian-prism/pull/126))**:
  - 吸收 `PR #126` 引入零风控只读硬件检测(Windows C# / macOS Swift / JS 三端对齐),在低配设备上自动选择 `performance` 性能模式,并为 2D Canvas 引入 `WeakMap` 渐变对象缓存;
  - 修复 `performance` 档下 60Hz `14.5ms` VSync 丢半帧、热切换 `performanceMode` 未同步置脏、`prism-rim-canvas` 未停画及 2D 软降级 CPU 逐像素重绘飙高问题(`#95`),默认高刷档画质保持零损耗。
  - *Low-End Auto-Performance & 60Hz VSync Fix (#95 / #123 / PR #126)*: Auto-selects `performance` mode on low-end hardware across JS/C#/Swift with `WeakMap` 2D gradient caching (PR #126), and fixes 60Hz VSync frame drops, live `performanceMode` hot-switching, and CPU 2D fallback spikes (#95).

### Upgrade Sync, Hot-Reload & Host Compatibility / 在线升级同步、热重载与宿主兼容

- **修复 `<= v1.0.8-beta.3` 在线升级漏拷 `src/` 及纯 JS 热重载丢样式([#134](https://github.com/RMvdesi/obsidian-prism/issues/134) · [PR #137](https://github.com/RMvdesi/obsidian-prism/pull/137) · [#142](https://github.com/RMvdesi/obsidian-prism/issues/142))**:
  - 吸收加固 `PR #137` 建立 L0 单一真相源 `src/utils/sync-manifest.cjs`,动态将全部 `src/**` 纳入 `SYNC_ROOT_FILES`(116 项受管路径)并统一消费 `SYNC_SUBDIRS`,附加路径遍历与 symlink/junction 安全校验,修复老版本在线 Git 同步升级后守护进程缺少模块崩溃的问题;
  - 修复仅 JS 代码变更而 `cssHash` 不变时热重载误销毁复用 `__agPrismCssMgr` 导致整页主样式丢失的问题(`#142`)。
  - *`src/**` Upgrade Sync & JS-Only Hot-Reload CSS Guard (#134 / PR #137 / #142)*: Establishes `src/utils/sync-manifest.cjs` so `SYNC_ROOT_FILES` dynamically tracks `src/**` with symlink/traversal guards (PR #137 / #134), and preserves reused `__agPrismCssMgr` across JS-only hot reloads (#142).
- **`agy-powertools` 兼容隔离与 Auto-Yield 自动让位([#136](https://github.com/RMvdesi/obsidian-prism/issues/136) · [PR #140](https://github.com/RMvdesi/obsidian-prism/pull/140))**:
  - 为 `style.css` 浮层按钮压缩规则补齐 `palette: "host"` 门控,并以零 `:has()` 选择器直接豁免 `agy-context-popup`、`agy-subagent-popover`、`agy-stats-popup` 及其后代按钮,解决弹窗被压扁问题;
  - 将 `__agyLocalization` 与 `agy-context-ring-trigger` / `agy-speed-stats-trigger` 纳入 `host-i18n` 与遥测的 `auto` 模式自动让位(显式 `on` 模式保留接管且不隐藏外部触发器)。
  - *`agy-powertools` Zero-`:has()` Isolation & Auto-Yield (#136 / PR #140)*: Guards `.agy-overlay button` under `palette: "host"` while excluding `agy-powertools` and `agy-stats-popup` descendants without `:has()`, and wires `__agyLocalization` / `agy-*-trigger` auto-yielding in `auto` mode.

### Desktop Companions, Visuals & Thought Translation / 桌宠摆件光感、界面精修与思考翻译

- **11 款像素摆件与三层纯 GPU 氛围光感(昼夜 4 时段切换)与迷你蟹流畅奔跑([#109](https://github.com/RMvdesi/obsidian-prism/issues/109))**:
  - 将输入框桌宠旁装饰位拓展至 11 款 `24×30px` `crispEdges` 像素摆件(台灯/提灯/蜡烛/篝火、黑曜水晶簇/星灯瓶、仙人掌/沙漏/热咖啡/小书摞/黑胶机),按昼夜 4 时段无感轮换;附加三层纯 GPU 氛围光感(零模糊径向光晕、柔和落地光斑与桌宠走近 `source-atop` 像素受光),精调右留白 `28px` 远离圆角零溢出;
  - 将迷你蟹画布过渡由 `steps(2, end)` 改为对齐 `100ms` 心跳的 `.1s linear` 并豁免冲刺态地面推挤,修复快速奔跑掉帧(`#109` 追评)。
  - *11 Habitat Pixel Props with 3-Layer GPU Ambient Lighting & Smooth Mini-Crab Sprints (#109)*: Expands the single habitat slot to 11 crisp pixel props across 4 day/night phases with 3-layer zero-rAF GPU lighting, and switches mini-crab motion to `100ms linear` with sprint separation exemption (#109).
- **输入框棱镜圆角贴合、选项卡底边折射、Home Studio 解耦与导航栏修复([#106](https://github.com/RMvdesi/obsidian-prism/issues/106) · [#143](https://github.com/RMvdesi/obsidian-prism/issues/143) · [PR #128](https://github.com/RMvdesi/obsidian-prism/pull/128))**:
  - `prism-rim-canvas.js` 每次重扫实时刷新 `borderRadius` 并响应圆角/模式切换重绘,消除大圆角棱镜框与 10px 实框蹭出;`ask_question` 与排队卡片统一恢复底部柔和环境光折射(`data-ag-cs-prism-reflect="bottom"`);
  - 将 Home Studio 外层棱镜壳层与内层可滚动内容区 `.ag-cs-home-panel-body` 解耦,修复窄屏滚屏时边框错位与顶栏裁切(`#143`);收窄底部渐隐遮罩选择器恢复左侧问答圆点导航栏显示(`#106`);统一侧栏置顶会话行 `padding-left: 30px` 对齐分组列表;吸收 `PR #128` 精修壁纸滑块等宽数值胶囊。
  - *Rim Corner Sync, Bottom Prism Reflection, Home Studio Scroll Decoupling & Navigator Rail Fix (#106 / #143 / PR #128)*: Syncs `borderRadius` on rescan/mode-switch, unifies `ask_question` bottom ambient reflection, decouples `.ag-cs-home-panel-body` scrolling from the outer rim shell (#143), restores the left Q&A navigator dot rail (#106), aligns pinned sidebar rows (`30px` left padding), and adopts monospace wallpaper slider pill badges (PR #128).
- **光滑光标(Smooth Caret)内联装饰器与 Quote 芯片守卫([PR #135](https://github.com/RMvdesi/obsidian-prism/pull/135) · [PR #140](https://github.com/RMvdesi/obsidian-prism/pull/140))**:
  - 吸收 `PR #135` 解决 `@`/文件/Quote 等 Lexical 装饰器延迟挂载导致 `selectionSigCache` 假命中的问题,同时保持 `O(1)` 零全框文本扫描;叠加 `PR #140` 的 Quote 芯片、零宽字符(`\u200b`/`\ufeff`)不跨行对齐与 `emptyCaretProbeCache` 非空回退 4 项边缘守卫。
  - *Smooth Caret Decorator & Quote-Chip Guards (PR #135 / PR #140)*: Invalidates stale selection signatures on delayed Lexical decorator mounts with `O(1)` local topology checks (PR #135) and adds 4 Quote-chip/ZWSP/non-empty caret fail-safe guards (PR #140).
- **思考翻译 Google ⇄ Bing 免费机翻双活、0ms 工具步骤条与侧栏汉化、Inline Diff 修复([PR #133](https://github.com/RMvdesi/obsidian-prism/pull/133))**:
  - 新增 `machine-translate-client.mjs` 实现 Google GTX ⇄ Bing `ttranslatev3` 免费双活降级链、代理失效直连容灾与切模式即时清冷却;
  - 新增 `host-i18n` 本地 `0ms` 工具步骤条与思考标题汉化(支持 `tr`、双屏可见失焦窗首扫排空、消除 2 处多项式 ReDoS、严格防误翻思考正文与参数),并吸收 `PR #133` 补齐 `on/auto` 侧栏骨架汉化、Base UI 门户零闪烁与会话行点击 `O(1)` 局域重扫;
  - 修复 Inline Diff 固定顶栏对齐、自然行号升序与当前步平滑聚焦。
  - *Google/Bing Dual-Live Machine Translation, 0ms Tool-Step & Sidebar Localization & Inline Diff (PR #133)*: Adds Google GTX / Bing `ttranslatev3` failover with instant mode-switch cooldown clear; localizes v2.35 tool steps and thinking headers in `0ms` with ReDoS fixes and `on/auto` sidebar chrome / Base UI zero-flash localization (PR #133); and fixes Inline Diff sticky header alignment and natural hunk ordering.

### Security & Release Hygiene / 安全加固与发版规范

- **清零公开仓 CodeQL 告警与政策文档对齐**:彻底修复离线脚本与测试中的全部 5 条 CodeQL High 告警(`#39~#43`);统一 `README.md`、`README.en.md` 与 `docs/CODE_SIGNING_POLICY.md` 的 SignPath 代码签名计划说明。
- *CodeQL Zero & Signing Policy Alignment*: Resolves all 5 CodeQL High alerts (`#39-#43`) and aligns SignPath policy documentation across `README.md`, `README.en.md`, and `docs/CODE_SIGNING_POLICY.md`.

### Acknowledgements / 社区致谢(Community Credits)

- 衷心感谢推动本版落地的社区贡献者与问题定位伙伴(全部 PR 贡献者均保留 `Co-authored-by` 署名并收录至 [`docs/CONTRIBUTORS.md`](./docs/CONTRIBUTORS.md)):
  - **代码贡献(PR)**:**[@SuzumiyaHaruhi719](https://github.com/SuzumiyaHaruhi719)**([PR #120](https://github.com/RMvdesi/obsidian-prism/pull/120))、**[@Wlaeg](https://github.com/Wlaeg)**([PR #126](https://github.com/RMvdesi/obsidian-prism/pull/126) · [#123](https://github.com/RMvdesi/obsidian-prism/issues/123))、**[@OyatsuSuki](https://github.com/OyatsuSuki)**([PR #127](https://github.com/RMvdesi/obsidian-prism/pull/127) · [PR #128](https://github.com/RMvdesi/obsidian-prism/pull/128))、**[@luck-caicai](https://github.com/luck-caicai)**([PR #133](https://github.com/RMvdesi/obsidian-prism/pull/133))、**[@DDykarc](https://github.com/DDykarc)**([PR #135](https://github.com/RMvdesi/obsidian-prism/pull/135))、**[@tone-leh](https://github.com/tone-leh)**([PR #137](https://github.com/RMvdesi/obsidian-prism/pull/137) · [#134](https://github.com/RMvdesi/obsidian-prism/issues/134))、**[@World-false](https://github.com/World-false)**([PR #138](https://github.com/RMvdesi/obsidian-prism/pull/138))、**[@Antonioxv](https://github.com/Antonioxv)**([PR #135](https://github.com/RMvdesi/obsidian-prism/pull/135) · [#136](https://github.com/RMvdesi/obsidian-prism/issues/136) · [PR #140](https://github.com/RMvdesi/obsidian-prism/pull/140))。
  - **问题定位与社区反馈**:**[@Folozz](https://github.com/Folozz)**([#95](https://github.com/RMvdesi/obsidian-prism/issues/95))、**[@higgse123456-lgtm](https://github.com/higgse123456-lgtm)**([#106](https://github.com/RMvdesi/obsidian-prism/issues/106))、**[@yaoguaiLYG](https://github.com/yaoguaiLYG)**([#109](https://github.com/RMvdesi/obsidian-prism/issues/109))、**[@KitaHare](https://github.com/KitaHare)**([#142](https://github.com/RMvdesi/obsidian-prism/issues/142) · [#143](https://github.com/RMvdesi/obsidian-prism/issues/143))。
  - *Special thanks to PR contributors [@SuzumiyaHaruhi719](https://github.com/SuzumiyaHaruhi719) (PR #120), [@Wlaeg](https://github.com/Wlaeg) (PR #126/#123), [@OyatsuSuki](https://github.com/OyatsuSuki) (PR #127/#128), [@luck-caicai](https://github.com/luck-caicai) (PR #133), [@DDykarc](https://github.com/DDykarc) (PR #135), [@tone-leh](https://github.com/tone-leh) (PR #137/#134), [@World-false](https://github.com/World-false) (PR #138), and [@Antonioxv](https://github.com/Antonioxv) (PR #135/#136/PR #140), and to community diagnostics from [@Folozz](https://github.com/Folozz) (#95), [@higgse123456-lgtm](https://github.com/higgse123456-lgtm) (#106), [@yaoguaiLYG](https://github.com/yaoguaiLYG) (#109), and [@KitaHare](https://github.com/KitaHare) (#142, #143).*

## [1.0.8-beta.4] - 2026-11-27

> **Obsidian Prism `v1.0.8-beta.4` 预发布版**完成了 **声明式微内核与 `src/` 分层重构(Channel 1 精简至 `~385 KB`、16 条按需通道统一注册与 54 键三端配置同步)**、**清单驱动四阶段原子升级与安全/合规门禁体系**、**第 9 语种土耳其语(`tr`)全栈支持([PR #117](https://github.com/RMvdesi/obsidian-prism/pull/117))**、**三档性能模式与 300Hz 高刷渲染/WebGL2/DOM 调度减负([#97](https://github.com/RMvdesi/obsidian-prism/issues/97) · [PR #102](https://github.com/RMvdesi/obsidian-prism/pull/102) · [PR #103](https://github.com/RMvdesi/obsidian-prism/pull/103) · [#107](https://github.com/RMvdesi/obsidian-prism/issues/107) · [PR #108](https://github.com/RMvdesi/obsidian-prism/pull/108))**、**紧凑配额卡片与零延迟会话切换([PR #115](https://github.com/RMvdesi/obsidian-prism/pull/115))**、**自定义字体 / `ignoreReducedMotion` / macOS 冷启动 Launch Guard / 品牌矢量图标([PR #92](https://github.com/RMvdesi/obsidian-prism/pull/92) · [PR #96](https://github.com/RMvdesi/obsidian-prism/pull/96) · [#98](https://github.com/RMvdesi/obsidian-prism/issues/98) · [#101](https://github.com/RMvdesi/obsidian-prism/issues/101))**,以及多项社区缺陷修复([PR #88](https://github.com/RMvdesi/obsidian-prism/pull/88) · [#94](https://github.com/RMvdesi/obsidian-prism/issues/94) · [PR #100](https://github.com/RMvdesi/obsidian-prism/pull/100) · [#105](https://github.com/RMvdesi/obsidian-prism/issues/105) · [#109](https://github.com/RMvdesi/obsidian-prism/issues/109) · [#110](https://github.com/RMvdesi/obsidian-prism/issues/110) · [PR #111](https://github.com/RMvdesi/obsidian-prism/pull/111) · [#112](https://github.com/RMvdesi/obsidian-prism/issues/112) · [PR #114](https://github.com/RMvdesi/obsidian-prism/pull/114) · [PR #119](https://github.com/RMvdesi/obsidian-prism/pull/119))。
>
> **3D 元素周期表协议归属说明 / Design Provenance & License Notice**:本版继续包含基于原作者另一仓库 **[RMvdesi/prism-periodic-console](https://github.com/RMvdesi/prism-periodic-console)**(该设计稿仓库采用 `All Rights Reserved`)视觉与交互方案在本仓库独立集成实现的 Channel 8 元素周期表模块,并继续按 `obsidian-prism` 的 **GPL-3.0** 协议开源发布。
> *The Channel 8 3D periodic-table model picker integrated in this release originates from the author's separate design study repository [RMvdesi/prism-periodic-console](https://github.com/RMvdesi/prism-periodic-console) (`All Rights Reserved`) and is implemented and released here by the original author under `obsidian-prism`'s **GPL-3.0** license.*

### Microkernel Architecture, Atomic Upgrades & Security Hardening / 微内核架构、原子升级与安全加固

- **分层模块化重组、16 通道统一注册表与 54 键三端配置同步**:
  - 将 `cdp.js` 与 `sidecars/daemon/main.mjs` 解耦至单向无环分层的 `src/{config,utils,cdp,compat,compiler,channels,platform,runtime,security,daemon}`,守护进程由原型混入迁移为显式组合子系统与会话状态机(`src/daemon/session-fsm.mjs`),新增跨模块宿主选择器收口表(`src/compat/host-selectors.cjs`)、通道级错误边界与滚动日志;
  - 将 `usage-core`、`telemetry`、`effortSlider`、`workbenchEnhancer` 与 `contextMenu` 迁出主入口为独立按需通道,全部 16 条延迟通道统一注册于 `src/channels/registry.cjs`(开关关闭态零编译、零注入、零常驻内存),Channel 1 主包体积精简至约 `385 KB`(全 9 语 `< 390 KB`);
  - 统一配置单一真相源 `src/config/schema.cjs` 并将全部 54 项配置键同步至 Windows `installer/common/CdpClient.cs` 与 macOS `installer/macos/Common/CdpClient.swift`;建立版本唯一真相源工具 `scripts/bump-version.mjs` 与 `npm run version:check`。
  - *Layered Microkernel, 16-Channel Registry & 54-Key Native Config Parity*: Decomposes `cdp.js` and `sidecars/daemon/main.mjs` into an acyclic `src/` hierarchy with explicit subsystem composition and `session-fsm.mjs`; offloads `usage-core`, `telemetry`, `effortSlider`, `workbenchEnhancer`, and `contextMenu` into on-demand channels registered in `src/channels/registry.cjs` (bringing Channel 1 down to `~385 KB` across all 9 locales); and synchronizes all 54 `src/config/schema.cjs` keys across C# (`CdpClient.cs`) and Swift (`CdpClient.swift`).
- **清单驱动四阶段原子升级、离线归档移交与四防安全基线**:
  - 引入 `src/platform/install-manifest.cjs` 与 `src/platform/repo-sync.cjs`,CLI 安装工具(`tools/install-plugin.cjs`)、热同步与安装器统一走同卷 staging、SHA-256 校验、回滚快照与废弃路径清扫(彻底移除旧版 `tools/patch-asar.cjs`,保护用户配置与壁纸资产),并将 `tools/install-plugin.cjs` 纳入托管同步范围;
  - Windows 下离线归档与还原任务移交至宿主 Job Object 之外的原生 Watcher 执行,消除守护进程重启竞态并安全让出 `ownDaemonPid`;
  - 补齐 Windows PE 版本元数据、`installer/watcher/app.manifest` 与 SignPath 两步代码签名构建钩子;加固 SSRF / DNS-rebinding 防线(同时保持显式本地与局域网 HTTP 端点可用)、守护指标错误日志脱敏、运行期 0 `innerHTML` 与 CDP Domain 白名单;新增 6 套 28 项自动化适应度门禁(`test/gates/`)及 `scripts/probe-host-compat.mjs` / `scripts/profile-live-perf.mjs` 诊断脚本。
  - *Manifest-Driven Atomic Upgrades, Watcher Archive Handoff & Security Gates*: Unifies `tools/install-plugin.cjs`, hot-sync, and installers on 4-stage atomic upgrades (`install-manifest.cjs`) with obsolete-path cleanup (removing legacy `tools/patch-asar.cjs`) and strict user-data isolation; hands off offline archive/restore on Windows to Watcher outside the host Job Object; adds Windows PE metadata and SignPath two-step signing hooks; hardens SSRF/DNS-rebinding, log redaction, zero runtime `innerHTML`, and 28 automated fitness gates in `test/gates/`.

### Turkish 9th Locale & Host Localization / 第 9 语种土耳其语与宿主汉化

- **新增第 9 语种土耳其语(Türkçe / `tr`)全栈支持([PR #117](https://github.com/RMvdesi/obsidian-prism/pull/117))**:
  - 全仓 UI、设置面板、遥测与上下文水瓶(`pulse-vial-bridge.js`)、3D 元素周期表、思考转译、提示词建议器、Omni 工作台、侧栏问候与原生 C#/Swift 配置刷新守卫全面接入 `tr` / `tr-TR`;
  - 新增 `vendor/host-i18n/tr.json`(4,763 条精确词条 + 406 条正则模式)与 `vendor/host-i18n/swarm-tr.json`(201 条精确词条 + 56 条正则模式),宿主与 Swarm 汉化通道按活跃语种动态加载单份词典(零-`eval` LZSS 压缩 `tr.json`),保持既有中文逻辑与外部汉化自动让位行为不变,并收录 `scripts/i18n/` 提取与回填脚本。
  - *Turkish (`tr`) as 9th First-Class Locale (PR #117)*: Adds full Turkish (`tr` / `tr-TR`) localization across all UI/runtime/vendor modules and native guards, ships locale-aware host (`vendor/host-i18n/tr.json`, 4,763 exact + 406 patterns) and Swarm (`swarm-tr.json`, 201 exact + 56 patterns) dictionaries without affecting existing zh-CN behavior, and includes `scripts/i18n/` tooling.
- **Antigravity `v2.35` 回合外框汉化与 0-API 静态工具步骤动词表([#99](https://github.com/RMvdesi/obsidian-prism/issues/99) · [PR #100](https://github.com/RMvdesi/obsidian-prism/pull/100))**:
  - 允许宿主汉化安全覆写 `v2.35` 回合外框元素(`worked-for-collapsible`、`changed-files-card-header`)同时严格保护 Markdown 正文与思考折叠触发区,并为常见工具步骤引入零 API 消耗的静态动词查表(`vendor/thought-translator/tool-step-verbs.js`)。
  - *v2.35 Turn-Chrome Localization & Zero-API Static Tool Verbs (#99 / PR #100)*: Safely localizes v2.35 turn-chrome headers (`worked-for-collapsible`, `changed-files-card-header`) while protecting Markdown prose and thinking blocks, and adds zero-API static tool-step verb lookup.

### Performance & 300Hz Rendering Optimization / 性能与 300Hz 高刷渲染优化

- **三档性能模式、编译期 CSS 扁平化与共享 DOM 调度总线([#107](https://github.com/RMvdesi/obsidian-prism/issues/107) · [PR #102](https://github.com/RMvdesi/obsidian-prism/pull/102) · [PR #103](https://github.com/RMvdesi/obsidian-prism/pull/103))**:
  - 新增 `performanceMode`(`balanced` / `performance` / `quality`)三档配置,默认档与画质档完整保留 GPU 合成动效、核心浮层毛玻璃与双屏失焦运行态可见性,`performance` 省电档进一步收紧渲染预算;
  - 引入零依赖编译期 CSS 嵌套扁平化(`src/compiler/css-flatten.cjs`)与单块平坦样式打包,并新增共享 DOM 调度总线(`src/runtime/dom-bus.js`)实现单根 MutationObserver 路由、读写分离批处理与被动滚动监听,减少热路径布局抖动与样式重算。
  - *3-Tier `performanceMode`, Compile-Time CSS Flattening & Shared `dom-bus` (#107 / PR #102 / PR #103)*: Adds `balanced`/`performance`/`quality` performance tiers while preserving smooth GPU animations and frosted overlays by default; compiles nested CSS ahead of time into a single flat stylesheet; and consolidates DOM observation and Read/Write batching into `src/runtime/dom-bus.js`.
- **WebGL2 / Canvas / 3D 元素周期表高刷优化与无闪烁缩放([#97](https://github.com/RMvdesi/obsidian-prism/issues/97) · [PR #102](https://github.com/RMvdesi/obsidian-prism/pull/102) · [PR #103](https://github.com/RMvdesi/obsidian-prism/pull/103) · [PR #108](https://github.com/RMvdesi/obsidian-prism/pull/108))**:
  - 新增 `src/runtime/ripple-worker.js` 将光晕 WebGL2 渲染迁移至 `OffscreenCanvas` Worker(带 1×1 能力探测缓存与 CSP/上下文丢失透明主线程降级、休眠态 0 `postMessage`);
  - 吸收对话光晕原生 VSync 帧步调(`PR #102`)与地平线极光 3-octave 保中值 `fbm3` + 透明片元早退(`PR #103`);上下文水瓶改用分层零拷贝 Canvas(0 `drawImage`),3D 水晶图标收紧 MSAA/DPR 上限;
  - 首页字符波纹改为原地 `resize()` 同步重绘(120ms 防抖、不重建着色器程序与字形图集),修复开关侧边栏或缩放窗口时的画布闪烁(`#97` · `PR #108`);
  - Channel 8 3D 元素周期表引入 `< 2 KB` 懒加载入口桩(含 SPA 路由/DOM 返回自动补标)与热待机 UBO 复用,优化 300Hz 刷新步调、512px 阴影贴图、零三角函数环境光、抽屉过渡锁与读后写批处理,并修复抽屉首帧窄屏闪烁与迷你徽标左置固定。
  - *OffscreenCanvas Worker Glow, VSync/`fbm3`, Flicker-Free Resize & 3D Picker 300Hz Tuning (#97 / PR #102 / PR #103 / PR #108)*: Offloads WebGL2 glow to `src/runtime/ripple-worker.js` with transparent main-thread fallback; adopts native VSync pacing (PR #102), 3-octave `fbm3` early-out (PR #103), zero-copy layered vial canvases, and in-place flicker-free `home-ripple-host` resizing (#97 / PR #108); and adds a `< 2 KB` lazy stub with SPA re-badging, warm-standby UBO reuse, and 300Hz drawer/shadow/shader tuning for the 3D periodic picker.

### Features, Telemetry, Platform & UI Fixes / 新功能、遥测配额与社区修复

- **自定义对话/代码字体与页面内 `ignoreReducedMotion` 开关([#98](https://github.com/RMvdesi/obsidian-prism/issues/98) · [#101](https://github.com/RMvdesi/obsidian-prism/issues/101))**:
  - 支持在设置面板分别配置对话正文与代码块字体(提供常用预设字体族与自由字体名输入,附带实时预览,`#98`);
  - 新增独立开关 `ignoreReducedMotion`(忽略系统「减少动画」设置,`#101`),允许在系统开启减少动画时于 Antigravity 内保留插件动效与像素桌宠动画。
  - *Custom Chat/Code Fonts & `ignoreReducedMotion` Toggle (#98 / #101)*: Adds preset and custom font-family selectors with live preview for chat prose and code blocks (#98), plus an in-page `ignoreReducedMotion` toggle (#101).
- **紧凑 5h/周配额卡片、零延迟会话切换与 `/compact` 快速刷新([#94](https://github.com/RMvdesi/obsidian-prism/issues/94) · [PR #115](https://github.com/RMvdesi/obsidian-prism/pull/115))**:
  - 在对话状态底栏新增紧凑 5h/周配额卡片(`PR #115`),支持悬浮详情卡与重置 ETA、阈值预警着色、上下文卡片切换与解耦的分级折叠规则;
  - 引入 32 条 `cascadeId` LRU 缓存、路由变更即时探测与去重单飞刷新,消除切换会话后的数秒数据延迟,同时加速 `/compact` 压缩后的上下文占用水位刷新;
  - 修复窄侧边栏点击上下文容量卡片触发 `MutationObserver` 微任务死循环导致界面卡死的问题(`#94`)。
  - *Compact 5h/Weekly Quota Slot, Zero-Latency Session Switch & Post-`/compact` Refresh (#94 / PR #115)*: Adds compact 5h/weekly quota chips with hover ETA cards, warning tints, and decoupled fold tiers (PR #115); eliminates multi-second session-switch lag via a 32-entry LRU cache and route-change refresh; accelerates post-`/compact` occupancy updates; and breaks the narrow-sidebar context-card MutationObserver microtask loop (#94).
- **macOS 事件驱动冷启动 Launch Guard 与新增品牌图标([#89](https://github.com/RMvdesi/obsidian-prism/issues/89) · [PR #92](https://github.com/RMvdesi/obsidian-prism/pull/92) · [PR #96](https://github.com/RMvdesi/obsidian-prism/pull/96))**:
  - 在 macOS 原生 Watcher 中新增模块化 `LaunchGuard.swift` 并接入配置项 `autoRelaunchOnBareLaunch`(默认开启,可关闭),在未经包装启动器直接冷启动宿主时自动安全接管(`#89` · `PR #92`);
  - 在 `model-glyph-crystal.js` 与 `style.css` 中新增 ZCode/GLM/Z.ai 与 DeepSeek 专属品牌矢量图标及模型选择器行识别规则(`PR #96`)。
  - *macOS Event-Driven Launch Guard & ZCode/GLM/DeepSeek Brand Glyphs (#89 / PR #92 / PR #96)*: Integrates default-on (opt-out) `LaunchGuard.swift` (`autoRelaunchOnBareLaunch`) on macOS (PR #92 / #89) and adds ZCode/GLM/Z.ai and DeepSeek vector glyphs and model-row styling (PR #96).
- **思考转译参数适配与文风持久化、行内 Diff 全面修复([PR #88](https://github.com/RMvdesi/obsidian-prism/pull/88) · [#105](https://github.com/RMvdesi/obsidian-prism/issues/105) · [#112](https://github.com/RMvdesi/obsidian-prism/issues/112) · [PR #119](https://github.com/RMvdesi/obsidian-prism/pull/119))**:
  - 适配 GPT-5 与 o1/o3/o4 系列模型调用参数(改用 `max_completion_tokens` 替代不支持的 `max_tokens`/`temperature`),并将连接探测空回复明确判为失败(`PR #88`);
  - 修复「思考转译」文风预设切换后未及时持久化及飞行中 `getConfig()` 回滚竞态(`dirtyStyle` 脏态防护),并将连续快速切换升级为串行合并队列确保最终选择保序落盘(`#105` · `PR #119`);
  - 修复行内 Diff(`vendor/inline-diff/inline-diff-client.js`)词条汉化泄漏、非 Git 目录与 `.gemini` 路径快照支持、Antigravity `v2.35.2` fiber 补丁、Agent Review Card 与 `CortexStepGeneric` 兼容、无顶栏展开全部以及 Flex 横向溢出控制,并优先展示累计工作区 hunk(`#112`)。
  - *GPT-5/o-Series Translator Params, Style-Preset Persistence & Inline Diff Fixes (PR #88 / #105 / #112 / PR #119)*: Uses `max_completion_tokens` for GPT-5 and o1/o3/o4 models and rejects empty probe replies (PR #88); persists Thought Translator style presets immediately with `dirtyStyle` race guards and serial coalescing (PR #119 / #105); and fixes Inline Diff localization leaks, non-Git/`.gemini` snapshots, v2.35.2 fiber/Agent Review Card compatibility, headerless expand-all, horizontal flex containment, and cumulative working-tree hunk priority (#112).
- **宿主界面兼容、桌宠交互与视觉细节精修([#97](https://github.com/RMvdesi/obsidian-prism/issues/97) · [#107](https://github.com/RMvdesi/obsidian-prism/issues/107) · [#109](https://github.com/RMvdesi/obsidian-prism/issues/109) · [#110](https://github.com/RMvdesi/obsidian-prism/issues/110) · [PR #111](https://github.com/RMvdesi/obsidian-prism/pull/111) · [PR #114](https://github.com/RMvdesi/obsidian-prism/pull/114))**:
  - 清除 Antigravity `v2.35.2` 暗色模式输入框外围直角白边/蓝框(`#107`),放宽窄屏模型选择器弹性宽度防止文字截断(`#97`),明确 3D 元素周期表 `#0 Orch` 解锁指引文案(`#110`);
  - 统一 DeepSeek 蓝鲸与小猫在 `loaf`/`sleep` 态的闭眼休息表现,消除 400ms 睁眼重绘(`#109` · `PR #111`);修复首页顶部工具栏与桌宠区域重叠遮挡(`PR #114`);限定侧栏与分屏焦点切换仅响应输入框聚焦并新增跨分屏翻跃停靠动画,完善 `ask_question` 卡片下桌宠 `peek` 避让与完整棱镜光边、排队卡片落位、浮动面板棱镜边对齐、侧栏选中态光效、子代理短横线核心及侧栏滚底按钮可见性。
  - *Host UI Compatibility, Mascot Interactions & Visual Polish (#97 / #107 / #109 / #110 / PR #111 / PR #114)*: Removes dark-mode composer border artifacts in v2.35.2 (#107), prevents narrow model-trigger truncation (#97), clarifies `#0 Orch` unlock guidance (#110), keeps whale/cat eyes steadily shut during `loaf`/`sleep` (PR #111 / #109), resolves home top-toolbar overlap with the mascot stage (PR #114), restricts split-pane mascot hops to composer focus with a flip-dive animation, and refines `ask_question` peek/rim, floating-panel rim alignment, sidebar selected glow, subagent dash core, and scroll-bottom button visibility.

### Acknowledgements / 社区致谢(Community Credits)

- 衷心感谢推动 `v1.0.8-beta.4` 落地的社区贡献者与问题定位伙伴(全部 PR 贡献者均保留 `Co-authored-by` 署名并收录至 [`docs/CONTRIBUTORS.md`](./docs/CONTRIBUTORS.md)):
  - **代码贡献(PR)**:**[@tone-leh](https://github.com/tone-leh)**([PR #92](https://github.com/RMvdesi/obsidian-prism/pull/92) · [#89](https://github.com/RMvdesi/obsidian-prism/issues/89) · [PR #100](https://github.com/RMvdesi/obsidian-prism/pull/100) · [#99](https://github.com/RMvdesi/obsidian-prism/issues/99))、**[@DDykarc](https://github.com/DDykarc)**([PR #114](https://github.com/RMvdesi/obsidian-prism/pull/114) · [PR #115](https://github.com/RMvdesi/obsidian-prism/pull/115))、**[@kspinfps](https://github.com/kspinfps)**([PR #117](https://github.com/RMvdesi/obsidian-prism/pull/117))、**[@Johnbjoseph-cybersec](https://github.com/Johnbjoseph-cybersec)**([PR #119](https://github.com/RMvdesi/obsidian-prism/pull/119) · [#105](https://github.com/RMvdesi/obsidian-prism/issues/105))、**[@Gruu6y](https://github.com/Gruu6y)**([PR #111](https://github.com/RMvdesi/obsidian-prism/pull/111) · [#109](https://github.com/RMvdesi/obsidian-prism/issues/109))、**[@dengshu2](https://github.com/dengshu2)**([PR #108](https://github.com/RMvdesi/obsidian-prism/pull/108) · [#97](https://github.com/RMvdesi/obsidian-prism/issues/97))、**[@PeterNiu7403](https://github.com/PeterNiu7403)**([PR #102](https://github.com/RMvdesi/obsidian-prism/pull/102))、**[@sundaysebasidian-byte](https://github.com/sundaysebasidian-byte)**([PR #103](https://github.com/RMvdesi/obsidian-prism/pull/103))、**[@bileizhen](https://github.com/bileizhen)**([PR #96](https://github.com/RMvdesi/obsidian-prism/pull/96))、**[@xiaozhaodong](https://github.com/xiaozhaodong)**([PR #88](https://github.com/RMvdesi/obsidian-prism/pull/88))。
  - **问题定位与社区反馈**:**[@WANGSHUISHUI2725](https://github.com/WANGSHUISHUI2725)**([#97](https://github.com/RMvdesi/obsidian-prism/issues/97))、**[@neavo](https://github.com/neavo)**([#98](https://github.com/RMvdesi/obsidian-prism/issues/98))、**[@miles2542](https://github.com/miles2542)**([#101](https://github.com/RMvdesi/obsidian-prism/issues/101))、**[@L-yifan](https://github.com/L-yifan)**([#105](https://github.com/RMvdesi/obsidian-prism/issues/105))、**[@LnGXi](https://github.com/LnGXi)**([#107](https://github.com/RMvdesi/obsidian-prism/issues/107))、**[@yaoguaiLYG](https://github.com/yaoguaiLYG)**([#109](https://github.com/RMvdesi/obsidian-prism/issues/109))、**[@test886660-cell](https://github.com/test886660-cell)**([#110](https://github.com/RMvdesi/obsidian-prism/issues/110))、**[@xiaojiang233](https://github.com/xiaojiang233)**([#112](https://github.com/RMvdesi/obsidian-prism/issues/112)),以及 [#94](https://github.com/RMvdesi/obsidian-prism/issues/94) 复现排查。
  - *Special thanks to PR contributors [@tone-leh](https://github.com/tone-leh) (PR #92/#89, PR #100/#99), [@DDykarc](https://github.com/DDykarc) (PR #114, PR #115), [@kspinfps](https://github.com/kspinfps) (PR #117), [@Johnbjoseph-cybersec](https://github.com/Johnbjoseph-cybersec) (PR #119/#105), [@Gruu6y](https://github.com/Gruu6y) (PR #111/#109), [@dengshu2](https://github.com/dengshu2) (PR #108/#97), [@PeterNiu7403](https://github.com/PeterNiu7403) (PR #102), [@sundaysebasidian-byte](https://github.com/sundaysebasidian-byte) (PR #103), [@bileizhen](https://github.com/bileizhen) (PR #96), and [@xiaozhaodong](https://github.com/xiaozhaodong) (PR #88), and to community diagnostics & feedback from [@WANGSHUISHUI2725](https://github.com/WANGSHUISHUI2725) (#97), [@neavo](https://github.com/neavo) (#98), [@miles2542](https://github.com/miles2542) (#101), [@L-yifan](https://github.com/L-yifan) (#105), [@LnGXi](https://github.com/LnGXi) (#107), [@yaoguaiLYG](https://github.com/yaoguaiLYG) (#109), [@test886660-cell](https://github.com/test886660-cell) (#110), and [@xiaojiang233](https://github.com/xiaojiang233) (#112), along with #94.*

## [1.0.8-beta.3] - 2026-11-26

> **Obsidian Prism `v1.0.8-beta.3` 预发布版**(实测完整兼容 **`Antigravity v2.35.2`**)完成了 **全链路(JS + Windows C# 安装器)卡巴斯基误报清雷与 `klif.sys` `10.5×` 安装提速([#71](https://github.com/RMvdesi/obsidian-prism/issues/71))**、**深色对话极光材质预设与光学渲染调优([PR #74](https://github.com/RMvdesi/obsidian-prism/pull/74) · [PR #75](https://github.com/RMvdesi/obsidian-prism/pull/75))**、**Channel 1/侧栏/HoverCard 深度性能优化与 Ch4 热自愈([PR #76](https://github.com/RMvdesi/obsidian-prism/pull/76) · [PR #77](https://github.com/RMvdesi/obsidian-prism/pull/77))**、**Channel 9 设置面板热重载与对比度精修([PR #67](https://github.com/RMvdesi/obsidian-prism/pull/67))**、**纯 Node 脱离重启与跨平台归档过滤加固([PR #66](https://github.com/RMvdesi/obsidian-prism/pull/66) · [PR #68](https://github.com/RMvdesi/obsidian-prism/pull/68))**、**7 项一线社区 UI/兼容修复([#58](https://github.com/RMvdesi/obsidian-prism/issues/58) · [PR #79](https://github.com/RMvdesi/obsidian-prism/pull/79) · [#78](https://github.com/RMvdesi/obsidian-prism/issues/78) · [#80](https://github.com/RMvdesi/obsidian-prism/issues/80) · [#81](https://github.com/RMvdesi/obsidian-prism/issues/81) · [#82](https://github.com/RMvdesi/obsidian-prism/issues/82))**,以及 **RFC #69 Phase 1 仓库规范化与含空格/非 ASCII 路径 ESM 测试修复([PR #70](https://github.com/RMvdesi/obsidian-prism/pull/70) · [PR #86](https://github.com/RMvdesi/obsidian-prism/pull/86))**。
>
> **3D 元素周期表协议归属说明 / Design Provenance & License Notice**:本版继续包含基于原作者另一仓库 **[RMvdesi/prism-periodic-console](https://github.com/RMvdesi/prism-periodic-console)**(该设计稿仓库采用 `All Rights Reserved`)视觉与交互方案在本仓库独立集成实现的 Channel 8 元素周期表模块,并继续按 `obsidian-prism` 的 **GPL-3.0** 协议开源发布。
> *The Channel 8 3D periodic-table model picker integrated in this release originates from the author's separate design study repository [RMvdesi/prism-periodic-console](https://github.com/RMvdesi/prism-periodic-console) (`All Rights Reserved`) and is implemented and released here by the original author under `obsidian-prism`'s **GPL-3.0** license.*

### Kaspersky False-Positive Elimination & Installer Hardening / 卡巴斯基全链路清雷与安装器提速

- **全仓 JS + Windows C# 安装器清零 WMI / 隐藏 PowerShell / `WScript.Shell`([#71](https://github.com/RMvdesi/obsidian-prism/issues/71) · [PR #68](https://github.com/RMvdesi/obsidian-prism/pull/68))**:
  - JS 侧(`cdp.js`、`tools/install-plugin.cjs`、`tools/patch-asar.cjs`、`sidecars/daemon/main.mjs`、`sidecars/daemon/conversation-archive.mjs`)彻底移除全部 `-WindowStyle Hidden -EncodedCommand`、WMI `Win32_Process.Create` 与 `WScript.Shell` 调用:改为纯 Node MS-SHLLINK 二进制 `.lnk` 读写器、纯 Node 脱离重启器(`--run-relaunch-task` + `ELECTRON_RUN_AS_NODE=1`)、原生 `tasklist` 进程校验与 `reg.exe` 环境变量管理;外置 `sidecars/daemon/sensitive-path-rules.json` 与 `sidecars/daemon/redact.mjs` 剥离 `main.mjs` 内联敏感词表;
  - Windows C# 安装器(`installer/common/CdpClient.cs`、`installer/setup/Program.cs`、`scripts/build-installer.mjs`)同步彻底移除 `System.Management`、`ManagementObjectSearcher("...Win32_Process")`、`QueryProcessCommandLineViaPowerShell`、`ScheduleSelfDeleteIfNeeded` 的 Base64 隐藏 PowerShell 以及全部 5 处 `WScript.Shell` COM 反射,替换为纯 Win32 PEB `NtQueryInformationProcess(60)` 只读探测、纯 C# `WindowsLnkCodec`(MS-SHLLINK 读写 + `IShellLinkW` 创建)与零子进程同/跨盘符原子自删,并纳入 `test/av-heuristics-hygiene.test.mjs` 双端红线门禁;
  - **根治卡巴斯基微过滤驱动(`klif.sys`)`ReplaceFileW` `9s` 阻塞**:`installer/` 全量将 `File.Replace` 替换为轻量单步 `MoveFileExW(..., MOVEFILE_REPLACE_EXISTING)`,且全新文件直接 `CreateNew` 一步落盘,在卡巴斯基实时防护与入侵防御全开下将单次安装从 `55.95s` 提速至 **`5.31s`(10.5×)** 且全程 0 报警、0 拦截。
  - *Full JS + Windows C# AV Hygiene & 10.5× Install Speedup (#71 / PR #68)*: Eliminated every hidden PowerShell `-EncodedCommand`, WMI `Win32_Process` call, and `WScript.Shell` COM reflection across both Node/JS and C# (`installer/`) via pure MS-SHLLINK `.lnk` codecs, native `NtQueryInformationProcess(60)` PEB probing, pure-Node detached host relaunch with `app_storage.json` `runInBackground` 3-retry restoration, externalized `sensitive-path-rules.json` / `redact.mjs`, and same-volume atomic self-delete. Replacing `File.Replace` (`9,030 ms` stall under Kaspersky `klif.sys`) with `MoveFileExW` and single-pass `CreateNew` speeds up clean installs 10.5× (`55.95s -> 5.31s`) with zero AV detections.

### Dark Horizon Presets & Optical / Rendering Performance / 深色极光预设与渲染性能优化

- **深色对话极光材质预设与 3 档浓度校准([PR #74](https://github.com/RMvdesi/obsidian-prism/pull/74))**:
  - 新增 `darkAuraStyle`(`prism` 极夜琉纱 / `neon` 幽邃光晕)与 `darkAura`(`subtle` / `balanced` / `vivid`)设置项及 8 语种词典;校准 `prismLoop` 7 段 OKLCH 回折抑制橄榄绿、`neonLoop` 纯冷色光谱(`uSpectrum=6`)、解耦色纯度与降噪并同步补全 `ui-runtime.js` 5s 轮询状态键同步防误刷。
  - *Dark Horizon Aura Styles & Intensity Presets (PR #74)*: Adds `darkAuraStyle` (`prism` / `neon`) and `darkAura` (`subtle` / `balanced` / `vivid`) across all 8 locales with calibrated OKLCH diffraction, decoupled chroma/grain, and synchronized 5s theme-poll keys.
- **165Hz 拍频对齐与休眠时钟平滑淡出([PR #75](https://github.com/RMvdesi/obsidian-prism/pull/75))**:
  - `ripple-core.js` 将 `nebulaFrameMs` 调优至 `28ms` 消除高刷拍频抖动;`home-ripple-host.js` 引入暂停安全唤醒时钟与 `750–1200ms` smoothstep 睡前淡出并零回流初始化画布。
  - *165Hz Beat-Frequency Alignment & Smooth Pre-Sleep Fade (PR #75)*: Tunes `nebulaFrameMs` to `28ms`, adds pause-safe wake clocks and `750–1200ms` smoothstep fade-out, and initializes canvas sizes with zero reflow.
- **真实侧栏/HoverCard 全链路隔离、跳过 CSS 扁平化、Ch4 汉化热自愈与 ForcedReflow / GPU 降载([PR #76](https://github.com/RMvdesi/obsidian-prism/pull/76) · [PR #77](https://github.com/RMvdesi/obsidian-prism/pull/77))**:
  - 覆盖 Antigravity 真实 `[data-testid="sidebar-split"]` 侧栏、`project-header` 与 2 层 Base UI HoverCard 门户(`[data-base-ui-portal]`),将 `conversation-row-sidebar` 属性监听严格收口至 `data-selected`、实现侧栏 0 rAF Rim Canvas 短路、`host-i18n` `120ms` HoverCard 防抖与 Channel 4 `hostI18nCodeHash` 无需重启热自愈;
  - 原生支持 CSS Nesting(`&`)时由 `flattenMainStyleSheet()` 首行与 `cdp.js` `applyStyle` 协同跳过冗余扁平化与覆写(彻底避免 CSSOM `var()` 简写丢失);消除 Channel 1 多处 `ForcedReflow` 热点并将 `sidebar-client.js` 11 层 `` 替换为 3 个 `radialGradient`、`blur(96px->24px)`、`backdrop-filter(22px->12px)`;
  - 将 10 KB 纯 Channel 9 设置面板展开体专属样式从 `style.css` 迁入 `settings-panel.js`(展开/热更按需挂载 `#ag-prism-settings-v101-css`),`Ch1 auto` 反降至 `546,088 B`。
  - *Sidebar/HoverCard Isolation, Native CSS Nesting, Ch4 Hot-Heal & Zero-Reflow / GPU Slimming (PR #76 / PR #77)*: Isolates real `sidebar-split` & 2-level Base UI HoverCard portals (0 rim rAFs, 0 `runSync`, `120ms` i18n debounce, live Ch4 `hostI18nCodeHash` hot-heal), skips redundant CSS flattening when native `&` nesting is supported, eliminates Ch1 `ForcedReflow` hotspots, slims Sidebar Studio GPU blurs, and offloads 10 KB of Ch9-only settings CSS out of Ch1.

### Channel 9 Hot-Reload, Daemon Archive & Community UI Fixes / 通道热重载、归档加固与社区修复

- **Channel 9 热重载、壁纸热更闭环与对比度精修([PR #67](https://github.com/RMvdesi/obsidian-prism/pull/67))**:
  - 支持 Channel 9 设置面板热重载、2 行防挤压致谢卡、存储工作台按钮层级与 `280px` 详情窗、`markdown-alert` / `step-plan done` 深浅对比度及壁纸 3 滑块数值胶囊;修复 `main.mjs` `verifyAndHealEntry` 漏判 `wallpaperHashMismatch` 导致的壁纸热更空转并确保设置面板在子通道后重挂。
  - *Channel 9 Hot-Reload, Wallpaper Self-Heal Convergence & Contrast Polish (PR #67)*: Enables live Ch9 settings hot-reload, 2-line credit cards, storage workbench button hierarchy, `markdown-alert`/`step-plan` contrast, and wallpaper slider pills, plus fixes the `wallpaperHashMismatch` heal-loop edge case in `main.mjs`.
- **孤立外部 `agy acp` 过滤与归档循环加固([PR #66](https://github.com/RMvdesi/obsidian-prism/pull/66))**:
  - 在严守零 PowerShell / 零 WMI 红线下落地 `isIsolatedExternalAgyCommandLine`(严格前置校对 `--gemini-dir`、`--app-data-dir` 与 `agy(.exe) acp` 子命令,Windows 默认无探针时对 `agy.exe` fail-closed)、`createLoopRunningChecker`(500ms 节流与时钟回拨保护)、父链预校验与每 25 条 checkpoint 及 `512 KB` trace 安全截断。
  - *Isolated `agy acp` Filtering & Archive Loop Hardening (PR #66)*: Integrates strict `agy(.exe) acp` isolation rules without PowerShell/WMI, plus `500ms` clock-skew-safe loop throttling, parent-chain caching, 25-item checkpoints, and `512 KB` trace rotation.
- **7 项一线社区 UI 与 `Antigravity v2.35.2` 兼容修复**:
  - **桌宠「克制」模式悬停/点击左移 & 开模型菜单三蟹可见 & `Shift+右键` 贯穿蓝线 & `/btw` 底栏防裁切([#58](https://github.com/RMvdesi/obsidian-prism/issues/58) · [PR #79](https://github.com/RMvdesi/obsidian-prism/pull/79))**:`style.css` `subtle` 档位精确排除 `.ag-v2-mascot-actor` 与 `[data-no-press-spring="1"]`;取消原生模型菜单触发 `peek` 并移除 `.ag-v2-mini-pile{opacity:0}`(完整保留 3D 元素周期表 `data-ag-pp-open="1"` 0fps 休眠与防误点);视口焦点环压制升级至 `(1,3,1)` 优先级并补全 `overview-panel-host`;保护 `/btw` 输入框底栏入口不被窄窗横向裁切;
  - **浅色模式 Chat 画布黑底([#78](https://github.com/RMvdesi/obsidian-prism/issues/78))**:`vendor/sidebar-studio/sidebar-client.js` 全部 11 处浅色规则补全 `html[data-ag-cs-theme="light"]` 及 `body:is(.theme-light,.light-theme,.light)` 与 `obsidian+alabaster` 暖浅联动;
  - **Antigravity `v2.35.1` / `v2.35.2` Orchestrator L2 子菜单高频闪烁([#80](https://github.com/RMvdesi/obsidian-prism/issues/80))**:三层加固 `vendor/effort-slider/upstream-client.js`、`style.css` 与 `host-i18n-runtime.js`,在 L2/L3 嵌套同一父容器时不误隐藏 L2、不压低外层定位容器 `z-[6000]`、抑制边缘缩放抖动并防止第 0 帧汉化误触;实测完整兼容 **`Antigravity v2.35.2`**;
  - **外部 Dashboard 共存浮窗底色被覆盖([#81](https://github.com/RMvdesi/obsidian-prism/issues/81))**:`vendor/pulse-dashboard/inline-fallback.js` `TIER_CSS` 将 `--c` 隔离重命名为 `--pt-c`,彻底避免覆写 `pulse-vial-bridge.js` 的 `--c` 卡片底色;
  - **首页 Models Tab 模型配色去重([#82](https://github.com/RMvdesi/obsidian-prism/issues/82))**:`home-studio-panel.js` 扩展 26 槽双主题高对比调色板 + 阵营偏好与黄金角 `HSL` 去重,确保堆叠占比条与图例色标一模型一色。

### Repo Governance & Hygiene Gates / 仓库规范化与门禁建设

- **落地 RFC #69 Phase 1 与 ESM 测试跨平台路径修复([PR #70](https://github.com/RMvdesi/obsidian-prism/pull/70) · [PR #86](https://github.com/RMvdesi/obsidian-prism/pull/86))**:
  - 将社区治理文档归位 `.github/`(`CONTRIBUTING.md`、`CODE_OF_CONDUCT.md`、`SECURITY.md`),贡献者名录迁至 `docs/CONTRIBUTORS.md`(保留 `README.md` 与 `README.en.md` 同留仓库根目录),Windows 辅助脚本迁入 `scripts/win/*.bat`;
  - 抽取公共 `test/helpers/mini-dom.mjs`,新增 `scripts/run-tests.mjs`(`npm run test:gates` / `npm run test:fast`)与 `test/gates/repo-hygiene.test.mjs`(根目录白名单、文档相对链接与域测试命名棘轮);
  - 吸收 [PR #86](https://github.com/RMvdesi/obsidian-prism/pull/86) 将 8 个 ESM 测试文件中的 `URL.pathname` 替换为 `fileURLToPath(...)`,彻底修复含空格或非 ASCII 字符本地仓库路径下的跨平台测试加载失败。
  - *RFC #69 Phase 1 & Cross-Platform ESM Test Path Fix (PR #70 / PR #86)*: Relocates governance docs to `.github/`, `CONTRIBUTORS.md` to `docs/`, and batch scripts to `scripts/win/` while keeping `README.md`/`README.en.md` at root; adds `scripts/run-tests.mjs` and `test/gates/repo-hygiene.test.mjs`; and adopts `fileURLToPath` across 8 ESM test files so paths with spaces or non-ASCII characters work reliably.

### Acknowledgements / 社区致谢(Community Credits)

- 衷心感谢推动 `v1.0.8-beta.3` 落地的社区贡献者与验票伙伴(已同步收录至 [`docs/CONTRIBUTORS.md`](./docs/CONTRIBUTORS.md) 并保留 `Co-authored-by` 署名):
  - **代码贡献(PR)**:**[@OyatsuSuki](https://github.com/OyatsuSuki)**([PR #67](https://github.com/RMvdesi/obsidian-prism/pull/67) · [PR #68](https://github.com/RMvdesi/obsidian-prism/pull/68) · [PR #70](https://github.com/RMvdesi/obsidian-prism/pull/70) · [PR #75](https://github.com/RMvdesi/obsidian-prism/pull/75) · [PR #76](https://github.com/RMvdesi/obsidian-prism/pull/76) · [PR #77](https://github.com/RMvdesi/obsidian-prism/pull/77))、**[@yzd05](https://github.com/yzd05)**([PR #66](https://github.com/RMvdesi/obsidian-prism/pull/66))、**[@ZaneColinSD](https://github.com/ZaneColinSD)**([PR #74](https://github.com/RMvdesi/obsidian-prism/pull/74))、**[@DDykarc](https://github.com/DDykarc)**([PR #79](https://github.com/RMvdesi/obsidian-prism/pull/79))、**[@alanheverton](https://github.com/alanheverton)**([PR #86](https://github.com/RMvdesi/obsidian-prism/pull/86))。
  - **问题定位与实测验证**:**[@IASUI](https://github.com/IASUI)**([#58](https://github.com/RMvdesi/obsidian-prism/issues/58))、**[@Wenzi1911](https://github.com/Wenzi1911)**([#72](https://github.com/RMvdesi/obsidian-prism/issues/72) · [#73](https://github.com/RMvdesi/obsidian-prism/issues/73))、**[@zxyzx0430](https://github.com/zxyzx0430)**([#78](https://github.com/RMvdesi/obsidian-prism/issues/78))、**[@peco331](https://github.com/peco331)**([#80](https://github.com/RMvdesi/obsidian-prism/issues/80) · [#81](https://github.com/RMvdesi/obsidian-prism/issues/81))、**[@uwu9039](https://github.com/uwu9039)**([#80](https://github.com/RMvdesi/obsidian-prism/issues/80))、**[@hukun01](https://github.com/hukun01)**([#82](https://github.com/RMvdesi/obsidian-prism/issues/82))。
  - *Special thanks to PR contributors [@OyatsuSuki](https://github.com/OyatsuSuki), [@yzd05](https://github.com/yzd05), [@ZaneColinSD](https://github.com/ZaneColinSD), [@DDykarc](https://github.com/DDykarc), and [@alanheverton](https://github.com/alanheverton), and to community diagnostics & feedback from [@IASUI](https://github.com/IASUI), [@Wenzi1911](https://github.com/Wenzi1911), [@zxyzx0430](https://github.com/zxyzx0430), [@peco331](https://github.com/peco331), [@uwu9039](https://github.com/uwu9039), and [@hukun01](https://github.com/hukun01).*

## [1.0.8-beta.2] - 2026-11-25

> **Obsidian Prism `v1.0.8-beta.2` 预发布版**在 `v1.0.8-beta.1` 基础上重点交付 **多分屏视图(Split View)全量适配与 Channel 12 首页看板卸载**、**4 档可选「对话页字符波纹」与 WebGL2 三层防白屏自愈加固**、**Antigravity `v2.34+` 壳层自定义壁纸透出修复**、**Windows 托盘退出与 Linux 便携包更新器修复**,以及 **2 个社区 PR(#60 / #61)深度融合**。

### Multi-Pane Split View & Channel 12 Offload / 多分屏视图适配与 Channel 12 卸载

- **多分屏视图布局、窗格级状态隔离与 Channel 12 首页看板外移([#62](https://github.com/RMvdesi/obsidian-prism/issues/62))**:
  - 统一多分屏分割栏(Divider / Sash)视觉:宽热区本体置透明,静止态收敛为克制 `1px` 低对比度暗线(适配深浅双主题),悬停与拖动保留平滑发光高亮;
  - 为每个可见分屏独立挂载遥测状态条(绑定各自会话 ID、独立窄屏折叠且切换焦点零跳变)与统一棱镜流光边缘,实现推理滑块、元素周期表触发器与异阵营 Thought 图标窗格级隔离;桌宠、底部光晕与上下文水瓶保持单份资源平滑跟随当前聚焦分屏(展开水瓶卡片时桌宠自动 `peek` 避让);
  - 将 Home Studio 首页看板逻辑外移至独立按需 **Channel 12**,进一步释放 Channel 1 主通道体积余量。
  - *Multi-Pane Split View, Per-Pane Telemetry Isolation & Channel 12 Offload (#62)*: Converges static Split View sashes to subtle `1px` dark/light hairlines while keeping hover/drag glow; mounts independent per-pane telemetry bars (session-scoped, narrow collapse, zero focus-jump) and prism rims with pane-isolated Effort sliders, Periodic Picker triggers, and Thought badges; smoothly follows active focus for the shared mascot, aura, and context vial (with `peek` clearance when the vial card opens); and offloads Home Studio to on-demand Channel 12.

### Conversation Matrix Ripple & WebGL2 Self-Healing / 对话页字符波纹与 WebGL2 防白屏自愈

- **4 档「对话页字符波纹」分段控制与 `v2.35` 分屏修复([#63](https://github.com/RMvdesi/obsidian-prism/issues/63))**:
  - 在设置面板「外观」新增单行 4 档「对话页字符波纹(`关闭 / 微光 / 标准 / 鲜明`)」开关(默认关闭,支持 8 语种且不依赖 `homeLayout` 开关),通过主壳单一共享 WebGL2 Canvas 跨分屏连贯渲染(跳过 `glowCanvas`、切档即时热更新、流式/静止 `0fps` 休眠并自动避让自定义壁纸与浏览器分屏);
  - 同步修复 Antigravity `v2.35` 分屏背景容器穿透。
  - *4-Tier Conversation Matrix Ripple & v2.35 Split Backdrop (#63)*: Adds an opt-in 4-tier `convRipple` segmented control (`Off / Subtle / Medium / Full`, default `Off`, 8 locales, independent of `homeLayout`) rendered on one continuous main-shell WebGL2 canvas across split panes with live tier hot-swap, `0fps` idle/streaming sleep, wallpaper/browser-hole yielding, and v2.35 split backdrop fixes.
- **WebGL2 缩放上下文保留与三层防白屏自愈加固([#64](https://github.com/RMvdesi/obsidian-prism/issues/64) · [PR #60](https://github.com/RMvdesi/obsidian-prism/pull/60))**:
  - 吸收 [PR #60](https://github.com/RMvdesi/obsidian-prism/pull/60) 根治窗口/终端 resize(如 `Ctrl+J`)及侧栏宽度拖动时因调用 `loseContext()` 导致的纯白画布与破损图标问题,并隔离同步异常;
  - 叠加三层深层自愈加固:解除 Chromium 同 `` WebGL2 失败后 `getContext('2d')` 永久返 `null` 的降级死锁(自动换新 `` 走真 2D 回退,全失败自动隐藏零白块);对称补齐首页顶光 `glowCanvas` 生命周期与失活换画布;监听异步 `webglcontextlost` 瞬时隐藏并防抖自愈(连续失活自动稳态降级 2D)。
  - *WebGL2 Resize Context Preservation & 3-Layer White-Screen Self-Healing (#64 / PR #60)*: Integrates PR #60 to keep WebGL2 contexts alive across terminal (`Ctrl+J`) and sidebar resizes while isolating sync errors; breaks Chromium's same-canvas `getContext('2d') -> null` fallback deadlock by swapping in a fresh canvas; hardens `glowCanvas` lifecycle symmetry; and adds debounced async `webglcontextlost` hide-and-recover with automatic 2D stabilization.

### Custom Wallpaper, Tray Quit & Linux Updater Fixes / 壁纸透出、托盘退出与更新器修复

- **自定义壁纸 `v2.34+` 壳层穿透、Windows 托盘安全退出与 Linux 更新器修复([#59](https://github.com/RMvdesi/obsidian-prism/issues/59) · [PR #61](https://github.com/RMvdesi/obsidian-prism/pull/61))**:
  - 修复 Antigravity `v2.34+` 新增的 `.agy-inset-shell` / `.agy-sheet` 与内层 `flex-1` 容器及 `.agy-shell .bg-sidebar` 遮挡自定义壁纸的问题,并适度下调深浅双主题 `[data-ag-cs-conv-seat="1"]` 遮罩透明度;
  - 吸收 [PR #61](https://github.com/RMvdesi/obsidian-prism/pull/61) 修复 Windows 托盘退出 `HOST_EXIT_TIMEOUT` 与深色存储守卫横幅对比度,并强化回环 CDP `Browser.close` 目标校验(经由 `this.browserPort` 强校验 `/json/list` 与 `DevToolsActivePort` 路径,防止旧端口复用误关其他应用)与 ACK 超时快速回退;
  - 修复 Linux 更新器精准匹配 `obsidian-prism-linux-portable.tar.gz` Release 资产。
  - *Custom Wallpaper v2.34+ Reveal, Windows Tray Quit & Linux Updater Fix (#59 / PR #61)*: Clears opaque `.agy-inset-shell`/`.agy-sheet`/`flex-1`/`.bg-sidebar` blockers over custom wallpapers with tuned dual-theme `[data-ag-cs-conv-seat="1"]` opacity; integrates PR #61 with strict `/json/list` + `DevToolsActivePort` target verification via `this.browserPort` before `Browser.close` and immediate timeout fallback; and resolves the `obsidian-prism-linux-portable.tar.gz` asset on Linux.

### Acknowledgements / 社区致谢(Community Credits)

- 衷心感谢推动 `v1.0.8-beta.2` 落地的社区贡献者与验票伙伴(已同步收录至 [`docs/CONTRIBUTORS.md`](./docs/CONTRIBUTORS.md) 并保留 `Co-authored-by` 署名):
  - **代码贡献(PR)**:**[@OyatsuSuki](https://github.com/OyatsuSuki)**([PR #60](https://github.com/RMvdesi/obsidian-prism/pull/60) · [PR #61](https://github.com/RMvdesi/obsidian-prism/pull/61))。
  - **问题定位与实测验证**:**[@IASUI](https://github.com/IASUI)**([#62](https://github.com/RMvdesi/obsidian-prism/issues/62))、**[@VehideX](https://github.com/VehideX)**([#63](https://github.com/RMvdesi/obsidian-prism/issues/63))、**[@water707](https://github.com/water707)**([#64](https://github.com/RMvdesi/obsidian-prism/issues/64))、**[@yuaniyuan](https://github.com/yuaniyuan)**([#59](https://github.com/RMvdesi/obsidian-prism/issues/59))、**[@Xinbeok](https://github.com/Xinbeok)**(PR #60 macOS 验证)。
  - *Special thanks to [@OyatsuSuki](https://github.com/OyatsuSuki) (PR #60/#61), [@IASUI](https://github.com/IASUI) (#62), [@VehideX](https://github.com/VehideX) (#63), [@water707](https://github.com/water707) (#64), [@yuaniyuan](https://github.com/yuaniyuan) (#59), and [@Xinbeok](https://github.com/Xinbeok) (PR #60 macOS verification).*

## [1.0.8-beta.1] - 2026-11-25

> **Obsidian Prism `v1.0.8-beta.1` 预发布版**引入按需 **3D 机械键盘「元素周期表」模型选择器(Channel 8)**、**8 语完整国际化与 Channel 1 瘦身(-136 KB)**、**4 层零风控 `language_server` 内存治理与存储明细工作台**、**完整 Linux 原生支持**、**四物种像素桌宠与 3D 视差黑曜石星辰酒馆像素舞台**、**Omni 默认安全沙盒预览与 Prompt Suggester(Channel 11)**,以及面向 **Antigravity `v2.35.0` / `v2.35.1`** 的视觉精修与 12 个社区 PR 集成。
>
> **协议与来源说明 / Design Provenance & License Notice**:本版本集成的 3D 元素周期表视觉与交互设计稿源自作者本人另一仓库 **[RMvdesi/prism-periodic-console](https://github.com/RMvdesi/prism-periodic-console)**(该设计稿仓库采用较严的 `All Rights Reserved` 协议;本项目内由原作者集成实现并按 `obsidian-prism` 的 **GPL-3.0** 协议开源发布)。
> *The 3D periodic-table visual and interaction design study originates from the author's separate repository [RMvdesi/prism-periodic-console](https://github.com/RMvdesi/prism-periodic-console) (`All Rights Reserved`); its integration in this repository is implemented by the original author and released under `obsidian-prism`'s **GPL-3.0** license.*

### Periodic-Table 3D Model Picker & Architecture / 3D 元素周期表模型选择器与架构瘦身

- **3D 机械键盘「元素周期表」模型选择器(Channel 8)**:
  - 按需加载的独立 WebGL2 PBR 机械键帽矩阵与实时 OLED HUD 状态面板,支持通过模型菜单键帽标识快速呼出与切换模型/推理档位;
  - 深度面向 300Hz 高刷屏提帧优化:引入并行 Shader 编译、动态缩减 GPU 几何面数与 OLED 纹理上传频次、消除全页滚动容器回流,展开期间自动暂停非必要后台模块,关闭后立即停帧并回收显存;
  - 运行态与交互协同加固:对话生成期间自动锁定禁止唤起,切换至正在运行的会话时自动收回,同时在展开态保持全页棱镜边缘对指针的同步响应。
  - *3D Mechanical Keyboard Periodic-Table Model Picker (Channel 8)*: On-demand WebGL2 PBR keycap console with OLED HUD and 300Hz frame-pacing optimizations (parallel shader compilation, reduced GPU geometry/OLED uploads, zero-reflow layout, background module pausing when open). Locks invocation during active turns, auto-dismisses when switching into running sessions, and keeps page-wide prism rims pointer-reactive while open. Design study originates from [RMvdesi/prism-periodic-console](https://github.com/RMvdesi/prism-periodic-console) (`All Rights Reserved`) and is integrated here by the original author under **GPL-3.0**.
- **8 语完整国际化、Channel 1 架构瘦身(-136 KB)与可逆原生英文还原([#18](https://github.com/RMvdesi/obsidian-prism/issues/18) · [PR #55](https://github.com/RMvdesi/obsidian-prism/pull/55))**:
  - 界面与扩展模块全面支持 **8 种语言**(简中 / 繁中 / 英 / 日 / 韩 / 西 / 法 / 德,收敛移除独立粤语分支并补全 8 语文案零漏翻);同步升级上游 `v3.3.63` 汉化词库([PR #55](https://github.com/RMvdesi/obsidian-prism/pull/55));
  - 将设置面板与完整多语词典拆分至按需 **Channel 9**、像素桌宠引擎拆分至按需 **Channel 10**,使 Channel 1 主包体积下降 **-136 KB**(全 9 种语言模式严格 `< 549,500 B`);
  - 完善 `hostLocalization: 'off'` 下的可逆原生英文还原(支持对隔离上下文外部汉化插件的可逆暂停,覆盖侧栏与失焦态回退);
  - 落地 **Swarm 侧栏面板(`plugin://swarm--swarm_board-*`)纯 CDP 按需汉化**([#18](https://github.com/RMvdesi/obsidian-prism/issues/18) 层 B,零 Channel 1 体积开销,内容区/代码/成员名隔离且支持无损还原),并完成全链路 `?token=` 敏感查询参数脱敏。
  - *8-Locale Parity, Channel 1 Slimming (-136 KB), Reversible Native-EN Restore & Swarm CDP Localization (#18 / PR #55)*: Ships complete 8-locale support (zh-CN/zh-TW/en/ja/ko/es/fr/de) and upgrades the upstream `v3.3.63` zh-CN dictionary (PR #55); splits Settings/full locales to on-demand Channel 9 and Mascot runtime to Channel 10 (-136 KB on Channel 1, `< 549,500 B` across all 9 modes); adds reversible native-English restoration in `hostLocalization: 'off'` (including isolated external localizers); and adds zero-Ch1-overhead Swarm OOPIF pure-CDP localization (#18 Layer B) with full-chain `?token=` redaction.

### Memory Governance, Storage Workbench & Linux Native Support / 内存治理、存储工作台与 Linux 原生支持

- **4 层零风控 `language_server` 内存治理与存储明细工作台([#40](https://github.com/RMvdesi/obsidian-prism/issues/40) · [#47](https://github.com/RMvdesi/obsidian-prism/issues/47) · [PR #41](https://github.com/RMvdesi/obsidian-prism/pull/41) · [PR #48](https://github.com/RMvdesi/obsidian-prism/pull/48) · [PR #56](https://github.com/RMvdesi/obsidian-prism/pull/56))**:
  - 零修改宿主二进制、零跨进程内存干预的 4 层治理体系:修复 `v2.34+` Home Studio `stepCount: 0` 缓存抖动并节流运行中全量扫描;空闲态触发的存储守卫提醒横幅(带 24h 稍后提醒与确认后归档重启);可选退出自动归档旧子代理(默认关闭,仅归档 `>2h` 子代理,不触碰主会话);可选 Go `GOMEMLIMIT` 用户环境变量软上限配置与一键清理;
  - 在 **设置 → 关于** 新增存储明细与无损归档工作台([PR #56](https://github.com/RMvdesi/obsidian-prism/pull/56)):提供按体积排序的 Top-5 会话排行、`
` 懒加载明细列表、多批次选择无损还原、独立 `>14d` 旧主会话归档预设及三路互斥二次确认门禁; - 保留已删除与已归档会话在 Home Studio 账本中的真实历史 Token 统计([#40](https://github.com/RMvdesi/obsidian-prism/issues/40) · [PR #41](https://github.com/RMvdesi/obsidian-prism/pull/41)),并防护与自动修复自引用 `rootConversationId` 毒化记录([#47](https://github.com/RMvdesi/obsidian-prism/issues/47) · [PR #48](https://github.com/RMvdesi/obsidian-prism/pull/48))。 - *4-Layer Zero-Risk `language_server` Memory Governance & Storage Details Workbench (#40/#47 / PR #41/#48/#56)*: Eliminates v2.34+ cache thrashing, adds an idle-only Storage Guard banner, opt-in exit auto-archiving for old subagents (>2h only, never main chats), and opt-in `GOMEMLIMIT` user env controls; adds an About-sheet Storage Details & Archive Workbench (Top-5 size ranking, lazy `
`, multi-batch lossless restore, `>14d` old-main archive preset with mutually exclusive confirmations); preserves real token totals for deleted/archived chats (#40/PR #41); and heals self-referential `rootConversationId` entries (#47/PR #48). - **完整 Linux 原生支持([#44](https://github.com/RMvdesi/obsidian-prism/issues/44))**: - 新增零外部依赖便携构建(`scripts/build-linux.mjs` 输出 `obsidian-prism-linux-portable.tar.gz`,含 `install.sh` / `uninstall.sh` / `status.sh`)并接入 CI 发布流水线与 `SHA256SUMS.txt`; - 实现免 `root` 的 XDG `.desktop` 阴影覆写与托管启动器(`antigravity-prism.desktop`),卸载时完整还原;补齐 `/proc` 与 `APPIMAGE` 主进程识别、`zenity`/`kdialog` 重启恢复引导、支持 `GOMEMLIMIT` 的 POSIX 独立重启及 `SIGHUP` 守护进程优雅退出。 - *Full Native Linux Support (#44)*: Adds zero-dependency portable `.tar.gz` packaging (`install.sh`/`uninstall.sh`/`status.sh`) in release CI, rootless XDG `.desktop` shadow overrides and managed launcher with lossless rollback, `/proc` + `APPIMAGE` detection, `zenity`/`kdialog` relaunch prompts, and `SIGHUP` graceful daemon shutdown. ### Mascot Casting Stage, Omni Sandbox, Prompt Suggester & Extensibility / 桌宠舞台、Omni 沙盒、提示词建议器与扩展底座 - **四物种像素桌宠与 3D 视差黑曜石星辰酒馆像素舞台([PR #45](https://github.com/RMvdesi/obsidian-prism/pull/45))**: - 新增 **GPT 白龙** 与 **DeepSeek 蓝鲸** 像素桌宠,支持四物种自由选角及 0/1 单只纯开关控制; - 在设置面板按需集成 WebGL2 **3D 视差黑曜石星辰酒馆像素舞台**(运行于 Channel 9,零 Channel 1 体积负担;仅面板展开且可见时渲染,关闭/隐藏/脱离 DOM 立即停帧并回收显存),并修复 Channel 10 热更新时的实时桌宠重挂载。 - *Four-Species Pixel Mascots & 3D Parallax Obsidian Star Tavern Pixel Stage (PR #45)*: Adds GPT white dragon and DeepSeek blue whale pixel sprites with clean 0/1 single-pet toggles and an on-demand WebGL2 3D Parallax Obsidian Star Tavern Pixel Stage inside Channel 9 (zero Channel 1 overhead, instant `0x0` + `WEBGL_lose_context` VRAM reclaim when hidden), plus live mascot remount on Channel 10 hot-reload. - **Omni 默认安全沙盒预览、Prompt Suggester(Channel 11)与 AddonRegistry 底座([PR #42](https://github.com/RMvdesi/obsidian-prism/pull/42))**: - Omni 侧边栏默认开启 `.html` / `.htm` / `.svg` 本地文件安全预览,采用严格 Opaque Origin 沙盒与收紧的本机 CORS 策略隔离渲染; - 集成 **Prompt Suggester 提示词建议器** 作为独立按需 **Channel 11**(Beta,默认关闭,Channel 1 零注入开销;支持 8 语种、双向配置同步及 Tab/Esc 排除元素周期表与菜单冲突,[PR #42](https://github.com/RMvdesi/obsidian-prism/pull/42)); - 新增本地可插拔 `AddonRegistry` 底层注册表(默认 0 联网请求),并统一四平台 `--purge-data` 清理范围。 - *Omni Default Sandboxed Previews, Channel 11 Prompt Suggester (Beta) & Local `AddonRegistry` (PR #42)*: Enables default sandboxed `.html`/`.htm`/`.svg` previews in the Omni side pane with Opaque Origin isolation and tightened CORS; integrates Prompt Suggester as on-demand Channel 11 (Beta, off by default, zero Ch1 bytes, 8-locale, Tab/Esc menu-safe); and introduces a zero-network `AddonRegistry` foundation with unified `--purge-data` cleanup. ### Smoked Obsidian Polish & Antigravity `v2.35.0` / `v2.35.1` Compatibility / 视觉精修与宿主兼容性修复 - **Smoked Obsidian 视觉细节统一与 `v2.35.0` / `v2.35.1` 全方位适配([PR #43](https://github.com/RMvdesi/obsidian-prism/pull/43) · [PR #49](https://github.com/RMvdesi/obsidian-prism/pull/49) · [PR #50](https://github.com/RMvdesi/obsidian-prism/pull/50) · [PR #51](https://github.com/RMvdesi/obsidian-prism/pull/51) · [PR #53](https://github.com/RMvdesi/obsidian-prism/pull/53) · [PR #54](https://github.com/RMvdesi/obsidian-prism/pull/54) · [#52](https://github.com/RMvdesi/obsidian-prism/issues/52))**: - 视觉层面:流内任务卡新增 5 态黑曜星核图标与单色镜面光感边缘,新建会话升级精密 SVG 数据盘,右悬浮盘加入子代理 4s 呼吸环境光;吸收 Agent 步骤计划纯 CSS 样式并修复含迷你键帽的模型触发器截断([PR #43](https://github.com/RMvdesi/obsidian-prism/pull/43)),修复普通排队卡顶部零空隙桌宠停靠([PR #51](https://github.com/RMvdesi/obsidian-prism/pull/51)); - 宿主与系统兼容:修复对话中途挂载 `sidecar-iframe-slot` 扩展侧栏主题同步([PR #53](https://github.com/RMvdesi/obsidian-prism/pull/53));恢复 High 默认推理档位记忆并加固生成中锁定态模型/权限选择器防护([PR #54](https://github.com/RMvdesi/obsidian-prism/pull/54));强化 Windows UI 显示语言优先解析、默认 `'auto'` 策略、防守护进程 heal 空转及本地提示兼容([PR #49](https://github.com/RMvdesi/obsidian-prism/pull/49) · [PR #50](https://github.com/RMvdesi/obsidian-prism/pull/50));强制 `autoUpdate: 'off'` 下零静默网络请求。 - *Smoked Obsidian Facets & Antigravity `v2.35.0`/`v2.35.1` Parity (#52 / PR #43/#49/#50/#51/#53/#54)*: Adds 5-state Obsidian star-core task icons, monochrome specular rims, precision Home Studio SVG charts, 4s subagent breathing glow, pure-CSS step-plan styling & trigger truncation fix (PR #43), and zero-gap queued-card mascot docking (PR #51); fixes mid-conversation `sidecar-iframe-slot` theme sync (PR #53), High-default effort memory & locked selector guards (PR #54), Windows UI locale detection & daemon heal guard (PR #49/#50), and zero silent network calls when `autoUpdate: 'off'`. - **核心渲染与交互缺陷修复([#57](https://github.com/RMvdesi/obsidian-prism/issues/57) · [#58](https://github.com/RMvdesi/obsidian-prism/issues/58))**: - 修复输入框 CSSOM 遮罩丢弃缺陷,消除发送消息与切换会话时误触发的光纤蓝闪与动画叠加; - 恢复宽 Markdown 表格原生破栏全览豁免(`syncBleedTables()` + `:not([data-ag-cs-bleed="1"])`,[#57](https://github.com/RMvdesi/obsidian-prism/issues/57)); - 解决多项界面交互细节([#58](https://github.com/RMvdesi/obsidian-prism/issues/58)):模型菜单展开时桌宠改用全躯干轻蹲姿态避免底部裁切、桌宠节点固定 `tabindex="-1"` 移出键盘 Tab 焦点链、修复 Orchestrator 水晶滑条抗锯齿与边缘白毛边、消除滚动视口获焦时的贯穿蓝线。 - *Core Rendering & UX Fixes (#57 / #58)*: Fixes composer CSSOM mask drop and spurious send/switch fiber flash; restores native bleed exemptions for wide Markdown tables (#57); and fixes model-menu mascot crouch clearance, mascot Tab-chain exclusion (`tabindex="-1"`), Orchestrator crystal slider anti-aliasing/fringe edges, and full-height focus lines on scroll viewports (#58). ### Acknowledgements / 社区致谢(Community Credits) - 衷心感谢通过 PR、兼容性排查与细致复现推动 `v1.0.8-beta.1` 落地的各位社区贡献者(全部 PR 贡献者均已保留 `Co-authored-by` 署名并收录于 [`docs/CONTRIBUTORS.md`](./docs/CONTRIBUTORS.md)): - **代码贡献(PR)**:**[@tone-leh](https://github.com/tone-leh)**(PR #53 / #54 / #55 / #56 & #52)、**[@OyatsuSuki](https://github.com/OyatsuSuki)**(PR #41 / #43 / #48 & #40 / #47)、**[@Gruu6y](https://github.com/Gruu6y)**(PR #45 & #18)、**[@yzd05](https://github.com/yzd05)**(PR #42)、**[@hukun01](https://github.com/hukun01)**(PR #49 / #50)、**[@zmzwynzj](https://github.com/zmzwynzj)**(PR #51)。 - **问题定位与社区反馈**:**[@wanghaoyi216](https://github.com/wanghaoyi216)**(#44)、**[@legegeCoder](https://github.com/legegeCoder)**(#57)、**[@IASUI](https://github.com/IASUI)**(#58)。 - *Special thanks to all PR authors and issue reporters who contributed to `v1.0.8-beta.1`: [@tone-leh](https://github.com/tone-leh), [@OyatsuSuki](https://github.com/OyatsuSuki), [@Gruu6y](https://github.com/Gruu6y), [@yzd05](https://github.com/yzd05), [@hukun01](https://github.com/hukun01), [@zmzwynzj](https://github.com/zmzwynzj), [@wanghaoyi216](https://github.com/wanghaoyi216), [@legegeCoder](https://github.com/legegeCoder), and [@IASUI](https://github.com/IASUI).* ## [1.0.7] - 2026-11-24 > **Obsidian Prism `v1.0.7` 正式版**汇总了自 `v1.0.6` 以来的全部 Beta 阶段迭代与最终打磨,涵盖 **Smoked Obsidian 视觉打磨与桌面双宠光学交互**、**模块化按需加载架构与 45x 冷启动提速**、**思考过程与新会话标题自动翻译 / 一键诊断**、**中英双语 Windows & macOS 安装器与更新后自动恢复**、**10 个社区 PR 融合**以及**修复全部 CodeQL 安全告警**。 ### Visual Polish, Desktop Companions & UX / 视觉打磨、桌面双宠与交互体验 - **统一 Smoked Obsidian 烟熏黑曜切面与细节打磨**: - 全面重塑用户消息气泡、文件变更条、Artifact 卡片与石墨键帽风格「允许执行」按钮,消除行内文件芯片双层边框,增强底部卡片二次反光与嵌套滚动条阶梯错位,上下文烧杯置顶显示并加入 80% 迟滞告警; - 移除 Home Studio 浅色模式“头发丝”背景椭圆轨道弧线,保持首页 KPI 与热力图通透清爽;**仅**将子代理/后台运行中图标核心恢复为居中 `7px × 2px` 发光短横线(主会话保持 `4px × 4px` 发光圆点); - 强化问答选项卡(`ask_question`)已选选项与手写项在深浅双主题及全 Accent 下的高亮对比度(命中 Antigravity v2.34 `.bg-secondary.border-border`),同时通过 Phase 1/2 零回流布局避让防止遮挡「提交」按钮。 - *Unified Smoked Obsidian Facets & UI Polish*: Refines chat bubbles, file strips, Artifact cards, keycap "Allow" buttons, single-frame chips, and pinned context vials; strips hairline orbital arcs from Home Studio; restores `7px × 2px` luminous dash cores for subagent spinners only; and boosts `ask_question` selected contrast & zero-reflow Submit clearance. - **桌面双宠(Clawd & 小紫猫)防遮挡探头、棱镜环境反光、首页穿透与像素微剧场([#39](https://github.com/RMvdesi/obsidian-prism/issues/39))**: - 接通 `yieldMode: 'peek'` 趴边探头姿态并抬高构图(`body` / 眼睛 / 猫耳上移,抓边小爪稳按输入框顶边):问答卡、排队/运行卡、斜杠菜单或模型菜单打开时自动切换 `peek` 态,严格位于 `棱镜边 (7) < peek 桌宠 (8) < 卡片 (12) < 菜单 (60)` 层级并启用 `pointer-events: none !important` 全穿透,既不被棱镜边横穿也不挡卡片点击; - **新增输入框棱镜边环境反光**:鼠标靠近输入框顶边点亮棱镜光边时,联动 `prism-rim-canvas` 热点位置、光强与 6 套调色盘/深浅主题,在桌宠像素剪影内(`source-atop`)投射底部漫反射与 1 格贴边反光(零溢光、不染影子、离地衰减、量化去重且绝不唤醒 `0fps` 休眠); - 修复首页新会话界面底部工具栏空白区挡住桌宠主体拖拽与点击的问题([#39](https://github.com/RMvdesi/obsidian-prism/issues/39));新增 `0fps` 像素栖息地摆件、投喂彩蛋与 9 大 Slash 命令微剧场。 - *Desktop Mascots Elevated `peek`, Prism Rim Ambient Bounce Light, Home Pass-Through (#39) & Pixel Micro-Theaters*: Elevates `peek` geometry above the prism rim (`z: 8`) behind overlays (`z: 12+`) with full pointer pass-through; adds `source-atop` silhouette-contained bottom ambient rim bounce lighting synced with the 6 prism palettes while preserving `0fps` sleep; fixes home toolbar occlusion (#39); and adds `0fps` habitat props, feeding easter eggs, and 9 slash micro-theaters. - **设置中心双栏重塑、全配置端到端实效与「跨模型记住推理档位」开关([#9](https://github.com/RMvdesi/obsidian-prism/issues/9) · [#11](https://github.com/RMvdesi/obsidian-prism/issues/11))**: - 升级为双栏大弹窗布局、10 项滑动拇指开关与 5 色光学强调圆点;新增 `sidebarNavFold`(侧栏导航折叠)、`scrollBottomMotion`(滚底动效)与独立开关 **`effortMemory`(跨模型记住推理档位,默认开启)**——即使关闭「模型推理等级滑块」,仍以零 UI/零 CSS 轻量守卫跨会话记住各普通模型与 Orchestrator 的推理档位(关闭开关则 100% 退回原生无记忆行为);全部 **34 项**设置端到端完整生效; - 新增设置内「Beta 内容」分类与实验性功能提示横幅,将自定义背景壁纸迁入该分类明确实验定位。 - *Two-Column Settings Overhaul, Independent `effortMemory` Toggle (#9/#11) & Beta Tab*: Redesigns settings with 10 thumb switches and 5 accent dots; adds `sidebarNavFold`, `scrollBottomMotion`, and `effortMemory` (default `on`, remembers per-model & Orchestrator effort even when the effort slider is off); and organizes experimental items under a clearly labeled "Beta" tab. ### Modular Architecture, Translation & Performance / 模块化架构、思考翻译与性能优化 - **独立按需加载模块、零-`eval` LZSS 与统一磁盘缓存(冷启 45x 提速)**: - 将思考过程翻译(关闭态 `0 B` 注入)、代码行内 Diff 展开预览与自定义本地静态/动态视频背景壁纸(Beta,支持 `JPG/PNG/WebP/GIF/AVIF/MP4/WebM`、纯本机 `127.0.0.1` 流式读取、失焦/最小化/对话中 `0fps` 自动暂停与 Browser Hole 避让,默认关闭零开销)拆分为按需独立模块; - 引入 **统一磁盘缓存(`.bundle-cache.json`)** 将跨进程冷启动编译压至 `~26 ms`;结合零-`eval` 同步 UTF-16 LZSS 与内置无损压缩器优化,在大幅扩充功能的前提下仍将核心主包稳守在 **`~684 KB`**(低于 `685,000 B` 门禁);落地 Canvas VRAM `0x0` 休眠回收、左栏运行态零蓝闪、右栏拖拽防风暴与 60fps 小螃蟹拖甩。 - *On-Demand Modules, Zero-`eval` LZSS & Unified Disk Cache (45x Cold Start)*: Splits Thought Translator (`0 B` when off), Inline Diff Preview, and local static/video Wallpapers (Beta, off by default) into on-demand modules with `.bundle-cache.json` (`~26 ms` cold start), Canvas VRAM `0x0` sleep reclamation, and the core bundle kept under `685,000 B`. - **思考过程与新会话标题自动翻译、一键诊断 & 系统/手动代理([#14](https://github.com/RMvdesi/obsidian-prism/issues/14) · [#27](https://github.com/RMvdesi/obsidian-prism/issues/27))**: - 修复思考翻译 5 处偶发失效根因,新增零依赖异步 OS 系统代理自动检测(Windows/macOS)、手动 HTTP/HTTPS/SOCKS5 代理地址栏、可选「工具摘要批量翻译」与 5 语「一键诊断」状态灯; - 新增可选「会话标题自动翻译」(`translateTitles`,默认关闭),支持侧栏、历史列表、面包屑末段以及**新会话异步生成标题**的自动无损翻译(仅定向监听侧栏标题与面包屑节点,物理排除聊天流输出,自有译文写入零循环,关闭/卸载 100% 还原原标题)。 - *Thought & Async New-Conversation Title Translation, 1-Click Diagnose & Proxy Support (#14/#27)*: Resolves 5 intermittent translator root causes; adds async OS proxy detection, manual HTTP/HTTPS/SOCKS5 proxy config, opt-in tool-summary batch translation, 5-locale 1-Click Diagnose, and opt-in `translateTitles` with targeted MutationObserver support for asynchronously generated new conversation titles (excluding chat streams, lossless restore on disable). - **推理等级滑动条 60fps 重构与多项交互修复([#31](https://github.com/RMvdesi/obsidian-prism/issues/31) · [#11](https://github.com/RMvdesi/obsidian-prism/issues/11) · [#15](https://github.com/RMvdesi/obsidian-prism/issues/15) · [#16](https://github.com/RMvdesi/obsidian-prism/issues/16))**: - 重构推理等级滑块为缓存轨道尺寸 + 单帧 `rAF` 合并 + GPU `translate3d` 与预计算色表 `fillRect` Canvas,消除 60fps 拖拽掉帧与回流; - 修复 React 19 多文本节点切档异常([#11](https://github.com/RMvdesi/obsidian-prism/issues/11))、中文界面「中等 ↔ Medium」乒乓与文字下坠闪动([#16](https://github.com/RMvdesi/obsidian-prism/issues/16) · [#31](https://github.com/RMvdesi/obsidian-prism/issues/31))、右侧栏全屏挤压、深浅模式原生 `` contrast (#15), capture-phase `/btw` menus, and v2.34 `/compact` double-insert. ### Bilingual Installers, Localization & Post-Update Resilience / 双语安装器、汉化控制与更新持久性 - **Windows & macOS 安装器/托盘中英双语化 + 内置汉化即时回滚([#37](https://github.com/RMvdesi/obsidian-prism/issues/37))**: - Windows(C# Setup / Watcher)与 macOS(Swift Setup / Watcher)全面接入 `InstallerI18n`,自动随系统语言切换完整英文/中文界面与日志(支持 `--lang en|zh` 与 `AG_PRISM_LANG` 覆盖),同步补齐滑块弹窗与 Pulse 面板英文文案; - 修复关闭内置汉化(`hostLocalization: 'off'` 或 `auto` + 非简体中文)时的回滚滞后与脱离复用节点漏还原问题,并在检测到外部汉化插件或 `app.asar` 汉化补丁接管时显示醒目的五语琥珀色提示条;补齐 Antigravity 内置 Swarm 宿主卡片与技能词条([#18](https://github.com/RMvdesi/obsidian-prism/issues/18) 层 A)。 - *Bilingual Win/macOS Installers, Instant Host-i18n Rollback & External Patch Notice (#37 / #18 Layer A)*: Localizes all C#/Swift installer wizards, tray menus, and logs with `--lang` overrides; completes English UI strings; ensures instant lossless `host-i18n` teardown with an amber external-patch notice pill; and adds built-in Swarm host card strings (#18 Layer A). - **Antigravity 更新后持久性加固 + 修复 macOS 重开丢调试端口与新增无损启动器([#38](https://github.com/RMvdesi/obsidian-prism/issues/38))**: - 修复 macOS「立即重开」后丢失 `--remote-debugging-port=0`:`cdp.js` 与 `CdpClient.swift` 统一归一化 `.app` 路径、使用 `on run argv` 优雅退出、等待主进程/全部 Helper/`SingletonLock` 彻底释放、剥离 `ELECTRON_RUN_AS_NODE` 并以 `open -na` 拉起;新增可选无损包装启动器 `~/Applications/Antigravity Prism.app`(不改动 `/Applications/Antigravity.app` 签名,支持安装向导默认勾选与 CLI `--create-launcher` / `--no-launcher`); - 双端安装器与 Watcher 全面加固:实测探活 `DevToolsActivePort` 识别死端口、放行 CompactOS `WOF` / OneDrive `Cloud` / `Dedup` 同时真 Fail-Closed 拦截符号链接/Junction、只读清理与 PE `.old` 绕锁失败自动回滚、精确命令行白名单防误杀无关 `node` 进程、结构化失败诊断与 macOS `O_NOFOLLOW` `0o600` 原子写。 - *Post-Update Persistence Hardening & macOS Relaunch / Lossless Launcher (#38)*: Fixes macOS relaunches dropping `--remote-debugging-port=0` via normalized `.app` paths, Helper/`SingletonLock` waits, `ELECTRON_RUN_AS_NODE` stripping, `open -na`, and an optional signature-safe `~/Applications/Antigravity Prism.app` launcher; hardens Win/macOS/CLI installers against stale ports, safe reparse tags (WOF/Cloud/Dedup), file locks, and PID reuse. ### Community PRs & Security Hardening / 社区 PR 融合与安全加固 - **完整吸收并加固 10 个社区 PR 与关键缺陷修复**: - [PR #10](https://github.com/RMvdesi/obsidian-prism/pull/10)([@yzd05](https://github.com/yzd05)):修复 Orchestrator L1/L2 菜单悬停过快关闭与冗余 L3 子菜单; - [PR #12](https://github.com/RMvdesi/obsidian-prism/pull/12)([@DDykarc](https://github.com/DDykarc)):修复中文界面推理强度「中等 ↔ Medium」闪烁; - [PR #13](https://github.com/RMvdesi/obsidian-prism/pull/13)([@yzd05](https://github.com/yzd05)):深化后台服务 UNC/NT 路径拦截、Fail-Closed `Host` 校验、内存预写 SHA-256 校验与顶层 `mainFrame` 门禁; - [PR #17](https://github.com/RMvdesi/obsidian-prism/pull/17)([@SuzumiyaHaruhi719](https://github.com/SuzumiyaHaruhi719)):修复 Home Studio 外部 `agPulseHost` 空配额时回退 Prism 自带桥接; - [PR #19](https://github.com/RMvdesi/obsidian-prism/pull/19)([@Kazaorus](https://github.com/Kazaorus)):修复软链 / Windows Junction 下 CLI 入口路径判定; - [PR #20](https://github.com/RMvdesi/obsidian-prism/pull/20) / [PR #21](https://github.com/RMvdesi/obsidian-prism/pull/21) / [PR #22](https://github.com/RMvdesi/obsidian-prism/pull/22) / [PR #23](https://github.com/RMvdesi/obsidian-prism/pull/23) / [PR #29](https://github.com/RMvdesi/obsidian-prism/pull/29)([@yzd05](https://github.com/yzd05)):会话导轨独立 `☰` 大纲入口、地平线波浪相位连续与 450ms 语义混色、跨端口用量持久化(叠加本机/Remote-SSH 隔离)、动态图标 WeakMap 与首页波纹 `rAF` 合并、浅色覆层与宿主配色子菜单可读性修复([#26](https://github.com/RMvdesi/obsidian-prism/issues/26)); - [PR #30](https://github.com/RMvdesi/obsidian-prism/pull/30)([@zzirui321-rgb](https://github.com/zzirui321-rgb) · [#28](https://github.com/RMvdesi/obsidian-prism/issues/28)):修复 Windows 200% 高 DPI 安装器裁剪; - [PR #33](https://github.com/RMvdesi/obsidian-prism/pull/33)([@zzirui321-rgb](https://github.com/zzirui321-rgb) · [#32](https://github.com/RMvdesi/obsidian-prism/issues/32)):修复 Antigravity v2.34 首页概览 Protobuf `BigInt` 崩溃卡骨架屏并补齐 `WeakRef` Redux 摘要回退; - [PR #35](https://github.com/RMvdesi/obsidian-prism/pull/35)([@zzirui321-rgb](https://github.com/zzirui321-rgb) · [#34](https://github.com/RMvdesi/obsidian-prism/issues/34)):阻止点击模型菜单「View Usage / 查看用量」弹层误切模型至 `Orchestrator`($O(n)$ 零 ReDoS 剥离); - **修复 `/compact` 后底部 `Ctx %` 与实体试管水位自动刷新**([#36](https://github.com/RMvdesi/obsidian-prism/issues/36) · [@zzirui321-rgb](https://github.com/zzirui321-rgb)):接入 v2.34 原生 `contextWindowUsage` / `compactedAtStepIndices` / `CortexStepCheckpoint` 与零原文泄露纯内存探针 `PeekContextState`,秒级刷新压缩后水位。 - **修复全部 CodeQL 安全告警 & 三端 Node 22 CI 全绿**: - 修复全部 GitHub Security CodeQL 告警(`#32`–`#37`);强化行内 Diff Git 沙箱边界、壁纸单 `fd` TOCTOU/魔数复核、NTFS 8.3 短名拦截与中文 IME 回车保护;修复 `translator-service.mjs` Node 22 unref 定时器排空与跨平台测试竞态,全量测试规模扩充至 **`584 pass / 0 fail`**。 - *Zero CodeQL Alerts & All-OS Node 22 CI Green*: Resolves all CodeQL alerts (`#32`–`#37`), sandboxes inline-diff Git RPCs and wallpaper single-`fd` reads, fixes Node 22 timer/SIGTERM CI races, and expands automated tests to **`584 pass / 0 fail`**. ### Acknowledgements / 社区致谢(Community Credits) - 衷心感谢通过 PR、深度根因分析、复现视频与细心建议推动 `v1.0.7` 正式版落地的每一位社区伙伴(PR 贡献者均已保留 `Co-authored-by` 署名并永久收录于 [`docs/CONTRIBUTORS.md`](./docs/CONTRIBUTORS.md)): - **代码贡献(PR)**:**[@yzd05](https://github.com/yzd05)**(PR #10 / #13 / #20 / #21 / #22 / #23 / #29)、**[@zzirui321-rgb](https://github.com/zzirui321-rgb)**(PR #30 / #33 / #35 & #28 / #32 / #34 / #36)、**[@Kazaorus](https://github.com/Kazaorus)**(PR #19)、**[@DDykarc](https://github.com/DDykarc)**(PR #12)、**[@SuzumiyaHaruhi719](https://github.com/SuzumiyaHaruhi719)**(PR #17)。 - **问题定位与社区反馈**:**[@boy14204367](https://github.com/boy14204367)**(#9 / #11 / #14 / #15)、**[@nanpi8633-spec](https://github.com/nanpi8633-spec)**(#38)、**[@yanzhem02](https://github.com/yanzhem02)**(#37)、**[@awasllll0317](https://github.com/awasllll0317)**(#39)、**[@baihao2006](https://github.com/baihao2006)**(#31)、**[@fenzsen](https://github.com/fenzsen)**(#27)、**[@L-yifan](https://github.com/L-yifan)**(#26)、**[@Gruu6y](https://github.com/Gruu6y)**(#18)、**[@Freezecatmeow](https://github.com/Freezecatmeow)**(#16)。 - *Special thanks to all PR authors and issue reporters who shaped `v1.0.7`: [@yzd05](https://github.com/yzd05), [@zzirui321-rgb](https://github.com/zzirui321-rgb), [@Kazaorus](https://github.com/Kazaorus), [@DDykarc](https://github.com/DDykarc), [@SuzumiyaHaruhi719](https://github.com/SuzumiyaHaruhi719), [@boy14204367](https://github.com/boy14204367), [@nanpi8633-spec](https://github.com/nanpi8633-spec), [@yanzhem02](https://github.com/yanzhem02), [@awasllll0317](https://github.com/awasllll0317), [@baihao2006](https://github.com/baihao2006), [@fenzsen](https://github.com/fenzsen), [@L-yifan](https://github.com/L-yifan), [@Gruu6y](https://github.com/Gruu6y), and [@Freezecatmeow](https://github.com/Freezecatmeow).* ## [1.0.6] - 2026-11-21 ### Performance / 全链路性能优化(#2 / #3 / #4 / #5 / #7 / PR #6) - **宿主汉化引擎重构与交互零卡顿**:内置 327 条正则规则快速索引与 `2048` 容量的有界正/负向缓存(冷启动提速 **3.2x**、未命中负缓存提速 **25.9x**);消除弹窗/悬停 `pointerenter` 递归深扫(0 重扫),引入 `5ms` 帧预算时间切片。 - *Host Localization Engine Overhaul*: Adds 327-regex fast indexing and `2048`-entry bounded positive/negative caches (**3.2x** faster cold start, **25.9x** faster negative-cache lookups), eliminates `pointerenter` recursive DOM rescans (0 rescans), and adds `5ms` frame-budget time slicing. - **移除顶层 `:has()` 与设置面板零回流**:移除 `style.css` 顶层 `:has()` 选择器,改由精准属性标记(`data-ag-cs-aux-dual`、`data-ag-cs-model-menu`)驱动,压降 Blink `RecalcStyle` 开销约 **80%**;设置面板实行折叠态懒构建与 Read-then-Write 批量读写,消除 238 次点击强制回流与 600 按钮全量扫描。 - *Zero Top-Level `:has()` & Zero-Reflow Settings Panel*: Eliminates all top-level `:has()` selectors in `style.css` via targeted `O(1)` attributes (reducing Blink `RecalcStyle` by ~80%), and introduces collapsed lazy-building plus Read-then-Write updates in `settings-panel.js` (eliminating 238 click-time layout reflows and 600-button full scans). - **桌面双宠 RLE Canvas 批处理与真 `0fps` 休眠**:桌面像素双宠改为水平行程编码(RLE)`fillRect` 批处理与 2D 上下文缓存(CPU 占用 **-90%**);完善高刷屏与 macOS 失焦(`data-ag-cs-win-blur="1"`)下的真 `0fps` / 0 RPC 休眠与获焦瞬时唤醒。 - *Mascot RLE Canvas Batching & True `0fps` Blur Hibernation*: Batches pixel draws via horizontal RLE `fillRect` + `lastFill` skip + cached 2D context (**-90%** CPU), and honors `data-ag-cs-win-blur="1"` for true `0fps` / zero-RPC hibernation on macOS and high-refresh displays. - **`v2.34.0` `renderer-proxy` 分级缓存与 Daemon / 安装包瘦身**:`vendor/pulse-dashboard/` 引入 `WeakRef` Language Server 包装器缓存、并发请求合并(in-flight coalescing)与分级 TTL 缓存;Daemon 常驻堆内存降低 **35.5 MiB**,安装器打包自动排除宣传图体积瘦身至 **~1.6 MB(-85%)**。 - *`v2.34.0` `renderer-proxy` Tiered Caching, Daemon Heap & Installer Slimming*: Caches LS wrapper via `WeakRef` with request coalescing and tiered TTLs; trims daemon resident heap by **35.5 MiB** and excludes promo screenshots from installer bundles (**~1.6 MB**, **-85%**). ### Fixed / 关键稳定性与界面修复(#8 等) - **修复 CDP 主 Frame 失联问题**:修复 `Page.getFrameTree` 超时导致 `mainFrameId === null` 进而使全部 CDP Privileged Binding(含 AI 思考转译)失效的问题。 - *Fix P0 `mainFrameId === null` CDP Binding Paralysis*: Resolves `Page.getFrameTree` timeouts that permanently disabled all privileged CDP bindings (including Thought Translator). - **修复窗口滚动条与界面细节回归**:修复 Windows 下 `autoscroll-viewport` 同时渲染原生与自定义双滚动条及底部原生箭头外露问题([#8](https://github.com/RMvdesi/obsidian-prism/issues/8));修复遥测栏子代理文字截断、排队消息按钮 3 齿轮误替换,以及从 `XHigh` 切换至 `Carbon` 时残留紫色 `Extra` 徽章的问题。 - *Fix Scrollbars & UI Regressions*: Fixes Windows dual scrollbars and exposed native arrows ([#8](https://github.com/RMvdesi/obsidian-prism/issues/8)), telemetry subagent label truncation, queued-message 3-gear button mis-replacement, and stale purple `Extra` badge when switching from `XHigh` to `Carbon`. ### Compatibility & Release Channels / 生态兼容与双更新通道 - **13 家主流汉化插件礼让与防误翻免疫**:内置 GitHub Top 13 家主流活跃汉化插件精准指纹识别自动礼让、零 `Map.prototype` 劫持免疫、5 项反向防误翻豁免属性,以及中英双语模型名称与思考强度解析。 - *13-Provider Localization Coexistence & Hardening*: Adds fingerprinting to politely yield to the top 13 active community localization plugins on GitHub, zero `Map.prototype` hijacking immunity, 5 anti-mistranslation exemption attributes, and bilingual model/effort parsing. - **正式版 / Beta 双更新通道与社区讨论模板**:设置面板扩展至 **30 项**可校验配置,上线「正式版(Stable)/ Beta 尝鲜版」双更新通道(`updateChannel`)与 CI 自动 `--prerelease` 标签识别;新增社区「讨论」Issue 模板(`.github/ISSUE_TEMPLATE/discussion.md`)。 - *Stable / Beta Update Channels & Discussion Template*: Expands validated settings to **30** keys with `updateChannel` (`stable` / `beta`), automatic CI `--prerelease` tagging, and a new community Discussion issue template. ### Acknowledgements / 社区致谢 - 特别感谢 **[PR #6](https://github.com/RMvdesi/obsidian-prism/pull/6)** 作者 **[@TheSixPasserby](https://github.com/TheSixPasserby)**(ハチケイ,已通过 `Co-authored-by` 正式纳入 Contributors 榜单)对 Blink `:has()`、RLE Canvas、macOS `0fps` 休眠与 `v2.34.0` `renderer-proxy` 缓存的重大贡献,以及提交深度剖析与缺陷反馈的社区贡献者 **[@Gruu6y](https://github.com/Gruu6y)**([#2](https://github.com/RMvdesi/obsidian-prism/issues/2) / [#3](https://github.com/RMvdesi/obsidian-prism/issues/3) / [#8](https://github.com/RMvdesi/obsidian-prism/issues/8))、**[@Gyf0402](https://github.com/Gyf0402)**([#4](https://github.com/RMvdesi/obsidian-prism/issues/4))、**[@TheSixPasserby](https://github.com/TheSixPasserby)**([#5](https://github.com/RMvdesi/obsidian-prism/issues/5))和 **[@boy14204367](https://github.com/boy14204367)**([#7](https://github.com/RMvdesi/obsidian-prism/issues/7))。 - *Special thanks to [@TheSixPasserby](https://github.com/TheSixPasserby) (PR #6, credited via `Co-authored-by`) and community contributors [@Gruu6y](https://github.com/Gruu6y) (#2/#3/#8), [@Gyf0402](https://github.com/Gyf0402) (#4), [@TheSixPasserby](https://github.com/TheSixPasserby) (#5), and [@boy14204367](https://github.com/boy14204367) (#7) for their profiling, PRs, and actionable bug reports.* ## [1.0.5] - 2026-11-21 ### Added / 新增特性 - **内置宿主汉化包(按需加载模块)**:不修改官方 `app.asar`,通过独立按需模块(`vendor/host-i18n/`)注入而不占用主包体积,内置 `3,361` 精确词条与 `327` 正则规则。设置面板提供三态开关(`自动 / 开启 / 关闭`,默认 `自动`),并集成四层通用外部汉化自动礼让机制与防死循环熔断器(`3000ms` 乒乓冲突熔断);基于 `WeakRef` / `WeakMap` 零泄漏快照实现 `0fps` 失焦休眠与 100% 无损原文还原。 - *Built-in Host Localization (On-Demand Runtime Module)*: Zero modification to official `app.asar`; injected on-demand via an isolated runtime module (`vendor/host-i18n/`) with zero static main-bundle overhead, shipping `3,361` exact entries and `327` regex rules. Exposes a tri-state setting (`auto` / `on` / `off`, defaulting to `auto`), a universal 4-layer auto-yield and `3000ms` ping-pong circuit breaker for external localization plugins, `WeakRef`/`WeakMap`-backed zero-leak snapshots, `0fps` blur hibernation, and 100% lossless original-text restoration. ### Fixed / 核心缺陷修复 - **修复 GitHub Issue #1(窄屏或侧栏打开时底部栏拥挤与抽搐)**:落地 5 阶流体折叠动效(Tier 1 优先优雅收起模型名并保留图标/配额/箭头,逐级收拢至 `26×26` 磨砂玻璃上下文圆环)、`0-Reflow` `ResizeObserver` 与 GPU `transform: scale(1.27)` 平滑缩放,并新增相对容器宽度 `min(332px, 46%)` 右侧分栏防坍缩保护(完全兼容最大化面板)。 - *Fix GitHub Issue #1 (Narrow-Screen & Side-Panel Bottom Bar Crowding / Jitter)*: Introduces 5-tier fluid collapse choreography (Tier 1 gracefully collapses the model name first while retaining icon, quota, and chevron, progressively compacting down to a `26×26` frosted-glass context ring), `0-Reflow` `ResizeObserver` sizing with GPU `transform: scale(1.27)`, and container-relative `min(332px, 46%)` right-pane anti-collapse protection (compatible with maximized panels). - **双桌宠(Cat + Clawd)侧栏推拉吸附、防抖抛物线回弹 & 模型选择器保留交接动画**:优化窄屏及侧栏开合/拖拽过程中双宠避让与接管动画,支持滑行期抓宠不瞬移、宽屏精准落点、迷你蟹叠塔对齐,以及点击穿透不拦截模型菜单关闭。 - *Dual-Mascot (Cat + Clawd) Side-Panel Snap, Debounced Parabolic Rebound & Model-Selector Handoff Animation*: Eliminates teleportation when grabbing sliding mascots, stabilizes wide-screen landing positions, aligns mini-crab totem stacks, and ensures click-through never blocks model-menu dismissal. ### Security & Quality / 安全与质量加固 - **CodeQL 告警修复与安全稳定性审计收口**:消除 CodeQL Alerts #30/#31 与正则多项式回溯隐患,完成多轮专项安全与稳定性审计并修复全部 27 项问题。 - *CodeQL & Security Audit Hardening*: Resolves CodeQL Alerts #30/#31 and polynomial regex backtracking risks, closing all 27 security and stability findings identified during audits. ### Acknowledgements / 开源致谢 - 明确致谢 **[yiheng8023/antigravity-chinese](https://github.com/yiheng8023/antigravity-chinese)**(`v3.3.19`, `MIT License`, `Copyright (c) 2026 Antigravity Chinese Localization Contributors`)提供的中文本地化词库与前端 DOM 翻译匹配思路参考。 - *Acknowledgements*: Gratefully acknowledges **[yiheng8023/antigravity-chinese](https://github.com/yiheng8023/antigravity-chinese)** (`v3.3.19`, `MIT License`, `Copyright (c) 2026 Antigravity Chinese Localization Contributors`) for the Chinese localization dictionary and frontend DOM translation pattern reference. ## [1.0.4] - 2026-11-21 ### Added / 新增特性 - **插件自动检测更新、可选自动更新开关(默认关闭 `autoUpdate: "off"`)与热加载更新**:新增独立 Node 后端 `sidecars/daemon/update-service.mjs`(零前端外网请求,启动 `45s` 首检 + `6h` 周期,手动检查 `10s` 冷却),仅信任 GitHub 官方域名白名单(`api.github.com` / `github.com` / `objects.githubusercontent.com` / `release-assets.githubusercontent.com`)与最多 5 跳逐跳重定向校验、`64 MiB` 流式下载限流及 **SHA-256 强制 Fail-Closed 校验**(无 `digest` 或 `SHA256SUMS.txt` 直接拒绝执行);CI 发布工作流(`.github/workflows/release.yml`)同步自动生成并上传 `SHA256SUMS.txt`。设置面板扩展至 **28 项**配置键(覆盖全 5 语种),在 **设置 → 关于** 提供检测状态、标题角标、一键热加载更新及「支持热加载即时生效,部分核心/样式或后台服务变更需强刷页面(`Ctrl+R` / `Cmd+R`)或重启」提示;Windows 支持静默原地升级并热注入所有已开窗口,源码仓支持 `git pull --ff-only` 热推并标注底层变更,macOS 提供官方 `.dmg` 下载链接引导。 - *Auto-Update Check, Optional Auto-Update Toggle (`autoUpdate: "off"` by Default) & Hot-Reload Upgrades*: Adds an isolated Node-side `sidecars/daemon/update-service.mjs` (zero outbound requests from renderer code; `45s` startup check + `6h` interval, `10s` manual cooldown) enforcing strict GitHub host allowlists with hop-by-hop redirect validation, a `64 MiB` download cap, and **mandatory fail-closed SHA-256 verification** against release `digest` / `SHA256SUMS.txt` (simultaneously generated and uploaded by `.github/workflows/release.yml`). Expands the settings schema to **28** validated keys across all 5 languages, adding status badges, one-click hot-reload updates, and reload/restart guidance in **Settings → About**; supports silent in-place upgrades with live multi-window hot-reinject on Windows, `git pull --ff-only` hot-sync with core-change notices for source repos, and official `.dmg` release links on macOS. - **设置页「一键卸载(可选清除数据)」与遥测磁盘 LRU 治理**:在 **设置 → 关于** 新增带内联二次确认的卸载入口(默认不勾选清除数据,自动将 `config.json` 备份至 `~/.gemini/config/obsidian-prism-config.backup.json` 并在重装时自动恢复);勾选清除数据(统一 `--purge-data` 标识覆盖 Windows / macOS / CLI)可精准清理插件配置、缓存、12 个自有 `localStorage` 键及 `telemetry/` 目录,三端强制拦截符号链接/重解析点、`AG_PRISM_TELEMETRY_DIR` 环境变量归属校验及三大用户数据红线目录及其任意子目录(`conversations_archive`、`prism-knowledge-space`、`Antigravity-Spark`)。为 `history.mjs` 与 `usage.mjs` 新增跳过并发活跃文件的 LRU 磁盘容量上限自动修剪(`UsageLedger` 默认上限 `256` 文件)。 - *In-Settings One-Click Uninstall (Optional Data Purge) & Telemetry Disk LRU Governance*: Adds an inline-confirmed uninstall workflow in **Settings → About** (data purge unchecked by default; automatically backs up `config.json` to `~/.gemini/config/obsidian-prism-config.backup.json` and restores it on reinstall). Opting into purge (`--purge-data` across Windows, macOS, and CLI) cleanly removes plugin configs, caches, 12 Prism `localStorage` keys, and `telemetry/`, while strictly blocking symlinks/reparse points, unowned `AG_PRISM_TELEMETRY_DIR` overrides, and user-data redline directories (`conversations_archive`, `prism-knowledge-space`, `Antigravity-Spark`) and their descendants. Adds active-file-safe LRU disk pruning to `history.mjs` and `usage.mjs` (`UsageLedger` defaults to `256` files). ### Fixed / 核心缺陷修复 - **修复多套餐与跨版本「选择模型卡住」问题**:重写推理滑块点击捕获为严格 **Fail-Open** 机制,全面覆盖 **Jio / Free**(单档位 `Claude 4.6 (Thinking)`、`GPT-OSS 120B`、`Gemini 3.8 Flash (Minimal)`)、**Pro**(无 Carbon 及禁用态模型行)、**Ultra 20x** 以及 `v2.33`/`v2.34`/未来未知版本(React Fiber 失效时 100% 放行原生点击)。原生二级菜单隐藏规则受 `html[data-ces-slider-ready='1']` 条件门控并在关闭面板瞬间立即清理(修复 `justClosed` 漏清理与闭屏 `localStorage` 缓存失效);消除双 `MutationObserver` 互激并将 Orchestrator WebGL2 首帧挂载延后 1 帧 `rAF`。 - *Eliminate Multi-Tier & Cross-Version Model-Selector Deadlocks*: Rewrites effort-slider click interception as strictly **Fail-Open**, covering **Jio / Free** (single-tier `Claude 4.6 (Thinking)`, `GPT-OSS 120B`, `Gemini 3.8 Flash (Minimal)`), **Pro** (disabled/non-Carbon rows), **Ultra 20x**, and `v2.33`/`v2.34`/future hosts (100% native click pass-through whenever React Fiber lookup misses). Gates native submenu hiding behind `html[data-ces-slider-ready='1']` and clears it immediately on menu close (fixing `justClosed` cleanup and closed-state `localStorage` cache misses), eliminates dual `MutationObserver` feedback loops, and defers Orchestrator WebGL2 mount by one `rAF` frame. - **修复思考翻译「中英混排中途停翻」并打通 5 国目标语种全链路**:重构前后端 `isAlreadyTargetLang` 判定逻辑,避免含中文片段的中英混排推理被误判跳过;修复 `res.skipped === true` 污染本地缓存与锁死渲染态的缺陷,统一 `zh-HK`/`zh-MO -> yue` 规范化与短文本边界判定,全面打通简中(`zh-CN`)、繁中(`zh-TW`)、粤语(`yue`)、英文(`en`)、日文(`ja`)目标语种提示词、机翻映射与按语种隔离缓存。 - *Fix Mid-Stream Mixed-Language Translation Halts & End-to-End 5-Locale Support*: Refactors client/server `isAlreadyTargetLang` heuristics so mixed Chinese/English reasoning is no longer skipped prematurely, stops `res.skipped === true` from poisoning local caches or locking render state, normalizes `zh-HK`/`zh-MO -> yue` and short-text boundaries, and wires locale-isolated caching, prompts, and machine-translation targets across `zh-CN`, `zh-TW`, `yue`, `en`, and `ja`. ### Security & Compliance / 安全与 Google Antigravity 风控加固 - **降频防风控、去除原生原型链篡改与编译产物零外联**:拖动思考力度滑块改为仅松手(`pointerup`)提交 `1` 次请求;移除 `HTMLElement.prototype.focus` / `Element.prototype.focus` 全局原型链覆盖;`reserveSession` 缓存 `startCascade` 协议阶段消除重复试探报错;移除渲染进程直连 `translate.googleapis.com`(确保编译产物零 Google 翻译 / GitHub API 外网请求);提高配额悬停冷却至 `20s` / 手动刷新冷却 `5s`,并将历史步骤批量折叠改为 `rAF` 分帧执行;全套单测扩展至 **297 项**,默认静态主包控制在 **`692,096 B`(`675.88 KiB` < `680 KiB` 硬上限)**。 - *Rate-Limit & Anti-Detection Hardening, Zero Prototype Patching & Zero Renderer Outbound Calls*: Effort slider drags now commit once on `pointerup`; removes all `HTMLElement.prototype.focus` / `Element.prototype.focus` prototype overrides; caches `startCascade` protocol stage in `reserveSession` to eliminate repeated probing errors; removes direct renderer calls to `translate.googleapis.com` (guaranteeing zero Google Translate / GitHub API outbound requests in compiled bundles); increases quota hover cooldown to `20s` / manual cooldown to `5s` and slices historical step folding across `rAF` frames; expands automated tests to **297** cases while keeping the default static main bundle at **`692,096 B` (`675.88 KiB` < `680 KiB` hard cap)**. ### Platform Testing Note / 平台测试说明 > **Important / 重要说明**:本次 `v1.0.4` 的所有 Windows 安装包、守护进程、热更新、卸载及 Antigravity `v2.34.0` 真机功能均已完成编译与实测验证;macOS 端相关变更(`installer/macos/Setup/main.swift`、`installer/macos/Common/CdpClient.swift` 及 macOS 更新引导)由于当前为 Windows 开发环境,尚未在真实 macOS 设备上进行编译与实机测试,将在 GitHub Actions macOS CI 构建后进一步验证,macOS 用户如遇问题欢迎提交 Issue 反馈。 > > All Windows installer, daemon, hot-update, uninstall, and live Antigravity `v2.34.0` features in `v1.0.4` have been compiled and verified on Windows. Because this release was prepared in a Windows development environment, macOS-specific changes (`installer/macos/Setup/main.swift`, `installer/macos/Common/CdpClient.swift`, and macOS update prompts) have not yet been compiled or tested on physical macOS hardware and will be verified on GitHub Actions macOS CI; macOS users are welcome to report any issues via GitHub Issues. ## [1.0.3] - 2026-11-21 ### Fixed / Antigravity Desktop `v2.34.0+` 紧急兼容适配 - **修复推理等级滑块锁死、Orchestrator 专属「生长水晶 × 液态晶床」WebGL2 棱镜滑块与 Claude 图标联动**:适配 Antigravity `v2.34.0` 将 `selectorCtx.effortIndex` 索引键由展示名(如 `Gemini 4 Neon`)切换为 kebab-case slug(如 `gemini-4-neon`、`claude-opus-5-5`、`gemini-3.8-flash`)的变化,新增 `normalizeEffortIndex` 与统一 slug 归一化查表,全面恢复 7 组多档位模型的滑块拖动与准确档位着色。针对 `v2.34.0` 新增的可自选底层规划模型的 Orchestrator,保留原生右侧二级子菜单(Neon / Carbon / Argon / Claude Opus 5.5),同时以无框极简布局直接融入菜单,打造专属 WebGL2 棱镜推理滑块:**左侧**为随档位生长的凸起高光泽切割水晶(立体切面 + 顶面锐利玻璃反光丝 + 105px 近场色散 + 4 路星芒),**右侧**为凹陷的深冷晶床原胚底槽与轻柔慢流的类液体待结晶母液光晕(拖满 `Extra` / 减动效 / 关闭氛围光 / 关闭菜单自动回到 `0fps` 休眠),配 **`2×8px`** 双态光刻档位刻度与**深冷钛灰缎面游标**(外缘搭载与输入框同源、32px 小半径的鼠标跟随光谱棱镜边);旧版不可调宿主则无损回退带微雕锁的静态 `Auto` 棱镜条。当 Orchestrator 选用 Claude 规划模型时,底部模型触发按钮自动切换为 Claude 品牌图标并同步阵营态。 - *Effort Slider Unlock, Living-Crystal Orchestrator Prism Bar & Claude Icon Sync*: Adapts to Antigravity `v2.34.0`'s shift from display-name keys to kebab-case slugs in `selectorCtx.effortIndex` (`gemini-4-neon`, `claude-opus-5-5`, `gemini-3.8-flash`) via `normalizeEffortIndex` and unified slug lookup, restoring unlocked multi-tier dragging and accurate tier badges across all 7 model groups. For `v2.34.0`'s selectable-planner Orchestrator, keeps the native submenu while seamlessly blending a frameless WebGL2 prism slider into the menu: the **active left side** renders polished, glossy cut crystal (crisp facet depth, top glass specular ribbon, 105px spectral dispersion, and 4-anchor glints), while the **inactive right side** recesses into an etched crystal-bed channel with subtle slow-flowing precursor liquid caustics (automatically sleeping at `0fps` when full, reduced-motion, ambient-off, or menu-closed), paired with **`2×8px`** dual-contrast etched detent ticks and a **gunmetal titanium-grey knob** ringed by a compact 32px mouse-tracking composer prism rim (falling back to the laser-etched locked `Auto` bar on legacy hosts). Selecting a Claude planner under Orchestrator automatically shows the Claude brand icon and camp state on the composer trigger. - **恢复遥测悬浮栏与 512K 上下文液瓶(只读宿主渲染器 `lsWrapper` 代理回退,0 B 主包增量)**:针对 Antigravity `v2.34.0` 的 `language_server` 取消命令行 `--csrf_token` 参数(改为 stdin 注入)导致本地直连遥测停摆的问题,新增纯 Node 侧只读回退适配器 `vendor/pulse-dashboard/sidecars/panel/renderer-rpc-adapter.mjs`(保留 `v2.33.x` 及更早版本直连通道 100% 不变)。仅当无 CLI 凭据时自动切入 `renderer-proxy` 模式,复用宿主已认证的 `lsWrapper` 并严格限制 5 个只读 RPC 白名单与 UUID 校验;在渲染器端原地剥离所有 `systemPrompt`、`messagePrompts`、会话摘要正文、工具输出与 `tokenBreakdown` 子树,仅跨 CDP 传输数 KB 纯数字/时间戳结构,并将 Protobuf-ES `Timestamp`、`Duration`、oneof `remaining`、数字 `apiProvider` 枚举及 `step.case` 归一化为标准遥测协议,完整恢复实时速率(TPS)、首字延迟(TTFT)、缓存命中率、5h/weekly 额度组与 512K 实体试管。 - *Telemetry Bar & 512K Context Vial Recovery (Read-Only Renderer `lsWrapper` Fallback, 0 B Main-Bundle Cost)*: Restores live telemetry on Antigravity `v2.34.0` where `language_server` no longer passes `--csrf_token` on the command line. Adds a Node-side read-only fallback (`renderer-rpc-adapter.mjs`) while keeping the direct HTTP path 100% intact for `v2.33.x` and earlier. Enforces a 5-method read-only allowlist and strict UUID validation, projects numeric/timestamp telemetry in-renderer while stripping all prompts, snippets, tool payloads, and token breakdown trees before crossing CDP, and normalizes Protobuf-ES `Timestamp`, `Duration`, oneof `remaining`, numeric `apiProvider`, and `step.case` fields back into live TPS, TTFT, cache hit rate, quota buckets, and 512K vial metrics. - **恢复首页/面板用量统计(Usage Rollup)全量会话、步数、24 小时分布与子代理归属**:适配 `v2.34.0` 渲染器移除 `getAllCascadeTrajectories` 的变化,在 `renderer-proxy` 模式下通过只读 `discoverLocalConversations` 补齐 `searchConversations` 遗漏的本地 `.db` 会话 ID;`fetchUsageRollupBatch` 直接复用含完整 `steps[i].metadata.createdAt` 与 `invokeSubagent` 的投影轨迹,并修正 `usage-core.js` 对 `summaryObj.stepCount === 0` 的判定,修复步数归零、24 小时调用分布坍缩到单小时及子代理漏统的问题。 - *Usage Rollup Full History, Step Counts, 24h Distribution & Subagent Recovery*: Compensates for the removal of `getAllCascadeTrajectories` in `v2.34.0` by supplementing `searchConversations` with read-only local `.db` ID discovery via `discoverLocalConversations`, reusing projected trajectories with full `steps[i].metadata.createdAt` and `invokeSubagent` links inside `fetchUsageRollupBatch`, and fixing `stepCount === 0` precedence in `usage-core.js` to restore accurate step counts, hourly distribution, and subagent attribution. - **恢复 `v2.34.0` 正文流式动效与离线上下文估算选择器**:适配 `v2.34.0` 将回答正文容器由 `[data-testid="planner-response-text"]` 变更为 `[data-testid="agent-response"] [data-markdown-root]`,`stream-choreography.js` 与 `vendor/pulse-dashboard/inline-fallback.js` 同步扩展双版本选择器,全面恢复流式分段淡入、逐词水墨羽化与代码扫描动效。 - *Streaming Prose Choreography & Fallback Selector Adaptation*: Extends `stream-choreography.js` and `vendor/pulse-dashboard/inline-fallback.js` to match both legacy `[data-testid="planner-response-text"]` and `v2.34.0` `[data-testid="agent-response"] [data-markdown-root]`, restoring streaming fade-ins and code-scan animations. ### Changed & Optimized / 性能优化、模型目录补全与测试稳定化 - **消除 `renderer-proxy` 模式每 15 秒重复扫描进程开销**:将 `AntigravityClient.discover()` 在 `renderer-proxy` 模式下的缓存周期由 `15s` 延长至 `120s`(错误时立即强刷),消除 `v2.34.0` 后台周期性拉起 PowerShell/netstat 寻找 `--csrf_token` 的 CPU 尖峰;同步在 `renderer-proxy` 模式下跳过依赖直连 CSRF 的后台 worker 线程,并将代理投影上限对齐 `8 MiB`。 - *Eliminate 15s Process-Discovery Churn in `renderer-proxy` Mode*: Extends `AntigravityClient.discover()` cache TTL from `15s` to `120s` under `renderer-proxy` (still refreshing immediately on error) to stop periodic PowerShell/netstat scans, skips direct-CSRF background worker spawning in proxy mode, and aligns the projected trajectory budget to `8 MiB`. - **补全 Gemini 4 系列与 Orchestrator 变体识别、稳定化跨平台 CI 与主包预算控制**:完善 `usage.mjs`、`context.mjs`、`model-glyph-crystal.js` 对 `Gemini 4 Neon / Carbon / Argon / Hydrogen` 与 `Orchestrator (Neon|Carbon|Argon)` 的家族和展示名识别;加固 `renderer-rpc-adapter.mjs` 对字符串型 `modelOrAlias.choice.value` 防 `NaN` 保护与按修改时间降序截断;稳定化 `test/vendor-coexist.test.mjs` 在 macOS CI 下的异步回调轮询时序;零新增 WebGL2 Uniform 完成滑块分区着色器升级,默认静态主包控制在 **`684,659 B`(`668.61 KiB`)**(严格低于 `670 KiB` / `686,080 B` 硬红线,余量 **`+1,421 B`**),新增 `test/v234-compat.test.mjs` 回归套件使全仓自动化测试扩展至 **276 项**。 - *Gemini 4 / Orchestrator Catalog Updates, CI Stability & Main-Bundle Discipline*: Adds `Gemini 4 Neon / Carbon / Argon / Hydrogen` and `Orchestrator (Neon|Carbon|Argon)` recognition across `usage.mjs`, `context.mjs`, and `model-glyph-crystal.js`, guards non-numeric `modelOrAlias.choice.value` against `NaN` and sorts summaries by recency before truncation in `renderer-rpc-adapter.mjs`, replaces a fixed-delay wait in `test/vendor-coexist.test.mjs` with bounded polling for macOS CI stability, upgrades the prism slider shader with zero new WebGL2 uniforms while keeping the default static bundle at **`684,659 B` (`668.61 KiB`)** (`+1,421 B` headroom under `670 KiB`), and adds `test/v234-compat.test.mjs` (bringing the suite to **276** tests). ## [1.0.2] - 2026-11-21 ### Added / 新增特性 - **Chat 对话模式(Beta · 默认关闭,`sidebarStudio`)**:在 **设置 → 外观 → Beta 内容** 中新增 `Chat 对话模式 (Beta)` 实验性开关(默认关闭 `"off"`,支持运行期无感热开/热关,扩展外观控制中心至 **27 项**配置键并覆盖全 5 语种)。关闭态不编译客户端、不注册 CDP 绑定、不拉起后台服务;开启后通过独立按需模块注入 Code / Chat 双极工作台: - **Pure 纯对话隔离与动态白名单**:基于单会话级 `CustomAgentSpec` 实现默认零工具/零 MCP/零钩子隔离,在输入框提供内联策略胶囊(联网搜索、图片与文件、保留用户规则、`zeroTools` 零工具模式),并支持动态识别已安装插件与 MCP 配置单会话白名单,100% 保持全局 Code 权限零写入(`globalPermissionWrites === 0`)。 - **Spark 单目录工作区与安全导入**:支持为单个目录创建隔离的 Spark 对话空间,内置跨平台原生目录选择器与文件夹浏览器,支持拖入/选择文件安全导入、自动冲突重命名与退出还原基线;跨平台共享目录识别兼容 Win32 大小写/尾斜杠、UNC、WSL `/mnt//...` 与底层 File ID(`dev:ino`)。 - **侧栏整理、批量操作与精简对话视图**:支持文件夹 CRUD、按时间分桶与会话拖拽归类、置顶/重命名/归档/还原/删除及多选批量操作(自动跳过运行中会话且绝不触碰 Code 会话);运行态对话页提供顶栏快捷条(置顶、重命名、导出 Markdown、新建)、带推理档位(Low/Medium/High/XHigh)的 Gemini 模型菜单、`data-ag-chat-minimal` 极简 Pulse 轻卡片与启动提示词芯片。 - *Chat Mode (Beta · Off by Default, `sidebarStudio`)*: Adds an experimental `Chat Mode (Beta)` toggle under **Settings → Appearance → Beta** (`"off"` by default, hot-toggleable without restart, expanding the validated settings schema to **27** keys across all 5 languages). In the off state, the client is never compiled, no CDP binding is registered, and no background service starts. When enabled via an isolated on-demand module, it adds a Code / Chat dual-mode workspace featuring: (1) **Pure** per-session `CustomAgentSpec` isolation with inline policy toggles (web search, images/files, user rules, `zeroTools`) and dynamic plugin/MCP allowlists while keeping global Code permissions untouched (`globalPermissionWrites === 0`); (2) **Spark** single-directory workspaces with native folder pickers, safe file drag-and-drop import, and cross-platform Win32/UNC/WSL/`dev:ino` shared-directory detection; (3) sidebar folder drag-and-drop grouping, multi-select batch actions (skipping running/Code sessions), chat topbar actions (pin, rename, Markdown export, new chat), Gemini reasoning-tier model menu, minimal Pulse cards, and starter chips. - **对话库体积体检与离线安全归档工具(`npm run archive:conversations`)**:在 **设置 → 关于** 中自动体检本地对话库体积与历史隐藏子代理占比(5 语种界面),支持一键生成离线安全归档与无损还原脚本,缓解大量历史子代理会话堆积导致的 `language_server` 内存膨胀。归档全程**只移动不删除**,将 `.db` + `.db-wal` + `.db-shm` 三件套捆绑移入带 `manifest.json` 的独立批次目录,完整保留主对话与活跃子代理并支持一键无损还原与异常批次恢复。 - *Conversation Storage Health & Offline Archiver (`npm run archive:conversations`)*: Adds 5-language local conversation DB diagnostics in **Settings → About** and one-click offline archive/restore script generation to curb `language_server` memory bloat from accumulated hidden subagent `.db` files. Strictly move-only (never deletes), bundling `.db` + `.db-wal` + `.db-shm` sets into manifest-tracked batches while preserving main conversations and active subagents, with lossless restore and recovery support. - **Windows & macOS 交互式安装确认流程**:双端图形安装器(`installer/setup/Program.cs` 与 `installer/macos/Setup/main.swift`)打开后改为先做只读环境预检(检测 Antigravity Desktop 路径/版本/调试端口及现有安装态,零文件写入),由用户显式点击 **「立即安装」/「重新安装 / 升级」**、**「卸载并恢复原版」** 或 **「取消」** 后才执行操作,不再双击即自动静默安装;命令行 `--silent` 自动化链路保持完全兼容。 - *Interactive GUI Install Confirmation (Windows & macOS)*: Both desktop installers now run a read-only environment preflight on launch (zero writes) and wait for explicit user choice (**Install / Reinstall & Upgrade**, **Uninstall & Restore**, or **Cancel**) instead of auto-installing immediately; `--silent` CLI automation remains fully compatible. - **本地可视化光学与 `/studio` 预览工作台(`npm run workbench`)**:随开源仓库提供完整的本地 `workbench/` 工程预览台,支持 Single / Split / Quad / Matrix 四模式实时调参及隔离沙盒化的 `/studio` 双极 Chat 交互预览与项目级权限审计抽屉;全仓自动化测试扩展至 **270 项**,覆盖 Ubuntu 24.04 / Windows / macOS 三平台 CI 与 CodeQL 安全门禁。 - *Local Optical & `/studio` Preview Workbench (`npm run workbench`)*: Includes the local `workbench/` visual preview suite (Single / Split / Quad / Matrix optical inspector plus sandboxed `/studio` Chat preview with project-scoped permission audit drawer), backed by **270** automated tests across Ubuntu 24.04, Windows, and macOS CI plus CodeQL security gates. ### Changed & Optimized / 架构与性能优化 - **Host Turbo 运行态减负与 GPU 纹理显存回收**:新增非侵入式 Host Turbo 优化——将宿主重复内联注入的 `alert.css` 去重为 `` 单例(保留 React 原节点仅置 `disabled=true`,卸载时无损还原);为对话图片自动补齐 `decoding="async"` 与 `loading="lazy"`;窗口失焦 `1.2s` 后暂停呼吸/旋转/Shimmer 动画并在恢复焦点或交互时 **`0ms` 瞬时唤醒**;侧栏折叠态与隐藏(`0×0`)扩展面板 iframe 自动跳过样式采样与主题推送并由 `ResizeObserver` 在显露时即时补推;已完成的历史 `
` 代码块缓存短路跳过子节点重扫;`ag-v2-chroma-fx` 粒子画布在空闲及动画结束后自动回收至 `0×0` 释放 GPU 纹理显存。
  - *Host Turbo Runtime Relief & GPU Texture Reclamation*: Deduplicates repeated inline host `alert.css` `