Skip to content

v0.4.3 - guide main agent to emit parallel sub-agent tool calls + 子 Agent 工具体系 + 配置增强 + 流式 UTF-8 修复

Choose a tag to compare

@github-actions github-actions released this 20 Jul 20:56
· 322 commits to master since this release

guide main agent to emit parallel sub-agent tool calls

包含v0.4.2的全部功能:、

v0.4.2 - 子 Agent 工具体系 + 配置增强 + 流式 UTF-8 修复
新增:

  • 子 Agent 工具体系(Wave 1-4):AgentTool/SpawnRequest/ToolType,allowed_sub_agents 过滤,oneshot 响应
  • Agent 级别配置覆盖:model/temperature/steps 应用到子会话
  • 配置系统:项目级配置 merge,[[agent.builtin]] 字段级合并与覆盖
  • LLM tracing span 增加 base_url

修复:

  • LLM 流式 UTF-8 多字节字符跨 TCP chunk 损坏(openai 静默乱码 + anthropic 流中止)
  • UI debug log 的 utf-8 panic(floor_char_boundary)
  • selection 提取文本跳过全角续字节
  • 子 agent tab 生成标志 + Done/Error 事件路由
  • ToolContext global_tx/trace_id/iter_span 填充
  • 子 agent spawn 使用传入 TraceContext
  • confirm 前 flush streaming text 走 markdown 渲染

重构:

  • 内联单元测试抽取到独立 _tests.rs 文件(visp-db/visp-agent/visp-llm)
  • agent_loop 简化

文档:

  • tool display 设计文档
  • visp-proto 中文注释(build.rs + lib.rs)

涉及 crate:visp-core, visp-agent, visp-cli, visp-llm, visp-daemon, visp-db, visp-proto, visp-tools