Skip to content

Releases: Agions/taskflow-ai

v4.0.0 - Complete Architecture Overhaul

24 Apr 14:58

Choose a tag to compare

🎉 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 - 事件驱动架构

18 Apr 04:53

Choose a tag to compare

🚀 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

17 Apr 12:49

Choose a tag to compare

Fix CI Node version issue - final attempt

Full Changelog: v2.2.2...v2.2.5

v2.2.1

17 Apr 11:57

Choose a tag to compare

Fix pnpm-lock.yaml sync issue

Release v2.2.0

17 Apr 06:41

Choose a tag to compare

Fix discussions links and documentation updates

v2.1.13

17 Apr 03:56

Choose a tag to compare

🐛 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 json JSON 输出
    • 支持 --output 指定任务文件目录

感谢所有用户的反馈!

v2.1.11 — 类型安全强化 + 状态机Bug修复 + 验证引擎升级

11 Apr 04:11

Choose a tag to compare

v2.1.11 — 类型安全强化 + 状态机Bug修复 + 验证引擎升级

🔧 Critical Bug Fixes

状态机重试死循环修复

  • retryCount 从未递增:现已通过 incrementRetry assign action 正确累计
  • verificationResult 从未写入 context:现已通过 setVerificationResult action 填充
  • 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

27 Mar 07:07

Choose a tag to compare

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

27 Mar 06:40

Choose a tag to compare

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@latest

v2.1.6

19 Mar 07:37

Choose a tag to compare

Full Changelog: v2.1.6...v2.1.6