Aineer v0.7.0
Platform & distribution
- Tauri 2 + React + Vite: Desktop app shell with Bun/Biome toolchain, IPC split by domain modules.
- Embedded CLI: Run
aineer-clifrom the app with--cli/-c. - Workspace & branding:
.aineerconfig, crate renames (aineer-protocol,aineer-engine,aineer-cli), Aineer branding; remove legacy GPUI/native UI crates in favor of web UI + Tauri. - Release: Version 0.7.0;
version:patch|minor|majorandversion:setscripts.
Chat, AI & agent (desktop)
- Real streaming:
send_ai_message→ CLIdesktopbridge;ai_stream_deltawithkind: text | thinking. - Agent:
start_agentruns tool loop via desktop path;stop_agent(block_id); error events askind: error. - Concurrency:
spawn_blocking+ unified block IDs; optional cancel flags for streams. - Chat UX: Event listeners, safety timeouts, IPC failure recovery, model/cwd/shell-context passed from UI.
Shell & terminal
- PTY: Session, PTY manager, tray; execute commands with timeout.
- Shell completion (rewritten): Rust-native file/dir completion under project cwd;
$PATHcommand completion; history hints from~/.zsh_history/~/.bash_history;isFirstWordso argument lines don’t mix in commands;CompletionItem+isDir(trailing/vs space); LCP fill in UI; disable OS autocorrect on prompt.
Memory & settings
- Memory: Synchronous API; cross-platform home dir;
forget; Tauri commands without fake async. - Settings: Extended schema/loader; CodeMirror JSON editor (lazy).
- Cache: Scheduled auto-cleanup on startup.
Tooling & quality
- Workspace clippy (
all=warn,unsafe_code=forbid), rustfmt, cargo clippy --all-targets aligned with CI andpackage.jsonscripts.
平台与发布
- Tauri 2 + React + Vite 桌面栈,Bun/Biome,IPC 按领域拆分。
- 内嵌 CLI:应用内通过
--cli/-c调用aineer-cli。 - 工作区与品牌:
.aineer配置、crate 重命名(aineer-protocol、aineer-engine、aineer-cli)、Aineer 品牌;弃用旧 GPUI/原生 UI crate,统一为 Web UI + Tauri。 - 版本:升至 0.7.0;
version:patch|minor|major与version:set脚本。
对话、AI 与 Agent(桌面)
- 真实流式:
send_ai_message→ CLIdesktop桥接;ai_stream_delta支持kind: text | thinking。 - Agent:
start_agent经 desktop 跑工具回路;stop_agent(block_id);错误以kind: error推送。 - 并发:
spawn_blocking+ 统一 block ID;流式/任务可取消。 - 聊天体验:事件监听、安全超时、IPC 失败恢复;前端传 model/cwd/shell 上下文。
Shell 与终端
- PTY:会话、PTY 管理、托盘;带超时的命令执行。
- Shell 补全(重写):Rust 原生 目录/文件(相对项目 cwd)、
$PATH命令、历史(zsh/bash);首词与参数补全分离;目录后缀/与公共前缀填充;输入框关闭系统自动纠正。
记忆与设置
- 记忆:同步 API、跨平台主目录、删除接口;Tauri 侧去掉伪 async。
- 设置:配置 schema/加载器扩展;CodeMirror JSON 编辑器(懒加载)。
- 缓存:启动时定时自动清理。
工程与质量
- 工作区 Clippy、rustfmt、CI 与 package.json 中 clippy/fmt 命令对齐(含
--all-targets)。
Full Changelog: v0.6.9...v0.7.0
Full Changelog: v0.6.9...v0.7.0