Implement amc_server/mixins/spawn.py with: - _handle_spawn: POST /api/spawn handler with auth, validation, rate limiting - _validate_spawn_params: path traversal/symlink escape protection - _check_zellij_session_exists: session availability check - _wait_for_session_file: poll for spawn correlation via spawn_id - _spawn_agent_in_project_tab: Zellij tab creation + pane spawn - _handle_projects: GET cached project list - _handle_projects_refresh: POST to refresh cache - _handle_health: Zellij availability check - load_projects_cache: module-level project directory scanner Closes bd-5m4
10 KiB
10 KiB