Skip to content

Releases

Obsidian Prism v1.0.7-beta.1

Pre-release

Choose a tag to compare

@github-actions github-actions released this 22 Nov 01:41

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 sidebarNavFold and scrollBottomMotion, bringing all 33 settings to full end-to-end effect (parent-child sync, true 0fps motion-off, and 180Hz unlock).
  • 行内 Diff 预览 & 双吉祥物像素微剧场:新增代码变更行内 Diff 预览能力;桌面双吉祥物新增 0fps 像素栖息地摆件、投喂彩蛋与 9 大 Slash 命令微剧场。
    • Inline Diff Preview & Dual-Mascot Pixel Micro-Theaters: Introduces inline diff previews for file edits alongside 0fps pixel habitat props, feeding easter eggs, and 9 slash-command micro-theaters for the desktop companions.

Architecture & Performance / 架构瘦身与极致性能(Channel 5/6 · 6 通道磁盘缓存 · 零-eval LZSS)

  • Channel 5 / Channel 6 按需拆分与零-eval LZSS 瘦身:将思考转译拆出为独立 Channel 5(关闭态默认 0 B 注入,支持热插拔),将行内 Diff 预览拆出为独立 Channel 6;结合零-eval 同步 UTF-16 LZSS 压缩,将 Channel 1 静态主包稳守在 ~681 KB(远低于 704 KB 红线)。
    • On-Demand Channel 5/6 Split & Zero-eval LZSS: Extracts Thought Translator into on-demand Channel 5 (0 B injected when off, hot-pluggable) and Inline Diff Preview into Channel 6; paired with zero-eval synchronous UTF-16 LZSS compression, keeping Channel 1 around ~681 KB (well below the 704 KB ceiling).
  • 6 通道统一磁盘缓存(冷启动提速 45x)与全链路零空转:引入 6 通道统一磁盘缓存(.bundle-cache.json),跨进程冷启动编译降至 ~26 ms;同步落地 Canvas VRAM 0x0 休眠回收、左栏运行中会话悬停零蓝闪、右栏拖拽防风暴、小螃蟹 60fps 拖甩、Daemon 空闲零空转及跨平台 C#/Swift 监控器同步。
    • Unified 6-Channel Disk Cache (45x Cold Start) & Zero-Idle Runtime: Adds .bundle-cache.json cutting cross-process cold-start builds to ~26 ms; adds 0x0 Canvas 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.

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).
  • 模型选择器、推理滑块与双语稳定性修复:修复 Orchestrator 模型选择器 L1/L2 悬停过快关闭与冗余 L3 子菜单(PR #10);修复 React 19 多文本节点推理强度滑块切换异常(#11)及中文界面下「中等 ↔ Medium」乒乓闪烁(PR #12、#16)。
    • Fix Orchestrator Submenu, React 19 Effort Slider & Bilingual Ping-Pong: Fixes premature L1/L2 close and redundant L3 submenu in Orchestrator (PR #10), multi-text-node effort switching in React 19 (#11), and Chinese "中等 ↔ Medium" flicker (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 & /btw Foundation: 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 external agPulseHost returns empty quotas (PR #17), and ships /btw side-question fundamentals (full-scene conversation context menu and manual proxy input for Thought Translator are slated for the next release).

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 Host checks, in-memory pre-write SHA-256 verification, cross-origin apiKey reuse prevention, and strict top-level mainFrame gating.
  • 行内 Diff RPC 安全边界与输入法/异常容错:行内 Diff RPC 强制校验 Git 仓库边界,实施 .git gitfile/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 .git gitfile/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.

Acknowledgements / 社区致谢(Community Credits)

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

Choose a tag to compare

@github-actions github-actions released this 21 Nov 13:49

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), 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 失联 P0 Bug:修复 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);修复遥测栏子代理文字截断、排队消息按钮 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 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 / 社区致谢

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

Choose a tag to compare

@github-actions github-actions released this 21 Nov 06:47

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, 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 与正则多项式回溯隐患,三路红队审计发现的 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.

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

Choose a tag to compare

@github-actions github-actions released this 21 Nov 04:15

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-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.

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

Choose a tag to compare

@github-actions github-actions released this 21 Nov 00:19

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 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 (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 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).

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

Choose a tag to compare

@github-actions github-actions released this 20 Nov 18:31

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 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 third channel, 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-patching 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 去重为 <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), applies decoding="async" / loading="lazy" to images, pauses ambient/shimmer animations 1.2s after window blur with 0ms instant wake on focus/input, skips style reads and postMessage for collapsed/hidden Sidecar iframes (syncing via ResizeObserver on reveal), short-circuits sealed <pre> code-block scans, and reclaims idle ag-v2-chroma-fx particle canvases to 0×0 to free GPU memory.
  • 后台遥测引擎与 Daemon 内存/轮询瘦身:vendor/pulse-dashboard/ 改用持久化 HTTP Keep-Alive 连接池(maxSockets: 2)并在 GetCascadeTrajectoryGeneratorMetadata 默认传入 includeMessages: false;TrajectoryJson 为被 Schema 丢弃的超大字段引入零分配丢弃快路径;多级内存与轮询预算全面收紧(trajectory-reader 4 MiB、store 32 会话 LRU 并保护处理中后台任务、delegated-usage 2 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) with includeMessages: false, adds a zero-allocation discard fast path in TrajectoryJson, tightens memory/polling budgets (4 MiB reader, 32-session LRU protecting active background jobs, 2 MiB delegated usage, 48 MB / 32 MB worker old-space caps with OOM diagnostics), trims translator in-memory cache to 400 entries, and releases idle telemetry clients in Daemon after 120s (or when telemetryModule === 'off').
  • 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): Bounds lastKnownById (<= 2000) and deleted tombstones (<= 1000 / 5m TTL), adds deterministic timestamp parsing and render-signature DOM diff skipping in sidebar-client.js, and adds interface-safe minifyGlsl local-identifier shortening, safe 6-to-3 hex CSS compaction, compact 5-language dictionaries, and integer SVG coordinates—bringing the default static bundle down to 678,046 B (662.15 KiB) with +8,034 B headroom.

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.mjs to 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 custom baseUrl values outright rather than silently falling back to api.openai.com with third-party credentials.
  • 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-action Buffer.byteLength payload caps (128 KiB / 12 MiB), and client setPrefValue(s) rejection; enforces fail-closed Chat message send/creation isolation and zero-listener disabled state in sidebar-client.js; hardens sandboxRoot verification, blocked import extensions, prototype-pollution filtering, and zero-shell native picker invocations.
  • 双端安装器、归档器与守护进程文件系统安全加固: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 (replacing cmd.exe) in Program.cs; hardens conversation-archive.mjs with full-platform language_server / host process detection (fail-closed on query error), strict CLI numeric validation, symlink-chain rejection, and 0o700 helper scripts; aligns main.mjs, install-plugin.cjs, and cdp.js on O_EXCL ('wx') atomic writes, 0o600 permissions, and symlink defenses.
  • Workbench、Omni、Host Bridge 硬化与 CodeQL 清零:workbench/server.cjs 补齐 `fs.r...
Read more

Obsidian Prism v1.0.1

Choose a tag to compare

@github-actions github-actions released this 18 Nov 06:07

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+ sidePanelV2 panelScope 签名)。
    • 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 native defaultLinkOpenTarget, in-page search, and confirmation modals, while routing bare URLs, localhost ports, and translated links into native resizable, multi-tab closable host Browser Tabs (wcvBrowser isolated views with browser-hole-ancestor transparent viewport pass-through and v2.33.0+ panelScope compatibility).
  • 零悬停干扰纯右键操作菜单:日常阅读保持零悬停浮条干扰,仅在右键点击(contextmenu)裸链接、文件药丸、Artifact 卡片、代码块路径头或 Mermaid 图表时弹出操作菜单,支持内外部浏览器/检视台打开、在文件夹中定位选中、复制绝对/相对路径、作为 @引用 填入输入框及 Mermaid 图表无损缩放。
    • Right-Click Context Menu (Zero Hover Clutter): Keeps reading surfaces free of hover toolbars; surfaces actions strictly on contextmenu over 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 @mention into composer, and zoom Mermaid diagrams).
  • 本地 127.0.0.1 流式媒体网关与超限文件自动接管检视台:内置仅绑定本地回环接口的随机令牌鉴权 HTTP 206 Range 流式网关,对宿主正常支持的 <= 200MB 音视频及原生 CSV/PDF/HTML 预览 100% 礼让官方预览器,仅当宿主右侧边栏报体积超限(> 20MB / > 200MB)或无预览时自动原位接管为五大流式检视台(切回正常文件自动卸载还原):① 大体积视频逐帧步进(1/30s)、倍速、A-B 区间循环与当前帧无损 PNG 截图;② 音频实时波形渲染与毫秒级时间码打点;③ SVG 与透明图像棋盘格无损缩放画布及 1x/2x/4x PNG 光栅化导出;④ 本地 HTML 响应式视口沙盒与 PDF 原生流式阅读;⑤ CSV/TSV/JSONL 冻结表头检索排序分页与 TTF/OTF/WOFF2 字体多字号瀑布流样张预览。
    • Loopback HTTP 206 Range Streaming Gateway & Unsupported-File Auto-Upgrade: Adds a loopback-only (127.0.0.1) token-authenticated streaming server that yields cleanly to native host viewers (<= 200MB media, CSV, PDF, HTML, images) and automatically upgrades > 20MB / > 200MB size-limit or unsupported views in-place into five workbenches: (1) frame-stepped (1/30s) large video inspection, A-B loop, and lossless PNG frame capture; (2) real-time audio waveform rendering with millisecond markers; (3) checkerboard SVG/transparent-image zoom canvas with 1x/2x/4x PNG export; (4) responsive local HTML sandboxes and streaming PDF reader; (5) frozen-header CSV/TSV/JSONL table search/sorting/pagination and TTF/OTF/WOFF2 font waterfall specimens.
  • CSS.highlights 零 DOM 篡改逐词水墨羽化流式淡入与裸链接激活:采用 CSS Custom Highlight API 实现主对话与原生思考流的五级 ::highlight(ag-stream-f0..f4) 逐词水墨羽化淡入(配合思考转译 Smooth Token Pacer 柔焦步进引擎,完结即归零至 0fps),并无损激活对话与终端内的裸 http(s)://、localhost 端口与本地文件路径,零 replaceChild 节点拆分,100% 保持宿主 React 19 HostText 节点完整。
    • 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 to 0fps on completion), while activating bare URLs, localhost ports, and local file paths without splitting or detaching host React 19 HostText nodes.
  • 宿主深水区适配、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 (>= 48 lines), conversation rail outline filtering with Alt+↑/↓ navigation, and three-state 0fps semantic 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; adds file:// line-number jump pills, keyless local LLM endpoints, concurrency queuing, and full native Sidecar plugin deployment in Windows/macOS installers.

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.js into a compact microkernel orchestrating 6 independent controller modules.
  • 全局共享字符串池编译与双通道动态注入: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.js with a cross-module shared string pool (reclaiming 0x00B8 contiguous 2-byte UTF-8 slots), GLSL minification, lexically safe minifyCss, and generalized static string-array folding (669.71 KiB < 670 KiB static main bundle, plus second-channel Omni client injection); reduces warm config refresh builds to < 3.6ms and enforces ~30fps steady-state throttling with 0fps idle sleep on 300Hz displays.
  • 零视觉损全链路交互与长链深度性能优化(侧边栏悬停/长展开工具链/流式/切会话全面提速):通过运行时 CSS 扁平化编译与展开工具链行级 content-visibility: auto 跳过 70%+ 屏外步骤行(12,000+ 节点重排耗时较优化前降一个数量级,比原生快 2.5×–3.4×);smooth-caret.js 用零重排纯 DOM Range 替代 Selection.isCollapsed 根除 190–475ms 同步布局;ui-runtime.js 落地两阶段 FastDOM、runGuardedMut 自激排空、侧边栏悬浮卡 [data-hover-card-popup] 入口短路、流式运行期 96ms 低优合批+高优即时抢占及 140ms 切会话安静跑道;prism-rim-canvas.js 实现先测后插与远离零 rAF farIdle 短路;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: auto on expanded tool-call chains (skipping 70%+ offscreen step rows for 2.5×–3.4× faster recalc than native on 12k-node sessions); replaces forced-layout Selection.isCollapsed with pure-DOM Range reads in smooth-caret.js (eliminating 190–475ms sync layout); introduces strict two-phase FastDOM, runGuardedMut MO draining, [data-hover-card-popup] short-circuiting, 96ms streaming low-priority batching with instant high-priority preemption, and a 140ms conversation-switch quiet runway in ui-runtime.js; adds measure-before-mutate and zero-rAF farIdle short-circuiting to prism-rim-canvas.js; cuts checkVisibility and observer overhead across conv-aura.js, thought-client.js, and upstream-client.js, backed by 16 automated regression guards in test/perf-optimizations.test.mjs.
  • 长会话运行态零损性能优化与思考缓存零阻塞重构(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): Implements O(1) caching and strict DOM write/read phase separation across all runtime modules (smooth-caret fast-path selection gating, two-phase prism-rim-canvas geometry reads, conflict-free shared CSS.highlights buckets, and external Pulse re-injection deadlock prevention); overhauls Thought Translator storage caching with checkVisibility() hidden-ancestor ghost-DOM suppression, 800px viewport-band lazy hydration on captured scroll, O(1) folded-preload regex/hash elimination, L1 hot-window idle-debounced flushes, first-frame persisted custom style-tag hits, and Daemon single-flight async atomic disk writes—delivering a 52.5× streaming frame-rate boost (3.30ms P50 frame interval, 0.00ms forced synchronous layout, and 74.5% lower task time under full cache) in 34k+-node sessions.
  • 遥测引擎对齐 v0.9.1、饱满光学配额条与 1:1 原版像素点阵滑块:vendor/pulse-dashboard/ 对齐上游 ATtacK030130/antigrative-dashboard v0.9.1(MIT),重塑饱满实心光学渐变配额条,支持主会话与 Swarm/子代理 Token 消耗拆分、Cache 命中率与基于 CDP 进程族谱的多实例归属;Windows 平台采用 NtQueryInformationProcess 零 WMI 内核直读快车道(< 520ms),内置胶囊采用独立 #ag-prism-pulse-bar 宿主标识并在新建会话首页自动隐退,上下文试管卡片收敛为黄金紧凑比例且右边界向内对齐主输入框;推理等级滑块 1:1 忠实还原原版 Claude / Gemini 高对比像素方块点阵、档位刻度圆点与 High 档发光细边框,并支持 mono 纯银钛与全局动效档位联动。
    • Telemetry v0.9.1 Alignment, Solid Optical Quota Bars & 1:1 Pixel-Matrix Effort Slider: Aligns vendor/pulse-dashboard/ with ATtacK030130/antigrative-dashboard v0.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-WMI NtQueryInformationProcess fast path on Windows (< 520ms), dedicated #ag-prism-pulse-bar host 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, and High-tier luminous border rendering on the effort slider.
  • 冗余配置键与遗留文件清理:清退 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...
Read more

Obsidian Prism v1.0.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 03:13

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 VSync up 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 GetCascadeTrajectoryGeneratorMetadata decoding (0ms renderer block even on 5,000+ step trajectories), physical 512K borosilicate water vial (0fps idle sleep), and seamless coexistence with standalone Pulse / Effort Slider plugins.
  • Smooth Streaming Thought Translator & Polisher (丝滑流式思考转译与润色) — Zero-attribute-thrash requestAnimationFrame streaming 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