Skip to content

Aineer v0.7.0

Choose a tag to compare

@andeya andeya released this 12 Apr 08:52
· 56 commits to main since this release

Platform & distribution

  • Tauri 2 + React + Vite: Desktop app shell with Bun/Biome toolchain, IPC split by domain modules.
  • Embedded CLI: Run aineer-cli from the app with --cli / -c.
  • Workspace & branding: .aineer config, 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|major and version:set scripts.

Chat, AI & agent (desktop)

  • Real streaming: send_ai_message → CLI desktop bridge; ai_stream_delta with kind: text | thinking.
  • Agent: start_agent runs tool loop via desktop path; stop_agent(block_id); error events as kind: 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; $PATH command completion; history hints from ~/.zsh_history / ~/.bash_history; isFirstWord so 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 and package.json scripts.

平台与发布

  • Tauri 2 + React + Vite 桌面栈,Bun/Biome,IPC 按领域拆分。
  • 内嵌 CLI:应用内通过 --cli / -c 调用 aineer-cli
  • 工作区与品牌.aineer 配置、crate 重命名(aineer-protocolaineer-engineaineer-cli)、Aineer 品牌;弃用旧 GPUI/原生 UI crate,统一为 Web UI + Tauri。
  • 版本:升至 0.7.0version:patch|minor|majorversion:set 脚本。

对话、AI 与 Agent(桌面)

  • 真实流式send_ai_message → CLI desktop 桥接;ai_stream_delta 支持 kind: text | thinking
  • Agentstart_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 编辑器(懒加载)。
  • 缓存:启动时定时自动清理。

工程与质量

  • 工作区 ClippyrustfmtCI 与 package.json 中 clippy/fmt 命令对齐(含 --all-targets)。

Full Changelog: v0.6.9...v0.7.0

Full Changelog: v0.6.9...v0.7.0