Skip to content

Commit f6000db

Browse files
committed
Version 1.0.5 is released.
1 parent 69282c8 commit f6000db

9 files changed

Lines changed: 24 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@
1010
- 除此之外还优化了其他卡顿问题和UI
1111

1212
## en
13-
13+
- Optimized the streaming UI to handle touch interruptions and prevent rendering when the user interrupts (though the data is still preserved in the context, even if the visual result is less polished).
14+
- Optimized performance to resolve UI rendering lag during very long conversations and when large amounts of UI content are generated near the end of a turn.
15+
- Refined the streaming UI experience during conversations.
16+
- Added configuration options for context window size and maximum output tokens to model cards (defaulting to 128K and 12.8K if not specified).
17+
- Enhanced support for the Anthropic protocol.
18+
- Added WebView-based H5 rendering code for Linux and macOS (though not yet verified).
19+
- Implemented various other UI and performance optimizations to reduce lag.
1420

1521
# V1.0.4
1622

future_guide.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22

33
- 核心功能上:理解并且实现新趋势的Engineering并且做成更为轻量化的插拔形式
44
- 支持gguf文件的解析和部署
5-
- 实验室功能,放一些独立的MCP来操作你的本地软件,思路有ActiveX、软件本身API、CV(这个要考虑模型性能、延迟、价格)
5+
- 实验室功能,放一些独立的MCP来操作你的本地软件,思路有ActiveX、软件本身API、CV模型(这个要考虑模型性能、延迟、价格)
66
- 更好的多Agent协作模式。是的,这个我一直没有进行优化,交给你们了
77
- 给RemindAI做款自己的DSL语言,用于Agent和用户之间的IO,建议是DSL独立解释器和模型通信的开放形式,这样不会大改源代码
88
- 制作定时任务
99
- 更为全面的配置。例如模型温度、每轮最大工具调用建议阈值等等等全是静态的,不灵活(虽然对于我来说是最优参数值)
10-
-
11-
1210

1311
> 愿你们做的更好

lib/core/llm/llm_client.dart

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,9 @@ class _ToolCallAccumulator {
656656
}
657657

658658
try {
659-
args = rawArgs.isEmpty ? <String, dynamic>{} : jsonDecode(rawArgs) as Map<String, dynamic>;
659+
args = rawArgs.isEmpty
660+
? <String, dynamic>{}
661+
: jsonDecode(rawArgs) as Map<String, dynamic>;
660662
} catch (e) {
661663
// ─── arguments JSON 解析失败:尝试修复 ───
662664
// 常见原因:
@@ -704,7 +706,9 @@ class _ToolCallAccumulator {
704706
if (!fixed.endsWith('}')) {
705707
// 尝试补全:移除末尾不完整的部分,加上 }
706708
// 找到最后一个完整的值结束位置(", 或 数字, 或 true/false/null, 或 }])
707-
final lastComplete = RegExp(r'["\d\]}\w](,?)(?:\s*"[^"]*"\s*:\s*(?:"[^"]*$|[^,}\]]*$))?$');
709+
final lastComplete = RegExp(
710+
r'["\d\]}\w](,?)(?:\s*"[^"]*"\s*:\s*(?:"[^"]*$|[^,}\]]*$))?$',
711+
);
708712
final match = lastComplete.firstMatch(fixed);
709713
if (match != null) {
710714
// 截断到最后一个完整值

lib/core/toolshell/executor.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,11 @@ class Executor {
239239
return _err(
240240
'INVALID_ARGS',
241241
'toolshell_write 参数为空(可能是内容过长导致参数传输失败)。\n'
242-
'建议:\n'
243-
'1. 如果要写入的内容很长,请先用 toolshell_exec 执行 echo/cat 命令写入\n'
244-
'2. 或者分多次写入(先 create 空文件,再 append 内容)\n'
245-
'3. 确保 path、content、mode 三个参数都已提供\n'
246-
'必需参数: path (String), content (String), mode ("create"|"overwrite"|"append")',
242+
'建议:\n'
243+
'1. 如果要写入的内容很长,请先用 toolshell_exec 执行 echo/cat 命令写入\n'
244+
'2. 或者分多次写入(先 create 空文件,再 append 内容)\n'
245+
'3. 确保 path、content、mode 三个参数都已提供\n'
246+
'必需参数: path (String), content (String), mode ("create"|"overwrite"|"append")',
247247
);
248248
}
249249

lib/l10n/app_en.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"chatNewWorkspace": "New workspace",
106106
"chatNeedConfig": "API URL, key, and model name must be configured",
107107
"chatStartConversation": "Start conversation",
108-
"chatSupportsTools": "Supports file operations, shell commands, memory storage",
108+
"chatSupportsTools": "Take AI beyond the chat box and let it truly get hands-on with your work",
109109
"chatCreateWorkspace": "Create workspace",
110110
"chatAttachments": "Attachments",
111111
"chatSlashCommands": "Commands",

lib/l10n/app_localizations.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ abstract class S {
682682
/// No description provided for @chatSupportsTools.
683683
///
684684
/// In zh, this message translates to:
685-
/// **'支持文件操作、Shell 命令、记忆存储'**
685+
/// **'让 AI 走出对话框,真正「上手」你的工作'**
686686
String get chatSupportsTools;
687687

688688
/// No description provided for @chatCreateWorkspace.

lib/l10n/app_localizations_en.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ class SEn extends S {
314314

315315
@override
316316
String get chatSupportsTools =>
317-
'Supports file operations, shell commands, memory storage';
317+
'Take AI beyond the chat box and let it truly get hands-on with your work';
318318

319319
@override
320320
String get chatCreateWorkspace => 'Create workspace';

lib/l10n/app_localizations_zh.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ class SZh extends S {
308308
String get chatStartConversation => '开始对话';
309309

310310
@override
311-
String get chatSupportsTools => '支持文件操作、Shell 命令、记忆存储';
311+
String get chatSupportsTools => '让 AI 走出对话框,真正「上手」你的工作';
312312

313313
@override
314314
String get chatCreateWorkspace => '创建工作目录';

lib/l10n/app_zh.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"chatNewWorkspace": "新建工作目录",
107107
"chatNeedConfig": "需要配置 API 地址、密钥和模型名称",
108108
"chatStartConversation": "开始对话",
109-
"chatSupportsTools": "支持文件操作、Shell 命令、记忆存储",
109+
"chatSupportsTools": "让 AI 走出对话框,真正「上手」你的工作",
110110
"chatCreateWorkspace": "创建工作目录",
111111
"chatAttachments": "附件",
112112
"chatSlashCommands": "命令",

0 commit comments

Comments
 (0)