Skip to content

Releases

Obsidian Prism v1.0.9-beta.2

Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Nov 20:57
Immutable release. Only release title and notes can be modified.

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.2 Two-Step Windows Signing Pipeline: Upgraded .github/workflows/release.yml to pinned signpath/github-action-submit-signing-request@v3.2 (github-artifact-id + actions/upload-artifact@v7) with strict two-step signing (obsidian-prism-watcher.exe signed first, embedded into the payload, then obsidian-prism-installer.exe signed). (Note: v1.0.9-beta.2 runs the SignPath test-signing verification 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-portal layer (zero mutation of React-managed containers), added post-await isConnected guards, short-circuited subtree textContent probes (<= 12 children), capped automatic HTML/SVG double-iframe preview at 128 KB (manual preview button above limit), and excluded commentable-content in host-i18n-runtime.js.
  • Prevent Windows PID-Reuse Archive Lock Deadlock: Added archive-lock-guard.mjs and matching C# Watcher verification (20-minute TTL + node/antigravity/agy process-name check) so stale .archive-task-active.json locks can never deadlock when Windows recycles PIDs to unrelated apps.
  • Clear CodeQL Alert #46: Switched src/channels/builders-core.cjs locale serialization to serializeJsonForEval (0 Open CodeQL 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 clearQuota and preserved 60s GetUserStatus TTL throttling), and retained static capsule glass skins on inactive split panes.
  • Accurate Multimodal PDF Context Usage (#221): Calibrated non-compacted context usage in metrics.mjs via Math.max(estimatedTokensUsed, chatModel.usage) so long PDF inputs are no longer underestimated.
  • Windows Native Titlebar Overlay Sync (#129 / PR #218): Synced window.electronNative.setTitleBarOverlay across theme switches, focus, and DPI resets (pure official API, zero app.asar changes, clean teardown).
  • Chat Mode MCP Compatibility (#214): Stopped injecting deprecated tool names and dynamic MCP names into customAgentConfig.toolNames in Ch3 sidebar-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 residual min-height bottom 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 in home-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 KB HTML/SVG 关闭自动双层 iframe 改手动按钮,并在 host-i18n 豁免 commentable-content。
  • 归档锁防 Windows PID 复用永久死锁 & 清零 CodeQL #46:新增 20 分钟 TTL 与进程名校验(同步更新 C# Watcher),根治重启后 PID 被无关软件复用导致清理按钮卡死;builders-core.cjs 改用 serializeJsonForEval 恢复 CodeQL 0 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

Pre-release

Choose a tag to compare

@github-actions github-actions released this 29 Nov 01:22
Immutable release. Only release title and notes can be modified.

Obsidian Prism v1.0.9-beta.1 (Pre-release)

Pre-release Beta Train (v1.0.9-beta.1): First batched Beta release of the v1.0.9 transition cycle. Fixes Turkish host localization settings mounting (#207), hardens Windows sidecar offline archive fast-fail & cross-platform CI parity (PR #206), and publishes the v1.0.9 construction freeze zones & Ch18+ reserved channel table (docs/ROADMAP.md).

v1.0.8 remains the active Stable release; per release policy, Beta pre-releases do not publish an AGY Dock .zip package (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' to settings-panel.js targetTitles and stamps a stable, locale-agnostic data-prism-anchor="appearance" attribute in vendor/host-i18n/host-i18n-runtime.js when translating the host Appearance heading (cleaned up symmetrically on rollback/teardown), with regression coverage in test/host-i18n.test.mjs and test/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"(回退与卸载时自动清除),双保险根治土耳其语等宿主本地化下设置面板不挂载问题。
  • Windows Sidecar Archive Guard & Cross-Platform CI Parity (PR #206, thanks @Kaankrby):
    • Adds isWindowsHostSidecarJobObject() in src/daemon/storage-guard-actions.mjs using path.win32.basename for identical behavior across Linux, macOS, and Windows CI runners; fails fast with WATCHER_REQUIRED_WIN32_SIDECAR (watcherRequired: true across storage-guard-actions.mjs / storage-guard-coordinator.mjs) and 9-locale guidance in src/utils/service-messages-storage.cjs whenever a Windows host sidecar lacks an external out-of-job obsidian-prism-watcher.exe (test/storage-archive-workbench.test.mjs).
    • Also includes daemon & AGY Dock cross-platform execPath basename 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 跨平台入口加固。

Roadmap, Freeze Zones & Community Governance / 路线图、冻结区与社区治理

  • v1.0.9 Construction Freeze Zones & Ch18+ Slot Registry (docs/ROADMAP.md · Discussions #205):
    • Establishes the v1.0.9 transition charter ("architecture realignment + honoring pre-v1.0.8 scheduled backlog PRs" under default-off + hideable tab rules); freezes new features in legacy settings-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; locks Ch18–Ch22+ reserved slots; and updates Issue/PR templates plus docs/CONTRIBUTORS.md.
    • 上线 v1.0.9 施工冻结区与 Ch18+ 预留表(docs/ROADMAP.md · Discussions #205):确立 v1.0.9“架构转轨 + 守诺清旧账”周期定位,宣布旧版 settings-panel.js(Ch9)进入功能冻结(仅收关键修复),推进右侧统一可隐藏棱镜设置栏、Wallpaper 转正与重型主题/3D 周期表 DLC 剥离,公开锁定 Ch18–Ch22+ 通道槽位并同步更新模板与贡献者致谢表。

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

Choose a tag to compare

@github-actions github-actions released this 28 Nov 23:05

Obsidian Prism v1.0.8

Obsidian Prism v1.0.8 (Stable) consolidates all v1.0.8-beta.1 through v1.0.8-beta.6 milestones 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 & tiered localStorage (1.44 MB -> 68.7 KB) + IndexedDB storage, microkernel architecture (17 on-demand channels Ch2–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-risk language_server memory governance, native Linux support, four-species pixel companions & 3D Parallax Obsidian Star Tavern Pixel Stage, Antigravity v2.34–v2.36 compatibility, 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–Ch17 17 条按需通道,Ch1 < 390 KB)、英文主站点与全栈 9 语种补齐及语言热切换同步、AGY Dock 官方托管插件包(rmvdesi.obsidian-prism-v1.0.8.zip)、4 层零风控 language_server 内存治理、完整 Linux 原生支持、四物种像素桌宠与 3D 视差黑曜石星辰酒馆像素舞台、Antigravity v2.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 under obsidian-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.7 or v1.0.8-beta.1 ~ beta.6: Standalone installer users can upgrade seamlessly via in-app update or by running the new v1.0.8 installer directly over the existing installation—your config.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 updated v1.0.8 background daemon and src/** 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 漂移自检测与优雅自启重启)。
  • Zero-.exe CLI Alternative & AGY Dock Package: For strict endpoint antivirus environments (e.g., Kaspersky), skip the C# .exe installer and deploy directly from source with zero binaries via npm run install:plugin (node tools/install-plugin.cjs --install, Node.js >= 22 required). Managed AGY Dock users can install rmvdesi.obsidian-prism-v1.0.8.zip directly from Release assets.
    • 免 .exe CLI 安装与 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 periodicModelPicker to a tri-state setting ("standard" | "keyboard3d" | "off", defaulting to "standard" with backward-compatible legacy alias migration across schema.cjs, ui-runtime.js, settings-panel.js, CdpClient.cs, and CdpClient.swift).
    • Splits Channel 8 conditional bundling with an independent periodicPicker2d disk-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 continuous rAF loops, 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-tier motionLevel linkage, 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,默认 standard 2D 扁平版并三端同步);Ch8 按需分包使载荷锐减 80%+(0 常驻 WebGL2 / 0 AudioContext / 0 持续 rAF),保留实时 Orchestrator 徽标(PR #157)、4 档 motionLevel 联动、星盘悬停光斑、黑曜雾面托盘与冷启动点击穿透,并支持随时热切回 3D 机械键盘模式。

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 default balanced/quality tiers, while lifting live mouse-sweep responsiveness from 92.7 fps (max 220.0ms) to 300.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 → 0 universal-via-:is, -85.93% universal rules, -58%–63% RecalcStyle), eliminates all 15 :has() and 4 residual * selectors, decouples win-blur / resizing CSS gates to data-ag-cs-blur-p (eco-only) & direct leaf [data-ag-cs-rz="1"] (eliminating 35–88ms full-page recalcs, #189 / PR #193), isolates overview-panel backdrop-filter onto static ::before, and removes residual whole-turn / <pre> content-visibility: auto outside the bottom 16 turns.
    • Hot-Path Micro-Optimizations & Quiet-Idle Pruning: Eliminates 84–111ms hover long frames in host-i18n-runtime.js; isolates overlay menus in #ag-prism-overlay-portal (fixing 156ms <body> invalidation); adds zero-regex sse-delta-scanner.mjs with 56ms coalescing and noThink rejection cache (PR #130); tunes WebGL2/Canvas (OffscreenCanvas ripple-worker.js, lmix() + 3-channel TPDF anti-banding shader PR #167, TANH_LUT, gradient caches, 0.5x conv glow, .cancel() opacity: 0.04 switch fix); prunes dual-mascot-rig.js quiet-sleep 10Hz evals with 0ms event wake-up; throttles omni-client >=256 highlight pruning; and adds dom-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-i18n 84–111ms 悬停长帧、落地 WebGL2 OffscreenCanvas Worker 与线性光消色带(PR #167)、零正则同步 SSE 扫描器(PR #130)、dual-mascot 静默 10Hz 剪枝与 0ms 唤醒,以及版本化 RPC 缓存(49 KB → 283 B)。
  • Home Studio Tiered localStorage (1.44 MB → 68.7 KB) + IndexedDB Persistence:
    • Extracts src/runtime/home-studio-storage.js implementing 6-tier localStorage compaction (<= 72,000 chars / <80 KB, cutting 1.44 MB → 68.7 KB) + lossless _cold buckets + async IndexedDB full-ledger persistence and cold-start hydration + cacheDirty write guard, preserving 100% of #40 historical/archived session token totals while keeping Ch12 within 57,344 B.
    • Home Studio localStorage 分级瘦身 + IndexedDB:将 localStorage 从 1.44 MB 压降至 68.7 KB(6 级压缩 + 无损冷桶),全量历史账本异步落盘 IndexedDB 并冷启动水合,100% 保留已删除/归档会话真实 Token 统计(#40)。
  • 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 performance mode on low-end devices, plus 3-tier performanceMode (balanced / performance / quality) and 60Hz VSync frame calibration.
    • 低配自适应与 60Hz VSync 校准:三端零风控只读硬件探测自动匹配省电档,新增三档 performanceMode 并修复 60Hz 半帧与 2D 降级 CPU 尖峰。

Microkernel Architecture, AGY Dock Packaging & 17 On-Demand Channels / 微内核架构、AGY Dock 市场包与 17 按需通道

  • **Layered Microkernel (src/) & 17 On-Demand Chan...
Read more

Obsidian Prism v1.0.7

Choose a tag to compare

@github-actions github-actions released this 24 Nov 00:49

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 × 2px luminous dash cores for subagent spinners only; and boosts ask_question selected 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: Elevates peek geometry above the prism rim (z: 8) behind overlays (z: 12+) with full pointer pass-through; adds source-atop silhouette-contained bottom ambient rim bounce lighting synced with the 6 prism palettes while preserving 0fps sleep; fixes home toolbar occlusion (#39); and adds 0fps habitat props, feeding easter eggs, and 9 slash micro-theaters.
  • 设置中心双栏重塑、全配置端到端实效与「跨模型记住推理档位」开关(#9 · #11):
    • 升级为双栏大弹窗布局、10 项滑动拇指开关与 5 色光学强调圆点;新增 sidebarNavFold(侧栏导航折叠)、scrollBottomMotion(滚底动效)与独立开关 effortMemory(跨模型记住推理档位,默认开启)——即使关闭「模型推理等级滑块」,仍以零 UI/零 CSS 轻量守卫跨会话记住各普通模型与 Orchestrator 的推理档位(关闭开关则 100% 退回原生无记忆行为);全部 34 项设置端到端完整生效;
    • 新增设置内「Beta 内容」分类与实验性功能提示横幅,将自定义背景壁纸迁入该分类明确实验定位。
    • Two-Column Settings Overhaul, Independent effortMemory Toggle (#9/#11) & Beta Tab: Redesigns settings with 10 thumb switches and 5 accent dots; adds sidebarNavFold, scrollBottomMotion, and effortMemory (default on, remembers per-model & Orchestrator effort even when the effort slider is off); and organizes experimental items under a clearly labeled "Beta" tab.

Modular Architecture, Translation & Performance / 模块化架构、思考翻译与性能优化

  • 独立按需加载模块、零-eval LZSS 与统一磁盘缓存(冷启 45x 提速):
    • 将思考过程翻译(关闭态 0 B 注入)、代码行内 Diff 展开预览与自定义本地静态/动态视频背景壁纸(Beta,支持 JPG/PNG/WebP/GIF/AVIF/MP4/WebM、纯本机 127.0.0.1 流式读取、失焦/最小化/对话中 0fps 自动暂停与 Browser Hole 避让,默认关闭零开销)拆分为按需独立模块;
    • 引入 统一磁盘缓存(.bundle-cache.json) 将跨进程冷启动编译压至 ~26 ms;结合零-eval 同步 UTF-16 LZSS 与内置无损压缩器优化,在大幅扩充功能的前提下仍将核心主包稳守在 ~684 KB(低于 685,000 B 门禁);落地 Canvas VRAM 0x0 休眠回收、左栏运行态零蓝闪、右栏拖拽防风暴与 60fps 小螃蟹拖甩。
    • On-Demand Modules, Zero-eval LZSS & Unified Disk Cache (45x Cold Start): Splits Thought Translator (0 B when off), Inline Diff Preview, and local static/video Wallpapers (Beta, off by default) into on-demand modules with .bundle-cache.json (~26 ms cold start), Canvas VRAM 0x0 sleep reclamation, and the core bundle kept under 685,000 B.
  • 思考过程与新会话标题自动翻译、一键诊断 & 系统/手动代理(#14 · #27):
    • 修复思考翻译 5 处偶发失效根因,新增零依赖异步 OS 系统代理自动检测(Windows/macOS)、手动 HTTP/HTTPS/SOCKS5 代理地址栏、可选「工具摘要批量翻译」与 5 语「一键诊断」状态灯;
    • 新增可选「会话标题自动翻译」(translateTitles,默认关闭),支持侧栏、历史列表、面包屑末段以及新会话异步生成标题的自动无损翻译(仅定向监听侧栏标题与面包屑节点,物理排除聊天流输出,自有译文写入零循环,关闭/卸载 100% 还原原标题)。
    • Thought & Async New-Conversation Title Translation, 1-Click Diagnose & Proxy Support (#14/#27): Resolves 5 intermittent translator root causes; adds async OS proxy detection, manual HTTP/HTTPS/SOCKS5 proxy config, opt-in tool-summary batch translation, 5-locale 1-Click Diagnose, and opt-in translateTitles with targeted MutationObserver support for asynchronously generated new conversation titles (excluding chat streams, lossless restore on disable).
  • 推理等级滑动条 60fps 重构与多项交互修复(#31 · #11 · #15 · #16):
    • 重构推理等级滑块为缓存轨道尺寸 + 单帧 rAF 合并 + GPU translate3d 与预计算色表 fillRect Canvas,消除 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 /btw menus, and v2.34 /compact double-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 --lang overrides; completes English UI strings; ensures instant lossless host-i18n teardown with an amber external-patch notice pill; and adds built-in Swarm host card strings (#18 Layer A).
  • Antigravity 更新后持久性加固 + 修复 macOS 重开丢调试端口与新增无损启动器(#38):
    • 修复 macOS「立即重开」后丢失 --remote-debugging-port=0:cdp.js 与 CdpClient.swift 统一归一化 .app 路径、使用 on run argv 优雅退出、等待主进程/全部 Helper/SingletonLock 彻底释放、剥离 ELECTRON_RUN_AS_NODE 并以 open -na 拉起;新增可选无损包装启动器 ~/Applications/Antigravity Prism.app(不改动 /Applications/Antigravity.app 签名,支持安装向导默认勾选与 CLI --create-launcher / --no-launcher);
    • 双端安装器与 Watcher 全面加固:实测探活 DevToolsActivePort 识别死端口、放行 CompactOS WOF / OneDrive Cloud / Dedup 同时真 Fail-Closed 拦截符号链接/Junction、只读清理与 PE .old 绕锁失败自动回滚、精确命令行白名单防误杀无关 node 进程、结构化失败诊断与 macOS O_NOFOLLOW 0o600 原子写。
    • Post-Update Persistence Hardening & macOS Relaunch / Lossless Launcher (#38): Fixes macOS relaunches dropping --remote-debugging-port=0 via normalized .app paths, Helper/SingletonLock waits, ELECTRON_RUN_AS_NODE stripping, open -na, and an optional signature-safe ~/Applications/Antigravity Prism.app launcher; hardens Win/macOS/CLI installers against stale ports, safe reparse tags (WOF/Cloud/Dedup), file locks, and PID reuse.

Community PRs & Security Hardening / 社区 PR 融合与安全加固

  • 完整吸收并加固 10 个社区 PR 与关键缺陷修复:
    • PR #10(@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 崩溃卡骨架屏并补齐 WeakRef Redux 摘要回退;
    • PR #35(@zzirui321-rgb · #34):阻止点击模型菜单「View Usage / 查看用量」弹层误切模型至 `Orch...
Read more

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