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

@@ -119,6 +119,9 @@ def resolve_runtime_config(
project_root: Path,
config_name: str,
enable_memory: bool = False,
schedule_mode: str = "daily",
interval_minutes: int = 60,
trigger_time: str = "09:30",
) -> Dict[str, Any]:
"""Merge env defaults with run-scoped bootstrap front matter."""
bootstrap = get_bootstrap_config_for_run(project_root, config_name)
@@ -143,6 +146,18 @@ def resolve_runtime_config(
get_env_int("MAX_COMM_CYCLES", 2),
),
),
"schedule_mode": str(
bootstrap.get("schedule_mode", schedule_mode),
).strip().lower() or schedule_mode,
"interval_minutes": int(
bootstrap.get(
"interval_minutes",
interval_minutes or get_env_int("INTERVAL_MINUTES", 60),
),
),
"trigger_time": str(
bootstrap.get("trigger_time", trigger_time),
).strip() or trigger_time,
"enable_memory": bool(enable_memory)
or _coerce_bool(bootstrap.get("enable_memory", False)),
}