文件历史

提交图

7 次代码提交

作者 SHA1 备注 提交日期
hangerye a42ef24683 feat: compress base64 image & find interactive elements optimize 2025-06-23 16:36:59 +08:00
hangerye 3364dd37f2 feat: model initial optimize 2025-06-12 21:34:00 +08:00
hangerye 0eae0a399c fix: model cache refactor 2025-06-12 20:21:37 +08:00
hangwin aa82c5bd47 feat: implement comprehensive model cache management system
- Add intelligent cache mechanism using stable HuggingFace URLs as keys
- Implement automatic cache cleanup with time-based expiry (7 days) and size limits (500MB)
- Add zero-copy ArrayBuffer transfer to workers using Transferable Objects
- Create cache management UI in popup with statistics and manual controls
- Add background periodic cleanup task (every 24 hours)
- Support both local files (URL) and remote files (cached ArrayBuffer) modes
- Include comprehensive cache metadata management
- Add cache testing tools and detailed documentation

Key improvements:
- Solves HuggingFace dynamic URL caching issues
- Prevents unlimited cache growth with smart cleanup
- Provides user-friendly cache management interface
- Maintains backward compatibility with existing functionality
- Significantly improves model loading performance after first download
2025-06-11 12:56:06 +00:00
hangerye 36f5684125 feat: change semantic-engine init time 2025-06-11 19:34:52 +08:00
hangwin c7f1624ebc Translate Chinese comments to English and remove redundant comments
- Translated all Chinese comments in app/chrome-extension/utils/ to English
- Removed redundant comments that were obvious from the code
- Preserved valuable technical explanations and complex logic comments
- Improved code internationalization and readability

Files modified:
- content-indexer.ts: Translated database cleanup and initialization comments
- semantic-similarity-engine.ts: Translated model comparison, memory pool, and SIMD comments
- simd-math-engine.ts: Translated SIMD optimization and browser detection comments
- vector-database.ts: Translated vector operations, database management, and cleanup comments
- image-utils.ts: Removed redundant whitespace and obvious comments
2025-06-10 03:25:20 +00:00
hangerye 736faade25 feat: Project Initialization and Code Migration. 2025-06-09 21:15:42 +08:00