Releases: Agions/taskflow-ai
Releases · Agions/taskflow-ai
v4.0.0 - Complete Architecture Overhaul
🎉 Major Release - Complete Architecture Overhaul
Summary
This major release represents a complete architectural transformation of TaskFlow AI, introducing a modern, enterprise-grade extension system with plugin-based architecture.
✨ Added
- Unified Type System: Consolidated duplicate type definitions
- Extension System: Plugin architecture with 4 extension types
- Event-Driven Architecture: EventBus for decoupled communication
- Tool Registry: 20+ built-in tools
- Workflow Engine: 8 node types
- Adapter Pattern: Unified AI/Storage/Protocol interfaces
📊 Metrics
- 314 TypeScript files
- 36 test files
- ~93% test coverage
- <3% code duplication
Full Changelog: https://github.com/Agions/taskflow-ai/blob/main/CHANGELOG.md
v3.0.0 - 事件驱动架构
🚀 v3.0.0 Major Upgrade
新增功能
- EventBus 事件驱动系统 - 松耦合,实时响应
- 插件系统 PluginManager - 可扩展生命周期管理
- 多Agent协作 AgentCrew - 支持顺序/层级/并行三种协调模式
- 工具系统 ToolRegistry - 20+ 内置工具
- Function Calling - 结构化输出,类型安全
- RateLimiter 智能限流 - 保护 API 配额
- 多级缓存系统 - MemoryCache + LocalCache 分层
技术架构
src/core/
├── events/ # EventBus 事件驱动
├── plugins/ # PluginManager
├── multi-agent/ # AgentCrew
├── tools/ # ToolRegistry
├── function-call/ # FunctionCalling
├── cache/ # 多级缓存
└── network/ # RateLimiter
构建信息
- 输出大小: 2220.76 KB
- 测试用例: 152/152 通过
v2.2.5
Fix CI Node version issue - final attempt
Full Changelog: v2.2.2...v2.2.5
v2.2.1
Release v2.2.0
Fix discussions links and documentation updates
v2.1.13
🐛 Bug Fixes
-
CLI 命令修复 — 注册缺失的命令
- 注册
taskflow model命令(包含 list/add/remove/enable/disable/test 子命令) - 注册
taskflow doctor命令 - 添加
taskflow status list子命令,支持查看 parse 生成的任务列表
- 注册
-
文档更新
- 修正 CLI 文档中的命令名称(models → model)
- 移除不存在的命令文档(logs、cache)
✨ New Features
taskflow status list新增功能- 支持
--filter过滤任务 - 支持
--sort排序 - 支持
--format jsonJSON 输出 - 支持
--output指定任务文件目录
- 支持
感谢所有用户的反馈!
v2.1.11 — 类型安全强化 + 状态机Bug修复 + 验证引擎升级
v2.1.11 — 类型安全强化 + 状态机Bug修复 + 验证引擎升级
🔧 Critical Bug Fixes
状态机重试死循环修复
retryCount从未递增:现已通过incrementRetryassign action 正确累计verificationResult从未写入 context:现已通过setVerificationResultaction 填充- XState v5
onDone:[guard,guard,guard]并行评估竞态:现已通过verificationDecision中转节点彻底解决 - 5 个 named action 全部正式实现
Plugin 热重载
PluginManager.reload(pluginId)原子 unload+load,运行时更新插件无需重启
工具响应 Schema 统一
ToolResponse<T>+toolOk()/toolError()封装,所有 MCP 工具返回结构一致
并行执行超时
Promise.race超时取消机制,支持部分结果保留
Router 诊断增强
SmartRouter.explain()返回优先级评分明细
✅ Verification Engine Upgrade
- TypeSafetyChecker:实际运行
tsc --noEmit,替代原有空壳实现 - CodeQualityChecker:真实运行
npx eslint --format=json+ 启发式扫描
🧪 Testing
- 新增 14 个测试(VerificationEngine + CodeQualityChecker)
- 总测试数:152 passed
📝 Full Changelog
See CHANGELOG.md
v2.1.10 - Documentation Improvements
Documentation Improvements
- Fix duplicate features section in docs index.md
- Add npm links to navigation and social links
- Optimize sidebar structure for better organization
- Update version badge in README.md to 2.1.9
- Fix broken link to contributing guide
v2.1.9 - Security Fix
Security Fix
- Fix command injection vulnerability (CWE-78)
- Validate tool names against registry before execution
- Block shell metacharacters in terminal commands
Fixes
- #2 Command Injection Vulnerability
Upgrade
npm install taskflow-ai@latestv2.1.6
Full Changelog: v2.1.6...v2.1.6