diff --git a/lib/update/version.dart b/lib/update/version.dart index 135ee8a7..9258c506 100644 --- a/lib/update/version.dart +++ b/lib/update/version.dart @@ -107,6 +107,6 @@ class AppVersion implements Comparable { /// The version this app is: pubspec.yaml's `version`, which /// test/update/version_test.dart keeps this in step with. -const appVersionString = '1.8.1+25'; +const appVersionString = '1.9.0+26'; final AppVersion currentAppVersion = AppVersion.parse(appVersionString); diff --git a/pubspec.yaml b/pubspec.yaml index 6aa4fe9a..f1949950 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.8.1+25 +version: 1.9.0+26 environment: sdk: ^3.13.4 diff --git a/release-notes/1.9.0.en.md b/release-notes/1.9.0.en.md new file mode 100644 index 00000000..40320d34 --- /dev/null +++ b/release-notes/1.9.0.en.md @@ -0,0 +1,36 @@ +This release rebuilds the agents' window with cards, and the sidebar, conversations and side panel can be arranged in four layouts. A Windows computer can now be an SSH host. /fork is new, and an agent's questions stay in the conversation with your answers. + +New +- The agents' window is laid out in cards: the sidebar, the conversations and the side panel each on their own. The side panel's Layout button switches between four arrangements, and the sidebar can sit at the right. +- A conversation's title and buttons are on its own card. With split panes there is one set of buttons at the window's top right, and each pane's details are on its card instead of taking a row of their own. +- A row under the conversation shows where the agent works (a click copies the path) and how full its context is, with a warning past 80%. +- Windows as an SSH host: connecting, files, a PowerShell terminal and language server diagnostics all work. The status bar shows the host's system. +- In SSH projects, the remote agent can use the tools that act on this computer, with ports forwarded both ways. +- /fork: type /fork in the input to copy the conversation and go on in a new one. +- Once you answer an agent's questions, each question and your answer stay in the conversation, also when the turn is folded. +- Each conversation has its own Git log in the side panel; the local changes under it fold. +- File tabs in the editor and the side panel can be dragged into another order. + +Phones +- Browsing files on the phone shows the files Git ignores, dimmed. +- File links in a bot's replies open on the phone. +- After the computer restarts, a new conversation on the phone no longer shows as an old one. + +Improved +- Without Claude Code installed, BaoCode's built-in core is used by default, and the official CLI is no longer suggested. +- Edit cards show their changes inline. +- A code block being written lays out and colors only what changed, so long replies no longer stutter. +- History reads only the part of a session shown, and a session file that grows is read on from where it was read. Large requests' JSON is handled off the UI thread, using less CPU. +- File links in the chat resolve paths as the agent's tools do, so `~` and relative paths open. +- Bao Dark and Bao Light's grays are closer to neutral gray; the sand gold accent is unchanged. +- In a narrow conversation, a finished turn's time, speed, cost and tokens wrap onto another line. +- The side panel no longer has a browser page; the agent's browser tools work as before. + +Fixed +- Sessions whose first message carried an added note (the file open in the editor, sent from the phone, Ask mode) no longer disappear from the list after a restart. Sessions starting with a command such as /goal are listed too. +- The input could stop taking text after the input method's connection dropped (macOS Pinyin). +- A code block being written could occasionally freeze the window (Intel Macs). +- Code blocks are colored again after switching themes. +- A terminal paused on Linux reads its output again once resumed. +- Stashing works with Git before 2.13. +- Home and End move to the line's start and end in the Markdown editor. diff --git a/release-notes/1.9.0.zh.md b/release-notes/1.9.0.zh.md new file mode 100644 index 00000000..d33da46e --- /dev/null +++ b/release-notes/1.9.0.zh.md @@ -0,0 +1,36 @@ +这一版重做了智能体窗口:改成卡片式布局,侧边栏、对话和侧边面板可以选四种排布。Windows 电脑也能作为 SSH 远程主机了。另外新增 /fork,agent 提问后对话里会留下问答。 + +新功能 +- 智能体窗口改成卡片式布局,侧边栏、对话和侧边面板各在一张卡片上。侧边面板的「布局」按钮可以在四种排布之间切换,侧边栏也能放在右边。 +- 对话的标题和按钮放在对话自己的卡片上。分屏时窗口右上角只有一组按钮,每个窗格的信息显示在各自的卡片里,不再另占一行。 +- 对话下方一行显示 agent 的工作目录(点一下复制路径)和上下文用量,超过 80% 时提示。 +- Windows 可以作为 SSH 远程主机:连接、文件、PowerShell 终端、语言服务器诊断都能用。状态栏显示主机系统。 +- SSH 项目里,远程 agent 也能用操作本机的工具,端口双向转发。 +- /fork:在输入框里输入 /fork,复制当前对话,在新对话里接着聊。 +- agent 提问、你回答之后,对话里会留下每个问题和你的回答,整轮折叠后也看得到。 +- 侧边面板里每个对话有自己的 Git 日志,下面的本地改动可以折叠。 +- 编辑器和侧边面板的文件标签可以拖动排序。 + +手机 +- 手机上浏览文件时能看到被 Git 忽略的文件,显示为灰色。 +- Bot 回复里的文件链接在手机上能打开。 +- 电脑重启后,手机上的新会话不会再显示成以前的会话。 + +改进 +- 没装 Claude Code 时,默认使用 BaoCode 内置内核,不再推荐安装官方命令行。 +- 编辑卡片的改动改为行内显示。 +- 流式输出代码块时只重排、重新着色变化的部分,长回复不再卡顿。 +- 会话历史只读取要显示的部分;会话文件变长时接着上次的位置读。大请求的 JSON 不在界面线程上处理,CPU 占用更低。 +- 聊天里的文件链接按 agent 工具的方式解析路径,`~` 和相对路径都能点开。 +- Bao Dark / Bao Light 的灰色更接近中性灰,沙金主色不变。 +- 对话较窄时,回合末尾的耗时、速度、费用、tokens 会自动换行。 +- 侧边面板不再有浏览器页,agent 的浏览器工具照常可用。 + +修复 +- 第一条消息前带有附加提示(编辑器里打开的文件、从手机发送、Ask 模式)的会话,重启后不再从列表里消失。以 /goal 等命令开头的会话也会列出来。 +- 输入法连接断开后输入框打不进字的问题(macOS 自带拼音)。 +- 流式输出代码块偶尔卡住窗口的问题(Intel Mac)。 +- 换主题后,代码块会重新着色。 +- Linux 上终端暂停后恢复,能继续读取输出。 +- Git 2.13 以前的版本也能暂存(stash)。 +- Markdown 编辑器里 Home / End 移到行首、行尾。 diff --git a/site/changelog.html b/site/changelog.html index b4a82a8a..0c610986 100644 --- a/site/changelog.html +++ b/site/changelog.html @@ -30,6 +30,50 @@

Changelog

What changed in each version of BaoCode.

+
+

1.9.0

+

This release rebuilds the agents' window with cards, and the sidebar, conversations and side panel can be arranged in four layouts. A Windows computer can now be an SSH host. /fork is new, and an agent's questions stay in the conversation with your answers.

+

New

+ +

Phones

+ +

Improved

+ +

Fixed

+ +
+

1.8.1

This release mostly improves the phone: the computer can keep to direct connections with no relay; messages sent from the phone get plain-text replies that read well there; bots work better. It also adds back and forward on the mouse's side buttons, formulas copied as TeX, Gitee, and usage priced the way upstreams price. On the phone, 0.1.6 is recommended, and Direct Only needs it.

diff --git a/site/download.html b/site/download.html index e0b4d9ba..278f2f3e 100644 --- a/site/download.html +++ b/site/download.html @@ -35,7 +35,7 @@

Download BaoCode

-

Version 1.8.1Free and open source

+

Version 1.9.0Free and open source

diff --git a/site/index.html b/site/index.html index 4d3ce32d..80a3ecd5 100644 --- a/site/index.html +++ b/site/index.html @@ -78,7 +78,7 @@

BaoCode

An awesome, easy-to-use desktop UI for Claude Code, with a millisecond-fast IDE built in.

-

Version 1.8.1macOS (Apple silicon and Intel), Windows (x64 and Arm64) and Linux, phone app in betaFree and open sourceUpdated 2 November 2026

+

Version 1.9.0macOS (Apple silicon and Intel), Windows (x64 and Arm64) and Linux, phone app in betaFree and open sourceUpdated 4 November 2026

Download for Mac diff --git a/site/zh/changelog.html b/site/zh/changelog.html index 99425606..b52cef79 100644 --- a/site/zh/changelog.html +++ b/site/zh/changelog.html @@ -30,6 +30,50 @@

更新日志

BaoCode 每个版本的变化。

+
+

1.9.0

+

这一版重做了智能体窗口:改成卡片式布局,侧边栏、对话和侧边面板可以选四种排布。Windows 电脑也能作为 SSH 远程主机了。另外新增 /fork,agent 提问后对话里会留下问答。

+

新功能

+
    +
  • 智能体窗口改成卡片式布局,侧边栏、对话和侧边面板各在一张卡片上。侧边面板的「布局」按钮可以在四种排布之间切换,侧边栏也能放在右边。
  • +
  • 对话的标题和按钮放在对话自己的卡片上。分屏时窗口右上角只有一组按钮,每个窗格的信息显示在各自的卡片里,不再另占一行。
  • +
  • 对话下方一行显示 agent 的工作目录(点一下复制路径)和上下文用量,超过 80% 时提示。
  • +
  • Windows 可以作为 SSH 远程主机:连接、文件、PowerShell 终端、语言服务器诊断都能用。状态栏显示主机系统。
  • +
  • SSH 项目里,远程 agent 也能用操作本机的工具,端口双向转发。
  • +
  • /fork:在输入框里输入 /fork,复制当前对话,在新对话里接着聊。
  • +
  • agent 提问、你回答之后,对话里会留下每个问题和你的回答,整轮折叠后也看得到。
  • +
  • 侧边面板里每个对话有自己的 Git 日志,下面的本地改动可以折叠。
  • +
  • 编辑器和侧边面板的文件标签可以拖动排序。
  • +
+

手机

+
    +
  • 手机上浏览文件时能看到被 Git 忽略的文件,显示为灰色。
  • +
  • Bot 回复里的文件链接在手机上能打开。
  • +
  • 电脑重启后,手机上的新会话不会再显示成以前的会话。
  • +
+

改进

+
    +
  • 没装 Claude Code 时,默认使用 BaoCode 内置内核,不再推荐安装官方命令行。
  • +
  • 编辑卡片的改动改为行内显示。
  • +
  • 流式输出代码块时只重排、重新着色变化的部分,长回复不再卡顿。
  • +
  • 会话历史只读取要显示的部分;会话文件变长时接着上次的位置读。大请求的 JSON 不在界面线程上处理,CPU 占用更低。
  • +
  • 聊天里的文件链接按 agent 工具的方式解析路径,~ 和相对路径都能点开。
  • +
  • Bao Dark / Bao Light 的灰色更接近中性灰,沙金主色不变。
  • +
  • 对话较窄时,回合末尾的耗时、速度、费用、tokens 会自动换行。
  • +
  • 侧边面板不再有浏览器页,agent 的浏览器工具照常可用。
  • +
+

修复

+
    +
  • 第一条消息前带有附加提示(编辑器里打开的文件、从手机发送、Ask 模式)的会话,重启后不再从列表里消失。以 /goal 等命令开头的会话也会列出来。
  • +
  • 输入法连接断开后输入框打不进字的问题(macOS 自带拼音)。
  • +
  • 流式输出代码块偶尔卡住窗口的问题(Intel Mac)。
  • +
  • 换主题后,代码块会重新着色。
  • +
  • Linux 上终端暂停后恢复,能继续读取输出。
  • +
  • Git 2.13 以前的版本也能暂存(stash)。
  • +
  • Markdown 编辑器里 Home / End 移到行首、行尾。
  • +
+
+

1.8.1

这一版主要改进手机:电脑可以设成仅直连、不经中继;在手机上发消息时,agent 会改用适合手机看的纯文字回复;Bot 也更好用了。另外加了鼠标侧键前进后退、公式复制成 TeX、Gitee 支持,用量统计也能按上游的方式计价。手机上建议更新到 0.1.6,仅直连需要 0.1.6。

diff --git a/site/zh/download.html b/site/zh/download.html index 2f60b184..ac93a397 100644 --- a/site/zh/download.html +++ b/site/zh/download.html @@ -35,7 +35,7 @@

下载 BaoCode

-

版本 1.8.1免费开源

+

版本 1.9.0免费开源

diff --git a/site/zh/index.html b/site/zh/index.html index 5513fe1e..ac427c4b 100644 --- a/site/zh/index.html +++ b/site/zh/index.html @@ -78,7 +78,7 @@

BaoCode

好看又好用的 Claude Code 桌面应用,内置毫秒级响应的 IDE。

-

版本 1.8.1macOS(Apple 芯片和 Intel)、Windows(x64 和 Arm64)和 Linux,手机版 Beta免费开源更新于 2026 年 11 月 2 日

+

版本 1.9.0macOS(Apple 芯片和 Intel)、Windows(x64 和 Arm64)和 Linux,手机版 Beta免费开源更新于 2026 年 11 月 4 日