Repository navigation
Releases
Obsidian Prism v1.0.7-beta.1
Obsidian Prism v1.0.7-beta.1
燃尽了,睡一觉 😴
本版本作为 Beta 预发布版(
v1.0.7-beta.1) 率先推送至「Beta 尝鲜版」更新通道,涵盖了近期视觉大重塑、多通道性能重构、安全红队加固与多项社区 PR/Issue 闭环。体验中遇到任何问题或想法,都非常欢迎直接多填 Issue 反馈,睡醒后逐条跟进!
Visual Overhaul & Interaction / Smoked Obsidian 视觉大重塑与交互升级
- 统一 Smoked Obsidian 烟熏黑曜切面:全面重塑用户消息气泡、文件变更条、Artifact 卡片、石墨键帽风格「允许执行」按钮,并消除行内文件芯片双层边框;增强底部问答/排队卡片二次反光与嵌套滚动条阶梯错位,上下文烧杯置顶显示并加入 80% 迟滞告警。
- Unified Smoked Obsidian Faceted Surfaces: Refines user message bubbles, file-change strips, Artifact cards, graphite keycap "Allow" buttons, and single-frame inline file chips; adds secondary sheen to composer/queued cards, staggered nested scrollbars, and a pinned context vial with 80% hysteresis alerts.
- 设置中心双栏重塑与 33 项配置端到端实效:升级为双栏大弹窗布局,配备 10 项滑动拇指开关与 5 色光学强调圆点;新增
sidebarNavFold(侧栏导航折叠)与scrollBottomMotion(滚底动效)两项设置,全部 33 项配置端到端完整生效(含父子联动、动效关闭真0fps与 180Hz 帧率解锁)。- Two-Column Settings Overhaul & 33 End-to-End Settings: Redesigns the settings modal with a two-column layout, 10 sliding-thumb switches, and 5 optical accent dots; adds
sidebarNavFoldandscrollBottomMotion, bringing all 33 settings to full end-to-end effect (parent-child sync, true0fpsmotion-off, and 180Hz unlock).
- Two-Column Settings Overhaul & 33 End-to-End Settings: Redesigns the settings modal with a two-column layout, 10 sliding-thumb switches, and 5 optical accent dots; adds
- 行内 Diff 预览 & 双吉祥物像素微剧场:新增代码变更行内 Diff 预览能力;桌面双吉祥物新增
0fps像素栖息地摆件、投喂彩蛋与 9 大 Slash 命令微剧场。- Inline Diff Preview & Dual-Mascot Pixel Micro-Theaters: Introduces inline diff previews for file edits alongside
0fpspixel habitat props, feeding easter eggs, and 9 slash-command micro-theaters for the desktop companions.
- Inline Diff Preview & Dual-Mascot Pixel Micro-Theaters: Introduces inline diff previews for file edits alongside
Architecture & Performance / 架构瘦身与极致性能(Channel 5/6 · 6 通道磁盘缓存 · 零-eval LZSS)
- Channel 5 / Channel 6 按需拆分与零-
evalLZSS 瘦身:将思考转译拆出为独立 Channel 5(关闭态默认0 B注入,支持热插拔),将行内 Diff 预览拆出为独立 Channel 6;结合零-eval同步 UTF-16 LZSS 压缩,将 Channel 1 静态主包稳守在~681 KB(远低于704 KB红线)。- On-Demand Channel 5/6 Split & Zero-
evalLZSS: Extracts Thought Translator into on-demand Channel 5 (0 Binjected when off, hot-pluggable) and Inline Diff Preview into Channel 6; paired with zero-evalsynchronous UTF-16 LZSS compression, keeping Channel 1 around~681 KB(well below the704 KBceiling).
- On-Demand Channel 5/6 Split & Zero-
- 6 通道统一磁盘缓存(冷启动提速 45x)与全链路零空转:引入 6 通道统一磁盘缓存(
.bundle-cache.json),跨进程冷启动编译降至~26 ms;同步落地 Canvas VRAM0x0休眠回收、左栏运行中会话悬停零蓝闪、右栏拖拽防风暴、小螃蟹 60fps 拖甩、Daemon 空闲零空转及跨平台 C#/Swift 监控器同步。- Unified 6-Channel Disk Cache (45x Cold Start) & Zero-Idle Runtime: Adds
.bundle-cache.jsoncutting cross-process cold-start builds to~26 ms; adds0x0Canvas VRAM sleep reclamation, zero blue-flash on active sidebar items, right-pane drag anti-storm throttling, 60fps crab drag/fling, zero-idle daemon loops, and C#/Swift watcher parity.
- Unified 6-Channel Disk Cache (45x Cold Start) & Zero-Idle Runtime: Adds
Fixed & Polish / 问题修复与体验打磨(#11 / #14 / #15 / #16 / PR #10 / #12 / #17)
- 右侧栏最大化布局与控件对比度修复:修复右侧栏点击「全屏 / 最大化」按钮无法占满整个会话的布局挤压 Bug;修复深色与浅色模式下原生
<select>/<option>下拉及 Effort Slider 设置面板对比度问题(#15)。- Fix Side-Pane Maximize Layout & Native Control Contrast: Resolves right-pane maximize squeeze bugs and fixes native
<select>/<option>and Effort Slider panel contrast across dark and daylight themes (#15).
- Fix Side-Pane Maximize Layout & Native Control Contrast: Resolves right-pane maximize squeeze bugs and fixes native
- 模型选择器、推理滑块与双语稳定性修复:修复 Orchestrator 模型选择器 L1/L2 悬停过快关闭与冗余 L3 子菜单(PR #10);修复 React 19 多文本节点推理强度滑块切换异常(#11)及中文界面下「中等 ↔ Medium」乒乓闪烁(PR #12、#16)。
- 思考转译系统代理自动检测、Home Studio 配额回退与
/btw基础能力:思考转译新增零依赖异步 OS 系统代理自动检测(Windows/macOS)与 5 语使用引导(#14);修复 Home Studio 在外部agPulseHost返回空配额时未回退 Prism 自带指标桥接的问题(PR #17);新增/btw侧边提问基础能力(注:会话区全场景右键菜单触发优化与思考转译手动代理地址栏已排入下个版本)。- OS Proxy Auto-Detection, Home Studio Quota Fallback &
/btwFoundation: Adds zero-dependency async Windows/macOS system proxy auto-detection and 5-locale guidance for Thought Translator (#14), falls back to Prism's metrics bridge when externalagPulseHostreturns empty quotas (PR #17), and ships/btwside-question fundamentals (full-scene conversation context menu and manual proxy input for Thought Translator are slated for the next release).
- OS Proxy Auto-Detection, Home Studio Quota Fallback &
Security & Host Hardening / 安全与宿主风控五维深度加固(PR #13 等)
- Sidecar 与网关纵深加固:采纳并深化 PR #13,全面强化 Sidecar UNC/NT 设备路径拦截、Fail-Closed
Host校验、下载更新预写内存 SHA-256 校验、防跨源apiKey复用及顶层mainFrame门禁。- Sidecar & Gateway Defense-in-Depth: Adopts and extends PR #13 with UNC/NT device-path blocking, fail-closed
Hostchecks, in-memory pre-write SHA-256 verification, cross-originapiKeyreuse prevention, and strict top-levelmainFramegating.
- Sidecar & Gateway Defense-in-Depth: Adopts and extends PR #13 with UNC/NT device-path blocking, fail-closed
- 行内 Diff RPC 安全边界与输入法/异常容错:行内 Diff RPC 强制校验 Git 仓库边界,实施
.gitgitfile/UNC Fail-Closed、--literal-pathspecs防 glob 绕过、--no-optional-locks防抢锁与[filter]仓库安全降级、并发限流及 Google/Antigravity 核心凭据目录保护;全量全局事件回调补充顶层异常防护与中文 IME 回车保护。- Inline Diff RPC Sandboxing, Crash Guards & IME Protection: Enforces Git repo boundaries, fail-closed
.gitgitfile/UNC checks,--literal-pathspecs,--no-optional-locks, safe[filter]downgrade, concurrency limits, and Google/Antigravity credential directory blocks; wraps all global event handlers and guards Chinese IME Enter composition.
- Inline Diff RPC Sandboxing, Crash Guards & IME Protection: Enforces Git repo boundaries, fail-closed
Acknowledgements / 社区致谢(Community Credits)
- 特别感谢提交 PR 与深度排查反馈的社区贡献者:@yzd05(PR #10、PR #13)、@DDykarc(PR #12)、@SuzumiyaHaruhi719(PR #17)、@boy14204367(#11、#14、#15)和 @Freezecatmeow(#16)。
- Special thanks to community contributors @yzd05 (PR #10, PR #13), @DDykarc (PR #12), @SuzumiyaHaruhi719 (PR #17), @boy14204367 (#11, #14, #15), and @Freezecatmeow (#16) for their pull requests, security hardening, and root-cause diagnostics.
Standalone Installers / 独立安装包
- Windows (
x64):obsidian-prism-installer.exe - macOS (
Universal: Apple Silicon + Intel):Obsidian-Prism-macOS-universal.dmg
Full Changelog: CHANGELOG.md · Commits (v1.0.7-beta.1)
Obsidian Prism v1.0.6
Obsidian Prism v1.0.6
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), eliminatespointerenterrecursive DOM rescans (0 rescans), and adds5msframe-budget time slicing.
- Host Localization Engine Overhaul: Adds 327-regex fast indexing and
- 零顶层
:has()与设置面板零回流:彻底清零style.css顶层:has()选择器,改由精准属性标记(data-ag-cs-aux-dual、data-ag-cs-model-menu)驱动,压降 BlinkRecalcStyle开销约 80%;设置面板实行折叠态懒构建与 Read-then-Write 批量读写,消除 238 次点击强制回流与 600 按钮全量扫描。- Zero Top-Level
:has()& Zero-Reflow Settings Panel: Eliminates all top-level:has()selectors instyle.cssvia targetedO(1)attributes (reducing BlinkRecalcStyleby ~80%), and introduces collapsed lazy-building plus Read-then-Write updates insettings-panel.js(eliminating 238 click-time layout reflows and 600-button full scans).
- Zero Top-Level
- 桌面双宠 RLE Canvas 批处理与真
0fps休眠:桌面像素双宠改为水平行程编码(RLE)fillRect批处理与 2D 上下文缓存(CPU 占用 -90%);完善高刷屏与 macOS 失焦(data-ag-cs-win-blur="1")下的真0fps/ 0 RPC 休眠与获焦瞬时唤醒。- Mascot RLE Canvas Batching & True
0fpsBlur Hibernation: Batches pixel draws via horizontal RLEfillRect+lastFillskip + cached 2D context (-90% CPU), and honorsdata-ag-cs-win-blur="1"for true0fps/ zero-RPC hibernation on macOS and high-refresh displays.
- Mascot RLE Canvas Batching & True
v2.34.0renderer-proxy分级缓存与 Daemon / 安装包瘦身:vendor/pulse-dashboard/引入WeakRefLanguage Server 包装器缓存、并发请求合并(in-flight coalescing)与分级 TTL 缓存;Daemon 常驻堆内存降低 35.5 MiB,安装器打包自动排除宣传图体积瘦身至 ~1.6 MB(-85%)。v2.34.0renderer-proxyTiered Caching, Daemon Heap & Installer Slimming: Caches LS wrapper viaWeakRefwith 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 失联 P0 Bug:修复
Page.getFrameTree超时导致mainFrameId === null进而使全部 CDP Privileged Binding(含 AI 思考转译)永久瘫痪的致命问题。- Fix P0
mainFrameId === nullCDP Binding Paralysis: ResolvesPage.getFrameTreetimeouts that permanently disabled all privileged CDP bindings (including Thought Translator).
- Fix P0
- 修复窗口滚动条与界面细节回归:修复 Windows 下
autoscroll-viewport同时渲染原生与自定义双滚动条及底部原生箭头外露问题(#8);修复遥测栏子代理文字截断、排队消息按钮 3 齿轮误替换,以及从XHigh切换至Carbon时残留紫色Extra徽章的问题。- Fix Scrollbars & UI Regressions: Fixes Windows dual scrollbars and exposed native arrows (#8), telemetry subagent label truncation, queued-message 3-gear button mis-replacement, and stale purple
Extrabadge when switching fromXHightoCarbon.
- Fix Scrollbars & UI Regressions: Fixes Windows dual scrollbars and exposed native arrows (#8), telemetry subagent label truncation, queued-message 3-gear button mis-replacement, and stale purple
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.prototypehijacking immunity, 5 anti-mistranslation exemption attributes, and bilingual model/effort parsing.
- 13-Provider Localization Coexistence & Hardening: Adds fingerprinting to politely yield to the top 13 active community localization plugins on GitHub, zero
- 正式版 / 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--prereleasetagging, and a new community Discussion issue template.
- Stable / Beta Update Channels & Discussion Template: Expands validated settings to 30 keys with
Acknowledgements / 社区致谢
- 特别感谢 PR #6 作者 @TheSixPasserby(ハチケイ,已通过
Co-authored-by正式纳入 Contributors 榜单)对 Blink:has()、RLE Canvas、macOS0fps休眠与v2.34.0renderer-proxy缓存的重大贡献,以及提交深度剖析与缺陷反馈的社区贡献者 @Gruu6y(#2 / #3 / #8)、@Gyf0402(#4)、@TheSixPasserby(#5)和 @boy14204367(#7)。- Special thanks to @TheSixPasserby (PR #6, credited via
Co-authored-by) and community contributors @Gruu6y (#2/#3/#8), @Gyf0402 (#4), @TheSixPasserby (#5), and @boy14204367 (#7) for their profiling, PRs, and actionable bug reports.
- Special thanks to @TheSixPasserby (PR #6, credited via
Standalone Installers / 独立安装包
- Windows (
x64):obsidian-prism-installer.exe - macOS (
Universal: Apple Silicon + Intel):Obsidian-Prism-macOS-universal.dmg
Full Changelog: CHANGELOG.md · Commits (v1.0.6)
Obsidian Prism v1.0.5
Obsidian Prism v1.0.5
Added / 新增特性
- 内置宿主汉化包(Channel 4 纯 CDP 按需通道):零篡改官方
app.asar,通过独立按需通道(vendor/host-i18n/)注入而不占用主包体积,内置3,361精确词条与327正则规则。设置面板提供三态开关(自动 / 开启 / 关闭,默认自动),并集成四层通用外部汉化自动礼让机制与防死循环熔断器(3000ms乒乓冲突熔断);基于WeakRef/WeakMap零泄漏快照实现0fps失焦休眠与 100% 无损原文还原。- Built-in Host Localization (Channel 4 Pure CDP On-Demand Channel): Zero modification to official
app.asar; injected on-demand via an isolated Channel 4 runtime (vendor/host-i18n/) with zero static main-bundle overhead, shipping3,361exact entries and327regex rules. Exposes a tri-state setting (auto/on/off, defaulting toauto), a universal 4-layer auto-yield and3000msping-pong circuit breaker for external localization plugins,WeakRef/WeakMap-backed zero-leak snapshots,0fpsblur hibernation, and 100% lossless original-text restoration.
- Built-in Host Localization (Channel 4 Pure CDP On-Demand Channel): Zero modification to official
Fixed / 核心缺陷修复
- 修复 GitHub Issue #1(窄屏或侧栏打开时底部栏拥挤与抽搐):落地 5 阶流体折叠动效(Tier 1 优先优雅收起模型名并保留图标/配额/箭头,逐级收拢至
26×26磨砂玻璃上下文圆环)、0-ReflowResizeObserver与 GPUtransform: 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×26frosted-glass context ring),0-ReflowResizeObserversizing with GPUtransform: scale(1.27), and container-relativemin(332px, 46%)right-pane anti-collapse protection (compatible with maximized panels).
- 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
- 双桌宠(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 与正则多项式回溯隐患,三路红队审计发现的 7 P0 + 12 P1 + 8 P2 问题全部清零。
- CodeQL & Red-Team Audit Hardening: Resolves CodeQL Alerts #30/#31 and polynomial regex backtracking risks, closing all 7 P0, 12 P1, and 8 P2 findings from three parallel red-team audits.
Acknowledgements / 开源致谢
- 明确致谢 yiheng8023/antigravity-chinese(
v3.3.19,MIT License,Copyright (c) 2026 Antigravity Chinese Localization Contributors)提供的中文本地化词库与前端 DOM 翻译匹配思路参考。- Acknowledgements: Gratefully acknowledges 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.
- Acknowledgements: Gratefully acknowledges yiheng8023/antigravity-chinese (
Standalone Installers / 独立安装包
- Windows (
x64):obsidian-prism-installer.exe - macOS (
Universal: Apple Silicon + Intel):Obsidian-Prism-macOS-universal.dmg
Full Changelog: CHANGELOG.md · Commits (v1.0.5)
Obsidian Prism v1.0.4
Obsidian Prism v1.0.4
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 语种),在 设置 → 关于 提供检测状态、标题角标、一键热加载更新及「支持热加载即时生效,部分核心/样式或底层 Sidecar 变更需强刷页面(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-sidesidecars/daemon/update-service.mjs(zero outbound requests from renderer code;45sstartup check +6hinterval,10smanual cooldown) enforcing strict GitHub host allowlists with hop-by-hop redirect validation, a64 MiBdownload cap, and mandatory fail-closed SHA-256 verification against releasedigest/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-onlyhot-sync with core-change notices for source repos, and official.dmgrelease links on macOS.
- Auto-Update Check, Optional Auto-Update Toggle (
- 设置页「一键卸载(可选清除数据)」与遥测磁盘 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.jsonto~/.gemini/config/obsidian-prism-config.backup.jsonand restores it on reinstall). Opting into purge (--purge-dataacross Windows, macOS, and CLI) cleanly removes plugin configs, caches, 12 PrismlocalStoragekeys, andtelemetry/, while strictly blocking symlinks/reparse points, unownedAG_PRISM_TELEMETRY_DIRoverrides, and user-data redline directories (conversations_archive,prism-knowledge-space,Antigravity-Spark) and their descendants. Adds active-file-safe LRU disk pruning tohistory.mjsandusage.mjs(UsageLedgerdefaults to256files).
- 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
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, andv2.33/v2.34/future hosts (100% native click pass-through whenever React Fiber lookup misses). Gates native submenu hiding behindhtml[data-ces-slider-ready='1']and clears it immediately on menu close (fixingjustClosedcleanup and closed-statelocalStoragecache misses), eliminates dualMutationObserverfeedback loops, and defers Orchestrator WebGL2 mount by onerAFframe.
- Eliminate Multi-Tier & Cross-Version Model-Selector Deadlocks: Rewrites effort-slider click interception as strictly Fail-Open, covering Jio / Free (single-tier
- 修复思考翻译「中英混排中途停翻」并打通 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
isAlreadyTargetLangheuristics so mixed Chinese/English reasoning is no longer skipped prematurely, stopsres.skipped === truefrom poisoning local caches or locking render state, normalizeszh-HK/zh-MO -> yueand short-text boundaries, and wires locale-isolated caching, prompts, and machine-translation targets acrosszh-CN,zh-TW,yue,en, andja.
- Fix Mid-Stream Mixed-Language Translation Halts & End-to-End 5-Locale Support: Refactors client/server
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 allHTMLElement.prototype.focus/Element.prototype.focusprototype overrides; cachesstartCascadeprotocol stage inreserveSessionto eliminate repeated probing errors; removes direct renderer calls totranslate.googleapis.com(guaranteeing zero Google Translate / GitHub API outbound requests in compiled bundles); increases quota hover cooldown to20s/ manual cooldown to5sand slices historical step folding acrossrAFframes; expands automated tests to 297 cases while keeping the default static main bundle at692,096 B(675.88 KiB<680 KiBhard cap).
- Rate-Limit & Anti-Detection Hardening, Zero Prototype Patching & Zero Renderer Outbound Calls: Effort slider drags now commit once on
Platform Testing Note / 平台测试说明
Important / 重要说明:本次
v1.0.4的所有 Windows 安装包、守护进程、热更新、卸载及 Antigravityv2.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.0features inv1.0.4have 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.
Standalone Installers / 独立安装包
- Windows (
x64):obsidian-prism-installer.exe - macOS (
Universal: Apple Silicon + Intel):Obsidian-Prism-macOS-universal.dmg
Full Changelog: CHANGELOG.md · Commits (v1.0.4)
Obsidian Prism v1.0.3
Obsidian Prism v1.0.3
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新增的可自选底层 Planner 模型的 Orchestrator(orchestratorPlanners/orchestratorPlannerIndex/orchestratorPick),保留原生右侧二级子菜单(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 inselectorCtx.effortIndex(gemini-4-neon,claude-opus-5-5,gemini-3.8-flash) vianormalizeEffortIndexand unified slug lookup, restoring unlocked multi-tier dragging and accurate tier badges across all 7 model groups. Forv2.34.0's selectable-planner Orchestrator (orchestratorPlanners/orchestratorPlannerIndex/orchestratorPick), 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 at0fpswhen full, reduced-motion, ambient-off, or menu-closed), paired with2×8pxdual-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 lockedAutobar on legacy hosts). Selecting a Claude planner under Orchestrator automatically shows the Claude brand icon and camp state on the composer trigger.
- Effort Slider Unlock, Living-Crystal Orchestrator Prism Bar & Claude Icon Sync: Adapts to Antigravity
- 恢复遥测悬浮栏与 512K 上下文液瓶(只读宿主渲染器
lsWrapper代理回退,0 B 主包增量):针对 Antigravityv2.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-ESTimestamp、Duration、oneofremaining、数字apiProvider枚举及step.case归一化为标准遥测协议,完整恢复实时速率(TPS)、首字延迟(TTFT)、缓存命中率、5h/weekly 额度组与 512K 实体试管。- Telemetry Bar & 512K Context Vial Recovery (Read-Only Renderer
lsWrapperFallback, 0 B Main-Bundle Cost): Restores live telemetry on Antigravityv2.34.0wherelanguage_serverno longer passes--csrf_tokenon the command line. Adds a Node-side read-only fallback (renderer-rpc-adapter.mjs) while keeping the direct HTTP path 100% intact forv2.33.xand 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-ESTimestamp,Duration, oneofremaining, numericapiProvider, andstep.casefields back into live TPS, TTFT, cache hit rate, quota buckets, and 512K vial metrics.
- Telemetry Bar & 512K Context Vial Recovery (Read-Only Renderer
- 恢复首页/面板用量统计(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
getAllCascadeTrajectoriesinv2.34.0by supplementingsearchConversationswith read-only local.dbID discovery viadiscoverLocalConversations, reusing projected trajectories with fullsteps[i].metadata.createdAtandinvokeSubagentlinks insidefetchUsageRollupBatch, and fixingstepCount === 0precedence inusage-core.jsto restore accurate step counts, hourly distribution, and subagent attribution.
- Usage Rollup Full History, Step Counts, 24h Distribution & Subagent Recovery: Compensates for the removal of
- 恢复
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.jsandvendor/pulse-dashboard/inline-fallback.jsto match both legacy[data-testid="planner-response-text"]andv2.34.0[data-testid="agent-response"] [data-markdown-root], restoring streaming fade-ins and code-scan animations.
- Streaming Prose Choreography & Fallback Selector Adaptation: Extends
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-proxyMode: ExtendsAntigravityClient.discover()cache TTL from15sto120sunderrenderer-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 to8 MiB.
- Eliminate 15s Process-Discovery Churn in
- 补全 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 / HydrogenandOrchestrator (Neon|Carbon|Argon)recognition acrossusage.mjs,context.mjs, andmodel-glyph-crystal.js, guards non-numericmodelOrAlias.choice.valueagainstNaNand sorts summaries by recency before truncation inrenderer-rpc-adapter.mjs, replaces a fixed-delay wait intest/vendor-coexist.test.mjswith bounded polling for macOS CI stability, upgrades the prism slider shader with zero new WebGL2 uniforms while keeping the default static bundle at684,659 B(668.61 KiB) (+1,421 Bheadroom under670 KiB), and addstest/v234-compat.test.mjs(bringing the suite to 276 tests).
- Gemini 4 / Orchestrator Catalog Updates, CI Stability & Main-Bundle Discipline: Adds
Standalone Installers / 独立安装包
- Windows (
x64):obsidian-prism-installer.exe - macOS (
Universal: Apple Silicon + Intel):Obsidian-Prism-macOS-universal.dmg
Full Changelog: CHANGELOG.md · Commits (v1.0.3)
Obsidian Prism v1.0.2
Obsidian Prism v1.0.2
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/<drive>/...与底层 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 experimentalChat 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 third channel, it adds a Code / Chat dual-mode workspace featuring: (1) Pure per-sessionCustomAgentSpecisolation 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:inoshared-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.
- Pure 纯对话隔离与动态白名单:基于单会话级
- 对话库体积体检与离线安全归档工具(
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 curblanguage_servermemory bloat from accumulated hidden subagent.dbfiles. Strictly move-only (never deletes), bundling.db+.db-wal+.db-shmsets into manifest-tracked batches while preserving main conversations and active subagents, with lossless restore and recovery support.
- Conversation Storage Health & Offline Archiver (
- 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-patching immediately;
--silentCLI automation remains fully compatible.
- 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-patching immediately;
- 本地可视化光学与
/studio预览工作台(npm run workbench):随开源仓库提供完整的本地workbench/工程预览台,支持 Single / Split / Quad / Matrix 四模式实时调参及隔离沙盒化的/studio双极 Chat 交互预览与项目级权限审计抽屉;全仓自动化测试扩展至 270 项,覆盖 Ubuntu 24.04 / Windows / macOS 三平台 CI 与 CodeQL 安全门禁。- Local Optical &
/studioPreview Workbench (npm run workbench): Includes the localworkbench/visual preview suite (Single / Split / Quad / Matrix optical inspector plus sandboxed/studioChat preview with project-scoped permission audit drawer), backed by 270 automated tests across Ubuntu 24.04, Windows, and macOS CI plus CodeQL security gates.
- Local Optical &
Changed & Optimized / 架构与性能优化
- Host Turbo 运行态减负与 GPU 纹理显存回收:新增非侵入式 Host Turbo 优化——将宿主重复内联注入的
alert.css去重为<head>单例(保留 React 原节点仅置disabled=true,卸载时无损还原);为对话图片自动补齐decoding="async"与loading="lazy";窗口失焦1.2s后暂停呼吸/旋转/Shimmer 动画并在恢复焦点或交互时0ms瞬时唤醒;侧栏折叠态与隐藏(0×0)Sidecar iframe 自动跳过样式采样与主题推送并由ResizeObserver在显露时即时补推;已完成的历史<pre>代码块缓存短路跳过子节点重扫;ag-v2-chroma-fx粒子画布在空闲及动画结束后自动回收至0×0释放 GPU 纹理显存。- Host Turbo Runtime Relief & GPU Texture Reclamation: Deduplicates repeated inline host
alert.css<style>tags into a<head>singleton (restored losslessly on teardown), appliesdecoding="async"/loading="lazy"to images, pauses ambient/shimmer animations1.2safter window blur with0msinstant wake on focus/input, skips style reads andpostMessagefor collapsed/hidden Sidecar iframes (syncing viaResizeObserveron reveal), short-circuits sealed<pre>code-block scans, and reclaims idleag-v2-chroma-fxparticle canvases to0×0to free GPU memory.
- Host Turbo Runtime Relief & GPU Texture Reclamation: Deduplicates repeated inline host
- 后台遥测引擎与 Daemon 内存/轮询瘦身:
vendor/pulse-dashboard/改用持久化 HTTP Keep-Alive 连接池(maxSockets: 2)并在GetCascadeTrajectoryGeneratorMetadata默认传入includeMessages: false;TrajectoryJson为被 Schema 丢弃的超大字段引入零分配丢弃快路径;多级内存与轮询预算全面收紧(trajectory-reader4 MiB、store32会话 LRU 并保护处理中后台任务、delegated-usage2 MiB、Worker 老生代上限收紧至48 MB/32 MB并补充 OOM 诊断字段);思考转译内存缓存上限收敛至400条;Daemon 支持telemetryModule === 'off'或闲置120s自动释放遥测客户端,并延长后台摘要缓存至15s。- Background Telemetry & Daemon Memory Slimming: Switches
vendor/pulse-dashboard/to persistent Keep-Alive HTTP pooling (maxSockets: 2) withincludeMessages: false, adds a zero-allocation discard fast path inTrajectoryJson, tightens memory/polling budgets (4 MiBreader,32-session LRU protecting active background jobs,2 MiBdelegated usage,48 MB/32 MBworker old-space caps with OOM diagnostics), trims translator in-memory cache to400entries, and releases idle telemetry clients in Daemon after120s(or whentelemetryModule === 'off').
- Background Telemetry & Daemon Memory Slimming: Switches
- Chat 列表节流与静态主包无损压缩(
662.15 KiB < 670 KiB):live-host-adapter.mjs实施lastKnownById(<= 2000)与已删会话 tombstone(<= 1000/ 5 分钟 TTL)封顶,sidebar-client.js引入确定性时间戳、隐藏页签跳过同步与渲染签名短路防无效 DOM 重建;cdp.js落地带严格接口/关键字/预处理保护的minifyGlsl局部变量压缩、声明值安全 6→3 位 Hex 色值压缩与安全成员访问池化,thought-settings-ui.js精简 5 语种字典表并整数化品牌 SVG 坐标,使默认静态主包收敛至678,046 B(662.15 KiB),留足+8,034 B安全余量。- Chat Throttling & Lossless Main Bundle Slimming (
662.15 KiB < 670 KiB): BoundslastKnownById(<= 2000) and deleted tombstones (<= 1000/ 5m TTL), adds deterministic timestamp parsing and render-signature DOM diff skipping insidebar-client.js, and adds interface-safeminifyGlsllocal-identifier shortening, safe 6-to-3 hex CSS compaction, compact 5-language dictionaries, and integer SVG coordinates—bringing the default static bundle down to678,046 B(662.15 KiB) with+8,034 Bheadroom.
- Chat Throttling & Lossless Main Bundle Slimming (
Security / 纵深安全加固
- Thought Translator 全量 IPv6 SSRF 防护与凭据防泄漏:
translator-service.mjs新增完整 IPv4 / 8 段 IPv6 解析,严格拦截未指定地址、链路本地(169.254.0.0/16、fe80::/10)、云元数据(fd00:ec2::/32、100.100.100.200、.metadata.google.internal)以及 IPv4-mapped、IPv4-translated、IPv4-compatible、NAT64、6to4 变体封装,收紧无密钥本地 ULA 前缀正则防止公网域名误放行;自定义baseUrl被安全规则拦截时直接拒绝发请求并报错,杜绝静默回退至api.openai.com导致第三方 API Key 泄漏。- Full IPv6 SSRF Defense & API Key Leak Prevention: Adds complete IPv4 / 8-hextet IPv6 parsing in
translator-service.mjsto block link-local, unspecified, cloud-metadata, IPv4-mapped/translated/compatible, NAT64, and 6to4 bypasses, tightens keyless local ULA prefix matching against public-domain spoofing, and rejects blocked custombaseUrlvalues outright rather than silently falling back toapi.openai.comwith third-party credentials.
- Full IPv6 SSRF Defense & API Key Leak Prevention: Adds complete IPv4 / 8-hextet IPv6 parsing in
- Chat Beta 后端硬门禁、Fail-Closed 隔离与沙盒防护:
inject.js与sidecars/daemon/main.mjs对SIDEBAR_BINDING实施关闭态零注册 +JSON.parse前置硬拦截、主 Frame 与文档代际强校验及销毁撤权、基于标准化动作的Buffer.byteLength载荷上限(128 KiB/12 MiB)与setPrefValue(s)客户端拒载;sidebar-client.js在 Chat 隔离构包失败时强制 fail-closed 拒发绝不回退无隔离参数,关闭态零监听零轮询并对称解绑;sidebar-service.mjs与live-host-adapter.mjs加固sandboxRoot复核、扩大危险导入扩展名拦截清单、阻断原型污染键并全面采用零 Shell 拼接参数数组调用。- Chat Beta Backend Gating, Fail-Closed Isolation & Sandbox Hardening: Enforces disabled-state zero binding registration and pre-parse gating on
SIDEBAR_BINDING, main-frame/document-generation verification with teardown revocation, normalized-actionBuffer.byteLengthpayload caps (128 KiB/12 MiB), and clientsetPrefValue(s)rejection; enforces fail-closed Chat message send/creation isolation and zero-listener disabled state insidebar-client.js; hardenssandboxRootverification, blocked import extensions, prototype-pollution filtering, and zero-shell native picker invocations.
- Chat Beta Backend Gating, Fail-Closed Isolation & Sandbox Hardening: Enforces disabled-state zero binding registration and pre-parse gating on
- 双端安装器、归档器与守护进程文件系统安全加固:
installer/setup/Program.cs新增 Zip Slip 路径前缀边界校验、重解析点/符号链接链拦截、系统与用户根目录防误删护栏、PID 命令行身份复核,并以powershell.exe -EncodedCommand+ 环境变量替代cmd.exe字符串拼接;conversation-archive.mjs升级全平台language_server/ 宿主进程检测(涵盖 Windows 平台后缀进程且查询异常 fail-closed)、CLI 非法数值参数 fail-closed 拒绝、逐级防符号链接与0o700辅助脚本权限;main.mjs、tools/install-plugin.cjs与cdp.js全面对齐O_EXCL ('wx')排他原子写、0o600权限、双向防符号链接及跳过.daemon.pid/*.log/*.tmp。- Installer, Archiver & Daemon Filesystem Hardening: Adds Zip Slip prefix checks, reparse-point chain blocking, protected system/user root uninstall guards, PID identity checks, and
powershell.exe -EncodedCommand(replacingcmd.exe) inProgram.cs; hardensconversation-archive.mjswith full-platformlanguage_server/ host process detection (fail-closed on query error), strict CLI numeric validation, symlink-chain rejection, and0o700helper scripts; alignsmain.mjs,install-plugin.cjs, andcdp.jsonO_EXCL ('wx')atomic writes,0o600permissions, and symlink defenses.
- Installer, Archiver & Daemon Filesystem Hardening: Adds Zip Slip prefix checks, reparse-point chain blocking, protected system/user root uninstall guards, PID identity checks, and
- Workbench、Omni、Host Bridge 硬化与 CodeQL 清零:
workbench/server.cjs补齐 `fs.r...
Obsidian Prism v1.0.1
Obsidian Prism v1.0.1
Added / 新增特性
- Omni 宿主原生右侧内置浏览器联动与
v2.33.0+官方优先礼让 (omniModule/linkTarget):对宿主原生<a href="http...">链接 100% 礼让官方内置路由、页内搜索、外链确认窗与原生右键菜单,同时对纯文本裸 URL /localhost端口与思考转译内链接直连宿主原生右侧可拖拽拉伸、多标签可关闭的内置 Browser Tab(基于宿主隔离wcvBrowser真内核渲染与browser-hole-ancestor全链路透明视口穿透,同步兼容v2.33.0+sidePanelV2panelScope签名)。- Omni Native Right-Pane Browser Tab Integration &
v2.33.0+Stock-First Yielding (omniModule/linkTarget): Yields 100% of stock<a href="http...">clicks and context menus to the host's nativedefaultLinkOpenTarget, in-page search, and confirmation modals, while routing bare URLs,localhostports, and translated links into native resizable, multi-tab closable host Browser Tabs (wcvBrowserisolated views withbrowser-hole-ancestortransparent viewport pass-through andv2.33.0+panelScopecompatibility).
- Omni Native Right-Pane Browser Tab Integration &
- 零悬停干扰纯右键操作菜单:日常阅读保持零悬停浮条干扰,仅在右键点击(
contextmenu)裸链接、文件药丸、Artifact 卡片、代码块路径头或 Mermaid 图表时弹出操作菜单,支持内外部浏览器/检视台打开、在文件夹中定位选中、复制绝对/相对路径、作为@引用填入输入框及 Mermaid 图表无损缩放。- Right-Click Context Menu (Zero Hover Clutter): Keeps reading surfaces free of hover toolbars; surfaces actions strictly on
contextmenuover bare links, file pills, Artifact cards, code headers, and Mermaid diagrams (open in side-pane/default app, reveal in folder, copy absolute/relative paths, insert as@mentioninto composer, and zoom Mermaid diagrams).
- Right-Click Context Menu (Zero Hover Clutter): Keeps reading surfaces free of hover toolbars; surfaces actions strictly on
- 本地
127.0.0.1流式媒体网关与超限文件自动接管检视台:内置仅绑定本地回环接口的随机令牌鉴权 HTTP206 Range流式网关,对宿主正常支持的<= 200MB音视频及原生 CSV/PDF/HTML 预览 100% 礼让官方预览器,仅当宿主右侧边栏报体积超限(> 20MB/> 200MB)或无预览时自动原位接管为五大流式检视台(切回正常文件自动卸载还原):① 大体积视频逐帧步进(1/30s)、倍速、A-B区间循环与当前帧无损 PNG 截图;② 音频实时波形渲染与毫秒级时间码打点;③ SVG 与透明图像棋盘格无损缩放画布及1x/2x/4xPNG 光栅化导出;④ 本地 HTML 响应式视口沙盒与 PDF 原生流式阅读;⑤CSV/TSV/JSONL冻结表头检索排序分页与TTF/OTF/WOFF2字体多字号瀑布流样张预览。- Loopback HTTP
206 RangeStreaming Gateway & Unsupported-File Auto-Upgrade: Adds a loopback-only (127.0.0.1) token-authenticated streaming server that yields cleanly to native host viewers (<= 200MBmedia, CSV, PDF, HTML, images) and automatically upgrades> 20MB/> 200MBsize-limit or unsupported views in-place into five workbenches: (1) frame-stepped (1/30s) large video inspection,A-Bloop, and lossless PNG frame capture; (2) real-time audio waveform rendering with millisecond markers; (3) checkerboard SVG/transparent-image zoom canvas with1x/2x/4xPNG export; (4) responsive local HTML sandboxes and streaming PDF reader; (5) frozen-headerCSV/TSV/JSONLtable search/sorting/pagination andTTF/OTF/WOFF2font waterfall specimens.
- Loopback HTTP
CSS.highlights零 DOM 篡改逐词水墨羽化流式淡入与裸链接激活:采用 CSS Custom Highlight API 实现主对话与原生思考流的五级::highlight(ag-stream-f0..f4)逐词水墨羽化淡入(配合思考转译 Smooth Token Pacer 柔焦步进引擎,完结即归零至0fps),并无损激活对话与终端内的裸http(s)://、localhost端口与本地文件路径,零replaceChild节点拆分,100% 保持宿主 React 19HostText节点完整。- Zero-DOM-Mutation Ink-Feather Streaming Fade & Bare URL/Path Activation (
CSS.highlights): Delivers 5-stage::highlight(ag-stream-f0..f4)word-level ink-feather streaming fade-ins across main responses and native thinking blocks (paired with a Smooth Token Pacer soft-focus engine in Thought Translator that settles to0fpson completion), while activating bare URLs,localhostports, and local file paths without splitting or detaching host React 19HostTextnodes.
- Zero-DOM-Mutation Ink-Feather Streaming Fade & Bare URL/Path Activation (
- 宿主深水区适配、26 项设置扩展与思考转译增强:新增
plugin://*Sidecar 面板四主题变量实时同步桥、已完成长代码块(>= 48行)Sticky 吸顶与手动折叠、左侧会话导轨章节刻度与悬停大纲过滤(含Alt+↑/↓轮次跳转)、三态0fps静态语义边缘余晖;设置中心扩充至 26 项可校验配置键(含omniModule、linkTarget、5 档强调色含纯银钛单色mono、3 档圆角、4 档代码字体与连字、环境光浓度、双语对照视图),提供三档场景预设(完整光效 / 专注编码 / 静默省电)、脱敏 JSON 导入/导出备份与已存翻译 API Key 一键清除按钮;思考转译新增file://行号药丸还原、本地免密 Ollama/LM Studio/vLLM 直连与并发限流队列;双端独立安装器支持直接部署完整原生 Sidecar 插件树。- Host Workbench Integration, 26-Key Settings Center & Thought Translator Upgrades: Adds real-time four-theme token syncing for
plugin://*Sidecar iframes, sticky headers with manual folding for completed code blocks (>= 48lines), conversation rail outline filtering withAlt+↑/↓navigation, and three-state0fpssemantic edge cues; expands the settings schema to 26 validated keys with three scene presets (Full Visuals / Deep Focus / Silent Eco), sanitized JSON config backup/restore, and one-click stored API key clearing; addsfile://line-number jump pills, keyless local LLM endpoints, concurrency queuing, and full native Sidecar plugin deployment in Windows/macOS installers.
- Host Workbench Integration, 26-Key Settings Center & Thought Translator Upgrades: Adds real-time four-theme token syncing for
Changed & Optimized / 架构重构与优化
ui-runtime.js微内核拆分:将原单体运行时重构为轻量微内核加 6 个独立控制器模块(home-studio-panel.js、home-ripple-host.js、model-glyph-crystal.js、stream-choreography.js、prism-rim-canvas.js、host-workbench-enhancer.js)。- Microkernel Runtime Split: Decomposes
ui-runtime.jsinto a compact microkernel orchestrating 6 independent controller modules.
- Microkernel Runtime Split: Decomposes
- 全局共享字符串池编译与双通道动态注入:
cdp.js引入跨模块共享字符串池(自动复用0x00B8连续编码槽)、GLSL 着色器预压缩、词法安全minifyCss与通用静态字符串数组折叠,静态主包体积收敛至669.71 KiB(低于670 KiB/680 KiB门限),Omni 客户端通过独立第二通道按需注入;增量配置刷新构建耗时降至< 3.6ms,并在 300Hz 高刷屏下将稳态背景极光限频至~30fps、空闲1.2s转入0fps休眠。- Shared-Pool Compiler & Dual-Channel Injection: Upgrades
cdp.jswith a cross-module shared string pool (reclaiming0x00B8contiguous 2-byte UTF-8 slots), GLSL minification, lexically safeminifyCss, and generalized static string-array folding (669.71 KiB < 670 KiBstatic main bundle, plus second-channel Omni client injection); reduces warm config refresh builds to< 3.6msand enforces~30fpssteady-state throttling with0fpsidle sleep on 300Hz displays.
- Shared-Pool Compiler & Dual-Channel Injection: Upgrades
- 零视觉损全链路交互与长链深度性能优化(侧边栏悬停/长展开工具链/流式/切会话全面提速):通过运行时 CSS 扁平化编译与展开工具链行级
content-visibility: auto跳过 70%+ 屏外步骤行(12,000+ 节点重排耗时较优化前降一个数量级,比原生快2.5×–3.4×);smooth-caret.js用零重排纯 DOMRange替代Selection.isCollapsed根除190–475ms同步布局;ui-runtime.js落地两阶段 FastDOM、runGuardedMut自激排空、侧边栏悬浮卡[data-hover-card-popup]入口短路、流式运行期96ms低优合批+高优即时抢占及140ms切会话安静跑道;prism-rim-canvas.js实现先测后插与远离零rAFfarIdle短路;conv-aura.js/thought-client.js/upstream-client.js削减高频checkVisibility与噪声监听,并新增 16 条自动化性能防回退守卫测试(test/perf-optimizations.test.mjs)。- Zero-Visual-Loss End-to-End Interaction & Long-Chain Performance Overhaul: Adds runtime CSS rule flattening and step-level
content-visibility: autoon expanded tool-call chains (skipping 70%+ offscreen step rows for2.5×–3.4×faster recalc than native on 12k-node sessions); replaces forced-layoutSelection.isCollapsedwith pure-DOMRangereads insmooth-caret.js(eliminating190–475mssync layout); introduces strict two-phase FastDOM,runGuardedMutMO draining,[data-hover-card-popup]short-circuiting,96msstreaming low-priority batching with instant high-priority preemption, and a140msconversation-switch quiet runway inui-runtime.js; adds measure-before-mutate and zero-rAFfarIdleshort-circuiting toprism-rim-canvas.js; cutscheckVisibilityand observer overhead acrossconv-aura.js,thought-client.js, andupstream-client.js, backed by 16 automated regression guards intest/perf-optimizations.test.mjs.
- Zero-Visual-Loss End-to-End Interaction & Long-Chain Performance Overhaul: Adds runtime CSS rule flattening and step-level
- 长会话运行态零损性能优化与思考缓存零阻塞重构(
52.5×流式帧率跃升):对核心渲染管线与全模块实施O(1)缓存与批量读写分离(含smooth-caret选区快筛后置滚动读取、prism-rim-canvas几何缓存读写拆相、双流CSS.highlights同名桶零冲突共享及阻断外部 Pulse 2s 重注入回流死锁);全链路重构思考转译存储缓存,采用checkVisibility()拦截外层折叠组幽灵 DOM 水合、视口800px捕获滚动懒水合、根除折叠块preload缓存命中重复大正则、L1 热窗口空闲防抖刷盘、custom风格标签首帧命中与 Daemon 单飞异步原子落盘,在34k+节点超长活跃会话流式并发压测下帧数提升52.5×、帧间隔 P50 降至3.30ms、满缓存流式耗时比空缓存反降74.5%,且 100% 保留全部光学与动效细节。- Zero-Visual-Loss Long-Session Optimization & Lock-Free Thought-Cache Overhaul (
52.5×Streaming FPS Boost): ImplementsO(1)caching and strict DOM write/read phase separation across all runtime modules (smooth-caretfast-path selection gating, two-phaseprism-rim-canvasgeometry reads, conflict-free sharedCSS.highlightsbuckets, and external Pulse re-injection deadlock prevention); overhauls Thought Translator storage caching withcheckVisibility()hidden-ancestor ghost-DOM suppression,800pxviewport-band lazy hydration on captured scroll,O(1)folded-preload regex/hash elimination, L1 hot-window idle-debounced flushes, first-frame persistedcustomstyle-tag hits, and Daemon single-flight async atomic disk writes—delivering a52.5×streaming frame-rate boost (3.30msP50 frame interval,0.00msforced synchronous layout, and74.5%lower task time under full cache) in34k+-node sessions.
- Zero-Visual-Loss Long-Session Optimization & Lock-Free Thought-Cache Overhaul (
- 遥测引擎对齐
v0.9.1、饱满光学配额条与 1:1 原版像素点阵滑块:vendor/pulse-dashboard/对齐上游ATtacK030130/antigrative-dashboardv0.9.1(MIT),重塑饱满实心光学渐变配额条,支持主会话与 Swarm/子代理 Token 消耗拆分、Cache 命中率与基于 CDP 进程族谱的多实例归属;Windows 平台采用NtQueryInformationProcess零 WMI 内核直读快车道(< 520ms),内置胶囊采用独立#ag-prism-pulse-bar宿主标识并在新建会话首页自动隐退,上下文试管卡片收敛为黄金紧凑比例且右边界向内对齐主输入框;推理等级滑块 1:1 忠实还原原版 Claude / Gemini 高对比像素方块点阵、档位刻度圆点与High档发光细边框,并支持mono纯银钛与全局动效档位联动。- Telemetry
v0.9.1Alignment, Solid Optical Quota Bars & 1:1 Pixel-Matrix Effort Slider: Alignsvendor/pulse-dashboard/withATtacK030130/antigrative-dashboardv0.9.1(MIT) with redesigned solid optical-gradient quota bars, main vs. Swarm/subagent token attribution, cache hit rate, and CDP process-lineage discovery; introduces a zero-WMINtQueryInformationProcessfast path on Windows (< 520ms), dedicated#ag-prism-pulse-barhost isolation (auto-hidden on New Conversation home screens) with compact right-aligned context vial cards, and 1:1 faithful Claude / Gemini pixel-dot matrix, detent dots, andHigh-tier luminous border rendering on the effort slider.
- Telemetry
- 冗余配置键与遗留文件清理:清退 3 个零前端消费者的历史配置键(
ringMode、effortSliderStyle、effortAccent),移除vendor/pulse-dashboard/compat/下 8 个无引用的遗留文件,并清理未引用的多语言死词条、冗余精灵表与废弃 CSS 样式。- Legacy Key & Dead-File Cleanup: Retires 3 unreferenced legacy config keys (
ringMode,effortSliderStyle,effortAccent), removes 8 unused legacy files under `vendor/pulse-dashboard/compa...
- Legacy Key & Dead-File Cleanup: Retires 3 unreferenced legacy config keys (
Obsidian Prism v1.0.0
Obsidian Prism v1.0.0
Optical UI, 300Hz GPU-accelerated motion engine, 5-pet interactive physics stage, unified Thought Translator & Polisher, and real-time telemetry suite for Google Antigravity IDE.
Highlights / 核心亮点
- 4-Theme Optical Matrix (四重光学主题矩阵) — Obsidian Night, Warm Charcoal, Daylight Crystal, and Warm Alabaster with zero-reflow GPU compositor styling.
- High-Refresh GPU Optics (
60/120/180/Native VSyncup to 300Hz+) — WebGL2 fluid ripples with empty-pixel fragment early-out, Canvas2D cursor-reactive prismatic input rim, and 4-state conversation horizon aura. - Zero-Freeze Telemetry & Usage Rollup (零阻塞遥测与增量聚合) — Background Sidecar incremental
GetCascadeTrajectoryGeneratorMetadatadecoding (0msrenderer block even on 5,000+ step trajectories), physical 512K borosilicate water vial (0fpsidle sleep), and seamless coexistence with standalone Pulse / Effort Slider plugins. - Smooth Streaming Thought Translator & Polisher (丝滑流式思考转译与润色) — Zero-attribute-thrash
requestAnimationFramestreaming updates, OpenAI-compatible multi-profile AI polishing, machine translation fallback, and one-click raw toggle. - 5-Pet Interactive Physics Stage (五宠刚体物理与叠叠乐图腾塔) — Rigid-body separation, leapfrog/perch encounters, 5-tier totem stacking, and 5-language UI (
zh-CN,zh-TW,yue,en,ja).
Standalone Installers / 独立安装包
- Windows (
x64):obsidian-prism-installer.exe - macOS (
Universal: Apple Silicon + Intel):Obsidian-Prism-macOS-universal.dmg
Full Changelog: https://github.com/RMvdesi/obsidian-prism/commits/v1.0.0