Skip to content

Lithe Desktop 0.8.21

Choose a tag to compare

@github-actions github-actions released this 29 Nov 10:06
6d4169f

中文

Lithe Desktop 0.8.21 带来 Agent 对话与「AI 管理」窗口的早期预览,新增文件类型映射、文档注释渲染和插件提供的目录类型,并改进项目树与 Git 图谱。

下载

重点更新

本次更新可以在 Lithe 中试用命令行 Agent(早期预览),编辑器能识别更多配置文件并渲染文档注释,项目树和 Git 图谱用起来更快、更顺手。

✨ 新功能

  • Agent 工具窗口(早期预览):安装 Codex 或 Claude Code 插件后,可在 Lithe 中与本机命令行 Agent 对话。
  • Agent 对话可以切换模型、推理强度和模式,并可通过加号、粘贴或拖入附加文件、文件夹和图片。
  • Agent 对话页可展开思考过程、命令和文件改动,支持复制、重新生成,也可以在编辑器标签页中打开。
  • 在「设置 › AI › Agent」为插件授权后,Agent 可以读取本机已有的会话记录。
  • 新增「AI 管理」窗口,按文件夹查看会话和用量估算,并管理指令、MCP 服务器、Hooks 与 Skills。
  • 内置识别 uv.lock、bun.lock 等文件的语言,并可在设置中按全局或项目自定义文件类型映射。
  • 编辑器可把 Javadoc 等文档注释渲染成排版后的样式,只读和外部库源码默认渲染,可在设置中开关。
  • 插件可以为项目树提供目录类型和目录标记,「将目录标记为」菜单和目录标记设置页会列出这些类型。
  • 构建插件可以自带默认忽略的目录,构建窗口的「忽略路径」会列出这些规则及来源,可用 !目录/ 恢复识别。

⚡ 改进

  • 悬停文档按格式显示 HTML、Javadoc 和 Markdown,不再露出原始标签。
  • 项目树首次展开子目录更快,「全部展开」最多展开 512 个目录,避免大工程卡顿。
  • 项目树的目录着色改为整行连续显示,文件夹图标和目录名也会跟着上色。
  • Git 图谱的连线跨行不再断开,当前提交显示为同心圆,悬停时高亮同一段未分叉的连线和提交。
  • Git 图谱的箭头可以悬停查看目标,点击或用键盘跳到对应提交。
  • 同步最新桌面界面框架(至上游 a3ba5df6)。

🛠 修复

  • 项目树重命名和拖动移动遇到同名文件时会提示冲突,不再覆盖已有文件,关闭项目时也会等移动完成。
  • Git 历史在分页过期、远程重连或所选分支被删除后可以继续加载,不再卡住。
  • 设置里的 Agent 会话读取、MCP 会话搜索和 IDE 连接开关点击后现在会保存。
  • 同一个仓库发布多个插件时,插件详情的「更新日志」只列出该插件的版本,并能标出已安装的版本。

🔌 插件需要的新宿主能力

以下插件版本需要本版新增的宿主能力或权限,0.8.20 及更早的 Lithe 会拒绝安装。

  • Lithe-IDEA/lithe-plugin-go Go Support 1.4.0:需要新增的 workspace.directoryMarks 权限及 workspace/setDirectoryTypes、workspace/setDirectoryMarks 宿主方法(让插件提供目录类型并标记目录),用于把嵌套 go.mod 所在目录标为源代码根(实验性);还需要构建检测的 detection.ignoredPaths 清单字段(让构建插件声明默认忽略的目录),用于默认跳过 testdata/、vendor/ 和 _*/ 里的模块;0.8.20 及更早版本不认识这些声明,会停留在 1.3.2。
  • Lithe-IDEA/lithe-ai-plugins Codex 0.0.1:需要 agents 能力版本 0(让插件在 Agent 工具窗口运行命令行 Agent 会话、读取本机会话记录并提供资源库配置)、agents/write 与 agents/report 宿主方法和 agents.* 权限,用于在 Lithe 中使用 Codex CLI。
  • Lithe-IDEA/lithe-ai-plugins Claude Code 0.0.1:需要 agents 能力版本 0、agents/write 与 agents/report 宿主方法和 agents.* 权限,用于在 Lithe 中使用 Claude Code CLI。

升级说明

  • 可从标题栏的更新入口或「设置 → 关于」检查更新,也可以下载完整安装包。
  • macOS 用户打开对应架构的 DMG,将 Lithe Desktop.app 拖入「应用程序」。
  • Homebrew 配方更新后,运行 brew update && brew upgrade --cask lithe。
  • Windows 用户运行 x64 安装程序,从 Windows 0.8.0 升级时请手动下载安装。
  • Linux 用户可以用一行命令安装,也可以在全部下载文件中选 x64、ARM64 的 DEB、RPM 和 tar.gz。

兼容性与已知问题

  • macOS 最低要求 13.0。Windows 提供 x64 安装包,Linux 需要兼容的运行库和图形环境。
  • macOS 安装包使用临时签名,Windows 安装包无发行者签名。系统可能显示安全提示。
  • Agent 工具窗口和「AI 管理」窗口仍是早期预览,需要另外安装对应插件和命令行工具,功能和界面还会调整。
  • Windows 上勾选文件关联后,需要在系统打开的「默认应用」设置中确认;Windows 11 的右键菜单项可能在「显示更多选项」里。
  • 远程开发只支持 x86_64 和 arm64 的 Linux 主机。SSH 连接使用本机的 OpenSSH,WSL 只能在 Windows 上使用,Dev Container 需要本机安装 Dev Container CLI,且只能在本机构建。#2231
  • 远程工作区暂不启动语言服务器,调试、测试、构建工具以及插件提供的运行配置和执行前任务暂不可用,「在新窗口打开」和「在文件浏览器中显示」也暂不可用。#2231
  • 远程 Git 推送和拉取时的凭据询问暂不显示在窗口中,仓库根目录位于所打开文件夹上级时暂不支持。
  • Windows 首次导入 Gradle 项目时,如果 Wrapper 尚未下载且探测超时,可在项目目录运行 gradlew.bat --version 等待下载完成,再回到 Lithe 重试。
  • 以 build.xml 为根的 Apache Ant 工程仍有项目导入、调试和源码跳转缺口。#1761

如果 macOS 提示无法打开 Lithe Desktop.app,请在「应用程序」中按住 Control 点按应用并选择「打开」。如果仍被阻止,可执行 xattr -dr com.apple.quarantine "/Applications/Lithe Desktop.app"。旧版 Lithe.app 使用 xattr -dr com.apple.quarantine /Applications/Lithe.app。仅对可信来源的应用使用。

查看完整变更


English

Lithe Desktop 0.8.21 brings early previews of Agent chat and the AI Management window, adds file type mappings, rendered doc comments, and plugin-provided directory types, and improves the project tree and Git graph.

Downloads

Highlights

This release lets you try command-line Agents inside Lithe as an early preview, recognizes more config files and renders doc comments in the editor, and makes the project tree and Git graph faster and easier to use.

✨ New features

  • Agent tool window (early preview): with the Codex or Claude Code plugin, chat with an Agent CLI on your computer inside Lithe.
  • Agent chats can switch model, reasoning effort, and mode, and attach files, folders, and images via +, paste, or drag.
  • The Agent chat page expands thinking, commands, and file changes, supports copy and regenerate, and opens in an editor tab.
  • After you allow a plugin in Settings › AI › Agent, the Agent can read existing session records on your computer.
  • The new AI Management window shows sessions by folder and usage estimates, and manages instructions, MCP servers, Hooks, and Skills.
  • Files such as uv.lock and bun.lock get their language by default, and Settings adds global or per-project file type mappings.
  • The editor can render Javadoc and other doc comments as formatted text, by default in read-only and library sources, with a toggle in Settings.
  • Plugins can provide directory types and marks for the project tree, listed in the Mark Directory as menu and the directory marks settings page.
  • Build plugins can ship default ignored directories; the Build window's Ignored Paths lists them with their source, and !dir/ brings a directory back.

⚡ Improvements

  • Hover documentation now shows HTML, Javadoc, and Markdown formatting instead of raw tags.
  • Project tree subdirectories expand faster the first time, and Expand All stops at 512 directories so large projects stay responsive.
  • Project tree directory tints now fill whole rows continuously, and folder icons and names take the color too.
  • Git graph lines no longer break between rows, the current commit shows a ring, and hovering highlights one unbranched line and its commits.
  • Git graph arrows show their target on hover and jump to that commit on click or from the keyboard.
  • Synced the desktop UI framework to upstream a3ba5df6.

🛠 Fixes

  • Renaming or dragging in the project tree now warns about a name conflict instead of overwriting a file, and closing a project waits for the move.
  • Git history keeps loading after paging expires, a remote reconnects, or the selected branch is deleted.
  • Agent session reading, MCP session search, and IDE connection switches in Settings now save when clicked.
  • When one repository publishes several plugins, a plugin's Changelog lists only its own versions and marks the installed one.

🔌 New host capabilities that plugins need

These plugin versions need host capabilities or permissions added in this release; Lithe 0.8.20 and earlier refuse to install them.

  • Lithe-IDEA/lithe-plugin-go Go Support 1.4.0: needs the new workspace.directoryMarks permission and the workspace/setDirectoryTypes and workspace/setDirectoryMarks host methods (letting plugins provide directory types and mark directories) to mark directories with a nested go.mod as source roots (experimental), and the build detection detection.ignoredPaths manifest field (letting build plugins declare default ignored directories) to skip modules under testdata/, vendor/, and _*/ by default; Lithe 0.8.20 and earlier reject these declarations and stay on 1.3.2.
  • Lithe-IDEA/lithe-ai-plugins Codex 0.0.1: needs agents capability version 0 (letting plugins run command-line Agent sessions in the Agent tool window, read local session records, and provide library configuration), the agents/write and agents/report host methods, and the agents.* permissions to use the Codex CLI in Lithe.
  • Lithe-IDEA/lithe-ai-plugins Claude Code 0.0.1: needs agents capability version 0, the agents/write and agents/report host methods, and the agents.* permissions to use the Claude Code CLI in Lithe.

Upgrade instructions

  • Check for updates from the title bar or Settings → About, or download a full installer.
  • On macOS, open the DMG for your architecture and drag Lithe Desktop.app to Applications.
  • With Homebrew, run brew update && brew upgrade --cask lithe after the cask update is available.
  • On Windows, run the x64 installer. Upgrading from Windows 0.8.0 needs a manual download.
  • On Linux, use the one-line install, or pick a DEB, RPM, or tar.gz for x64 or ARM64 from the downloads.

Compatibility and known issues

  • macOS requires 13.0 or newer. Windows packages target x64. Linux requires compatible libraries and a graphical environment.
  • macOS packages use ad hoc signing. Windows installers have no publisher signature. Your system may show security prompts.
  • The Agent tool window and AI Management window are early previews. They need the matching plugin and CLI installed separately, and they will keep changing.
  • On Windows, after you tick file associations, confirm them in the Default apps settings that Windows opens. On Windows 11 the context menu entry may be under Show more options.
  • Remote development supports x86_64 and arm64 Linux hosts only. SSH connections use the OpenSSH on your computer, WSL is available only on Windows, and Dev Containers need the Dev Container CLI installed on your computer and build only there. #2231
  • Remote workspaces do not start language servers yet. Debugging, tests, build tools, and plugin-provided run configurations and before-launch tasks are not available yet, and neither are Open in New Window and Reveal in File Manager. #2231
  • Credential prompts from remote Git push and pull are not shown in the window yet, and repositories whose root is above the opened folder are not supported yet.
  • On Windows, a Gradle project can time out during its first import if its Wrapper distribution still needs to download. Run gradlew.bat --version in the project directory, wait for it to finish, and retry in Lithe.
  • Apache Ant projects rooted at build.xml still have gaps in project import, debugging, and source navigation. #1761

If macOS cannot open Lithe Desktop.app, Control-click it in Applications and choose Open. If it is still blocked, run xattr -dr com.apple.quarantine "/Applications/Lithe Desktop.app" in Terminal. For the older Lithe.app, use xattr -dr com.apple.quarantine /Applications/Lithe.app. Use these commands only for an app from a source you trust.

Full changelog

🙌 感谢贡献者

感谢 @1lck、@xiaoyumuxi、@Mucheen、@WhiteZeek、@mirakyux 和 @Zhouzzz243。

🙌 Contributors

Thanks to @1lck, @xiaoyumuxi, @Mucheen, @WhiteZeek, @mirakyux, and @Zhouzzz243.