Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 13 Jun 11:47
· 24 commits to main since this release
66d032b

GrepTool, Clippy Thresholds & Code Decomposition

Bug 修复

  • 系统提示词注入修复:Agent trait 新增 insert_message_front 方法;修复系统提示词插入位置逻辑;replace_messages_preserve_system_prompt 空消息时正确过滤源 System 角色消息
  • CLI session 选择器修复:明确区分 Cancel vs Invalid 选择状态
  • GrepTool Windows 条件编译:通过 #[cfg] 隔离 Unix/Windows 平台代码

功能特性

  • Tool 超时机制:Tool trait 新增 default_timeout(),LLM 可动态覆盖超时,Worker 执行层 tokio::time::timeout 包裹,超时返回信息而非错误,TUI 实时显示 (elapsed/timeout)
  • 新增 GrepTool:系统 grep 搜索工具,支持正则、路径过滤、扩展名过滤、结果数限制
  • 社区 PR 合入:不可读目录跳过而非 panic

重构优化

  • Clippy 阈值 lint 配置.clippy.toml 配置 + crate root #![deny()]
  • 大量函数拆解:orchestrator.rs、sub_agent_runner.rs、reactor.rs、skill.rs、edit.rs、persistence.rs、message.rs、ui.rs、app.rs 等模块函数提取拆分
  • TUI 复杂函数 allow、移除未使用参数与冗余赋值

文档变更

  • 简化子 crate README
  • GitHelper 能力同步(commit/issue/PR)

CI 改进

  • clippy --all-targets 覆盖所有 target

完整提交日志

详见 doc/versions/v0.7.0.md

What's Changed

  • Release v0.7.0 — GrepTool, Clippy Thresholds & Code Decomposition by @cherish-ltt in #10

Full Changelog: v0.6.1...v0.7.0