文件历史

提交图

33 次代码提交

作者 SHA1 备注 提交日期
hangerye f16b05aebf fix: screenshot fix 2025-07-10 00:33:36 +08:00
hangwin a558b5fa78 Merge pull request #77 from wyhao31/fix_server_response
fix: unnecessary nested CallToolResult in response
2025-07-09 23:54:23 +08:00
hangwin 95cbc92239 Merge pull request #12 from aaron13100/feature/i18n-support
feat: add internationalization (i18n) support
2025-07-09 23:47:45 +08:00
Aaron ab23b65626 fix: correct i18n key mismatches between getMessage() calls and messages.json
Fixed inconsistent key references throughout the codebase where getMessage()
calls were using legacy keys without "Label", "Button", "Status" suffixes
while messages.json files contained the correct keys with these suffixes.

Changes:
- App.vue: Fixed 50+ getMessage() calls to use correct keys
- ConfirmDialog.vue: Fixed button text keys
- ModelCacheManagement.vue: Fixed cache management UI keys
- bookmark.ts: Fixed bookmarksBarLabel key reference
- Replaced hardcoded Chinese strings with proper i18n calls

This ensures the i18n system works correctly with both Chrome's i18n API
and the fallback system, displaying proper localized text in all languages.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 19:44:31 +02:00
wyhao31 48ff0f0143 fix: unnecessary nested CallToolResult in response 2025-07-05 22:19:35 -07:00
hangerye 2405c6abcb fix: run_host.sh bug fix 2025-06-30 20:36:14 +08:00
hangerye dfb4b79b26 fix: delete error console log 2025-06-30 02:22:21 +08:00
hangerye e10a25aa9c fix: multi node versions fix 2025-06-30 02:20:47 +08:00
hangerye a42ef24683 feat: compress base64 image & find interactive elements optimize 2025-06-23 16:36:59 +08:00
hangerye d25a0fbecb feat: add console tool & support mcp stdio type 2025-06-22 21:45:17 +08:00
aaron13100 62c67a0127 feat: add internationalization (i18n) support
- Add comprehensive English and Chinese (zh_CN) locale files
- Create safe i18n utility with fallback messages
- Replace all hardcoded text with getMessage() calls
- Set Chinese as default locale to preserve existing user experience
- Fix Chrome manifest validation by removing underscore-prefixed keys
- Support 180+ localized strings with proper categorization

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-17 06:39:44 +02:00
hangerye d98d6ea3b9 docs: update docs and zip 2025-06-17 03:02:05 +08:00
hangerye 0d56090ed3 fix: inject tool bug fix 2025-06-17 01:53:44 +08:00
hangerye 3703c647e6 feat: add prompts for test 2025-06-16 21:27:01 +08:00
hangerye 1ea6433a25 feat: add inject tool 2025-06-16 01:13:52 +08:00
hangerye fb37fc81b0 chore: update zip 2025-06-12 21:37:00 +08:00
hangerye 3364dd37f2 feat: model initial optimize 2025-06-12 21:34:00 +08:00
hangerye eb7ad94b37 style: model cache manage ui optimize 2025-06-12 20:49:16 +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 01e2523f7a fix: update run_host.bat to fix compatibility 2025-06-11 20:17:15 +08:00
hangerye 25433cb0b0 feat: update zip 2025-06-11 20:01:40 +08:00
hangerye 36f5684125 feat: change semantic-engine init time 2025-06-11 19:34:52 +08:00
hangerye db8989f4f4 fix: windows node env fix again2 2025-06-11 02:20:40 +08:00
hangerye 4e157717d3 fix: windows node env fix again 2025-06-11 02:09:31 +08:00
hangerye d155d615de fix: windows node env fix 2025-06-11 01:58:26 +08:00
hangerye be4ded5ab7 fix: windows install fail 2025-06-11 00:33:15 +08:00
hangerye 0c4942a2da fix: install script permission fix 2025-06-10 15:50:07 +08:00
hangerye 24bb809074 fix: npm包权限问题fix 2025-06-10 15:19:12 +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 97c3aa99d4 feat: update version 2025-06-10 02:07:27 +08:00
hangerye 8d20fec536 feat: update docs 2025-06-10 01:34:43 +08:00
hangerye 736faade25 feat: Project Initialization and Code Migration. 2025-06-09 21:15:42 +08:00