Repository navigation
Releases
Releases · lemingshen/Prism
Prism v1.3.0
Added
- New-User Optical Welcome Animation & Interactive 7-Step Plugin Tour:
- Added an offline animated optical-prism welcome overlay (
WelcomeTourOverlay) that launches automatically for first-time users (when no AI provider is configured yet and the tour has not been completed), showcasing Prism's core research capabilities with staggered entrance animations and fullprefers-reduced-motionsupport. - Added a 7-step live SVG
<mask>spotlight interactive tour guiding users across the sidebar header, active paper context bar, smart composer (@mentions &/skills), model/effort selector, research tools (Extraction Matrix, Reading Notes), History & Export toolbar, and Settings, with keyboard navigation (←/→/Esc), Light & Dark themes, all 6 UI locales, and on-demand replay buttons in both the sidebar welcome card and General Settings → About & Updates.
- Added an offline animated optical-prism welcome overlay (
- Multilingual In-App Update Changelogs:
- When a new version of Prism is detected, both the Startup Update Reminder popup window and General Settings → About & Updates now display a structured, color-coded What's New changelog (
Added,Fixed,Changed) automatically localized to the user's active UI language (en-US/en-GB,zh-CN,zh-HK,ja-JP,ko-KR) with graceful fallback and cached offline viewing. - Updated
scripts/build.mjsand.github/workflows/release.ymlto embed 5-language release notes fromchangelogs/localized.jsondirectly intoupdate.jsonandupdate-beta.jsonalongside a fail-silent GitHub Release API fallback.
- When a new version of Prism is detected, both the Startup Update Reminder popup window and General Settings → About & Updates now display a structured, color-coded What's New changelog (
Fixed
- Windows ↔ macOS Zotero File Sync for Chat History:
- Fixed a real-world Zotero File Sync bug where
Zotero.Sync.Storage.Local.updateSyncStateswas called with 3 arguments instead of Zotero's 2-argument(items, syncState)signature, causing a silentTypeErrorthat leftprism-chat-history.jsonmarkedIN_SYNCin SQLite and prevented Windows uploads from syncing to macOS. - Fixed on-demand attachment downloads to invoke
Zotero.Sync.Runner.downloadFile(attachment)when Zotero is in "Download files as needed" mode (to_download/force_download), wrote directly to the exact registered attachment path with an mtime bump, and added automatic self-healing for staleIN_SYNCattachments on store load. - Isolated mid-stream assistant drafts as device-local (
localOnly: true) and flushed synced storage immediately (immediate: true) upon stream completion, cancellation, or error so another device never receives a half-streamed empty message.
- Fixed a real-world Zotero File Sync bug where
Prism v1.2.10
Fixed
- Multi-Device Chat History Sync & Conflict Resolution:
- Added per-session deletion tombstones (
deletedSessions) and explicit rename timestamps (titleUpdatedAt) to Prism's conversation tree engine so deleting or renaming sessions on one device propagates cleanly across devices without resurrecting deleted sessions or losing titles to concurrent message edits. - Added deterministic merging of approval proposals and clarifications (preserving settled states over stale pending snapshots), pre-write merge guards on local saves so concurrent remote sync arrivals are never overwritten, and clean synced-cache adoption (no false conflict banner on clean reads).
- Hardened duplicate offline recovery across Attachment mode (
prism-chat-history.json), Note mode (revision-taggeddata-prism-revmulti-part chains), standalone[Prism AI Research Workspace]items, and Attachment ↔ Note storage-mode switches. - Upgraded the
Zotero.Notifierobserver and global chat search index to live-reload open sidebar panels and History windows when remote synced chat updates, media downloads, or deletions arrive (while suppressing self-written echoes and respecting active streams).
- Added per-session deletion tombstones (
- Synced Media Attachments & Complete Deletion Cleanup:
- Staged synced chat JSON and
_ai_chat_mediachild attachments (pasted images, PDF figure crops, external PDFs, AI-generated images/audio) with exact basenames, forced Zotero File Sync / WebDAV upload dirty flags (attachmentSyncState = "to_upload",updateSyncStates,updateSynced(false)), and added on-demand download support (downloadFile) for Zotero's "Download files as needed" mode plus self-healing media recovery. - Guaranteed complete removal of orphaned Zotero
_ai_chat_mediachild attachments, legacy storage media directories, and device-localprism-cache/media/files (across all extensions including.pdfand.txt) whenever a single session or full chat history is deleted locally or via remote sync.
- Staged synced chat JSON and
Changed
- Documentation Media & Visual Showcase:
- Embedded 25 product screenshots and 2× web-optimized walkthrough videos (with clean, borderless looping playback and hidden native control bars) across all 5 documentation locales (
en,zh-CN,zh-HK,ja-JP,ko-KR).
- Embedded 25 product screenshots and 2× web-optimized walkthrough videos (with clean, borderless looping playback and hidden native control bars) across all 5 documentation locales (
Prism v1.2.9
Fixed
- Inline Plots, Charts & Code Execution Image Outputs:
- Added explicit inline multimodal visual guidance (
chartJSON,mermaid,dot,svg, and$OUTPUT_DIR/ container-file rules) to Prism's static system prompt so every model (Claude, OpenAI, Gemini, DeepSeek, OpenRouter, Ollama) renders quantitative plots directly inline instead of referencing inaccessible sandbox files liketable4_bar.png. - Added automatic image artifact retrieval for server-side Code Execution / Code Interpreter containers: Anthropic Claude
bash_code_execution_tool_result(file_idviaGET /v1/files/{file_id}/contentwithanthropic-beta: files-api-2025-04-14) and OpenAI Responsescontainer_file_citation+/containers/{container_id}/filesfallback, with magic-byte MIME sniffing so generated PNG/JPEG/WebP/GIF/SVG plots display directly in chat (while safely skipping non-image artifacts). - Upgraded Prism's offline SVG grouped bar/line/area/scatter chart renderer with rounded Y-axis ticks, multi-line wrapped category labels (preventing shared-prefix truncation), bar value labels, centered auto-wrapping legends, and ECharts / Chart.js scale-title & chart-type alias parsing.
- Added explicit inline multimodal visual guidance (
Prism v1.2.8
Fixed
- Centered Citation Jump Scrolling (PDF, EPUB & Web Snapshots):
- Fixed Gecko cross-compartment
scrollIntoViewoptions failing and silently falling back to top-edge alignment (scrollIntoView(true)) when clicking inline citation badges. - Clicking any citation badge now computes the vertical midpoint across all highlighted lines, smoothly scrolls the PDF viewer container (
#viewerContainer) to center the passage on screen (with a post-navigation settle guard against Zotero's async scroll and optional horizontal centering when zoomed in), and properly clones scroll options in EPUB/Web Snapshot readers.
- Fixed Gecko cross-compartment
Prism v1.2.7
Changed
- Larger Pop-Up Settings Window:
- Increased the default Prism Settings pop-up window dimensions from
840×680to960×760and expanded.prism-settings-panemax-width (760px) for cleaner breathing room across the left navigation rail and main settings cards.
- Increased the default Prism Settings pop-up window dimensions from
Prism v1.2.6
Added
- Automatic Startup Update Check & Reminder Popup Window:
- Prism now automatically checks for new official releases ~3.5 seconds after Zotero starts (
autoCheckUpdatesenabled by default; completely non-blocking and fail-silent offline, running once per Zotero session). - When a newer version is discovered, Prism opens a dedicated, native-themed Prism Update Available popup window supporting Light & Dark themes, UI font scaling, and all 6 UI locales (
en-US,en-GB,zh-CN,zh-HK,ja-JP,ko-KR), with 1-click SHA-512 verified Install, View Release Notes, Skip This Version, Remind Me Later, and an inline toggle for automatic startup update checks.
- Prism now automatically checks for new official releases ~3.5 seconds after Zotero starts (
Prism v1.2.5
Fixed
- Settings Left-Rail Documentation Link Styling:
- Fixed the Documentation link in Prism Settings to use
.prism-prefs-nav-btnand.prism-prefs-nav-left/.prism-prefs-nav-iconalignment so it matches all other Settings navigation items seamlessly in both Light and Dark themes (instead of rendering with native Gecko default button styling), plus refined hover micro-animation and compact horizontal-bar divider support.
- Fixed the Documentation link in Prism Settings to use
Prism v1.2.4
Added
- Online Documentation Links Across Prism (Locale-Aware):
- Added an always-visible Documentation ↗ link to the Prism Settings left navigation rail and a Documentation button in General Settings → About & Updates across all 6 locales (
en-US,en-GB,zh-CN,zh-HK,ja-JP,ko-KR). - Automatically opens the matching language edition of Prism's new 5-language documentation site (
https://lemingshen.github.io/Prism/), and updated Zotero Add-ons Managerhomepage_urlto point directly to the docs.
- Added an always-visible Documentation ↗ link to the Prism Settings left navigation rail and a Documentation button in General Settings → About & Updates across all 6 locales (
Prism v1.2.3
Changed
- Settings Navigation Polish:
- Renamed the General & Persona tab to General Settings across all 6 locales (
en-US,en-GB,zh-CN,zh-HK,ja-JP,ko-KR) and moved it to the top of the Settings navigation rail (defaulting to General Settings when opening Settings).
- Renamed the General & Persona tab to General Settings across all 6 locales (
Prism v1.2.2
Added
- One-Click In-App Plugin Updates:
- Clicking Check for Updates in Settings → General → About & Updates now surfaces a direct Install vX.Y.Z button alongside Zotero Add-ons Manager fallback.
- Downloads, verifies (
SHA-512againstupdate.json), and installs the updated.xpinatively inside Zotero via Gecko'sAddonManager(addon.findUpdateswith strict HTTPS + SHA-512getInstallForURLfallback), complete with live download progress bar and an active-stream safety warning before hot-reloading Prism.