Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/ui/console/styles/swarm-visualizer.css

rUv519ae94641fd
diff --git a/.claude/checkpoints/1756476161.json b/.claude/checkpoints/1756476161.json
new file mode 100644
index 0000000000..27d0f6272e
--- /dev/null
+++ b/.claude/checkpoints/1756476161.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250829-140241", "file": "/workspaces/claude-code-flow/src/api/auth-service.ts", "timestamp": "2025-08-29T14:02:41Z", "type": "pre-edit", "original_branch": "alpha101"}
diff --git a/.claude/checkpoints/1756476163.json b/.claude/checkpoints/1756476163.json
new file mode 100644
index 0000000000..c19525f744
--- /dev/null
+++ b/.claude/checkpoints/1756476163.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250829-140243", "file": "/workspaces/claude-code-flow/src/api/auth-service.ts", "timestamp": "2025-08-29T14:02:43Z", "type": "post-edit", "branch": "alpha101", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 576 ++++++++++++++++++++++++--- .claude-flow/metrics/task-metrics.json | 8 +- .claude/checkpoints/1756476100.json | 1 + .claude/checkpoints/1756476101.json | 1 + claude-flow-wiki | 0 src/api/auth-service.ts | 644 +++++++++++++++++++++++++++++++ 7 files changed, 1179 insertions(+), 53 deletions(-) "}
diff --git a/src/ui/console/styles/swarm-visualizer.css b/src/ui/console/styles/swarm-visualizer.css
new file mode 100644
index 0000000000..32653e7e35
--- /dev/null
+++ b/src/ui/console/styles/swarm-visualizer.css
@@ -0,0 +1,487 @@
+/**
+ * Swarm Visualizer Styles
+ * Enhanced styling for real-time swarm monitoring components
+ */
+
+/* Main Dashboard Layout */
+.claude-realtime-dashboard {
+ background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
+ font-family: 'JetBrains Mono', monospace;
+ color: #ffffff;
+ min-height: 100vh;
+}
+
+/* Swarm Control Panel */
+.swarm-control-panel {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 16px;
+ align-items: center;
+ padding: 16px;
+ background: linear-gradient(90deg, #2a2a2a 0%, #1a1a1a 100%);
+ border: 1px solid #444;
+ border-radius: 8px;
+ margin-bottom: 16px;
+}
+
+.swarm-control-panel select {
+ background: #1a1a1a;
+ border: 1px solid #444;
+ color: #fff;
+ padding: 8px 12px;
+ border-radius: 6px;
+ font-family: inherit;
+ font-size: 14px;
+}
+
+.swarm-control-panel select:focus {
+ outline: none;
+ border-color: #00d4ff;
+ box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
+}
+
+.swarm-control-panel label {
+ display: flex;
+ flex-direction: column;
+ gap: 4px;
+ font-size: 14px;
+ font-weight: 500;
+}
+
+/* Stats Panel */
+.swarm-stats-panel {
+ background: #2a2a2a;
+ border: 1px solid #444;
+ border-radius: 8px;
+ padding: 16px;
+ margin-bottom: 16px;
+}
+
+.claude-stats-card {
+ transition: all 0.3s ease;
+ background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
+ border: 1px solid #444;
+ border-radius: 8px;
+ padding: 16px;
+ min-width: 120px;
+ text-align: center;
+}
+
+.claude-stats-card:hover {
+ border-color: #00d4ff;
+ transform: translateY(-2px);
+ box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
+}
+
+.claude-stats-icon {
+ font-size: 32px;
+ margin-bottom: 8px;
+ display: block;
+}
+
+.claude-stats-value {
+ font-size: 28px;
+ font-weight: bold;
+ color: #00d4ff;
+ margin-bottom: 4px;
+ text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
+}
+
+.claude-stats-label {
+ font-size: 12px;
+ color: #888;
+ text-transform: uppercase;
+ letter-spacing: 0.5px;
+}
+
+/* Topology Canvas */
+.topology-canvas-container {
+ position: relative;
+ background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
+ border: 2px solid #444;
+ border-radius: 12px;
+ overflow: hidden;
+ box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
+}
+
+.topology-canvas-container::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background:
+ radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
+ radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
+ pointer-events: none;
+ z-index: 1;
+}
+
+.topology-canvas-container canvas {
+ position: relative;
+ z-index: 2;
+ display: block;
+ width: 100%;
+ height: auto;
+}
+
+/* Agent Details Panel */
+.agent-details-panel {
+ background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
+ border: 1px solid #444;
+ border-radius: 8px;
+ padding: 16px;
+ margin: 16px 0;
+ min-height: 250px;
+ transition: all 0.3s ease;
+}
+
+.agent-details-panel:hover {
+ border-color: #555;
+}
+
+.agent-details .agent-header {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 16px;
+ padding-bottom: 8px;
+ border-bottom: 1px solid #444;
+}
+
+.agent-details .agent-header h4 {
+ margin: 0;
+ color: #00d4ff;
+ font-size: 18px;
+ display: flex;
+ align-items: center;
+ gap: 8px;
+}
+
+.status-badge {
+ display: inline-block;
+ padding: 4px 8px;
+ border-radius: 4px;
+ font-size: 11px;
+ font-weight: bold;
+ text-transform: uppercase;
+ letter-spacing: 0.5px;
+}
+
+.status-active {
+ background: #22c55e;
+ color: white;
+ box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
+}
+
+.status-busy {
+ background: #f59e0b;
+ color: white;
+ box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
+}
+
+.status-idle {
+ background: #6b7280;
+ color: white;
+}
+
+.status-error {
+ background: #ef4444;
+ color: white;
+ box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
+}
+
+.agent-info {
+ margin: 16px 0;
+}
+
+.info-row {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin: 8px 0;
+ padding: 8px 0;
+ border-bottom: 1px solid #333;
+}
+
+.info-row:last-child {
+ border-bottom: none;
+}
+
+.info-row label {
+ font-weight: 500;
+ color: #888;
+ font-size: 14px;
+}
+
+.info-row span {
+ color: #fff;
+ font-size: 14px;
+}
+
+.agent-metrics h5 {
+ color: #00d4ff;
+ margin: 16px 0 8px 0;
+ font-size: 14px;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+}
+
+.metrics-grid {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 12px;
+}
+
+.metric {
+ background: #1a1a1a;
+ padding: 8px;
+ border-radius: 6px;
+ border: 1px solid #333;
+}
+
+.metric label {
+ display: block;
+ font-size: 12px;
+ color: #888;
+ margin-bottom: 4px;
+}
+
+.metric span {
+ font-size: 16px;
+ font-weight: bold;
+ color: #00d4ff;
+}
+
+/* Dashboard Header */
+.dashboard-left-panel {
+ background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
+ border: 1px solid #444;
+ border-radius: 12px;
+ padding: 16px;
+ overflow: hidden;
+}
+
+/* Charts and Metrics */
+.claude-metrics-chart {
+ background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
+ border: 1px solid #444;
+ border-radius: 8px;
+ padding: 16px;
+ margin: 8px 0;
+ transition: all 0.3s ease;
+}
+
+.claude-metrics-chart:hover {
+ border-color: #555;
+ transform: translateY(-1px);
+}
+
+.claude-chart-title {
+ color: #00d4ff;
+ font-size: 16px;
+ font-weight: 600;
+ margin-bottom: 12px;
+ text-align: center;
+}
+
+.claude-chart-canvas {
+ background: #0a0a0a;
+ border: 1px solid #333;
+ border-radius: 6px;
+}
+
+/* Health Panel */
+.health-metric {
+ transition: all 0.2s ease;
+}
+
+.health-good {
+ background: linear-gradient(90deg, #22c55e, #16a34a) !important;
+}
+
+.health-warning {
+ background: linear-gradient(90deg, #f59e0b, #d97706) !important;
+}
+
+.health-error {
+ background: linear-gradient(90deg, #ef4444, #dc2626) !important;
+}
+
+/* Activity Log */
+.activity-item {
+ transition: all 0.2s ease;
+ font-family: 'JetBrains Mono', monospace;
+}
+
+.activity-item:hover {
+ background: #333 !important;
+ transform: translateX(4px);
+}
+
+/* Queue Status */
+.queue-stats {
+ gap: 16px !important;
+}
+
+.queue-stat {
+ text-align: center;
+ padding: 12px;
+ background: #1a1a1a;
+ border: 1px solid #333;
+ border-radius: 6px;
+ transition: all 0.3s ease;
+}
+
+.queue-stat:hover {
+ border-color: #00d4ff;
+ box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
+}
+
+/* Action Buttons */
+.claude-action-button {
+ transition: all 0.2s ease;
+ font-family: 'JetBrains Mono', monospace;
+ position: relative;
+ overflow: hidden;
+}
+
+.claude-action-button::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: -100%;
+ width: 100%;
+ height: 100%;
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
+ transition: left 0.5s;
+}
+
+.claude-action-button:hover::before {
+ left: 100%;
+}
+
+.claude-button-primary {
+ background: linear-gradient(135deg, #00d4ff, #0099cc);
+ box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
+}
+
+.claude-button-primary:hover {
+ background: linear-gradient(135deg, #00b8e6, #007aa3);
+ box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
+ transform: translateY(-2px);
+}
+
+.claude-button-secondary {
+ background: linear-gradient(135deg, #444, #333);
+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
+}
+
+.claude-button-secondary:hover {
+ background: linear-gradient(135deg, #555, #444);
+ transform: translateY(-1px);
+}
+
+/* Loading and Status Indicators */
+.claude-loading-spinner {
+ border-top-color: #00d4ff !important;
+ filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
+}
+
+/* Responsive Design */
+@media (max-width: 1200px) {
+ .claude-realtime-dashboard {
+ grid-template-columns: 1fr;
+ grid-template-rows: auto auto 1fr auto;
+ }
+
+ .swarm-control-panel {
+ flex-direction: column;
+ align-items: stretch;
+ }
+
+ .metrics-grid {
+ grid-template-columns: 1fr;
+ }
+}
+
+@media (max-width: 768px) {
+ .swarm-stats-panel {
+ flex-direction: column;
+ }
+
+ .claude-stats-card {
+ min-width: unset;
+ width: 100%;
+ }
+
+ .topology-canvas-container {
+ height: 300px;
+ }
+
+ .queue-stats {
+ grid-template-columns: 1fr !important;
+ }
+}
+
+/* Animation Keyframes */
+@keyframes pulse {
+ 0% {
+ box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
+ }
+ 70% {
+ box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
+ }
+ 100% {
+ box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
+ }
+}
+
+@keyframes glow {
+ 0% {
+ text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
+ }
+ 50% {
+ text-shadow: 0 0 10px rgba(0, 212, 255, 0.8), 0 0 15px rgba(0, 212, 255, 0.6);
+ }
+ 100% {
+ text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
+ }
+}
+
+.status-active .claude-stats-value {
+ animation: glow 2s ease-in-out infinite;
+}
+
+.status-busy .claude-stats-card {
+ animation: pulse 2s infinite;
+}
+
+/* Dark Theme Enhancements */
+[data-theme="dark"] .claude-realtime-dashboard {
+ background: linear-gradient(135deg, #000000 0%, #111111 100%);
+}
+
+[data-theme="dark"] .swarm-control-panel,
+[data-theme="dark"] .claude-metrics-chart,
+[data-theme="dark"] .agent-details-panel {
+ background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
+ border-color: #333;
+}
+
+/* High Contrast Mode */
+@media (prefers-contrast: high) {
+ .claude-realtime-dashboard {
+ background: #000000;
+ }
+
+ .claude-stats-value {
+ color: #ffffff;
+ text-shadow: none;
+ }
+
+ .status-badge {
+ border: 2px solid currentColor;
+ }
+}
\ No newline at end of file