'use client'; import React from 'react'; import { motion } from 'framer-motion'; import { Typography, Row, Col, Card, Progress, Tag, Timeline, Statistic } from 'antd'; import { DatabaseIcon, FilterIcon, BrainIcon, ShieldCheckIcon, ClockIcon, FoldersIcon, SearchIcon, LayersIcon, TrendingUpIcon, FileTextIcon, TagIcon, UsersIcon } from 'lucide-react'; const { Title, Paragraph, Text } = Typography; // Animation variants const fadeInUp = { hidden: { opacity: 0, y: 30 }, visible: { opacity: 1, y: 0, transition: { duration: 0.6, ease: 'easeOut' } } }; const stagger = { visible: { transition: { staggerChildren: 0.15 } } }; const scaleOnHover = { hover: { scale: 1.02, transition: { duration: 0.2 } } }; // Mock context data const contextSources = [ { name: 'API Documentation', items: 1247, relevance: 92, category: 'technical' }, { name: 'Code Changes', items: 832, relevance: 88, category: 'development' }, { name: 'User Feedback', items: 456, relevance: 85, category: 'user-input' }, { name: 'Performance Logs', items: 2341, relevance: 78, category: 'metrics' }, ]; const recentActivity = [ { time: '2m ago', action: 'Context filtered for AI-Agent-Beta', type: 'filter' }, { time: '5m ago', action: 'New deprecation notice indexed', type: 'index' }, { time: '12m ago', action: 'Role permissions updated', type: 'permission' }, { time: '18m ago', action: 'Context relevance score updated', type: 'score' }, ]; export default function SLURPShowcase() { return (
{/* Header */}
SLURP Context Curator Service Context curation from Hypercore logs with role-based filtering, intelligent relevance scoring, and seamless HCFS integration for transparent access.
{/* Main Features Grid */}
Intelligent Context Curation AI-powered context extraction from Hypercore logs with semantic analysis, relevance scoring, and automated categorization based on agent roles.
{contextSources.map((source, index) => (
{source.name} {source.category}
{source.items} items
Relevance Score {source.relevance}%
))}
Role-Based Access Control Granular permissions system with role-based context filtering, deprecation tracking, and feature-specific access controls.
Active Roles
AI-Agent-Alpha
Full Access
AI-Agent-Beta
Limited
Human-Operator
Read-Only
Recent Activity ({ color: activity.type === 'filter' ? 'green' : activity.type === 'index' ? 'blue' : activity.type === 'permission' ? 'orange' : 'purple', children: (
{activity.action}
{activity.time}
) }))} />
{/* Context Statistics */} Context Items} value={48750} valueStyle={{ color: '#eab308', fontSize: '2rem', fontWeight: 'bold' }} prefix={} /> Queries/Hour} value={5247} valueStyle={{ color: '#007aff', fontSize: '2rem', fontWeight: 'bold' }} prefix={} /> Active Roles} value={23} valueStyle={{ color: '#30d158', fontSize: '2rem', fontWeight: 'bold' }} prefix={} /> Avg Relevance} value={87.3} precision={1} suffix="%" valueStyle={{ color: '#f97316', fontSize: '2rem', fontWeight: 'bold' }} prefix={} /> {/* SQL Context Delivery */} SQL-Based Context Delivery
Intelligent Querying Advanced SQL queries with semantic search, relevance ranking, and context-aware result filtering for precise information delivery.
Dynamic Filtering Real-time context filtering based on agent roles, permissions, feature flags, and deprecation status for accurate information access.
HCFS Integration Seamless filesystem integration for transparent context access, with automated indexing and real-time synchronization.
{/* Context Processing Pipeline */} Context Processing Pipeline
Real-time Ingestion Continuous monitoring of Hypercore logs with low-latency processing
Semantic Analysis AI-powered content understanding and automatic categorization
Role-based Tagging Automatic tagging and permission assignment based on content type
Relevance Scoring Dynamic scoring based on recency, frequency, and agent feedback
); }