mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
refactor: consolidate PM Agent optimization and pending changes
PM Agent optimization (already committed separately): - superclaude/commands/pm.md: 1652→14 lines - superclaude/agents/pm-agent.md: 735→429 lines - docs/agents/pm-agent-guide.md: new guide file Other pending changes: - setup: framework_docs, mcp, logger, remove ui.py - superclaude: __main__, cli/app, cli/commands/install - tests: test_ui updates - scripts: workflow metrics analysis tools - docs/memory: session state updates 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -13,7 +13,6 @@ from typing import Any, Dict, List, Optional, Tuple
|
||||
from setup import __version__
|
||||
|
||||
from ..core.base import Component
|
||||
from ..utils.ui import display_info, display_warning
|
||||
|
||||
|
||||
class MCPComponent(Component):
|
||||
@@ -672,15 +671,15 @@ class MCPComponent(Component):
|
||||
)
|
||||
|
||||
if not config.get("dry_run", False):
|
||||
display_info(f"MCP server '{server_name}' requires an API key")
|
||||
display_info(f"Environment variable: {api_key_env}")
|
||||
display_info(f"Description: {api_key_desc}")
|
||||
self.logger.info(f"MCP server '{server_name}' requires an API key")
|
||||
self.logger.info(f"Environment variable: {api_key_env}")
|
||||
self.logger.info(f"Description: {api_key_desc}")
|
||||
|
||||
# Check if API key is already set
|
||||
import os
|
||||
|
||||
if not os.getenv(api_key_env):
|
||||
display_warning(
|
||||
self.logger.warning(
|
||||
f"API key {api_key_env} not found in environment"
|
||||
)
|
||||
self.logger.warning(
|
||||
|
||||
Reference in New Issue
Block a user