Feature: multilingual support, model selection, UI enhancements, code refactor, build fixes, updated to v0.1.4 功能更新:多语言支持、模型选择、界面增强、代码重构、构建修复,版本更新至 v0.1.4 - #236
Closed
xuzhenpeng263 wants to merge 106 commits into
Conversation
…5, version to v0.1.1
中文说明:\n- 修复主题设置无法保存的问题\n- 增加窗口大小记忆功能(启动时恢复上次尺寸) English:\n- Fix theme settings not being saved\n- Add window size persistence (restore last window size on launch)
中文说明:\n- 删除了多余的标签条目\n- 修复了偶然发生的输入框遮挡元素的问题 English:\n- Remove redundant tab entries\n- Fix occasional input field overlapping elements issue
Fixed session restoration bug, added new models, added RPM compilation, added environment variable grouping, version update to v0.1.64
Added translations and fixed compilation errors
Fixed environment variables mutual exclusion issue
xuzhenpeng263
force-pushed
the
main
branch
3 times, most recently
from
August 16, 2025 13:04
74ebf49 to
32b2825
Compare
xuzhenpeng263
force-pushed
the
main
branch
4 times, most recently
from
August 17, 2025 02:07
410ac62 to
6a74379
Compare
- 变更:移除清理环境变量的逻辑,确保运行时保持现有环境设置 - 背景:根据文档要求,保留环境变量以避免意外行为 - 影响:相关流程将沿用现有环境变量,不再被重置 - Change: Remove logic that clears environment variables to preserve runtime settings - Context: Per documentation, keep env vars to avoid unintended behavior - Impact: Flows will retain existing environment variables instead of being reset
- 同步更新 package.json、Tauri 配置(debug/release/default) - 同步更新 Rust 侧 Cargo.toml 与 Cargo.lock - Update package.json and Tauri configs (debug/release/default) - Update Rust side Cargo.toml and Cargo.lock
- 变更:调整依赖与构建配置,修复构建失败 - 影响:构建不再中断,CI 通过 - 验证:本地已通过 bun run build 与 tauri:build - Change: Adjust dependencies and build configuration to fix build failures - Impact: Builds no longer break; CI pipeline passes - Verification: Local 'bun run build' and 'tauri:build' succeeded
- 变更:调整依赖与构建配置,修复构建失败 - 影响:构建不再中断,CI 通过 - 验证:本地已通过 bun run build 与 tauri:build - Change: Adjust dependencies and build configuration to fix build failures - Impact: Builds no longer break; CI pipeline passes - Verification: Local 'bun run build' and 'tauri:build' succeeded
- 变更:移除清理环境变量的逻辑,确保运行时保持现有环境设置 - 背景:根据文档要求,保留环境变量以避免意外行为 - 影响:相关流程将沿用现有环境变量,不再被重置 - Change: Remove logic that clears environment variables to preserve runtime settings - Context: Per documentation, keep env vars to avoid unintended behavior - Impact: Flows will retain existing environment variables instead of being reset
修复:确保迁移仅拷贝以下键至应用数据库:ANTHROPIC_API_KEY、ANTHROPIC_AUTH_TOKEN、ANTHROPIC_BASE_URL;不修改系统/用户现有环境变量或 ~/.claude/settings.json 合并:与已有数据库变量合并,避免数据丢失;保留 enabled 与分组信息 后端:在替换写入前进行合并,保证正确性 English: Fix: Environment variables migration fix (preserve originals, merge into DB) Fix: Only copy ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, ANTHROPIC_BASE_URL into app DB; do not alter system/user env or ~/.claude/settings.json Merge: Combine with existing DB vars to avoid data loss; preserve enabled and group info Backend: Pre-merge before replace-all save for correctness
修复:解决历史会话无法继续对话的问题,确保会话状态正确恢复 改进:优化会话加载逻辑,提升用户体验 English: Fix: Resolve historical session conversation continuation issue Fix: Resolve issue where historical sessions cannot continue conversations, ensure proper session state restoration Improve: Optimize session loading logic for better user experience
修复:解决hooks配置匹配逻辑问题,确保正确识别和执行hooks 改进:优化hooks匹配算法,提升匹配准确性 English: Fix: Resolve hooks matching issue Fix: Resolve hooks configuration matching logic issue, ensure proper hooks identification and execution Improve: Optimize hooks matching algorithm for better accuracy
修复:解决会话删除操作失败的问题,确保删除功能正常工作 改进:优化删除逻辑,提升操作可靠性 English: Fix: Resolve session deletion failure issue Fix: Resolve issue where session deletion operations fail, ensure deletion functionality works properly Improve: Optimize deletion logic for better reliability
- 变更:调整依赖与构建配置,修复构建失败 - 影响:构建不再中断,CI 通过 - 验证:本地已通过 bun run build 与 tauri:build - Change: Adjust dependencies and build configuration to fix build failures - Impact: Builds no longer break; CI pipeline passes - Verification: Local 'bun run build' and 'tauri:build' succeeded
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description / 描述
English:
This pull request introduces a comprehensive set of features, UI improvements, bug fixes, and build enhancements. Key updates include:
✅ New Features
Multilingual UI Support
Added interface language options:
🇺🇸 English (en)
🇨🇳 Simplified Chinese (zh)
🇯🇵 Japanese (ja)
🇪🇸 Spanish (es)
🇰🇷 Korean (ko)
🇫🇷 French (fr)
🇩🇪 German (de)
🇷🇺 Russian (ru)
🇵🇹 Portuguese (pt)
🇮🇹 Italian (it)
🇸🇦 Arabic (ar)
🇮🇳 Hindi (hi)
Claude Model Selection
Users can now choose between multiple Claude models:
claude-3.5-haiku
claude-3.5-sonnet
claude-3.7-sonnet
Font Scaling (via Advanced Settings)
Allows users to adjust UI font size for accessibility.
Sound Notifications (via Advanced Settings)
Plays a sound when a response is received.
🛠️ Bug Fixes & UX Improvements
Fixed incorrect mapping for claude-4-opus model.
Fixed input box not resetting height after sending when auto-resize is enabled.
Fixed Windows icon compilation failure.
Fixed issue where Windows could not detect system-installed claudecode.
Improved input box UX:
Auto-resizing behavior
Supports manual drag-resize
🔧 Code Quality & Build Enhancements
Fully refactored the code to conform to ESLint rules.
Improved overall JSDoc documentation.
Unified error handling and logging strategy.
Added GitHub Actions for automatic builds.
Updated bundled claudecode binary to:
v1.0.60
📌 Why the Bundled claudecode Is Retained
The bundled version of claudecode is intentionally preserved for the following reasons:
On Windows, the official claudia repository produces builds that fail to correctly detect system-installed claudecode.
This leads to errors or inability to invoke Claude via local backend.
Keeping a bundled binary:
Ensures out-of-the-box functionality
Provides cross-platform consistency
Avoids user confusion or misconfiguration
Even though support for system-installed claudecode is improved in this version, the bundled fallback remains critical for reliability.
When launching on Windows, a cmd window briefly flashes during startup to check claudecode version.
Please do not close this window manually, or initialization may fail.
This is a temporary workaround for proper detection of the claudecode binary on Windows.
🚀 Version Bump
Project version upgraded to v0.1.4
All features are manually tested and stable. No breaking changes introduced.
中文说明:
本次 Pull Request 提交了多个关键功能更新、交互体验优化与 Bug 修复,核心内容包括:
✅ 新增功能
多语言界面支持
新增以下语言选项:
🇺🇸 英语 (en)
🇨🇳 中文简体 (zh)
🇯🇵 日语 (ja)
🇪🇸 西班牙语 (es)
🇰🇷 韩语 (ko)
🇫🇷 法语 (fr)
🇩🇪 德语 (de)
🇷🇺 俄语 (ru)
🇵🇹 葡萄牙语 (pt)
🇮🇹 意大利语 (it)
🇸🇦 阿拉伯语 (ar)
🇮🇳 印地语 (hi)
支持多种 Claude 模型选择
可在设置中自由选择以下模型:
claude-3.5-haiku
claude-3.5-sonnet
claude-3.7-sonnet
字体缩放功能(位于高级设置)
支持调整界面字体大小,提升阅读体验
声音通知功能(位于高级设置)
回复到达时可播放提示音
🛠️ Bug 修复与交互优化
修复了 claude-4-opus 模型映射错误
修复输入框启用自适应高度时,发送后高度不恢复的问题
修复 Windows 平台 icon 编译失败的问题
修复 Windows 无法识别系统安装的 claudecode 问题
输入框支持手动拖动及内容自适应高度
🔧 代码质量与构建增强
所有代码重构为符合 ESLint 规范
统一日志与错误处理逻辑
JSDoc 注释完善,提升可维护性
添加 GitHub Actions 自动构建流程
内置 claudecode 版本升级为:
v1.0.60
📌 为何保留捆绑版 claudecode
本项目继续保留 claudecode 的内置版本,原因如下:
在 Windows 平台上,原仓库 构建的应用在运行时无法正确识别系统安装的 claudecode,造成功能不可用
若用户自行配置路径,易出错或产生歧义
保留绑定版可:
确保“即装即用”的体验
保证跨平台一致性
降低用户配置负担,减少出错概率
虽然此版本已改进了对系统安装版的支持,但内置版本依旧作为稳定保障存在
Windows 启动时会短暂弹出一个 CMD 黑框窗口,用于检查 claudecode 版本:
请勿手动关闭,否则可能导致初始化失败
这是为解决 Windows 上版本检测机制问题而设的临时方案
🚀 版本升级
当前版本更新为 v0.1.4
所有功能均已测试,无破坏性变更
Documentation / 文档更新
README 已更新语言支持、模型选择与新设置项说明
设置界面补充了字体缩放与声音提示说明
代码 JSDoc 注释已同步完善
Dependencies / 依赖项
claudecode 内置版本更新至 v1.0.60
无新增外部依赖
请审阅。如有反馈和建议欢迎提出 🙏
Please kindly review. Feedback and suggestions are welcome.