Skip to content

v0.3.5

Choose a tag to compare

@YunTaiHua YunTaiHua released this 03 Aug 02:18
· 84 commits to main since this release

Highlights

  • Removed 10 deprecated slash commands (/branch, /commit, /diff, /files, /issue, /plan, /pr_comments, /status, /summary, /bridge) and the entire bridge module to streamline the codebase
  • Added context compaction (microcompact + full LLM compaction) as a documented feature

New Features

  • web: Agent creation wizard form for single-page agent creation
  • web: BtwCard side question panel with button support
  • terminal: AgentWizard step-by-step creation wizard
  • terminal: BtwPanel and BtwInlineInput components for side questions
  • backend: /btw side-question command and /agent command with completed agent summary
  • backend: side_question service and agent_creator service with validation and LLM-assisted generation
  • WebSocket: New message types for btw and agent wizard

Important Fixes

  • refactor: Removed 10 deprecated slash commands and bridge module (~1300 lines removed)
  • fix: Unified cache hit rate as single metric, removed misleading cache coverage
  • fix: Terminal text wrapping now uses CJK-aware width calculation
  • fix: Compressed checkpoint rebuild preserves accurate usage stats
  • fix: Token metering refactored to use API true usage as baseline
  • fix: QQ streaming 40007 prefix conflict and Feishu card image key errors

Refactoring

  • Session data directory uses CheckpointStore as single source of truth
  • Background agent summaries extracted from transcript task-notification
  • BtwPanel refactored with line wrapping, navigation, and Spinner

Documentation

  • Updated README and docs to remove command count claims
  • Added context compaction documentation
  • Replaced preview images

重点更新

  • 移除 10 个已废弃斜杠指令(/branch、/commit、/diff、/files、/issue、/plan、/pr_comments、/status、/summary、bridge)及整个 bridge 模块,精简代码库
  • 将上下文压缩机制(微压缩 + 全压缩)作为正式特性记录

新功能

  • web: Agent 创建向导表单,支持单页创建
  • web: BtwCard 侧问卡片与按钮支持
  • terminal: AgentWizard 分步创建向导
  • terminal: BtwPanel 与 BtwInlineInput 侧问组件
  • 后端: /btw 侧问指令和 /agent 指令(含已完成 agent 摘要查看)
  • 后端: side_question 服务和 agent_creator 服务(含校验与 LLM 辅助生成)
  • WebSocket: 新增 btw 与 agent 向导消息类型

重要修复

  • 重构: 移除 10 个已废弃斜杠指令和 bridge 模块(删除约 1300 行代码)
  • 修复: 统一缓存命中率为唯一指标,删除误导性的缓存覆盖率
  • 修复: 终端文本折行改用 CJK 感知的显示宽度计算
  • 修复: 压缩后重建 checkpoint 保留真实用量分项
  • 修复: 重构 token 计量体系,以 API 真实 usage 为基准
  • 修复: QQ 流式 40007 前缀冲突和飞书卡片 image key 报错

重构

  • 会话数据目录以 CheckpointStore 为唯一权威
  • 后台 agent 摘要改从 transcript task-notification 提取
  • BtwPanel 重构(换行 + 导航 + Spinner)

文档

  • 更新 README 和 docs,移除指令数量声明
  • 补充上下文压缩机制文档
  • 替换预览图片

Installation

pip install illusion-agent==0.3.5

安装

pip install illusion-agent==0.3.5

Full changelog: v0.3.4...v0.3.5