- Implement FileUploadTool using CDP's DOM.setFileInputFiles
- Add FileHandler for native host to handle URL downloads and base64 data
- Support three input methods: local file path, URL download, base64 data
- Integrate with existing native messaging host infrastructure
- Follow existing tool patterns from network-capture-debugger
This enables programmatic file uploads to web forms, addressing the limitation
identified in issue #145.
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>
- 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>