6 Commits
Author SHA1 Message Date
adnaan 7baf572481 feat: upgrade Electron to 43.6.0, replace extract-zip with @electron-internal/extract-zip, and remove obsolete patches 2026-09-04 18:21:22 +08:00
adnaan 955ffa5319 feat: add markup text extraction service and tests
- Implemented `htmlToText` and `stripXmlTags` functions for extracting plain text from HTML and XML.
- Added unit tests for markup text extraction to ensure proper functionality and handling of edge cases.

refactor: change McpAuthStore to use IIFE pattern

- Refactored `McpAuthStore` from a namespace to an IIFE for better encapsulation and clarity.
- Updated all function exports to be private within the IIFE.

fix: improve type handling in McpClient and McpOAuthCallback

- Adjusted type casting for accessing private properties in `McpClient`.
- Refactored `McpOAuthCallback` to use IIFE pattern for better structure.

fix: enhance error handling in EmotionAdapter and TerminalManager

- Added comments to catch blocks to clarify error handling intentions.
- Improved error handling in terminal-related classes to ensure graceful degradation.

style: clean up variable declarations and improve readability

- Changed `let` to `const` where applicable for better immutability.
- Removed unnecessary semicolons and improved formatting for consistency.

test: add tests for security patches and post-install scripts

- Created tests for dependency security patches to ensure proper handling of symlinks.
- Added tests for Visual Studio environment activation to validate shell command execution.

chore: update various components for better performance and maintainability

- Refactored components and services to improve code quality and maintainability.
- Updated comments and documentation for clarity and better understanding.
2026-09-04 17:32:30 +08:00
adnaan 35919ee490 refactor: optimize metadata signature handling to improve performance and reduce unnecessary serialization 2026-08-20 22:30:18 +08:00
adnaan c5eadaf835 feat: add support for bundled Node-API prebuilds in node-pty during native module rebuild 2026-08-20 11:28:31 +08:00
adnaan 38700db690 feat: add pnpm workspace configuration and postinstall script for Electron native module rebuilding 2026-07-20 21:26:18 +08:00
kerwin cc638695e0 chore: update postinstall script for improved WASM asset handling
- Replaced the existing postinstall command in package.json with a new script located in scripts/postinstall.js.
- Added functionality to handle WASM assets and native module rebuilds for Electron in the new postinstall script.
2026-07-20 17:34:02 +08:00