10 Commits

Author SHA1 Message Date
oudecheng
8d530dcd6b feat: 添加确保会话存在的功能,优化子智能体会话管理 2026-05-20 17:21:14 +08:00
oudecheng
1dcdd24519 feat: 保存子智能体产生的所有消息到数据库,增强消息持久化功能 2026-05-20 16:23:24 +08:00
oudecheng
fc628239a4 feat: 添加技能索引支持到子代理系统提示词构建,优化提示词组合逻辑 2026-05-20 15:34:34 +08:00
oudecheng
b364496601 feat: 添加生成系统环境信息提示词的功能,并在子代理提示词构建中集成 2026-05-20 15:13:06 +08:00
oudecheng
8f82009c32 feat: 重命名工具名称,简化工具调用接口 2026-05-19 15:18:04 +08:00
831832664d feat: 重构会话管理逻辑,添加获取当前话题的方法,简化命令处理中的会话获取逻辑 2026-05-16 20:19:49 +08:00
6b5d45e3a5 feat: 添加探索类型最大执行时间配置,优化子代理任务执行逻辑 2026-05-16 17:05:03 +08:00
bee1a39a06 feat: add task management tool with subagent support
- Introduced `TaskConfig` struct to manage task-related configurations.
- Implemented `TaskTool` for creating and managing subagents for complex tasks.
- Added `TaskSession` and `TaskRepository` for handling task sessions and persistence.
- Created `DefaultSubAgentRuntime` to execute tasks with timeout and history support.
- Enhanced `ToolContext` to include `subagent_description` for better context tracking.
- Implemented error handling for task execution and session management.
- Updated `ToolRegistryFactory` to register task tools conditionally based on configuration.
- Added prompt builders for subagent tasks to improve interaction clarity.
2026-05-16 16:12:28 +08:00
9bf57c1132 feat: 移除任务管理相关功能,简化工具配置和依赖 2026-05-16 09:08:40 +08:00
020b7aa77a feat: 添加任务管理功能,支持创建和恢复子代理任务,优化任务执行和状态管理 2026-05-16 08:50:15 +08:00