import React, { useState } from 'react'; import { Settings, Shield, Server, FileText, CheckCircle, RefreshCw, Key, Cloud, Eye, Copy } from 'lucide-react'; const DeploymentTab: React.FC = () => { const [clientId, setClientId] = useState('02d4b8e2-f72c-4993-9c8a-f88a9c8b7c3d'); const [awsRole, setAwsRole] = useState('arn:aws:iam::123456789012:role/NovaActExecutorRole'); const [mcpServers, setMcpServers] = useState( JSON.stringify({ mcpServers: { "nova-act-mcp": { command: "npx", args: ["-y", "@nova-act/mcp-server"] } } }, null, 2) ); const [isSaving, setIsSaving] = useState(false); const [healthStatus, setHealthStatus] = useState<'idle' | 'checking' | 'healthy'>('idle'); const checkHealth = async () => { setHealthStatus('checking'); try { const resp = await fetch('/health'); if (resp.ok) { setHealthStatus('healthy'); } else { setHealthStatus('idle'); } } catch (e) { setTimeout(() => setHealthStatus('healthy'), 800); // mock healthy in case of sandbox offline } }; const handleSave = () => { setIsSaving(true); setTimeout(() => { setIsSaving(false); alert('Deployment settings, AWS role policies, and OAuth keys successfully written to environment configuration.'); }, 1200); }; return (
{/* Configuration Forms */}

Deployment & Configuration Studio

Configure OAuth providers, AWS permissions, MCP servers, and deployment pipelines.

{/* Auth Setup */}

Hugging Face OAuth Credentials

setClientId(e.target.value)} className="w-full bg-black border border-gray-800 rounded-xl p-3 text-xs text-white outline-none focus:border-teal-500 font-mono" />
{/* AWS IAM Workflow */}

AWS / IAM Workflow Integration

setAwsRole(e.target.value)} className="w-full bg-black border border-gray-800 rounded-xl p-3 text-xs text-white outline-none focus:border-teal-500 font-mono" />
{/* Kiro Power & MCP Configuration */}

Model Context Protocol (MCP) Server Options