v0.3.7

parruda/swarmv0.3.7Aug 4, 2026by github-actions[bot]

AI Summary

Focuses on advanced agent capabilities including parallel sub-agent exploration, real-time TUI monitoring, and a sophisticated memory system with hot/cold separation.

Key Highlights

  • Model-driven parallel sub-agent fanout with evidence merging
  • TUI sub-agent real-time monitoring panel
  • Hot/cold memory separation and search functionality
  • Unified context budget and structured compression
  • Web Settings configuration page

New Features

  • Sub-agent exploration mechanism
  • TUI monitoring
  • Memory management system
  • Context compression
  • Web UI configuration

Full Release Notes

## Highlights

- **模型驱动并行子 Agent 扇出** — `spawn_subagents` 工具让主模型一轮内并发探索多个独立攻击方向;子证据合并回父状态统一重分配 eNNN,带完整生命周期预算与安全上限(max_depth 硬顶 2)
- **TUI 子代理实时监控面板** — 私有 JSON 行协议实时展示每个子代理角色/状态/步数/进展,独立 run_id + 事件 token 防旧 worker 污染
- **冷热记忆分离** — 热上下文默认 48 条 / 32K token,超出自动归档到冷记忆 JSONL 分片,`memory_search` 按需检索;大工具输出自动归档为指针+预览
- **统一上下文预算与结构化压缩** — `prepare_context()` 唯一预算入口覆盖全部 LLM 路径;70% 触发、55% 目标的结构化压缩生成确定性 `[context digest v1]`,敏感字段脱敏,审计事件完整记录
- **工具循环上下文重构** — 稳定前缀 + 可变工具循环尾部,仅在超高水位时压缩;流式调用 `asyncio.to_thread` 避免阻塞兄弟 agent
- **Web Settings 配置页** — 支持上下文压缩与记忆配置的 UI 管理
- **英文贡献指南** — 新增 CONTRIBUTING_EN.md(issue #157),服务国际贡献者

## What's Changed

* feat(tui): /scope 动作约束改为表格弹窗 by @FarStar-CN in #138
* feat(tui): persist /scope state to config.yaml by @FarStar-CN in #142
* feat(i18n): render English-language runs fully in English by @JMAN730 in #136
* Add OSINT reconnaissance template and update Web module by @Unclecheng-li in #146
* Dev by @Unclecheng-li in #147
* Add image support for dark mode in README by @Unclecheng-li in #149
* Update README_EN.md by @Unclecheng-li in #150

**Full Changelog**: https://github.com/Unclecheng-li/VulnClaw/compare/v0.3.5...v0.3.7