Releases: anyme123/Any-code
v5.27.8
🔧 Bug Fixes
- Fixed usage timeline chart not displaying bars - Rewrote the timeline bar chart using SVG rendering to resolve CSS height inheritance issues in Tauri WebView (fixes #166, #126)
- Fixed backend date sorting - All engines (Claude/Codex/Gemini) now return
by_datedata in ascending order - Fixed frontend data aggregation - Corrected sort direction in multi-engine merge and removed redundant reverse operation
✨ Improvements
- Added cost labels above each bar in the timeline chart
- Changed timeline X-axis dates to Chinese format (M/D)
- Removed Y-axis labels for a cleaner chart layout
- Added gradient effect and proper spacing for bar styling
🔧 问题修复
- 修复使用统计时间线柱形图不显示 - 使用 SVG 重写时间线柱形图,解决了 Tauri WebView 中 CSS 高度继承导致柱形图无法渲染的问题(修复 #166、#126)
- 修复后端日期排序 - 所有引擎(Claude/Codex/Gemini)的
by_date数据现在按升序返回 - 修复前端数据聚合 - 修正多引擎合并时的排序方向,移除多余的 reverse 操作
✨ 改进
- 时间线图表每个柱形上方显示费用金额
- X 轴日期改为中文格式(月/日)
- 移除左侧 Y 轴金额标签,界面更简洁
- 柱形图添加渐变效果和合理间距
v5.27.7
v5.27.7
Bug Fixes / 问题修复
#126 - Fix usage timeline not displaying data / 修复使用统计时间线无法展示
- When viewing "All Engines", the timeline chart now merges daily usage data from Claude, Codex, and Gemini engines. Previously only Claude data was shown, causing an empty timeline for users primarily using other engines.
- 在"全部引擎"视图下,时间线图表现在会合并 Claude、Codex 和 Gemini 三个引擎的每日使用数据。此前仅显示 Claude 数据,导致主要使用其他引擎的用户看到空白时间线。
#57 - Fix long text overflowing message area / 修复超长文本溢出消息区域
- Added
break-wordsandoverflow-wrap: anywhereto message content containers (MessageContent and AIMessage), preventing long unbreakable strings (URLs, base64, etc.) from overflowing the chat area. - 为消息内容容器(MessageContent 和 AIMessage)添加
break-words和overflow-wrap: anywhere,防止超长无断点字符串(URL、base64 等)溢出聊天区域。
v5.27.6
v5.27.6 Release Notes / 发布说明
New Features / 新功能
- Dynamic model fetching - Claude, Codex, and Gemini models are now dynamically discovered from stream init messages instead of being hardcoded / 动态模型获取 - Claude、Codex 和 Gemini 模型现在从流初始化消息中动态发现,不再硬编码
- Plugin slash commands - Extensions can now register custom slash commands / 插件斜杠命令 - 扩展现在可以注册自定义斜杠命令
- Auto/System theme mode - Theme now follows OS-level dark/light mode preference / 自动/系统主题模式 - 主题现在跟随操作系统的深色/浅色模式偏好
Bug Fixes / 修复
- Handle malformed settings JSON - Gracefully handle corrupted config files on load (#131) / 优雅处理损坏的配置文件加载 (#131)
- Fix Gemini WSL misidentification - Prevent Gemini from being misidentified as WSL on Windows (#162) / 修复 Gemini 在 Windows 上被误判为 WSL 环境的问题 (#162)
- Code block theme fix - Fixed code block styling with class-based dark mode / 修复代码块在 class-based 深色模式下的样式问题
- Scroll & auto-scroll fix - Resolved scrolling issues in chat view / 修复聊天视图中的滚动和自动滚动问题
- Session state fix - Fixed tab switching incorrectly showing "not running" status / 修复切换标签页时错误显示"未运行"状态
Acknowledgements / 致谢
Thanks to the following contributors for their PRs / 感谢以下贡献者的 PR 提交:
- @fun-li - #131 Handle malformed settings JSON on load
- @yunsheng111 - #162 Fix Gemini WSL misidentification on Windows
- @veithly - #163 Dynamic model fetching, theme/scroll/session fixes, plugin system
Bug Fixes / 问题修复
#134 - Fix @ file mention not finding Java files / 修复 @文件无法检索 Java 文件
- Increased file search recursion depth from 5 to 10, supporting deep directory structures commonly found in Java projects (e.g.
src/main/java/com/example/app/) - 将文件搜索递归深度从 5 提升至 10,支持 Java 项目常见的深层目录结构(如
src/main/java/com/example/app/)
#164 - Fix sidebar buttons hidden in small windows / 修复小窗口下侧边栏底部按钮不可见
- Added
min-h-0andoverflow-y-autoto the sidebar navigation area, ensuring bottom buttons (settings, collapse) remain visible and scrollable when the window height is insufficient - 为侧边栏主导航区域添加
min-h-0和overflow-y-auto,确保窗口高度不足时底部按钮(设置、折叠)始终可见且可滚动
v5.26.2
What's New / 更新内容
Model Updates / 模型更新
-
Claude 4.6: Added Opus 4.6 ($5/$25) and Sonnet 4.6 ($3/$15) with 1M context support
-
GPT-5.3 Codex: Added GPT-5.3-Codex ($2/$16) and GPT-5.3-Codex-Spark ($1.50/$12), 25% faster than 5.2
-
Gemini 3.1 Pro: Added Gemini 3.1 Pro Preview with 2M context window
-
Claude 4.6: 新增 Opus 4.6($5/$25)和 Sonnet 4.6($3/$15),支持 1M 上下文
-
GPT-5.3 Codex: 新增 GPT-5.3-Codex($2/$16)和 GPT-5.3-Codex-Spark($1.50/$12),比 5.2 快 25%
-
Gemini 3.1 Pro: 新增 Gemini 3.1 Pro Preview,2M 上下文窗口
Claude 4.6 Adaptive Thinking / 自适应思考
-
Replaced legacy MAX_THINKING_TOKENS with Adaptive Thinking effort levels (low/medium/high/max)
-
Click to cycle through effort levels: off → high → max → low → medium → off
-
Uses CLAUDE_CODE_THINKING_EFFORT environment variable
-
用自适应思考 effort 级别(low/medium/high/max)替代旧版 MAX_THINKING_TOKENS
-
点击循环切换思考深度:关闭 → 高 → 最大 → 低 → 中 → 关闭
-
使用 CLAUDE_CODE_THINKING_EFFORT 环境变量
Codex Multi-Agent (Experimental) / 多代理(实验性)
-
Added multi-agent/subagent configuration support in config.toml [features] section
-
Backend commands for reading/writing multi-agent settings
-
新增 config.toml [features] 段的多代理/子代理配置支持
-
后端读写多代理设置的命令
Task Management Widgets / 任务管理组件
-
Added rendering support for Claude Code TaskCreate/TaskUpdate/TaskList/TaskGet tools
-
Each message renders its own task operations with resolved task subjects
-
TaskUpdate resolves task titles via cross-message lookup table
-
新增 Claude Code TaskCreate/TaskUpdate/TaskList/TaskGet 工具的渲染支持
-
每条消息渲染自己的任务操作,显示完整任务标题
-
TaskUpdate 通过跨消息查找表解析任务标题
Pricing & Context Windows / 定价与上下文窗口
-
Updated pricing tables for all three engines (Claude, Codex, Gemini)
-
Updated context window configurations and model aliases
-
Updated default model fallbacks to latest versions
-
更新三大引擎(Claude、Codex、Gemini)的定价表
-
更新上下文窗口配置和模型别名
-
更新默认模型回退到最新版本
v5.18.6
✨ 新功能 / New Features
- 为标签页添加右键菜单功能
- Added right-click context menu for tabs
🐛 修复 / Bug Fixes
-
修复标签页右键菜单在Tauri中被系统菜单覆盖的问题,使用自定义浮动菜单实现
-
Fixed tab context menu being overridden by system menu in Tauri, implemented using custom floating menu
-
修复读取Claude Code项目目录异常的问题 (#145)
-
Fixed issue with reading Claude Code project directory (#145)
🔧 优化 / Improvements
- 简化 project_store.rs 中的文件读取逻辑
- Simplified file reading logic in project_store.rs
v5.18.0
🚀 新功能 / New Features
- 为三个引擎的代理商管理页面添加拖拽排序功能
- Added drag-and-drop sorting functionality for provider management pages across three engines
🐛 修复 / Bug Fixes
-
修复MCP工具执行结果数组格式内容不显示文本的问题
-
Fixed issue where MCP tool execution results with array format content did not display text
-
修复Codex和Gemini代理商管理页面相同API地址不同apikey无法切换的问题
-
Fixed issue where different API keys with same API address could not be switched in Codex and Gemini provider management pages
-
修复代理商管理页面相同API地址不同apikey无法切换的问题
-
Fixed issue where different API keys with same API address could not be switched in provider management page
-
修复MCP工具调用结果中长文本不换行的问题
-
Fixed long text wrapping issue in MCP tool call results
v5.17.5
What's Changed / 更新内容
Bug Fixes / 问题修复
-
Fix message loss when creating new session via + button - Fixed an issue where user prompts would disappear when creating a new session by clicking the + tab button, selecting a project, and sending a message. The root cause was that
TabSessionWrapper's memo comparison didn't handle theinitialProjectPathupgrade case.修复通过+号新建会话时提示词丢失问题 - 修复了用户点击+号创建新标签页、选择项目后发送消息时提示词消失的问题。根本原因是
TabSessionWrapper的 memo 比较函数未处理initialProjectPath升级的情况。 -
Add safety check to prevent all projects from being hidden - Added protection against corrupted
hidden_projects.jsonthat could cause all projects to be hidden, resulting in an empty project list.添加安全检查防止所有项目被隐藏 - 增加了对损坏的
hidden_projects.json的保护,防止所有项目被隐藏导致项目列表为空。 -
Fix i18n hardcoded strings in multiple editor components - Replaced hardcoded Chinese strings with proper i18n translations in various editor components.
修复多个编辑器组件中的 i18n 硬编码字符串 - 将多个编辑器组件中的硬编码中文字符串替换为正确的国际化翻译。
-
Fix settings save success toast i18n translation - Fixed the translation issue in the settings save success notification.
修复设置保存成功提示的 i18n 翻译问题 - 修复了设置保存成功通知的翻译问题。
-
Fix Rust compilation error - Fixed
hidden_projectsvariable borrow after move error.修复 Rust 编译错误 - 修复了
hidden_projects变量移动后借用的编译错误。
Full Changelog / 完整更新日志: v5.17.1...v5.17.5
v5.17.1
更新内容 / What's Changed
修复 / Bug Fixes
- 修复 Linux 平台环境识别错误显示为 Windows 原生的问题
- 修复 Linux (WebKitGTK) 下执行模式选择器无法操作的问题
- 在非 Windows 平台隐藏 WSL 相关选项,UI 标签更新为 "Linux 原生"
- 确保桌面启动模式下能够正确初始化 Shell 环境变量
Bug Fixes (English)
- Fixed Linux platform incorrectly displaying as "Windows Native"
- Fixed execution mode selector not working on Linux (WebKitGTK)
- Hidden WSL options on non-Windows platforms, updated UI label to "Linux Native"
- Enabled shell environment initialization for desktop launcher on Linux
致谢 / Acknowledgements
感谢 @lidaxian121 提交的 PR #114,为 Linux 平台支持做出了重要贡献!
Thanks to @lidaxian121 for PR #114, which made significant contributions to Linux platform support!
Full Changelog: v5.17.0...v5.17.1
v5.17.0
修复 / Fixes
- 修复禁用 MCP 工具后刷新页面导致工具从列表中消失的问题
- Fixed an issue where disabled MCP tools would disappear from the list after page refresh
改进 / Improvements
- 新增 MCP 服务器注册表,独立存储工具元数据和启用状态
- Added MCP server registry to independently store tool metadata and enabled status
- 禁用的工具现在会正确保留在列表中,仅显示为"已禁用"状态
- Disabled tools now correctly remain in the list, showing as "Disabled" status
v5.16.9
主要改进 / Main Improvements
🐛 Bug 修复 / Bug Fixes
- 修复新建会话消息渲染丢失问题 - 解决了在新建会话中发送消息后页面内容消失的问题
- 修复标签页重复创建问题 - 解决了新建会话时标签页重复创建的问题
- 修复会话状态持久化问题 - 解决了切换页面后对话消息丢失的问题
- Fixed new session message rendering loss - Resolved the issue where page content disappeared after sending messages in a new session
- Fixed duplicate tab creation - Resolved the issue of duplicate tabs being created for new sessions
- Fixed session state persistence - Resolved the issue of conversation messages being lost after switching pages
✨ 新功能 / New Features
- Claude 引擎 WSL 支持 - 为 Claude 引擎添加了 WSL 模式支持,现已集成到前端 UI
- Claude Engine WSL Support - Added WSL mode support for Claude engine, now integrated into frontend UI
🌐 国际化 / Internationalization
- 修复 i18n 遗漏 - 合并翻译文件中重复的 dialogs 对象,修复设置中 git 禁用的 UI 翻译
- Fixed i18n issues - Merged duplicate dialogs objects in translation files, fixed git disable UI translations in settings