feat: Add agent workspace system and runtime management

- Add agent core modules (agent_core, factory, registry, skill_loader)
- Add runtime system for agent execution management
- Add REST API for agents, workspaces, and runtime control
- Add process supervisor for agent lifecycle management
- Add workspace template system with agent profiles
- Add frontend RuntimeView and runtime API integration
- Add per-agent skill workspaces for smoke_fullstack run
- Refactor skill system with active/installed separation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-17 16:43:29 +08:00
parent 2daf5717ba
commit 59b44545d0
121 changed files with 8384 additions and 358 deletions

View File

@@ -47,7 +47,7 @@ function getRankMedal(rank) {
* Supports click and hover (1.5s) to show agent performance cards
* Supports replay mode - completely independent from live mode
*/
export default function RoomView({ bubbles, bubbleFor, leaderboard, feed, onJumpToMessage }) {
export default function RoomView({ bubbles, bubbleFor, leaderboard, feed, onJumpToMessage, onOpenLaunchConfig }) {
const canvasRef = useRef(null);
const containerRef = useRef(null);
@@ -719,13 +719,24 @@ export default function RoomView({ bubbles, bubbleFor, leaderboard, feed, onJump
/>
)}
{/* Replay Button */}
{showReplayButton && (
{/* Room Controls */}
{(showReplayButton || onOpenLaunchConfig) && (
<div className="replay-button-container">
{onOpenLaunchConfig && (
<button
className="replay-button"
onClick={onOpenLaunchConfig}
title="打开启动配置"
style={{ background: '#FFFFFF', color: '#000000' }}
>
<span>启动</span>
</button>
)}
<button
className="replay-button"
onClick={handleReplayClick}
title="Replay feed history"
disabled={!showReplayButton}
>
<span className="replay-icon">&#9654;&#9654;</span>
<span>回放</span>
@@ -767,4 +778,3 @@ export default function RoomView({ bubbles, bubbleFor, leaderboard, feed, onJump
</div>
);
}