Repository navigation
Releases
Obsidian Prism v1.0.9-beta.2
Obsidian Prism v1.0.9-beta.2
English Summary
Obsidian Prism v1.0.9-beta.2 upgrades the Windows release pipeline to SignPath Foundation @v3.2 two-step code signing (test-signing verification pass before production certificate issuance) and lands a focused batch of Class-A stability, crash, telemetry, and UI fixes.
Security, Signing & Reliability
- SignPath Foundation
@v3.2Two-Step Windows Signing Pipeline: Upgraded.github/workflows/release.ymlto pinnedsignpath/github-action-submit-signing-request@v3.2(github-artifact-id+actions/upload-artifact@v7) with strict two-step signing (obsidian-prism-watcher.exesigned first, embedded into the payload, thenobsidian-prism-installer.exesigned). (Note:v1.0.9-beta.2runs the SignPathtest-signingverification policy prior to switching to the production SignPath Foundation certificate.) - Fix P0 Omni Large HTML Window Freeze (#220): Moved Ch2 Omni auxiliary preview bars and iframes into an isolated
#ag-prism-overlay-portallayer (zero mutation of React-managed containers), added post-awaitisConnectedguards, short-circuited subtreetextContentprobes (<= 12children), capped automatic HTML/SVG double-iframe preview at128 KB(manual preview button above limit), and excludedcommentable-contentinhost-i18n-runtime.js. - Prevent Windows PID-Reuse Archive Lock Deadlock: Added
archive-lock-guard.mjsand matching C# Watcher verification (20-minute TTL +node/antigravity/agyprocess-name check) so stale.archive-task-active.jsonlocks can never deadlock when Windows recycles PIDs to unrelated apps. - Clear CodeQL Alert #46: Switched
src/channels/builders-core.cjslocale serialization toserializeJsonForEval(0 OpenCodeQL alerts).
Bug Fixes & Polish
- SSH / Multi-Window 5h Quota Isolation (#199 / PR #217 + PR #219): Isolated metrics routing and quota cooldown per window/account scope (hardened with exported
clearQuotaand preserved 60sGetUserStatusTTL throttling), and retained static capsule glass skins on inactive split panes. - Accurate Multimodal PDF Context Usage (#221): Calibrated non-compacted context usage in
metrics.mjsviaMath.max(estimatedTokensUsed, chatModel.usage)so long PDF inputs are no longer underestimated. - Windows Native Titlebar Overlay Sync (#129 / PR #218): Synced
window.electronNative.setTitleBarOverlayacross theme switches, focus, and DPI resets (pure official API, zeroapp.asarchanges, clean teardown). - Chat Mode MCP Compatibility (#214): Stopped injecting deprecated tool names and dynamic MCP names into
customAgentConfig.toolNamesin Ch3sidebar-client.js. - UI, Caret, Scroll & CI Fixes: Fixed pasted-image remove button
×replaced by+(#224), fixed smooth caret left-shift before quote chips (#210), guarded against AutoScroll residualmin-heightbottom blackouts (PR #215), fixed 4px filename clipping on merged inline-diff chips (PR #222), fixed narrow-layout model selector icon alignment (PR #226), fixed bottom-right toast stacking gaps (PR #227), and fixed cross-day CI drift inhome-studio-storage-budget.test.mjs(PR #228).
中文更新摘要
v1.0.9-beta.2 正式接入 SignPath Foundation @v3.2 两步双签流水线(先跑通测试证书策略验证,验收通过后切换正式开源签名证书),并集中合入一批纯 A 类防卡死、遥测与界面修复:
- SignPath
@v3.2两步双签上线:升级release.yml至锁定 40 位 SHA 的@v3.2+github-artifact-id模式,严格先签watcher.exe、再嵌包签installer.exe(本版使用test-signing测试策略跑通验证,下一步切换正式证书)。 - 根治 P0 大型
.html触发整窗白屏卡死(#220):将 Omni 辅助工具条与 iframe 迁出 React 托管容器改走独立#ag-prism-overlay-portal、补齐await后isConnected守卫、短路大子树textContent扫描、对> 128 KBHTML/SVG 关闭自动双层 iframe 改手动按钮,并在host-i18n豁免commentable-content。 - 归档锁防 Windows PID 复用永久死锁 & 清零 CodeQL
#46:新增 20 分钟 TTL 与进程名校验(同步更新 C# Watcher),根治重启后 PID 被无关软件复用导致清理按钮卡死;builders-core.cjs改用serializeJsonForEval恢复 CodeQL0 Open。 - 多窗/SSH 5h 额度隔离与长 PDF 上下文校准(
#199/#217/#219/#221):加固吸收窗口/账号级额度隔离(补齐clearQuota导出并守住 60s RPC 节流)、非活跃分屏保留胶囊皮肤、多模态 PDF 上下文用量不再低估 5 倍。 - 多项高感知小 Bug 一并修齐:官方
setTitleBarOverlay同步修复 Windows 标题栏白块(#129/#218)、Chat 模式勾选 MCP 报错(#214)、粘贴图片移除按钮×变+(#224)、引用后平滑光标左偏(#210)、AutoScroll 残留底部黑屏(#215)、行内 diff 文件名 4px 裁剪(#222)、窄布局模型图标居中(#226)、Toast 堆叠空框(#227)及跨日测试必红(#228)。
Standalone Installers / 独立安装包
- Windows (
x64):obsidian-prism-installer.exe - macOS (
Universal: Apple Silicon + Intel):Obsidian-Prism-macOS-universal.dmg - Linux (
Portable Archive):obsidian-prism-linux-portable.tar.gz
Full Changelog: CHANGELOG.md · Commits (v1.0.9-beta.2)
Obsidian Prism v1.0.9-beta.1
Obsidian Prism v1.0.9-beta.1 (Pre-release)
Pre-release Beta Train (
v1.0.9-beta.1): First batched Beta release of thev1.0.9transition cycle. Fixes Turkish host localization settings mounting (#207), hardens Windows sidecar offline archive fast-fail & cross-platform CI parity (PR #206), and publishes thev1.0.9construction freeze zones &Ch18+reserved channel table (docs/ROADMAP.md).
v1.0.8remains the active Stable release; per release policy, Beta pre-releases do not publish an AGY Dock.zippackage (stable releases only).预发布 Beta 班车(
v1.0.9-beta.1):v1.0.9架构转轨周期首趟 Beta 班车。根治土耳其语宿主本地化设置面板不挂载问题(#207),加固 Windows sidecar 无 Watcher 离线归档快速失败与跨平台 CI 一致性(PR #206),并上线docs/ROADMAP.md施工冻结区与Ch18+通道预留表。
v1.0.8仍为当前最新正式版;按发版铁律,Beta 预发布版不构建 AGY Dock 托管.zip包。
Fixes & Cross-Platform Hardening / 缺陷修复与跨平台加固
- Turkish Host Localization Settings Mount Fix (#207, thanks @ColorTR):
- Adds
'Görünüm'tosettings-panel.jstargetTitlesand stamps a stable, locale-agnosticdata-prism-anchor="appearance"attribute invendor/host-i18n/host-i18n-runtime.jswhen translating the host Appearance heading (cleaned up symmetrically on rollback/teardown), with regression coverage intest/host-i18n.test.mjsandtest/thought-and-settings.test.mjs. - 土耳其语宿主本地化设置面板挂载双保险根治(#207,致谢 @ColorTR):为
settings-panel.js补全'Görünüm'标题匹配,并在vendor/host-i18n/host-i18n-runtime.js翻译 Appearance 标题时写入稳定锚点data-prism-anchor="appearance"(回退与卸载时自动清除),双保险根治土耳其语等宿主本地化下设置面板不挂载问题。
- Adds
- Windows Sidecar Archive Guard & Cross-Platform CI Parity (PR #206, thanks @Kaankrby):
- Adds
isWindowsHostSidecarJobObject()insrc/daemon/storage-guard-actions.mjsusingpath.win32.basenamefor identical behavior across Linux, macOS, and Windows CI runners; fails fast withWATCHER_REQUIRED_WIN32_SIDECAR(watcherRequired: trueacrossstorage-guard-actions.mjs/storage-guard-coordinator.mjs) and 9-locale guidance insrc/utils/service-messages-storage.cjswhenever a Windows host sidecar lacks an external out-of-jobobsidian-prism-watcher.exe(test/storage-archive-workbench.test.mjs). - Also includes daemon & AGY Dock cross-platform
execPathbasename and POSIX symlink CLI entrypoint hardening. - Windows Sidecar 无 Watcher 快速失败与跨平台加固(PR #206,致谢 @Kaankrby):新增
isWindowsHostSidecarJobObject()(采用path.win32.basename保证三端 CI 行为一致),在无独立外部 Watcher 时快速失败返回WATCHER_REQUIRED_WIN32_SIDECAR、透传watcherRequired并补齐 9 语种本地化引导,同步包含 daemon 与 AGY Dock 跨平台入口加固。
- Adds
Roadmap, Freeze Zones & Community Governance / 路线图、冻结区与社区治理
v1.0.9Construction Freeze Zones &Ch18+Slot Registry (docs/ROADMAP.md· Discussions #205):- Establishes the
v1.0.9transition charter ("architecture realignment + honoring pre-v1.0.8scheduled backlog PRs" under default-off + hideable tab rules); freezes new features in legacysettings-panel.js(Ch9, critical bug fixes only) ahead of the unified right-hand Prism Sidebar Dock (prismDock); documents Wallpaper (Ch7) sidebar consolidation and future official DLC decoupling for heavy themes & the 3D periodic picker; locksCh18–Ch22+reserved slots; and updates Issue/PR templates plusdocs/CONTRIBUTORS.md. - 上线
v1.0.9施工冻结区与Ch18+预留表(docs/ROADMAP.md· Discussions #205):确立v1.0.9“架构转轨 + 守诺清旧账”周期定位,宣布旧版settings-panel.js(Ch9)进入功能冻结(仅收关键修复),推进右侧统一可隐藏棱镜设置栏、Wallpaper 转正与重型主题/3D 周期表 DLC 剥离,公开锁定Ch18–Ch22+通道槽位并同步更新模板与贡献者致谢表。
- Establishes the
Standalone Installers / 独立安装包
- Windows (
x64):obsidian-prism-installer.exe - macOS (
Universal: Apple Silicon + Intel):Obsidian-Prism-macOS-universal.dmg - Linux (
Portable Archive):obsidian-prism-linux-portable.tar.gz
Full Changelog: CHANGELOG.md · Commits (v1.0.9-beta.1)
Obsidian Prism v1.0.8
Obsidian Prism v1.0.8
Obsidian Prism
v1.0.8(Stable) consolidates allv1.0.8-beta.1throughv1.0.8-beta.6milestones together with final release stabilization: a default pure-DOM 2D Flat Periodic Model Picker (Ch8, -80%+ payload, 0 resident WebGL2) with selectable 3D Keyboard Mode, full-stack Class-A 300Hz zero-degradation performance engineering & tieredlocalStorage(1.44 MB -> 68.7 KB) + IndexedDB storage, microkernel architecture (17 on-demand channelsCh2–Ch17,Ch1 < 390 KB), 9 first-class UI languages with English-primary docs & language hot-switch sync, AGY Dock managed plugin packaging (rmvdesi.obsidian-prism-v1.0.8.zip), 4-layer zero-risklanguage_servermemory governance, native Linux support, four-species pixel companions & 3D Parallax Obsidian Star Tavern Pixel Stage, Antigravityv2.34–v2.36compatibility, 10.5x faster Kaspersky-clean installers, and 35+ absorbed community PRs.Obsidian Prism
v1.0.8正式版汇总v1.0.8-beta.1至v1.0.8-beta.6全部能力与发版收口打磨:默认启用 纯 DOM 2D 扁平元素周期表模型选择器(Ch8载荷降幅超 80%、0 常驻 WebGL2)并保留可选 3D 机械键盘模式、全链路 A 类 300Hz 无损性能根治与localStorage(1.44 MB -> 68.7 KB)+ IndexedDB 分级存储、声明式微内核架构(Ch2–Ch1717 条按需通道,Ch1 < 390 KB)、英文主站点与全栈 9 语种补齐及语言热切换同步、AGY Dock 官方托管插件包(rmvdesi.obsidian-prism-v1.0.8.zip)、4 层零风控language_server内存治理、完整 Linux 原生支持、四物种像素桌宠与 3D 视差黑曜石星辰酒馆像素舞台、Antigravityv2.34–v2.36全方位兼容、卡巴斯基零误报 10.5x 安装提速,以及 35+ 项社区 PR 深度融合与安全加固。Design Provenance & License Notice / 3D 元素周期表协议归属说明:The Channel 8 3D periodic-table model picker integrated in this release originates from the author's separate design study repository RMvdesi/prism-periodic-console (
All Rights Reserved) and is implemented and released here by the original author underobsidian-prism's GPL-3.0 license.
本版包含基于原作者另一仓库 RMvdesi/prism-periodic-console(该设计稿仓库采用All Rights Reserved)视觉与交互方案在本仓库独立集成实现的 Channel 8 元素周期表模块,并按obsidian-prism的 GPL-3.0 协议开源发布。
Upgrade & Installation Notes / 升级与安装温馨提示
- Seamless Upgrade from
v1.0.7orv1.0.8-beta.1 ~ beta.6: Standalone installer users can upgrade seamlessly via in-app update or by running the newv1.0.8installer directly over the existing installation—yourconfig.json,custom.css,wallpapers/,project-partitions.json, and telemetry archives are strictly preserved.- 独立安装包用户:从
v1.0.7或v1.0.8-beta.1 ~ beta.6可通过设置面板自动/一键升级或直接运行新版安装包覆盖升级,所有用户配置、自定义样式、壁纸与归档账本均完整保留。
- 独立安装包用户:从
- Git Source Users: Run
git pull --ff-only(or click Sync in Settings → About) and restart Antigravity once so the updatedv1.0.8background daemon andsrc/**modules take over cleanly (the daemon also includes hot-upgrade ESM drift detection and graceful self-restart, #187 / PR #194).- Git 源码安装用户:执行
git pull(或在设置页点击同步)后重启一次 Antigravity 即可让新版后台守护进程与全量模块平滑接管(内置热升级 ESM 漂移自检测与优雅自启重启)。
- Git 源码安装用户:执行
- Zero-
.exeCLI Alternative & AGY Dock Package: For strict endpoint antivirus environments (e.g., Kaspersky), skip the C#.exeinstaller and deploy directly from source with zero binaries vianpm run install:plugin(node tools/install-plugin.cjs --install, Node.js >= 22 required). Managed AGY Dock users can installrmvdesi.obsidian-prism-v1.0.8.zipdirectly from Release assets.- 免
.exeCLI 安装与 AGY Dock 插件包:在严格杀软环境下可跳过.exe安装包,直接使用npm run install:plugin(node tools/install-plugin.cjs --install,零二进制、需 Node.js >= 22);AGY Dock 托管用户可直接使用本版 Release 附件rmvdesi.obsidian-prism-v1.0.8.zip。
- 免
2D Flat Periodic Model Picker (Default) & 3D Keyboard Mode (Ch8) / 默认 2D 扁平元素周期表与可选 3D 模式
- Default Pure-DOM 2D Flat Periodic Model Picker (#191):
- Expands
periodicModelPickerto a tri-state setting ("standard" | "keyboard3d" | "off", defaulting to"standard"with backward-compatible legacy alias migration acrossschema.cjs,ui-runtime.js,settings-panel.js,CdpClient.cs, andCdpClient.swift). - Splits Channel 8 conditional bundling with an independent
periodicPicker2ddisk-cache slot: the default 2D Flat Periodic Picker reduces Ch8 payload by >80% (~160 KB vs ~831 KB), spawns 0 resident WebGL2 contexts, 0 AudioContexts, and 0 continuousrAFloops, while preserving live Orchestrator sub-model badges (PR #157), dynamic model visibility, native effort-slider click passthrough, composer top prism reflection mirroring, paired drawer transitions, 4-tiermotionLevellinkage, obsidian mist tray, and astrolabe hover spotlight. Switch back to 3D Keyboard Mode (keyboard3d) anytime in Settings with symmetric hot-switch teardown. - 默认 2D 扁平元素周期表(#191):将
periodicModelPicker升级为三态(standard | keyboard3d | off,默认standard2D 扁平版并三端同步);Ch8按需分包使载荷锐减 80%+(0 常驻 WebGL2 / 0 AudioContext / 0 持续 rAF),保留实时 Orchestrator 徽标(PR #157)、4 档motionLevel联动、星盘悬停光斑、黑曜雾面托盘与冷启动点击穿透,并支持随时热切回 3D 机械键盘模式。
- Expands
300Hz Zero-Degradation Performance & Tiered Storage (Wave P3 + Class-A) / 300Hz 无损性能根治与分级存储
- Zero-Reflow Hot Paths & Runtime Bus Zero-Amplification (#151 · #189 · PR #120 · PR #126 · PR #127 · PR #130 · PR #138 · PR #153 · PR #180 · PR #182 · PR #188 · PR #192 · PR #193):
- Full Class-A 300Hz Engineering: Keeps frosted glass (
backdrop-filter), smooth GPU animations, and dual-screen background run indicators intact in defaultbalanced/qualitytiers, while lifting live mouse-sweep responsiveness from92.7 fps (max 220.0ms)to300.0 fps (max 3.6ms, 0% >4ms, 0 LongTasks)(Renderer CPU -69%, GPU -63%). - Zero Runtime
:has()/universal-via-:is/*Selectors: Expands top-level:is()selectors at compile time (230 → 0universal-via-:is,-85.93%universal rules,-58%–63%RecalcStyle), eliminates all 15:has()and 4 residual*selectors, decoupleswin-blur/resizingCSS gates todata-ag-cs-blur-p(eco-only) & direct leaf[data-ag-cs-rz="1"](eliminating35–88msfull-page recalcs, #189 / PR #193), isolatesoverview-panelbackdrop-filteronto static::before, and removes residual whole-turn /<pre>content-visibility: autooutside the bottom 16 turns. - Hot-Path Micro-Optimizations & Quiet-Idle Pruning: Eliminates
84–111mshover long frames inhost-i18n-runtime.js; isolates overlay menus in#ag-prism-overlay-portal(fixing156ms<body>invalidation); adds zero-regexsse-delta-scanner.mjswith56mscoalescing andnoThinkrejection cache (PR #130); tunes WebGL2/Canvas (OffscreenCanvasripple-worker.js,lmix()+ 3-channel TPDF anti-banding shader PR #167,TANH_LUT, gradient caches,0.5xconv glow,.cancel()opacity: 0.04switch fix); prunesdual-mascot-rig.jsquiet-sleep 10Hz evals with 0ms event wake-up; throttlesomni-client>=256highlight pruning; and addsdom-bus.replayRecords()+compile-cache-guard.mjs. - 全栈 300Hz 无损性能优化:默认档完整保留毛玻璃与 GPU 丝滑动画及双屏运行圈;鼠标扫过帧率从
92.7 → 300.0 fps(最大帧时220.0ms → 3.6ms);编译期展开顶层:is()(230 → 0)、全仓清零:has()与*通用选择器、解耦win-blur/resizing根属性消除35–88ms重算(#189/PR #193)、消除host-i18n84–111ms悬停长帧、落地 WebGL2OffscreenCanvasWorker 与线性光消色带(PR #167)、零正则同步 SSE 扫描器(PR #130)、dual-mascot静默 10Hz 剪枝与0ms唤醒,以及版本化 RPC 缓存(49 KB → 283 B)。
- Full Class-A 300Hz Engineering: Keeps frosted glass (
- Home Studio Tiered
localStorage(1.44 MB → 68.7 KB) + IndexedDB Persistence:- Extracts
src/runtime/home-studio-storage.jsimplementing 6-tierlocalStoragecompaction (<= 72,000 chars / <80 KB, cutting1.44 MB → 68.7 KB) + lossless_coldbuckets + async IndexedDB full-ledger persistence and cold-start hydration +cacheDirtywrite guard, preserving 100% of #40 historical/archived session token totals while keepingCh12within57,344 B. - Home Studio
localStorage分级瘦身 + IndexedDB:将localStorage从1.44 MB压降至68.7 KB(6 级压缩 + 无损冷桶),全量历史账本异步落盘 IndexedDB 并冷启动水合,100% 保留已删除/归档会话真实 Token 统计(#40)。
- Extracts
- Low-End Hardware Auto-Adaptation & 60Hz VSync Calibration (#95 · #123 · PR #126):
- Adds read-only zero-AV-risk hardware detection across JS / Windows C# / macOS Swift to auto-select
performancemode on low-end devices, plus 3-tierperformanceMode(balanced/performance/quality) and 60Hz VSync frame calibration. - 低配自适应与 60Hz VSync 校准:三端零风控只读硬件探测自动匹配省电档,新增三档
performanceMode并修复 60Hz 半帧与 2D 降级 CPU 尖峰。
- Adds read-only zero-AV-risk hardware detection across JS / Windows C# / macOS Swift to auto-select
Microkernel Architecture, AGY Dock Packaging & 17 On-Demand Channels / 微内核架构、AGY Dock 市场包与 17 按需通道
- **Layered Microkernel (
src/) & 17 On-Demand Chan...
Obsidian Prism v1.0.7
Obsidian Prism v1.0.7
Obsidian Prism
v1.0.7正式版汇总了自v1.0.6以来的全部 Beta 阶段迭代与最终打磨,涵盖 Smoked Obsidian 视觉打磨与桌面双宠光学交互、模块化按需加载架构与 45x 冷启动提速、思考过程与新会话标题自动翻译 / 一键诊断、中英双语 Windows & macOS 安装器与更新后自动恢复、10 个社区 PR 融合以及修复全部 CodeQL 安全告警。
Visual Polish, Desktop Companions & UX / 视觉打磨、桌面双宠与交互体验
- 统一 Smoked Obsidian 烟熏黑曜切面与细节打磨:
- 全面重塑用户消息气泡、文件变更条、Artifact 卡片与石墨键帽风格「允许执行」按钮,消除行内文件芯片双层边框,增强底部卡片二次反光与嵌套滚动条阶梯错位,上下文烧杯置顶显示并加入 80% 迟滞告警;
- 移除 Home Studio 浅色模式“头发丝”背景椭圆轨道弧线,保持首页 KPI 与热力图通透清爽;仅将子代理/后台运行中图标核心恢复为居中
7px × 2px发光短横线(主会话保持4px × 4px发光圆点); - 强化问答选项卡(
ask_question)已选选项与手写项在深浅双主题及全 Accent 下的高亮对比度(命中 Antigravity v2.34.bg-secondary.border-border),同时通过 Phase 1/2 零回流布局避让防止遮挡「提交」按钮。 - Unified Smoked Obsidian Facets & UI Polish: Refines chat bubbles, file strips, Artifact cards, keycap "Allow" buttons, single-frame chips, and pinned context vials; strips hairline orbital arcs from Home Studio; restores
7px × 2pxluminous dash cores for subagent spinners only; and boostsask_questionselected contrast & zero-reflow Submit clearance.
- 桌面双宠(Clawd & 小紫猫)防遮挡探头、棱镜环境反光、首页穿透与像素微剧场(#39):
- 接通
yieldMode: 'peek'趴边探头姿态并抬高构图(body/ 眼睛 / 猫耳上移,抓边小爪稳按输入框顶边):问答卡、排队/运行卡、斜杠菜单或模型菜单打开时自动切换peek态,严格位于棱镜边 (7) < peek 桌宠 (8) < 卡片 (12) < 菜单 (60)层级并启用pointer-events: none !important全穿透,既不被棱镜边横穿也不挡卡片点击; - 新增输入框棱镜边环境反光:鼠标靠近输入框顶边点亮棱镜光边时,联动
prism-rim-canvas热点位置、光强与 6 套调色盘/深浅主题,在桌宠像素剪影内(source-atop)投射底部漫反射与 1 格贴边反光(零溢光、不染影子、离地衰减、量化去重且绝不唤醒0fps休眠); - 修复首页新会话界面底部工具栏空白区挡住桌宠主体拖拽与点击的问题(#39);新增
0fps像素栖息地摆件、投喂彩蛋与 9 大 Slash 命令微剧场。 - Desktop Mascots Elevated
peek, Prism Rim Ambient Bounce Light, Home Pass-Through (#39) & Pixel Micro-Theaters: Elevatespeekgeometry above the prism rim (z: 8) behind overlays (z: 12+) with full pointer pass-through; addssource-atopsilhouette-contained bottom ambient rim bounce lighting synced with the 6 prism palettes while preserving0fpssleep; fixes home toolbar occlusion (#39); and adds0fpshabitat props, feeding easter eggs, and 9 slash micro-theaters.
- 接通
- 设置中心双栏重塑、全配置端到端实效与「跨模型记住推理档位」开关(#9 · #11):
- 升级为双栏大弹窗布局、10 项滑动拇指开关与 5 色光学强调圆点;新增
sidebarNavFold(侧栏导航折叠)、scrollBottomMotion(滚底动效)与独立开关effortMemory(跨模型记住推理档位,默认开启)——即使关闭「模型推理等级滑块」,仍以零 UI/零 CSS 轻量守卫跨会话记住各普通模型与 Orchestrator 的推理档位(关闭开关则 100% 退回原生无记忆行为);全部 34 项设置端到端完整生效; - 新增设置内「Beta 内容」分类与实验性功能提示横幅,将自定义背景壁纸迁入该分类明确实验定位。
- Two-Column Settings Overhaul, Independent
effortMemoryToggle (#9/#11) & Beta Tab: Redesigns settings with 10 thumb switches and 5 accent dots; addssidebarNavFold,scrollBottomMotion, andeffortMemory(defaulton, remembers per-model & Orchestrator effort even when the effort slider is off); and organizes experimental items under a clearly labeled "Beta" tab.
- 升级为双栏大弹窗布局、10 项滑动拇指开关与 5 色光学强调圆点;新增
Modular Architecture, Translation & Performance / 模块化架构、思考翻译与性能优化
- 独立按需加载模块、零-
evalLZSS 与统一磁盘缓存(冷启 45x 提速):- 将思考过程翻译(关闭态
0 B注入)、代码行内 Diff 展开预览与自定义本地静态/动态视频背景壁纸(Beta,支持JPG/PNG/WebP/GIF/AVIF/MP4/WebM、纯本机127.0.0.1流式读取、失焦/最小化/对话中0fps自动暂停与 Browser Hole 避让,默认关闭零开销)拆分为按需独立模块; - 引入 统一磁盘缓存(
.bundle-cache.json) 将跨进程冷启动编译压至~26 ms;结合零-eval同步 UTF-16 LZSS 与内置无损压缩器优化,在大幅扩充功能的前提下仍将核心主包稳守在~684 KB(低于685,000 B门禁);落地 Canvas VRAM0x0休眠回收、左栏运行态零蓝闪、右栏拖拽防风暴与 60fps 小螃蟹拖甩。 - On-Demand Modules, Zero-
evalLZSS & Unified Disk Cache (45x Cold Start): Splits Thought Translator (0 Bwhen off), Inline Diff Preview, and local static/video Wallpapers (Beta, off by default) into on-demand modules with.bundle-cache.json(~26 mscold start), Canvas VRAM0x0sleep reclamation, and the core bundle kept under685,000 B.
- 将思考过程翻译(关闭态
- 思考过程与新会话标题自动翻译、一键诊断 & 系统/手动代理(#14 · #27):
- 修复思考翻译 5 处偶发失效根因,新增零依赖异步 OS 系统代理自动检测(Windows/macOS)、手动 HTTP/HTTPS/SOCKS5 代理地址栏、可选「工具摘要批量翻译」与 5 语「一键诊断」状态灯;
- 新增可选「会话标题自动翻译」(
translateTitles,默认关闭),支持侧栏、历史列表、面包屑末段以及新会话异步生成标题的自动无损翻译(仅定向监听侧栏标题与面包屑节点,物理排除聊天流输出,自有译文写入零循环,关闭/卸载 100% 还原原标题)。 - Thought & Async New-Conversation Title Translation, 1-Click Diagnose & Proxy Support (#14/#27): Resolves 5 intermittent translator root causes; adds async OS proxy detection, manual HTTP/HTTPS/SOCKS5 proxy config, opt-in tool-summary batch translation, 5-locale 1-Click Diagnose, and opt-in
translateTitleswith targeted MutationObserver support for asynchronously generated new conversation titles (excluding chat streams, lossless restore on disable).
- 推理等级滑动条 60fps 重构与多项交互修复(#31 · #11 · #15 · #16):
- 重构推理等级滑块为缓存轨道尺寸 + 单帧
rAF合并 + GPUtranslate3d与预计算色表fillRectCanvas,消除 60fps 拖拽掉帧与回流; - 修复 React 19 多文本节点切档异常(#11)、中文界面「中等 ↔ Medium」乒乓与文字下坠闪动(#16 · #31)、右侧栏全屏挤压、深浅模式原生
<select>对比度(#15)以及/btw捕获阶段右键菜单与 v2.34 原生斜杠指令芯片双写问题(/compact/compact)。 - 60fps Effort Slider Refactor & Core Interaction Fixes (#11/#15/#16/#31): Eliminates per-frame reflows during slider drags; fixes React 19 multi-HostText switching (#11), bilingual label flicker/drop (#16/#31), side-pane maximize squeeze, native
<select>contrast (#15), capture-phase/btwmenus, and v2.34/compactdouble-insert.
- 重构推理等级滑块为缓存轨道尺寸 + 单帧
Bilingual Installers, Localization & Post-Update Resilience / 双语安装器、汉化控制与更新持久性
- Windows & macOS 安装器/托盘中英双语化 + 内置汉化即时回滚(#37):
- Windows(C# Setup / Watcher)与 macOS(Swift Setup / Watcher)全面接入
InstallerI18n,自动随系统语言切换完整英文/中文界面与日志(支持--lang en|zh与AG_PRISM_LANG覆盖),同步补齐滑块弹窗与 Pulse 面板英文文案; - 修复关闭内置汉化(
hostLocalization: 'off'或auto+ 非简体中文)时的回滚滞后与脱离复用节点漏还原问题,并在检测到外部汉化插件或app.asar汉化补丁接管时显示醒目的五语琥珀色提示条;补齐 Antigravity 内置 Swarm 宿主卡片与技能词条(#18 层 A)。 - Bilingual Win/macOS Installers, Instant Host-i18n Rollback & External Patch Notice (#37 / #18 Layer A): Localizes all C#/Swift installer wizards, tray menus, and logs with
--langoverrides; completes English UI strings; ensures instant losslesshost-i18nteardown with an amber external-patch notice pill; and adds built-in Swarm host card strings (#18 Layer A).
- Windows(C# Setup / Watcher)与 macOS(Swift Setup / Watcher)全面接入
- Antigravity 更新后持久性加固 + 修复 macOS 重开丢调试端口与新增无损启动器(#38):
- 修复 macOS「立即重开」后丢失
--remote-debugging-port=0:cdp.js与CdpClient.swift统一归一化.app路径、使用on run argv优雅退出、等待主进程/全部 Helper/SingletonLock彻底释放、剥离ELECTRON_RUN_AS_NODE并以open -na拉起;新增可选无损包装启动器~/Applications/Antigravity Prism.app(不改动/Applications/Antigravity.app签名,支持安装向导默认勾选与 CLI--create-launcher/--no-launcher); - 双端安装器与 Watcher 全面加固:实测探活
DevToolsActivePort识别死端口、放行 CompactOSWOF/ OneDriveCloud/Dedup同时真 Fail-Closed 拦截符号链接/Junction、只读清理与 PE.old绕锁失败自动回滚、精确命令行白名单防误杀无关node进程、结构化失败诊断与 macOSO_NOFOLLOW0o600原子写。 - Post-Update Persistence Hardening & macOS Relaunch / Lossless Launcher (#38): Fixes macOS relaunches dropping
--remote-debugging-port=0via normalized.apppaths, Helper/SingletonLockwaits,ELECTRON_RUN_AS_NODEstripping,open -na, and an optional signature-safe~/Applications/Antigravity Prism.applauncher; hardens Win/macOS/CLI installers against stale ports, safe reparse tags (WOF/Cloud/Dedup), file locks, and PID reuse.
- 修复 macOS「立即重开」后丢失
Community PRs & Security Hardening / 社区 PR 融合与安全加固
- 完整吸收并加固 10 个社区 PR 与关键缺陷修复:
- PR #10(@yzd05):修复 Orchestrator L1/L2 菜单悬停过快关闭与冗余 L3 子菜单;
- PR #12(@DDykarc):修复中文界面推理强度「中等 ↔ Medium」闪烁;
- PR #13(@yzd05):深化后台服务 UNC/NT 路径拦截、Fail-Closed
Host校验、内存预写 SHA-256 校验与顶层mainFrame门禁; - PR #17(@SuzumiyaHaruhi719):修复 Home Studio 外部
agPulseHost空配额时回退 Prism 自带桥接; - PR #19(@Kazaorus):修复软链 / Windows Junction 下 CLI 入口路径判定;
- PR #20 / PR #21 / PR #22 / PR #23 / PR #29(@yzd05):会话导轨独立
☰大纲入口、地平线波浪相位连续与 450ms 语义混色、跨端口用量持久化(叠加本机/Remote-SSH 隔离)、动态图标 WeakMap 与首页波纹rAF合并、浅色覆层与宿主配色子菜单可读性修复(#26); - PR #30(@zzirui321-rgb · #28):修复 Windows 200% 高 DPI 安装器裁剪;
- PR #33(@zzirui321-rgb · #32):修复 Antigravity v2.34 首页概览 Protobuf
BigInt崩溃卡骨架屏并补齐WeakRefRedux 摘要回退; - PR #35(@zzirui321-rgb · #34):阻止点击模型菜单「View Usage / 查看用量」弹层误切模型至 `Orch...
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 / 安全与质量加固
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 (