feat: SubAgent multi-role system, Cron scheduler, and Sessions UI#4
Merged
feat: SubAgent multi-role system, Cron scheduler, and Sessions UI#4
Conversation
…M e2e tests Backend: - SubAgent role-based routing with independent context/memory/model config - Inter-agent MessageBus (request/response/notify/broadcast) - CronScheduler (asyncio background task + croniter) with CronAgent execution - Complete execution logging for both SubAgent tasks and Cron jobs - New API endpoints: /sub-agents CRUD, /cron CRUD + executions - Session list API now returns model_name and channel - API endpoints properly commit DB transactions Frontend: - SessionsPage: searchable session list with model/message/time info - ChatPage meta panel: card-style tool/skill toggles, model badge, stats grid - Navigation: added Sessions entry - API types and hooks for SubAgents and Cron Tests: - 39 new unit tests (registry, message_bus, cron_manager) - 15 new integration tests (sub_agent + cron API) - 7 new e2e tests (LLM conversation, multi-turn, sessions page) - All 216 tests passing (195 unit/integration + 21 e2e) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
task_type的任务路由,Agent 间 MessageBus 异步通信新增文件
agent.py,cron.py,message.pycron_agent.py,message_bus.py,registry.pycron_scheduler.pysub_agents.py,cron.pySessionsPage.tsx,useSubAgents.ts,useCron.tstest_registry.py,test_message_bus.py,test_cron_manager.py,test_sub_agent_cron_api.py测试结果
Test plan
🤖 Generated with Claude Code