diff --git a/lib/update/version.dart b/lib/update/version.dart index 3bebb126f..f5d40ca69 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.9.2+28'; +const appVersionString = '1.9.3+29'; final AppVersion currentAppVersion = AppVersion.parse(appVersionString); diff --git a/pubspec.yaml b/pubspec.yaml index 995607184..1a981d938 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.9.2+28 +version: 1.9.3+29 environment: sdk: ^3.13.4 diff --git a/release-notes/1.9.3.en.md b/release-notes/1.9.3.en.md new file mode 100644 index 000000000..6d22350db --- /dev/null +++ b/release-notes/1.9.3.en.md @@ -0,0 +1,16 @@ +This release can put files back when you edit a message, shows and uses Claude subscription limit resets, runs on Kylin and UOS Linux, and fixes how context usage is counted along with a batch of chat problems. + +New +- When you edit an earlier message and send it again, the files the agent changed from that message on can go back as they were; what you or another conversation changed since is kept. Settings → General → Edited Messages: Ask Each Time, Undo the Changes or Keep the Changes. For Claude Code and BaoCode Agent; changes made by commands (Bash) are not tracked. +- Settings → Models shows, on the Claude Code row, the limit resets your subscription has: how many, what each clears, how much is used and until when. One is used only after you confirm. +- The Linux .deb runs on glibc 2.31 systems such as Kylin V10 SP1 and UOS 20. +- The phone app shows how full a conversation's context is (phone app 0.1.10). + +Fixed +- Context usage shows what the model reported: a conversation full of screenshots no longer counts as millions of tokens, and tool results are counted by call, an image as one. +- Full access no longer asks about the safety checks Claude Code leaves to a person; your own ask rules still apply. +- File links an agent writes after changing folders open, and tell a file of your computer from one on the SSH host. +- When an upstream reports 0 input tokens, usage no longer shows every call as fully cached. +- The commit panel no longer stalls while the agent answers (hangs of seconds on Intel Macs). +- Dragging from the start of the text below a code block selects that text. +- The side panel's buttons no longer cover the chat find bar's close button. diff --git a/release-notes/1.9.3.zh.md b/release-notes/1.9.3.zh.md new file mode 100644 index 000000000..d589cdc4c --- /dev/null +++ b/release-notes/1.9.3.zh.md @@ -0,0 +1,16 @@ +这一版加了编辑消息时恢复文件,能查看和使用 Claude 订阅的额度重置,Linux 版能在银河麒麟、统信 UOS 上运行,另外修正了上下文用量的统计和一批对话问题。 + +新功能 +- 编辑之前的消息再发送时,如果 Agent 从那条消息起改过文件,可以选择把这些文件恢复原样,你或其他对话后来的改动会保留。设置 → 通用 → 修改历史消息里可以选每次询问、撤回改动或保留改动。支持 Claude Code 和 BaoCode Agent,命令(Bash)做的改动不在其中。 +- 设置 → 模型里,Claude Code 一行会显示订阅可用的额度重置:有几次、各自清掉什么、用了多少、到什么时候,确认后才会使用。 +- Linux 的 .deb 安装包能在 glibc 2.31 的系统上运行,比如银河麒麟 V10 SP1 和统信 UOS 20。 +- 手机版能看到对话的上下文用量(需要手机版 0.1.10)。 + +修复 +- 上下文用量按模型实际报告的显示:带大量截图的对话不再被算成几百万 token,工具结果按调用计算,一张图算一份。 +- 完全访问模式下,不再询问 Claude Code 留给人确认的安全检查;你自己设的询问规则仍然有效。 +- Agent 切换目录后写出的文件链接能正确打开,也能分清是本机的文件还是 SSH 主机上的文件。 +- 部分上游把输入 token 报成 0 时,用量不再全部显示为命中缓存。 +- Agent 回复时提交面板不再卡顿(Intel Mac 上曾出现几秒的卡死)。 +- 在代码块下方的文字上从行首拖动,能正常选中这段文字。 +- 侧边面板的按钮不再挡住对话查找栏的关闭按钮。 diff --git a/site/changelog.html b/site/changelog.html index 0c46dd981..438a3e7a9 100644 --- a/site/changelog.html +++ b/site/changelog.html @@ -30,6 +30,28 @@

Changelog

What changed in each version of BaoCode.

+
+

1.9.3

+

This release can put files back when you edit a message, shows and uses Claude subscription limit resets, runs on Kylin and UOS Linux, and fixes how context usage is counted along with a batch of chat problems.

+

New

+ +

Fixed

+ +
+

1.9.2

This release fixes a batch of chat, model and SSH problems, brings SSH remote to Linux hosts on RISC-V, and lets models go through magpie's gateway.

diff --git a/site/zh/changelog.html b/site/zh/changelog.html index 9d3962a0c..1d1ad1883 100644 --- a/site/zh/changelog.html +++ b/site/zh/changelog.html @@ -30,6 +30,28 @@

更新日志

BaoCode 每个版本的变化。

+
+

1.9.3

+

这一版加了编辑消息时恢复文件,能查看和使用 Claude 订阅的额度重置,Linux 版能在银河麒麟、统信 UOS 上运行,另外修正了上下文用量的统计和一批对话问题。

+

新功能

+
    +
  • 编辑之前的消息再发送时,如果 Agent 从那条消息起改过文件,可以选择把这些文件恢复原样,你或其他对话后来的改动会保留。设置 → 通用 → 修改历史消息里可以选每次询问、撤回改动或保留改动。支持 Claude Code 和 BaoCode Agent,命令(Bash)做的改动不在其中。
  • +
  • 设置 → 模型里,Claude Code 一行会显示订阅可用的额度重置:有几次、各自清掉什么、用了多少、到什么时候,确认后才会使用。
  • +
  • Linux 的 .deb 安装包能在 glibc 2.31 的系统上运行,比如银河麒麟 V10 SP1 和统信 UOS 20。
  • +
  • 手机版能看到对话的上下文用量(需要手机版 0.1.10)。
  • +
+

修复

+
    +
  • 上下文用量按模型实际报告的显示:带大量截图的对话不再被算成几百万 token,工具结果按调用计算,一张图算一份。
  • +
  • 完全访问模式下,不再询问 Claude Code 留给人确认的安全检查;你自己设的询问规则仍然有效。
  • +
  • Agent 切换目录后写出的文件链接能正确打开,也能分清是本机的文件还是 SSH 主机上的文件。
  • +
  • 部分上游把输入 token 报成 0 时,用量不再全部显示为命中缓存。
  • +
  • Agent 回复时提交面板不再卡顿(Intel Mac 上曾出现几秒的卡死)。
  • +
  • 在代码块下方的文字上从行首拖动,能正常选中这段文字。
  • +
  • 侧边面板的按钮不再挡住对话查找栏的关闭按钮。
  • +
+
+

1.9.2

这一版修了一批对话、模型和 SSH 相关的问题,另外 SSH 远程开始支持 RISC-V 的 Linux 主机,模型可以接入 magpie 的网关。