Commit Graph
33 Commits
Author SHA1 Message Date
yctimlin 381bc98bff refactor: improve type safety in Mermaid integration
- Replace all `any` types with proper Excalidraw types
- Add proper type imports from @excalidraw/excalidraw
- Improve MermaidConversionResult interface with ExcalidrawElement[] and BinaryFiles
- Add mermaidDiagram and config fields to WebSocketMessage interface
- Remove unused ElementBinding interface
- Remove all `as any` type casts throughout App.tsx
- Fix Vite security vulnerability (1 of 6 moderate vulns)

Changes:
- frontend/src/App.tsx: Restored proper TypeScript types, removed 12+ `as any` casts
- frontend/src/utils/mermaidConverter.ts: Added proper return types
- package-lock.json: Updated vite to fix security issue

Remaining security issues:
- 5 moderate vulnerabilities from @excalidraw/mermaid-to-excalidraw dependencies
- These are upstream issues in dompurify, nanoid, and mermaid packages
- No fixes available without major version upgrades
- Risk is acceptable for this use case (diagram rendering)
2025-11-08 00:34:25 +08:00
yctimlinandGitHub 27a7c65b55 Merge pull request #31 from frNNcs/feature/mermaid-integration
Add Mermaid Diagram Integration to MCP Excalidraw
2025-11-07 23:02:26 +08:00
yctimlinandGitHub cfb2ada4f4 Merge pull request #30 from yctimlin/docker-update
Docker update
2025-11-01 17:21:12 +08:00
yctimlin 7bb804945b Update Vite configuration to set project root and adjust build output directory 2025-11-01 08:51:35 +00:00
yctimlin 2c510c500d Refactor GitHub Actions workflow to always push Docker images and improve tag handling for pull requests 2025-11-01 07:06:01 +00:00
yctimlin 5fdfed92b6 update ci pipeline 2025-10-31 17:40:52 +00:00
yctimlin 6b0aa01ab0 update pipeline 2025-10-31 17:35:31 +00:00
yctimlin 5d6b8d0033 Add comprehensive GitHub Actions CI/CD workflows and update documentation 2025-10-31 17:00:48 +00:00
yctimlin 4cfe5ce1fc update readme 2025-10-31 16:47:43 +00:00
yctimlin 07f7b20be0 update readme 2025-10-31 16:21:19 +00:00
yctimlin e72dc1e3e0 update docker files 2025-10-31 16:07:51 +00:00
yctimlinandGitHub 5d28ec4256 Merge pull request #28 from kweinmeister/main
feat: add configuration option for log file path
2025-10-20 00:57:44 +08:00
yctimlin 8f8c395858 Fix group_elements to append instead of replace groups 2025-10-18 22:59:31 +08:00
yctimlin cb70a5cc6d Fix group_elements and ungroup_elements operations 2025-10-18 22:23:40 +08:00
yctimlin 5043a67385 Refactor project structure and enhance TypeScript support
- Updated package.json to point to compiled TypeScript files in the dist directory.
- Improved TypeScript configuration with stricter type checks and removed JavaScript support.
- Migrated frontend entry point to TypeScript and added a new App component with enhanced functionality.
- Implemented a new server structure with TypeScript, including WebSocket support and improved element management.
- Updated README to reflect changes in architecture and usage instructions.
- Added comprehensive type definitions for Excalidraw elements and server responses.
2025-08-20 15:31:42 +00:00
yctimlin fcd3cc077a add docs 2025-08-20 15:04:16 +00:00
yctimlin a07a53c22a update logging messages 2025-08-07 16:11:22 +00:00
yctimlin 661d343b18 update readme 2025-07-12 10:36:24 +00:00
yctimlin aa605b3bed fix bug of text element 2025-07-12 09:54:18 +00:00
yctimlin 86232d9c94 fix text label bugs 2025-07-12 09:01:51 +00:00
yctimlin afa145bd73 update readme 2025-07-12 07:56:06 +00:00
yctimlin 542e3f149f update dockerfile 2025-07-12 07:38:35 +00:00
yctimlin 898952e359 update version 2025-07-12 06:20:34 +00:00
yctimlin 4f9546de76 Improve frontend error handling in server.js 2025-07-12 05:32:12 +00:00
yctimlin 4acb2e67f8 Enhance build process and add TypeScript configuration
- Update package.json to include separate build scripts for frontend and types, and add a build server script.
- Introduce tsconfig.json for TypeScript configuration, enabling declaration files and source maps.
- Add TypeScript and Node types as development dependencies.
- Include TypeScript declaration files in the package distribution.
2025-07-12 05:18:01 +00:00
yctimlin cb743c6a1e Add MIT License, update project name and description in package.json, enhance README.md with installation instructions, and modify index.js for CLI support
- Introduce LICENSE file with MIT License details.
- Change project name to 'mcp-excalidraw-server' and update description in package.json for clarity on features.
- Revise README.md to include new installation options and usage instructions for the npm package.
- Add shebang to index.js for direct CLI execution.
2025-07-11 19:52:18 +00:00
yctimlin 31c0dbd2d1 Add integration instructions for Cursor in README.md, including configuration details for mcp.json file and setup steps for users. 2025-05-12 23:20:49 +08:00
yctimlin 2c22953542 Update README.md to announce the release of version 1.0.0 on npm, enhance npx usage instructions, and add command-line options for server configuration. Include details for global installation and local development setup. 2025-05-12 23:16:28 +08:00
yctimlin 7f4bcd587a Update logger configuration to enhance timestamp formatting and adjust transport settings. Change console transport to log only warnings and errors, and add file transport for all log levels. 2025-05-12 23:11:00 +08:00
yctimlin d015c516e0 Refactor error handling and logging to use process.stderr for better output management. Disable color codes in JSON parsing to prevent issues. Update logger configuration for improved clarity in log outputs. 2025-05-12 23:03:29 +08:00
yctimlin 110bb19642 support npx 2025-05-12 22:27:24 +08:00
yctimlin 7a72c187a6 Enhance README.md with comprehensive features and usage details for Excalidraw MCP server. Updated sections for integration, installation, and examples to improve clarity and developer experience. 2025-03-16 22:45:52 +08:00
yctimlin 860e905b56 Initialize Excalidraw MCP server with essential files including Docker setup, environment configuration, and logging. Added core functionality for element manipulation and server operations. 2025-03-16 21:52:02 +08:00