Commit graph

18 commits

Author SHA1 Message Date
delibae
95c4072ec1 chore: fix all lint and formatting issues (biome check)
- Fix unused imports and variables
- Apply biome formatting (template literals, semicolons, line width)
- Fix a11y issues (label associations, anchor content)
- Fix Node.js import protocol (node:fs, node:path)
- Use self.onmessage in web worker

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:04:36 +09:00
Minsoo Kim
db97ea59ad fix: resolve black screen on app switch (macOS M1)
Add visibility/focus recovery to prevent black screen when returning
from another app. When macOS reclaims GPU/WebView resources during app
switching, canvas contexts are silently invalidated. This adds:

- visibilitychange + Tauri Focused event listeners in main.tsx
- Canvas blank detection and auto-re-render in mupdf-page.tsx
- IntersectionObserver reconnection via focusGen in pdf-viewer.tsx
- MuPDF worker error recovery and resetMupdfClient() in mupdf-client.ts
- Cmd+Shift+D debug panel keyboard shortcut
2026-03-16 16:31:53 +09:00
delibae
08e54f263d feat: add auto-updater and fix macOS black screen on focus loss (v1.0.1)
- Add tauri-plugin-updater with signed update artifacts
- Add backgroundThrottling: disabled to prevent WKWebView black screen
- Add update check UI with toast notifications (sonner)
- Update build scripts to generate latest.json for GitHub Releases
- Add multi-platform CI workflow (macOS/Linux/Windows) with draft releases
- Bump version to 1.0.1

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 13:16:39 +09:00
delibae
03bec2ac2b fix: resolve Dependabot security alerts for undici, flatted, and hono
Add pnpm overrides to bump transitive dependencies to patched versions:
- undici >=7.24.0 (fixes CVEs for WebSocket, CRLF injection, request smuggling)
- flatted >=3.4.0 (fixes unbounded recursion DoS)
- hono >=4.12.7 (fixes prototype pollution via __proto__)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 00:07:07 +09:00
delibae
95ae9b49a7 fix: update pnpm-lock.yaml after covector removal
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 02:07:27 +09:00
delibae
27319367a6 feat: add initial release notes and improve package overrides for dependencies 2026-03-10 21:07:19 +09:00
delibae
cad77ba71b feat: add ErrorBoundary with fallback component for better error handling 2026-03-10 20:17:35 +09:00
delibae
303235419f Refactor code structure for improved readability and maintainability 2026-03-07 22:39:18 +09:00
delibae
5f1b6fb06b chore: setup covector and bump version to v0.4.0
- Add covector config and CI workflow for automated versioning
- Bump all package versions to 0.4.0
- Add .changes/ directory with README for change management

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 17:36:21 +09:00
delibae
c2234ba7e8 test: add test infrastructure with Vitest (frontend) and Rust unit tests
Set up Vitest with jsdom environment and Tauri mocks for frontend testing.
Add 44 frontend tests covering Zustand stores (claude-chat, project, proposed-changes,
template) and lib utilities (template-registry, file type classification).
Add 48 Rust unit tests across zotero (OAuth helpers), slash_commands (markdown parsing),
latex (error extraction, SyncTeX parsing), and claude (session dir encoding, message
title cleaning). Update README with test commands.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 15:08:22 +09:00
delibae
610917d677 Refactor code structure for improved readability and maintainability 2026-02-24 23:02:57 +09:00
delibae
5b3518b3cd feat: implement drag-and-drop functionality in sidebar with native file drop support
- Added dnd-kit for drag-and-drop interactions in the sidebar.
- Integrated native OS file drop handling using Tauri's onDragDropEvent.
- Enhanced file and folder movement logic to support drag-and-drop.
- Updated sidebar to display active drag items with a drag overlay.
- Introduced Droppable components for root and folder targets.
- Improved file type handling to include PDF files.
- Added unique filename generation for imported files to avoid conflicts.
- Implemented history snapshots before and after Claude edits.
- Created a new history store for managing snapshots and diffs.
- Updated document store to support file and folder movement.
2026-02-22 03:09:02 +09:00
delibae
bc3df82f01 feat: Rename project from Open-Prism to ClaudePrism and update related configurations 2026-02-21 04:07:08 +09:00
delibae
6adac08494 feat: Implement proposed changes management for LaTeX files
- Added `useProposedChangesStore` to track changes made by Claude.
- Integrated proposed change registration in `useClaudeEvents` for LaTeX file modifications.
- Updated `handleComplete` to refresh files and auto-recompile if LaTeX files were modified.
- Enhanced `document-store` to support folder creation and file import functionality.
- Improved file type detection in `fs.ts` to include style files and ignore LaTeX build artifacts.
- Created a new `synctexEdit` function in `latex-compiler.ts` for synchronization with LaTeX edits.
- Updated project overview documentation to reflect new features and architecture.
2026-02-21 03:04:34 +09:00
delibae
b2ef194899 Refactor desktop application to integrate Claude chat functionality
- Removed outdated assistant UI components and dependencies from package.json and pnpm-lock.yaml.
- Introduced new Claude chat components including ChatComposer, ChatMessages, and ClaudeChatDrawer for enhanced user interaction.
- Updated App component to utilize the new Claude chat functionality, replacing the previous assistant UI.
- Added markdown rendering capabilities for chat messages and tool widgets to improve content display.
- Enhanced the overall structure and organization of the chat-related components for better maintainability.
2026-02-20 17:28:08 +09:00
delibae
e4b86097bb Update pdfjs-dist dependency and enhance ProjectPicker component
- Upgraded pdfjs-dist from version 4.10.38 to 5.4.296 in package.json and pnpm-lock.yaml.
- Added functionality to create a new LaTeX project with a default template in the ProjectPicker component.
- Introduced new icons and buttons for project management, improving user interaction.
2026-02-20 15:58:06 +09:00
delibae
aafcbce9ef Enhance desktop application setup with new components and configurations
- Updated package.json to include new filters for development scripts and added built dependencies for pnpm.
- Introduced a new desktop application with essential files including index.html, package.json, and configuration files (postcss, tsconfig, vite).
- Added core components for the desktop app, including App, ProjectPicker, AssistantPanel, and UI elements like Button, Input, and DropdownMenu.
- Integrated Tauri plugins for file handling and dialog interactions.
- Enhanced Turbo configuration to include additional output paths for builds.
- Updated pnpm-lock.yaml to reflect new dependencies and versions for the desktop application.
2026-02-20 15:27:06 +09:00
delibae
c543c0b263 Initialize from https://github.com/assistant-ui/open-prism 2026-02-20 14:20:40 +09:00