Commit Graph

8 Commits

Author SHA1 Message Date
beff3fac8d fix: delete agent 500 error + dynamic personality + deployment guide
- Fix delete agent 500: clean up FK records (agent_llm_logs, permissions,
  schedules, executions, team_members) and unbind goals/tasks before delete
- Remove hardcoded personality templates in Android, replace with dynamic
  system prompt generation from name + description
- Set promptSectionsEnabled=false to bypass PromptComposer for personality
- Add Tencent Cloud Linux deployment guide (Docker Compose)
- Accumulated backend service updates, frontend UI fixes, Android app changes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-29 01:17:21 +08:00
renjianbo
86b98865e3 fix: emit phase_start in sequential streaming path
Without phase_start, the frontend had no panel created until the first
agent_event arrived (30+ seconds after plan_done), making it look like
nothing was happening.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-18 22:20:15 +08:00
renjianbo
e0bcfe582b feat: add multi-window real-time agent execution display
Backend: execute_stream() now uses AgentRuntime.run_stream() per phase,
forwarding agent internal events (think/tool_call/tool_result/final) as
`agent_event` SSE type with phase metadata via asyncio.Queue for DAG
parallel batches.

Frontend: new agent-panels-grid with per-phase cards showing live
activity log, tool calls, iteration count, and collapsible full output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-18 22:06:16 +08:00
renjianbo
e0efa7e9b1 feat: add DAG-based parallel phase execution with depends_on support
Phases can now declare `depends_on` to enable parallel execution of
independent phases via asyncio.gather. Backward compatible — templates
without depends_on continue to use sequential execution.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-18 21:31:16 +08:00
renjianbo
ed724dad1b feat: add user-simulation-test team template (系统应用测试团队)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-18 07:47:03 +08:00
renjianbo
502d6322e0 feat: add health-management and medical-consultation team templates
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-18 00:01:15 +08:00
renjianbo
7d25cb0034 feat: add tech-documentation team template (技术文档团队)
- Add 5 roles: doc_architect, tech_writer, api_doc_specialist, translator_reviewer, release_manager
- Add 5 dedicated system prompts for documentation roles
- Add orchestrator planner mapping for tech_doc workflow
- Add frontend button and API client function
- Total preset roles now 19 across 4 template families

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 23:35:42 +08:00
renjianbo
f612248f9e feat: add education-training and platform-engineering team templates
- Add 2 new team templates: 教育培训团队 (4 roles) and 天工平台工程团队 (5 roles)
- Fix orchestrator to support multi-template workflow types (remove hardcoded PM planner)
- Add _resolve_planner_role() to auto-detect planner based on team.config.workflow
- Add frontend buttons and API clients for new templates
- Merge 14 preset roles from 3 template families in get_preset_roles()
- Add creation guide and platform engineering usage docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 00:09:54 +08:00