fix(web): replace generic AI icons and decorative arrows
Sparkles and Zap stood in as the icon for unrelated things: tools, MCP, imports, model routing, workspaces, memory highlights (anti-slop audit-002, item 16). Each now gets an icon for what it is (Wrench, Plug, Import, Route, Hexagon, Brain and so on) or none. Chevrons and arrows on Resume, Continue, Open, Set up a model and the onboarding buttons are gone (item 17); arrows in settings paths, relations and the launcher flow diagram stay.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
import { useState, useRef, useEffect, useCallback } from 'react';
|
||||
import {
|
||||
Zap, Shield, Coins, ChevronDown, Info, ToggleLeft, ToggleRight, Key,
|
||||
Target, Route, Shield, Coins, ChevronDown, Info, ToggleLeft, ToggleRight, Key,
|
||||
} from 'lucide-react';
|
||||
import type { Provider } from '@/hooks/useProviders';
|
||||
import { HintTooltip } from '@/components/ui/hint-tooltip';
|
||||
@@ -47,7 +47,7 @@ const LANES: LaneConfig[] = [
|
||||
{
|
||||
key: 'primary',
|
||||
label: 'Primary',
|
||||
icon: Zap,
|
||||
icon: Target,
|
||||
// Wave U Lane E (item 2): --honey-text (not raw --honey) so the 11px label
|
||||
// clears AA in light — raw --honey #c07f00 probes ~3.3:1 on the ivory card,
|
||||
// --honey-text #9a6408 is ~4.9:1. No-op in dark (both resolve to #e9a52c).
|
||||
@@ -314,7 +314,7 @@ const ModelPilotCard = ({
|
||||
{/* Header */}
|
||||
<div className="flex items-center justify-between">
|
||||
<div className="flex items-center gap-2">
|
||||
<Zap className="w-4 h-4 text-honey" />
|
||||
<Route className="w-4 h-4 text-honey" />
|
||||
<h3 className="text-sm font-display font-semibold text-foreground">Model Pilot</h3>
|
||||
<HintTooltip content="What is Model Pilot?">
|
||||
<button
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
import { useState } from 'react';
|
||||
import { ChevronDown, Key, AlertTriangle, Zap, Timer, Turtle, type LucideIcon } from 'lucide-react';
|
||||
import { ChevronDown, Key, AlertTriangle, Gauge, Timer, Turtle, type LucideIcon } from 'lucide-react';
|
||||
import type { Provider, ProviderModel } from '@/hooks/useProviders';
|
||||
import { formatModelLabel } from '@/lib/model-label';
|
||||
|
||||
@@ -31,7 +31,7 @@ const COST_COLORS: Record<string, string> = {
|
||||
|
||||
// Lucide, not emoji — one icon language across the chrome (2026-07-06 P2).
|
||||
const SPEED_ICONS: Record<string, { icon: LucideIcon; label: string }> = {
|
||||
fast: { icon: Zap, label: 'Fast' },
|
||||
fast: { icon: Gauge, label: 'Fast' },
|
||||
medium: { icon: Timer, label: 'Medium speed' },
|
||||
slow: { icon: Turtle, label: 'Slower' },
|
||||
};
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
import { useState, useEffect, useMemo } from 'react';
|
||||
import {
|
||||
Brain, Clock, CheckCircle2, AlertTriangle, MessageSquare,
|
||||
Lightbulb, ChevronRight, Sparkles, ChevronDown, ChevronUp, Wrench,
|
||||
Lightbulb, ChevronRight, Layers, ChevronDown, ChevronUp, Wrench,
|
||||
} from 'lucide-react';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
import { DATE_LOCALE } from '@/lib/date-locale';
|
||||
@@ -264,7 +264,7 @@ const WorkspaceBriefing = ({ workspaceId, personaId, onSendMessage, onPrefill, o
|
||||
{ctx.crossWorkspaceHints && ctx.crossWorkspaceHints.length > 0 && (
|
||||
<div className="mb-4 p-3 rounded-xl bg-violet-500/5 border border-violet-500/20">
|
||||
<h3 className="text-xs font-display font-semibold text-violet-400 mb-2">
|
||||
<Sparkles className="w-3 h-3 inline mr-1" />From Other Workspaces
|
||||
<Layers className="w-3 h-3 inline mr-1" />From Other Workspaces
|
||||
</h3>
|
||||
<ul className="space-y-1">
|
||||
{ctx.crossWorkspaceHints.map((h, i) => (
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
*/
|
||||
import { useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { motion, useReducedMotion } from 'framer-motion';
|
||||
import { Search, Plus, Hexagon, AlertTriangle, ArrowRight } from 'lucide-react';
|
||||
import { Search, Plus, Hexagon, AlertTriangle } from 'lucide-react';
|
||||
import { useShell } from '@/providers/ShellContext';
|
||||
import { DATE_LOCALE } from '@/lib/date-locale';
|
||||
import { isDevNoiseWorkspace } from '@/lib/workspace-counts';
|
||||
@@ -355,7 +355,7 @@ function WorkspaceCard({
|
||||
onClick={(e) => { e.stopPropagation(); onOpen(); }}
|
||||
className="inline-flex items-center gap-0.5 text-[11px] font-medium text-[var(--text-muted)] transition-colors duration-mo-fast hover:text-[var(--honey-text)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--honey-line)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--surface)]"
|
||||
>
|
||||
Open <ArrowRight className="h-3 w-3" aria-hidden />
|
||||
Open
|
||||
</button>
|
||||
{/* Interactive-within-interactive: keep action clicks out of the card's
|
||||
open handler so each action has one predictable result. */}
|
||||
|
||||
@@ -329,7 +329,7 @@ export default function ArtifactCenterApp({ activeWorkspaceId, workspaceName }:
|
||||
onClick={() => navigate('/workspaces')}
|
||||
className="mt-5 inline-flex items-center gap-1.5 rounded-lg bg-primary px-4 py-2 text-xs font-display font-semibold text-primary-foreground transition-opacity hover:opacity-90"
|
||||
>
|
||||
Ask Waggle to make something →
|
||||
Ask Waggle to make something
|
||||
</button>
|
||||
</>
|
||||
)}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
||||
import { Send, Sparkles, Plus, Slash, Paperclip, ChevronDown, ThumbsUp, ThumbsDown, Loader2, AlertTriangle, CheckCircle2, XCircle, Clock, Upload, Code, Copy, Check, RotateCcw, FileText, Users, X, Bot, Brain, Cpu, Layers, Pin, PinOff, Shield, Zap, MoreHorizontal, Square, Route } from 'lucide-react';
|
||||
import { Send, LayoutTemplate, Plus, Slash, Paperclip, ChevronDown, ThumbsUp, ThumbsDown, Loader2, AlertTriangle, CheckCircle2, XCircle, Clock, Upload, Code, Copy, Check, RotateCcw, FileText, Users, X, Bot, Brain, Cpu, Layers, Pin, PinOff, Shield, FastForward, MoreHorizontal, Square, Route } from 'lucide-react';
|
||||
import { HintTooltip } from '@/components/ui/hint-tooltip';
|
||||
import { ScrollArea } from '@/components/ui/scroll-area';
|
||||
import { Avatar, AvatarImage, AvatarFallback } from '@/components/ui/avatar';
|
||||
@@ -414,7 +414,7 @@ const ApprovalGate = ({
|
||||
const AUTONOMY_CONFIG: Record<AutonomyLevel, { label: string; color: string; icon: React.ComponentType<{ className?: string }>; tagline: string }> = {
|
||||
normal: { label: 'Ask first', color: 'text-muted-foreground', icon: Shield, tagline: 'Asks before every change' },
|
||||
trusted: { label: 'Trusted', color: 'text-sky-300', icon: Shield, tagline: 'Makes routine changes; still asks for risky ones' },
|
||||
yolo: { label: 'Autopilot', color: 'text-amber-300', icon: Zap, tagline: 'Acts without asking for approval. Use with care.' },
|
||||
yolo: { label: 'Autopilot', color: 'text-amber-300', icon: FastForward, tagline: 'Acts without asking for approval. Use with care.' },
|
||||
};
|
||||
|
||||
const TTL_OPTIONS: Array<{ label: string; minutes: number | null }> = [
|
||||
@@ -1445,7 +1445,7 @@ const ChatApp = ({
|
||||
<div className="flex flex-wrap gap-1.5">
|
||||
{templateId && templateId !== 'blank' && (
|
||||
<span className="inline-flex items-center gap-1 px-2 py-0.5 rounded-md bg-primary/10 text-honey text-[11px] font-display">
|
||||
<Sparkles className="w-2.5 h-2.5" />
|
||||
<LayoutTemplate className="w-2.5 h-2.5" />
|
||||
{TEMPLATE_DISPLAY[templateId]?.label || templateId}
|
||||
</span>
|
||||
)}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
import { useState, useEffect, useCallback } from 'react';
|
||||
import { AlertTriangle, Loader2, RefreshCw, Zap } from 'lucide-react';
|
||||
import { AlertTriangle, Loader2, Plug, RefreshCw } from 'lucide-react';
|
||||
import type { ConnectorDefinition } from '@waggle/shared';
|
||||
import { recommendConnectors } from '@waggle/shared';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
@@ -367,7 +367,7 @@ const ConnectorsApp = ({ personaId }: ConnectorsAppProps = {}) => {
|
||||
{!connectors.find(c => c.id === 'composio' && c.status === 'connected') && (
|
||||
<div className="p-3 rounded-xl bg-violet-500/10 border border-violet-500/20">
|
||||
<div className="flex items-center gap-2 mb-1">
|
||||
<Zap className="w-4 h-4 text-violet-400" />
|
||||
<Plug className="w-4 h-4 text-violet-400" />
|
||||
<p className="text-xs font-display font-semibold text-violet-400">Composio Gateway</p>
|
||||
</div>
|
||||
<p className="text-[11px] text-muted-foreground mb-2">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useState, useEffect } from 'react';
|
||||
import { Plus, Activity, Clock, Brain, ChevronRight, Users, Sparkles, CheckCircle2, Circle } from 'lucide-react';
|
||||
import { Plus, Activity, Clock, Brain, ChevronRight, Users, LayoutTemplate, CheckCircle2, Circle } from 'lucide-react';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
import { DATE_LOCALE } from '@/lib/date-locale';
|
||||
import { Avatar, AvatarImage, AvatarFallback } from '@/components/ui/avatar';
|
||||
@@ -246,7 +246,7 @@ const DashboardApp = ({ workspaces, activeWorkspaceId, onSelectWorkspace, onCrea
|
||||
<div className="flex items-center gap-1.5 mt-1.5 flex-wrap">
|
||||
{ws.templateId && ws.templateId !== 'blank' && (
|
||||
<span className="inline-flex items-center gap-0.5 px-1.5 py-0.5 rounded-md bg-primary/10 text-honey text-[11px] font-display">
|
||||
<Sparkles className="w-2.5 h-2.5" />
|
||||
<LayoutTemplate className="w-2.5 h-2.5" />
|
||||
{TEMPLATE_LABELS[ws.templateId] || ws.templateId}
|
||||
</span>
|
||||
)}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useState, useMemo } from 'react';
|
||||
import { Activity, Loader2, CheckCircle2, XCircle, Zap, MessageSquare, Clock, ChevronRight, StopCircle, GitBranch, Circle } from 'lucide-react';
|
||||
import { Activity, Loader2, CheckCircle2, XCircle, Wrench, MessageSquare, Clock, ChevronRight, StopCircle, GitBranch, Circle } from 'lucide-react';
|
||||
import type { AgentStep } from '@/lib/types';
|
||||
import { decodeHtmlEntities } from '@/lib/decode-entities';
|
||||
import { HintTooltip } from '@/components/ui/hint-tooltip';
|
||||
@@ -7,7 +7,7 @@ import { DATE_LOCALE } from '@/lib/date-locale';
|
||||
|
||||
const stepIcons: Record<string, React.ElementType> = {
|
||||
think: Activity,
|
||||
tool_call: Zap,
|
||||
tool_call: Wrench,
|
||||
tool_result: CheckCircle2,
|
||||
response: MessageSquare,
|
||||
error: XCircle,
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
import { useState, useEffect, useCallback, useRef, type ReactNode } from 'react';
|
||||
import { motion, useReducedMotion } from 'framer-motion';
|
||||
import {
|
||||
Sparkles, ChevronRight, Clock, Brain, AlertTriangle, Plus,
|
||||
ChevronRight, Clock, Brain, AlertTriangle, Plus,
|
||||
Lightbulb, Calendar, ListTodo, WifiOff, RefreshCw,
|
||||
} from 'lucide-react';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
@@ -375,7 +375,6 @@ function StartHereCard({
|
||||
data-testid="home-cockpit-start-here"
|
||||
>
|
||||
<div className="mb-3 flex items-center gap-2 font-mono text-[11px] uppercase tracking-[0.14em] text-[var(--honey-text)]">
|
||||
<Sparkles className="h-3.5 w-3.5" />
|
||||
<span>Start here</span>
|
||||
</div>
|
||||
<div className="flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between">
|
||||
@@ -403,7 +402,7 @@ function StartHereCard({
|
||||
className="inline-flex items-center gap-1.5 rounded-[12px] bg-[var(--honey)] px-4 py-2 text-[13px] font-semibold text-[#1a1407] transition-opacity hover:opacity-90"
|
||||
data-testid="home-cockpit-start-primary"
|
||||
>
|
||||
{move.primaryLabel} <ChevronRight className="h-3.5 w-3.5" />
|
||||
{move.primaryLabel}
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
@@ -480,7 +479,7 @@ function RecentWorkspacesPanel({
|
||||
className="inline-flex items-center gap-0.5 text-[13px] font-medium text-[var(--honey-text)] transition-opacity hover:opacity-80"
|
||||
data-testid={`home-cockpit-continue-${ws.id}`}
|
||||
>
|
||||
Continue <ChevronRight className="h-3.5 w-3.5" />
|
||||
Continue
|
||||
</button>
|
||||
<div className="flex items-center gap-2">
|
||||
{ws.pendingCount > 0 && (
|
||||
@@ -895,7 +894,7 @@ const HomeCockpit = ({ onContinue, onOpenWorkspaceDesktop, onCreateWorkspace, us
|
||||
className="inline-flex shrink-0 items-center gap-0.5 text-[13px] font-medium text-[var(--honey-text)] transition-opacity hover:opacity-80"
|
||||
data-testid="home-cockpit-review-cta"
|
||||
>
|
||||
Review <ChevronRight className="h-3.5 w-3.5" />
|
||||
Review
|
||||
</button>
|
||||
</div>
|
||||
</RevealSection>
|
||||
@@ -945,7 +944,7 @@ const HomeCockpit = ({ onContinue, onOpenWorkspaceDesktop, onCreateWorkspace, us
|
||||
className="mt-2.5 inline-flex items-center gap-0.5 text-[13px] text-[var(--text-muted)] transition-colors hover:text-[var(--text)]"
|
||||
data-testid="home-cockpit-see-runs"
|
||||
>
|
||||
See runs <ChevronRight className="h-3.5 w-3.5" />
|
||||
See runs
|
||||
</button>
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
* consequence dialog. The Audit tab is the C18 shared feed.
|
||||
*/
|
||||
import { useState, useEffect, useCallback, useRef } from 'react';
|
||||
import { Store, Loader2, Package, Sparkles } from 'lucide-react';
|
||||
import { Store, Loader2, Package, MessageSquare } from 'lucide-react';
|
||||
import type { ExtensionType } from '@waggle/shared';
|
||||
import { classifyInstallRisk, actionRisk, installTrustSource } from '@/lib/risk-display';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
@@ -473,7 +473,7 @@ const MarketplaceApp = () => {
|
||||
data-testid="nl-ask-agent"
|
||||
className="flex w-full items-center justify-center gap-1.5 rounded-lg border border-[var(--honey-line)] bg-[var(--honey-wash)] px-3 py-2 text-xs font-medium text-[var(--honey-text)] transition-colors hover:bg-primary/15"
|
||||
>
|
||||
<Sparkles className="h-3.5 w-3.5" />
|
||||
<MessageSquare className="h-3.5 w-3.5" />
|
||||
Ask your agent to do this instead
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useState, useEffect } from 'react';
|
||||
import { Play, Pause, Square, Radio, Clock, Zap, RefreshCw, Plus, Rocket, AlertCircle } from 'lucide-react';
|
||||
import { Play, Pause, Square, Radio, Clock, Wrench, RefreshCw, Plus, Rocket, AlertCircle } from 'lucide-react';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
import type { FleetSession, Workspace } from '@/lib/types';
|
||||
import { Button } from '@/components/ui/button';
|
||||
@@ -169,7 +169,7 @@ const MissionControlApp = ({ onSpawnOpen }: MissionControlAppProps) => {
|
||||
</div>
|
||||
<div className="flex items-center gap-4 text-[11px] text-muted-foreground">
|
||||
<span className="flex items-center gap-0.5"><Clock className="w-2.5 h-2.5" />{Math.round((s.duration ?? 0) / 60)}m</span>
|
||||
<span className="flex items-center gap-0.5"><Zap className="w-2.5 h-2.5" />{s.toolCount ?? 0} tools</span>
|
||||
<span className="flex items-center gap-0.5"><Wrench className="w-2.5 h-2.5" />{s.toolCount ?? 0} tools</span>
|
||||
<span>{s.model ?? 'default'}</span>
|
||||
<span>{(s.tokenUsage ?? 0).toLocaleString()} tokens</span>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useState, useEffect, useCallback } from 'react';
|
||||
import { BarChart3, Loader2, Zap, DollarSign, TrendingUp, Check, AlertTriangle } from 'lucide-react';
|
||||
import { BarChart3, Loader2, Wrench, DollarSign, TrendingUp, Check, AlertTriangle } from 'lucide-react';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
import { useToast } from '@/hooks/use-toast';
|
||||
import { SurfaceRow } from './power/power-primitives';
|
||||
@@ -176,7 +176,7 @@ const TelemetryApp = () => {
|
||||
</div>
|
||||
<div className="p-3 rounded-[12px] bg-[var(--surface)] border border-[var(--line-soft)]">
|
||||
<div className="flex items-center gap-1.5 mb-1">
|
||||
<Zap className="w-3.5 h-3.5 text-[var(--attention)]" />
|
||||
<Wrench className="w-3.5 h-3.5 text-[var(--attention)]" />
|
||||
<span className="text-[10px] text-[var(--text-muted)] uppercase font-display tracking-wide">Tool Calls</span>
|
||||
</div>
|
||||
<p className="text-lg font-display font-bold text-[var(--text)]">{data.totalToolCalls.toLocaleString()}</p>
|
||||
@@ -297,7 +297,7 @@ const TelemetryApp = () => {
|
||||
<SurfaceRow
|
||||
key={i}
|
||||
className="px-3 py-2"
|
||||
leading={<Zap className="w-3.5 h-3.5 text-[var(--honey-text)]" />}
|
||||
leading={<Wrench className="w-3.5 h-3.5 text-[var(--honey-text)]" />}
|
||||
title={<span className="font-mono text-[12px] font-normal">{t.name}</span>}
|
||||
actions={<span className="font-mono text-[11px] text-[var(--text-muted)]">{t.count}×</span>}
|
||||
/>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { useState, useEffect } from 'react';
|
||||
import {
|
||||
User, PenLine, Palette, Heart, Save, Loader2, Search,
|
||||
Upload, Sparkles, CheckCircle2, Globe, Clock, MessageSquare,
|
||||
Upload, Lightbulb, ScanText, CheckCircle2, Globe, Clock, MessageSquare,
|
||||
FileText, Presentation, FileSpreadsheet, FileDown, Check, X, Hexagon,
|
||||
Zap, Scale,
|
||||
Scale,
|
||||
} from 'lucide-react';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
@@ -276,7 +276,7 @@ const UserProfileApp = () => {
|
||||
{hasMemoryFeature('importHistory') && suggestions.length > 0 && (
|
||||
<div className="rounded-xl bg-accent/10 border border-accent/30 p-3 space-y-2">
|
||||
<div className="flex items-center gap-2">
|
||||
<Sparkles className="w-3.5 h-3.5 text-accent" />
|
||||
<Lightbulb className="w-3.5 h-3.5 text-accent" />
|
||||
<p className="text-xs font-display font-medium text-foreground">Suggested from Harvest</p>
|
||||
</div>
|
||||
<p className="text-[11px] text-muted-foreground">
|
||||
@@ -413,7 +413,7 @@ const UserProfileApp = () => {
|
||||
|
||||
<button type="button" onClick={handleAnalyzeStyle} disabled={analyzing || styleSample.length < 50}
|
||||
className="flex items-center gap-1.5 px-3 py-1.5 text-xs rounded-lg bg-primary text-primary-foreground hover:bg-primary/80 disabled:opacity-50 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--focus-ring)] focus-visible:ring-offset-2 focus-visible:ring-offset-background">
|
||||
{analyzing ? <Loader2 className="w-3 h-3 animate-spin" /> : <Sparkles className="w-3 h-3" />} Analyze Style
|
||||
{analyzing ? <Loader2 className="w-3 h-3 animate-spin" /> : <ScanText className="w-3 h-3" />} Analyze Style
|
||||
</button>
|
||||
|
||||
{ws?.analyzed && (
|
||||
@@ -438,7 +438,7 @@ const UserProfileApp = () => {
|
||||
commStyle === s ? 'bg-primary text-primary-foreground' : 'bg-muted/50 text-muted-foreground hover:text-foreground'
|
||||
}`}>
|
||||
{s === 'brief'
|
||||
? <><Zap className="w-3 h-3 inline mr-1" aria-hidden />Brief</>
|
||||
? 'Brief'
|
||||
: s === 'balanced'
|
||||
? <><Scale className="w-3 h-3 inline mr-1" aria-hidden />Balanced</>
|
||||
: <><FileText className="w-3 h-3 inline mr-1" aria-hidden />Detailed</>}
|
||||
@@ -517,7 +517,7 @@ const UserProfileApp = () => {
|
||||
className="w-full bg-muted/50 border border-border/50 rounded-lg px-3 py-2 text-xs text-foreground resize-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background" />
|
||||
<button onClick={handleAnalyzeBrand} disabled={analyzing || !brandDesc}
|
||||
className="mt-2 flex items-center gap-1.5 px-3 py-1.5 text-xs rounded-lg bg-secondary text-foreground hover:bg-secondary/70 disabled:opacity-50 transition-colors">
|
||||
{analyzing ? <Loader2 className="w-3 h-3 animate-spin" /> : <Sparkles className="w-3 h-3" />} Extract Brand
|
||||
{analyzing ? <Loader2 className="w-3 h-3 animate-spin" /> : <ScanText className="w-3 h-3" />} Extract Brand
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ import { useState, useEffect, useMemo, useCallback, useRef } from 'react';
|
||||
import { motion, useReducedMotion } from 'framer-motion';
|
||||
import {
|
||||
LayoutGrid, MessageSquare, FileBox, Brain,
|
||||
WifiOff, ShieldAlert, ChevronRight,
|
||||
WifiOff, ShieldAlert,
|
||||
FileText, SearchX, RefreshCw,
|
||||
} from 'lucide-react';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
@@ -235,7 +235,7 @@ function UpNextCard({ state, onOpenTab }: { state: WorkspaceStateView | null; on
|
||||
<div className="rounded-[18px] border border-[var(--line-soft)] bg-card p-4">
|
||||
<div className="mb-3 flex items-center justify-between">
|
||||
<SectionLabel>Up next</SectionLabel>
|
||||
<button type="button" onClick={() => onOpenTab('tasks')} className="font-mono text-[11px] text-[var(--text-dim)] transition-colors hover:text-[var(--text-2)]">all →</button>
|
||||
<button type="button" onClick={() => onOpenTab('tasks')} className="font-mono text-[11px] text-[var(--text-dim)] transition-colors hover:text-[var(--text-2)]">See all</button>
|
||||
</div>
|
||||
<ul className="space-y-2">
|
||||
{items.map((it) => (
|
||||
@@ -598,7 +598,7 @@ const WorkspaceDesktopApp = ({
|
||||
className="inline-flex items-center gap-1.5 px-3 py-1.5 text-xs font-display rounded-lg bg-primary text-primary-foreground hover:bg-primary/80 transition-colors"
|
||||
data-testid="ws-desktop-notfound-home"
|
||||
>
|
||||
Go to Home <ChevronRight className="w-3.5 h-3.5" />
|
||||
Go to Home
|
||||
</button>
|
||||
}
|
||||
/>
|
||||
@@ -691,7 +691,7 @@ const WorkspaceDesktopApp = ({
|
||||
onClick={openChat}
|
||||
className="inline-flex items-center gap-1 rounded-[10px] bg-[var(--honey)] px-3.5 py-1.5 text-[13px] font-medium text-[#1a1407] transition-opacity hover:opacity-90"
|
||||
>
|
||||
Continue <ChevronRight className="h-3.5 w-3.5" />
|
||||
Continue
|
||||
</button>
|
||||
{/* G1 (UX-Northstar 2026-06-13): manage the workspace from its own header */}
|
||||
<WorkspaceActionsMenu
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useState } from 'react';
|
||||
import { motion } from 'framer-motion';
|
||||
import { Sparkles, Loader2, Search, Check, Plus, Save, Wrench } from 'lucide-react';
|
||||
import { PenLine, Loader2, Search, Check, Plus, Save, Wrench } from 'lucide-react';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import type { ToolDef } from './types';
|
||||
|
||||
@@ -60,7 +60,7 @@ const CreateAgentForm = ({ allTools, onSave, onCancel, onGenerate, initialData,
|
||||
{/* AI Generation */}
|
||||
<div className="p-3 rounded-xl bg-primary/5 border border-primary/20">
|
||||
<div className="flex items-center gap-2 mb-2">
|
||||
<Sparkles className="w-3.5 h-3.5 text-honey" />
|
||||
<PenLine className="w-3.5 h-3.5 text-honey" />
|
||||
<span className="text-[11px] font-display font-semibold text-honey uppercase tracking-wider">Generate with AI</span>
|
||||
</div>
|
||||
<div className="flex gap-2">
|
||||
@@ -79,7 +79,7 @@ const CreateAgentForm = ({ allTools, onSave, onCancel, onGenerate, initialData,
|
||||
disabled={aiLoading || !aiPrompt.trim()}
|
||||
className={`px-3 py-2 text-xs font-medium rounded-lg bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-50 flex items-center gap-1 ${CONTROL_FOCUS_CLASS}`}
|
||||
>
|
||||
{aiLoading ? <Loader2 className="w-3 h-3 animate-spin" /> : <Sparkles className="w-3 h-3" />}
|
||||
{aiLoading ? <Loader2 className="w-3 h-3 animate-spin" /> : <PenLine className="w-3 h-3" />}
|
||||
Generate
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
import { memo } from 'react';
|
||||
import {
|
||||
FileText, FileCode, FileSpreadsheet, FileImage, File as FileIcon,
|
||||
ArrowUpRight, Sparkles,
|
||||
ArrowUpRight,
|
||||
} from 'lucide-react';
|
||||
import { stashDeepLink } from '@/lib/app-deeplink';
|
||||
import type { ToolUseContentBlock } from '@/lib/types';
|
||||
@@ -58,7 +58,6 @@ const ArtifactBlock = memo(({ block }: { block: ToolUseContentBlock }) => {
|
||||
<div className="flex-1 min-w-0">
|
||||
<p className="text-xs font-display font-medium text-foreground truncate">{name}</p>
|
||||
<p className="text-[11px] text-muted-foreground truncate">
|
||||
<Sparkles className="w-3 h-3 inline mr-1 align-text-top" />
|
||||
{verb} by the agent{path !== name ? ` · ${path}` : ''}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
import { useState } from 'react';
|
||||
import {
|
||||
ChevronDown, ChevronRight, CheckCircle2, ExternalLink, History,
|
||||
Loader2, Plug, RefreshCw, ShieldOff, Trash2, Zap,
|
||||
Loader2, Plug, RefreshCw, ShieldOff, Trash2, Wrench,
|
||||
} from 'lucide-react';
|
||||
import type { ConnectorDefinition, ConnectorHealth } from '@waggle/shared';
|
||||
import { Input } from '@/components/ui/input';
|
||||
@@ -190,7 +190,7 @@ const ConnectorCard = ({
|
||||
{isConnected || isExpired ? (
|
||||
<div className="flex items-center gap-1.5 flex-wrap">
|
||||
{isConnected && (
|
||||
<span className="text-[11px] text-emerald-400 flex items-center gap-1"><Zap className="w-3 h-3" /> Agent can use {conn.name} tools</span>
|
||||
<span className="text-[11px] text-emerald-400 flex items-center gap-1"><Wrench className="w-3 h-3" /> Agent can use {conn.name} tools</span>
|
||||
)}
|
||||
{isExpired && (
|
||||
<span className="text-[11px] text-amber-400">Token expired — reconnect below or paste a fresh token</span>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
import { useMemo, useState } from 'react';
|
||||
import { Search, Server, Sparkles, X, Star } from 'lucide-react';
|
||||
import { Search, Server, Plug, X, Star } from 'lucide-react';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import { recommendConnectors } from '@waggle/shared';
|
||||
import { MCP_CATALOG } from './mcp-registry';
|
||||
@@ -106,7 +106,7 @@ const McpCatalog = ({ personaId, installedIds, installableIds, installingId, onI
|
||||
<div className="flex items-start justify-between gap-3">
|
||||
<div className="min-w-0 flex-1">
|
||||
<div className="flex items-center gap-1.5">
|
||||
<Sparkles className="h-3.5 w-3.5 text-honey" />
|
||||
<Plug className="h-3.5 w-3.5 text-honey" />
|
||||
<h3 className="font-display text-sm font-semibold text-foreground">
|
||||
MCP Connector Catalog
|
||||
</h3>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* via the starter-pack path; native tools you already have read "Available".
|
||||
*/
|
||||
import { useState, useEffect, useRef } from 'react';
|
||||
import { Loader2, Plug, Zap, Download, ExternalLink, Check } from 'lucide-react';
|
||||
import { Loader2, Plug, Download, ExternalLink, Check } from 'lucide-react';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
import { useInstallStore } from '@/providers/InstallProvider';
|
||||
import { useToast } from '@/hooks/use-toast';
|
||||
@@ -155,7 +155,7 @@ const AgentSearchBox = ({ onQueryChange, autoRunNeed = null, onAutoStateChange }
|
||||
const { label, Icon } =
|
||||
i.mode === 'open-in' ? { label: 'Open', Icon: ExternalLink }
|
||||
: i.type === 'connector' ? { label: 'Connect', Icon: Plug }
|
||||
: i.type === 'mcp' ? { label: 'Enable', Icon: Zap }
|
||||
: i.type === 'mcp' ? { label: 'Enable', Icon: Plug }
|
||||
: { label: 'Add', Icon: Download };
|
||||
return (
|
||||
<button
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* keeps its consequence dialog; install/connect/enable are one-click (§09).
|
||||
*/
|
||||
import { useState, type CSSProperties } from 'react';
|
||||
import { Download, ExternalLink, Loader2, Plug, Trash2, Zap } from 'lucide-react';
|
||||
import { Download, ExternalLink, Loader2, Plug, Trash2 } from 'lucide-react';
|
||||
import { StatusBadge } from '@/components/ui/status-badge';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import type { Extension } from '@/lib/extension-catalog';
|
||||
@@ -66,7 +66,7 @@ type ActionKey = 'package' | 'connector' | 'mcp';
|
||||
const VERBS: Record<ActionKey, { idle: string; busy: string; installed: string; Icon: typeof Download }> = {
|
||||
package: { idle: 'Add', busy: 'Adding…', installed: 'Installed', Icon: Download },
|
||||
connector: { idle: 'Connect', busy: 'Signing in…', installed: 'Connected', Icon: Plug },
|
||||
mcp: { idle: 'Enable', busy: 'Enabling…', installed: 'Enabled', Icon: Zap },
|
||||
mcp: { idle: 'Enable', busy: 'Enabling…', installed: 'Enabled', Icon: Plug },
|
||||
};
|
||||
|
||||
function actionKey(ext: Extension): ActionKey | null {
|
||||
@@ -111,7 +111,7 @@ const SOURCE_NOUNS: Record<string, string> = {
|
||||
* sentence chip (Wave-S Lane C: no sentence chips). */
|
||||
const SOURCE_FORM_META: Record<string, { Icon: typeof Download; label: string }> = {
|
||||
connector: { Icon: Plug, label: 'connector' },
|
||||
mcp: { Icon: Zap, label: 'MCP' },
|
||||
mcp: { Icon: Plug, label: 'MCP' },
|
||||
package: { Icon: Download, label: 'skill' },
|
||||
pack: { Icon: Download, label: 'skill pack' },
|
||||
};
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import { useState, useEffect, useCallback } from 'react';
|
||||
import {
|
||||
Upload, RefreshCw, Clock, CheckCircle2, AlertCircle,
|
||||
Loader2, Plus, Zap, Brain, Trash2, Pause, Play, Sparkles, RotateCcw, XCircle,
|
||||
Loader2, Plus, Import, Brain, Trash2, Pause, Play, Lightbulb, RotateCcw, XCircle,
|
||||
MessageSquare, FileText,
|
||||
} from 'lucide-react';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
@@ -377,7 +377,7 @@ const HarvestTab = () => {
|
||||
<div className="p-3 rounded-xl bg-primary/10 border border-primary/30">
|
||||
<div className="flex items-center justify-between gap-3">
|
||||
<div className="flex items-center gap-2 min-w-0">
|
||||
<Zap className="w-4 h-4 text-honey shrink-0" />
|
||||
<Import className="w-4 h-4 text-honey shrink-0" />
|
||||
<div className="min-w-0">
|
||||
<p className="text-xs font-display font-medium text-foreground">
|
||||
Claude Code Detected
|
||||
@@ -456,7 +456,7 @@ const HarvestTab = () => {
|
||||
UserProfileApp → Identity tab where the user accepts/dismisses. */}
|
||||
{identitySuggestionCount > 0 && (
|
||||
<div className="p-3 rounded-lg bg-accent/10 border border-accent/30 flex items-center gap-3">
|
||||
<Sparkles className="w-4 h-4 text-accent shrink-0" />
|
||||
<Lightbulb className="w-4 h-4 text-accent shrink-0" />
|
||||
<div className="flex-1 min-w-0">
|
||||
<p className="text-xs font-display font-medium text-foreground">
|
||||
We learned {identitySuggestionCount} thing{identitySuggestionCount !== 1 ? 's' : ''} about you
|
||||
@@ -469,7 +469,7 @@ const HarvestTab = () => {
|
||||
onClick={handleReviewIdentity}
|
||||
className={`px-3 py-1.5 rounded-lg bg-accent text-accent-foreground text-xs font-display hover:bg-accent/90 transition-colors shrink-0 ${CONTROL_FOCUS_CLASS}`}
|
||||
>
|
||||
Open Profile →
|
||||
Open Profile
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
*/
|
||||
|
||||
import { useState, useEffect } from 'react';
|
||||
import { Upload, Zap, X, ExternalLink } from 'lucide-react';
|
||||
import { Upload, Import, X, ExternalLink } from 'lucide-react';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
import {
|
||||
shouldShowImportReminder,
|
||||
@@ -103,7 +103,7 @@ const ImportReminderBanner = ({
|
||||
data-testid="import-reminder-banner-cc"
|
||||
className="px-4 py-2.5 border-b border-primary/30 bg-primary/10 flex items-center gap-3"
|
||||
>
|
||||
<Zap className="w-4 h-4 text-honey shrink-0" />
|
||||
<Import className="w-4 h-4 text-honey shrink-0" />
|
||||
<div className="flex-1 min-w-0">
|
||||
<p className="text-xs font-display font-medium text-foreground truncate">
|
||||
Found {ccDetect.itemCount} Claude Code conversations on this machine.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useState, useEffect, type ReactNode } from 'react';
|
||||
import { Loader2, Info, Sparkles } from 'lucide-react';
|
||||
import { Loader2, Info, ListTree } from 'lucide-react';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
import type { MemoryTrace } from '@/lib/types';
|
||||
import { memoryLabel } from './memory-label';
|
||||
@@ -20,7 +20,7 @@ interface MemoryTrustWhyProps {
|
||||
/** The memory whose trace to explain (set from the Manage view). Null → pick-one prompt. */
|
||||
memoryId: string | null;
|
||||
onToast: (msg: string) => void;
|
||||
/** "That memory is wrong → correct it" — hand back to Manage's editor. */
|
||||
/** "That memory is wrong? Correct it" — hand back to Manage's editor. */
|
||||
onCorrect: (id: string) => void;
|
||||
/** "Forget … & redo" — hard delete, then back to Manage. */
|
||||
onForget: (id: string) => void;
|
||||
@@ -170,7 +170,7 @@ export default function MemoryTrustWhy({ memoryId, onToast, onCorrect, onForget
|
||||
onClick={() => onCorrect(memoryId)}
|
||||
className="rounded-[9px] border border-[var(--line-strong)] bg-[var(--surface-2)] px-3.5 py-2 text-[12.5px] font-[650] text-[var(--text-2)]"
|
||||
>
|
||||
That memory is wrong → correct it
|
||||
That memory is wrong? Correct it
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
@@ -180,7 +180,7 @@ export default function MemoryTrustWhy({ memoryId, onToast, onCorrect, onForget
|
||||
Forget {memoryLabel(memoryId)} & redo
|
||||
</button>
|
||||
<span className="ml-auto inline-flex items-center gap-1.5 text-[11.5px] text-[var(--text-dim)]">
|
||||
<Sparkles className="h-3.5 w-3.5 text-[var(--intel)]" strokeWidth={1.8} /> real execution trace
|
||||
<ListTree className="h-3.5 w-3.5 text-[var(--intel)]" strokeWidth={1.8} /> real execution trace
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import { useState, useEffect, useCallback, type FormEvent } from 'react';
|
||||
import {
|
||||
BookOpen, RefreshCw, Loader2, Search, FileText,
|
||||
Heart, ChevronRight, Zap, Network, Lightbulb, Download, Upload,
|
||||
Heart, ChevronRight, Hammer, Network, Lightbulb, Download, Upload,
|
||||
} from 'lucide-react';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
import { renderChatMarkdown } from '@/lib/render-markdown';
|
||||
@@ -350,7 +350,7 @@ export default function WikiTab() {
|
||||
disabled={compiling}
|
||||
className="p-1 rounded text-muted-foreground hover:text-honey transition-colors disabled:opacity-50"
|
||||
>
|
||||
{compiling ? <Loader2 className="w-3.5 h-3.5 animate-spin" /> : <Zap className="w-3.5 h-3.5" />}
|
||||
{compiling ? <Loader2 className="w-3.5 h-3.5 animate-spin" /> : <Hammer className="w-3.5 h-3.5" />}
|
||||
</button>
|
||||
</HintTooltip>
|
||||
<HintTooltip content="Export to Obsidian vault">
|
||||
@@ -556,7 +556,7 @@ export default function WikiTab() {
|
||||
<BookOpen className="w-12 h-12 text-muted-foreground/20 mb-3" />
|
||||
<p className="text-sm text-muted-foreground">Select a page to read</p>
|
||||
<p className="text-xs text-muted-foreground/60 mt-1">
|
||||
or click <Zap className="w-3 h-3 inline" /> to compile your wiki
|
||||
or click <Hammer className="w-3 h-3 inline" /> to compile your wiki
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -40,7 +40,7 @@ export default function AccountlessNotice() {
|
||||
onClick={() => navigate('/home')}
|
||||
className="mt-6 w-full py-3 rounded-[11px] text-[14.5px] font-[650] bg-primary text-primary-foreground hover:bg-[var(--honey-bright)] transition-colors"
|
||||
>
|
||||
Continue to Waggle →
|
||||
Continue to Waggle
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Tailwind `lg` default is 1024px, so we use an arbitrary `min-[820px]` variant. No auth
|
||||
* state lives here — it never renders identity.
|
||||
*/
|
||||
import { Shield, ArrowRight } from 'lucide-react';
|
||||
import { Shield, Lock } from 'lucide-react';
|
||||
|
||||
export default function AuthBrandPanel() {
|
||||
return (
|
||||
@@ -54,7 +54,7 @@ export default function AuthBrandPanel() {
|
||||
An account is optional — Waggle runs fully local without one
|
||||
</div>
|
||||
<div className="flex items-center gap-2.5 text-[13.5px] text-[var(--text-muted)]">
|
||||
<ArrowRight className="w-4 h-4 shrink-0 text-honey" strokeWidth={2} />
|
||||
<Lock className="w-4 h-4 shrink-0 text-honey" strokeWidth={2} />
|
||||
Your memory stays yours; sign-in only adds sync
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { AlertTriangle, ArrowRight } from 'lucide-react';
|
||||
import { AlertTriangle } from 'lucide-react';
|
||||
import { useHasWorkingModel } from '@/hooks/useHasWorkingModel';
|
||||
|
||||
interface NoModelBannerProps {
|
||||
@@ -33,7 +33,7 @@ export function NoModelBanner({ onSetup }: NoModelBannerProps) {
|
||||
onClick={onSetup}
|
||||
className="inline-flex shrink-0 items-center gap-1.5 rounded-md bg-primary px-3 py-1.5 text-sm font-medium text-primary-foreground hover:bg-primary/90"
|
||||
>
|
||||
Set up a model <ArrowRight className="size-3.5" aria-hidden />
|
||||
Set up a model
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { useState, useEffect, useRef, useMemo, useCallback } from 'react';
|
||||
import {
|
||||
Search, Rocket, Plus, Play, Compass, Puzzle, Loader2,
|
||||
Sparkles, Brain, MessageSquare, Package, Plug, Server,
|
||||
Hexagon, Brain, MessageSquare, Package, Plug, Server,
|
||||
Bot, Workflow, FileText, UserCircle, Terminal, AlertTriangle,
|
||||
CheckCircle2, History, Lightbulb, CornerDownLeft,
|
||||
} from 'lucide-react';
|
||||
@@ -48,7 +48,7 @@ const CATEGORY_ICONS: Record<CommandCategory, React.ElementType> = {
|
||||
|
||||
/* Per-object-type fallback icon when a result omits its own `icon`. */
|
||||
const TYPE_ICONS: Record<CommandResultType, React.ElementType> = {
|
||||
workspace: Sparkles,
|
||||
workspace: Hexagon,
|
||||
memory: Brain,
|
||||
artifact: FileText,
|
||||
session: MessageSquare,
|
||||
@@ -632,7 +632,7 @@ const CommandCenter = ({ open, onClose, onNavigate, onExecute, workspaceId, cata
|
||||
<CommandGroup
|
||||
heading={
|
||||
<span className="flex items-center gap-1.5 uppercase tracking-wider">
|
||||
<Sparkles className="h-3 w-3" /> Ask Waggle
|
||||
<MessageSquare className="h-3 w-3" /> Ask Waggle
|
||||
</span>
|
||||
}
|
||||
>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useState, useEffect } from 'react';
|
||||
import { X, Brain, Loader2, ChevronRight, FileText, Zap, Link2 } from 'lucide-react';
|
||||
import { X, Brain, Loader2, ChevronRight, FileText, Link2 } from 'lucide-react';
|
||||
import { motion, AnimatePresence } from 'framer-motion';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
import {
|
||||
@@ -20,7 +20,7 @@ type ContextItem = ContextRailItem;
|
||||
const KIND_ICONS: Record<string, React.ElementType> = {
|
||||
memory: Brain,
|
||||
entity: Link2,
|
||||
relation: Zap,
|
||||
relation: Link2,
|
||||
};
|
||||
|
||||
const KIND_COLORS: Record<string, string> = {
|
||||
|
||||
@@ -2,7 +2,7 @@ import { useState, useCallback, useEffect, useRef } from 'react';
|
||||
import {
|
||||
X, Plus, Users, Cloud, HardDrive, FolderOpen, Folder,
|
||||
FolderPlus, ChevronRight, Home, Check, Loader2, LayoutTemplate,
|
||||
Sparkles, Info, Wand2, Target, Microscope, Code, Megaphone,
|
||||
Info, Wand2, Target, Microscope, Code, Megaphone,
|
||||
Rocket, Scale, Building, FileText, Laptop, PenLine, BarChart3,
|
||||
ClipboardList, Mail, Plug, Terminal, Pencil, Trash2, Copy, Filter, Search,
|
||||
} from 'lucide-react';
|
||||
@@ -570,7 +570,7 @@ function TemplateCreatorModal({ open, onClose, onCreated, availableConnectors, e
|
||||
{/* AI Generation */}
|
||||
<div className="mx-5 mt-3 space-y-2">
|
||||
<div className="flex items-start gap-2 bg-primary/10 border border-primary/20 rounded-xl px-3 py-2">
|
||||
<Sparkles className="w-3.5 h-3.5 text-honey shrink-0 mt-0.5" />
|
||||
<Info className="w-3.5 h-3.5 text-honey shrink-0 mt-0.5" />
|
||||
<p className="text-[11px] text-muted-foreground leading-relaxed">
|
||||
Describe your use case and AI will auto-fill all fields, or fill them manually below.
|
||||
</p>
|
||||
|
||||
@@ -9,7 +9,7 @@ import { motion, AnimatePresence, useReducedMotion, type MotionProps } from 'fra
|
||||
import { STAGGER, DUR, EASE_OUT } from '@/lib/motion/tokens';
|
||||
import { useFocusTrap } from '@/hooks/useFocusTrap';
|
||||
import {
|
||||
Brain, Clock, MessageSquare, Sparkles, ChevronRight,
|
||||
Brain, Clock, MessageSquare, ChevronRight,
|
||||
Loader2, X, AlertTriangle, Lightbulb,
|
||||
} from 'lucide-react';
|
||||
import beeMascot from '@/assets/personas/general-purpose.png';
|
||||
@@ -294,7 +294,7 @@ const LoginBriefing = ({ onDismiss, onOpenWorkspace }: LoginBriefingProps) => {
|
||||
transition={{ delay: 0.2 + i * 0.12 }}
|
||||
className="flex items-start gap-2 px-3 py-1.5 rounded-lg bg-primary/5 border border-primary/10 border-dashed"
|
||||
>
|
||||
<Sparkles className="w-3 h-3 text-honey/60 mt-0.5 shrink-0" />
|
||||
<Brain className="w-3 h-3 text-honey/60 mt-0.5 shrink-0" />
|
||||
<p className="text-[12px] text-foreground/70 italic leading-relaxed">{demo}</p>
|
||||
</motion.div>
|
||||
))}
|
||||
@@ -328,7 +328,7 @@ const LoginBriefing = ({ onDismiss, onOpenWorkspace }: LoginBriefingProps) => {
|
||||
{/* Workspace list */}
|
||||
{visibleSummaries.length === 0 ? (
|
||||
<div className="text-center py-6">
|
||||
<Sparkles className="w-8 h-8 text-honey/50 mx-auto mb-2" />
|
||||
<Brain className="w-8 h-8 text-honey/50 mx-auto mb-2" />
|
||||
<p className="text-sm text-muted-foreground">No active workspaces yet. Create one to get started!</p>
|
||||
</div>
|
||||
) : (
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Bell, Check, CheckCheck, X, CheckCircle2, ArrowRight, Clock, ShieldCheck, ClipboardList, MessageSquare, Bot, Pin, type LucideIcon } from 'lucide-react';
|
||||
import { Bell, Check, CheckCheck, X, CheckCircle2, Clock, ShieldCheck, ClipboardList, MessageSquare, Bot, Pin, type LucideIcon } from 'lucide-react';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import type { Notification } from '@/lib/types';
|
||||
import { motion, AnimatePresence } from 'framer-motion';
|
||||
@@ -102,7 +102,7 @@ const NotificationInbox = ({ open, onClose, notifications, onMarkRead, onMarkAll
|
||||
onClick={() => openAction(n, href)}
|
||||
className="mt-1.5 inline-flex items-center gap-1 text-[11px] font-medium text-honey hover:underline"
|
||||
>
|
||||
Open <ArrowRight className="w-3 h-3" />
|
||||
Open
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@ import { Avatar, AvatarImage, AvatarFallback } from '@/components/ui/avatar';
|
||||
import { PERSONAS } from '@/lib/personas';
|
||||
import { adapter } from '@/lib/adapter';
|
||||
import { motion, AnimatePresence } from 'framer-motion';
|
||||
import { Bot, Users, Loader2, Sparkles, ChevronDown, Eye } from 'lucide-react';
|
||||
import { Bot, Users, Loader2, ChevronDown, Eye } from 'lucide-react';
|
||||
import { useFocusTrap } from '@/hooks/useFocusTrap';
|
||||
import {
|
||||
UNIVERSAL_MODE_IDS,
|
||||
@@ -105,7 +105,6 @@ const PersonaAgentsList = ({
|
||||
<div>
|
||||
<div className="flex items-center justify-between mb-2 px-1">
|
||||
<h3 className="text-[11px] font-display font-bold text-muted-foreground uppercase tracking-wider flex items-center gap-1.5">
|
||||
{hasMapping && <Sparkles className="w-3 h-3 text-honey" aria-hidden="true" />}
|
||||
{hasMapping ? 'Your Workspace Specialists' : 'Specialists'}
|
||||
</h3>
|
||||
{hasMapping && others.length > 0 && (
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* surface wraps it in its own motion entrance (STAGGER.brief), so the card is
|
||||
* shared without coupling the two entrance choreographies.
|
||||
*/
|
||||
import { Sparkles } from 'lucide-react';
|
||||
import { Brain } from 'lucide-react';
|
||||
import type { MemoryHighlight } from '@/lib/briefing-source';
|
||||
|
||||
interface RecallCardProps {
|
||||
@@ -19,7 +19,7 @@ interface RecallCardProps {
|
||||
export function RecallCard({ highlight, timeLabel }: RecallCardProps) {
|
||||
return (
|
||||
<div className="flex items-start gap-2 rounded-lg border border-[var(--honey-line)] bg-[var(--honey-wash)] px-3 py-1.5">
|
||||
<Sparkles className="mt-0.5 h-3 w-3 shrink-0 text-honey/60" aria-hidden />
|
||||
<Brain className="mt-0.5 h-3 w-3 shrink-0 text-honey/60" aria-hidden />
|
||||
<div className="min-w-0">
|
||||
<p className="text-[12px] leading-relaxed text-foreground">{highlight.content}</p>
|
||||
{/* R21 (a11y/design): the 10px timestamp on the honey-wash card read
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useState, useEffect, useCallback } from 'react';
|
||||
import { Rocket, RefreshCw, ChevronDown, ChevronRight, ArrowLeft, Zap, Key } from 'lucide-react';
|
||||
import { Rocket, RefreshCw, ChevronDown, ChevronRight, ArrowLeft, Gauge, Key } from 'lucide-react';
|
||||
import { adapter, type SpawnAgentResult } from '@/lib/adapter';
|
||||
import { PERSONAS } from '@/lib/personas';
|
||||
import { countProvidersWithKeys, selectDefaultModel } from '@/lib/spawn-agent-helpers';
|
||||
@@ -453,7 +453,7 @@ const SpawnAgentDialog = ({ open, onClose, workspaces, activeWorkspaceId, onWork
|
||||
<>
|
||||
<div className="flex items-center gap-4">
|
||||
<div className="flex items-center gap-1.5">
|
||||
<Zap className="w-3.5 h-3.5 text-amber-400" />
|
||||
<Gauge className="w-3.5 h-3.5 text-amber-400" />
|
||||
<span className="text-sm text-foreground font-mono">
|
||||
~{(tokensMin / 1000).toFixed(0)}k–{(tokensMax / 1000).toFixed(0)}k tokens
|
||||
</span>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { motion } from 'framer-motion';
|
||||
import { Brain, Upload, Loader2, Check, Zap, ExternalLink, Info } from 'lucide-react';
|
||||
import { Brain, Upload, Loader2, Check, Import, ExternalLink, Info } from 'lucide-react';
|
||||
import { fadeSlide } from './constants';
|
||||
import { ConfidenceBadge } from '@/components/ui/confidence-badge';
|
||||
import { memoryKindLabel } from '@/lib/harvest-kind-map';
|
||||
@@ -71,7 +71,7 @@ const ImportStep = ({
|
||||
<div className={`mb-5 p-3 rounded-xl border ${largeDetectedHistory ? 'bg-honey/10 border-honey/30' : 'bg-primary/10 border-primary/30'}`}>
|
||||
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3">
|
||||
<div className="flex items-center gap-2 min-w-0">
|
||||
<Zap className="w-4 h-4 text-honey shrink-0" />
|
||||
<Import className="w-4 h-4 text-honey shrink-0" />
|
||||
<div className="min-w-0">
|
||||
<p className="text-xs font-display font-medium text-foreground">Claude Code detected</p>
|
||||
<p className="text-[11px] text-muted-foreground truncate" title={claudeCodeDetected.path}>
|
||||
@@ -218,7 +218,7 @@ const ImportStep = ({
|
||||
onClick={onContinue}
|
||||
className="text-xs text-muted-foreground hover:text-foreground transition-colors rounded-md px-1 focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-background"
|
||||
>
|
||||
{importDone ? 'Continue →' : 'Skip this step →'}
|
||||
{importDone ? 'Continue' : 'Skip this step'}
|
||||
</button>
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { motion } from 'framer-motion';
|
||||
import { Cpu, ArrowRight, Loader2, Check } from 'lucide-react';
|
||||
import { Cpu, Loader2, Check } from 'lucide-react';
|
||||
import { fadeSlide } from './constants';
|
||||
import { ModelGate } from '@/components/os/model-gate/ModelGate';
|
||||
import { useHasWorkingModel } from '@/hooks/useHasWorkingModel';
|
||||
@@ -66,7 +66,7 @@ const ModelGateStep = ({ onContinue, onLater }: ModelGateStepProps) => {
|
||||
className="inline-flex items-center gap-2 px-5 py-2.5 rounded-xl bg-primary text-primary-foreground font-display text-sm font-semibold hover:bg-primary/80 disabled:opacity-50 transition-colors focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-background"
|
||||
>
|
||||
{loading && !hasWorkingModel ? <Loader2 aria-hidden className="w-4 h-4 animate-spin" /> : null}
|
||||
Continue <ArrowRight className="w-4 h-4" aria-hidden />
|
||||
Continue
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -83,7 +83,7 @@ const WelcomeStep = ({ onClickAnywhere, offline }: WelcomeStepProps) => {
|
||||
autoFocus
|
||||
className="inline-flex items-center gap-2 px-6 py-3 rounded-xl bg-primary text-primary-foreground font-display text-sm font-semibold hover:bg-primary/80 transition-colors focus-visible:outline-none focus-visible:shadow-[0_0_0_3px_var(--focus-ring)]"
|
||||
>
|
||||
Continue →
|
||||
Continue
|
||||
</button>
|
||||
|
||||
{/* Local-first / privacy note (C28 companion). Lane T: was
|
||||
|
||||
@@ -185,7 +185,7 @@ const WhoAreYouStep = ({ profile, onChange, onContinue, saving }: WhoAreYouStepP
|
||||
className="inline-flex items-center gap-2 px-5 py-2 sm:py-2.5 rounded-xl bg-primary text-primary-foreground font-display text-sm font-semibold hover:bg-primary/80 disabled:opacity-50 transition-colors focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-background"
|
||||
>
|
||||
{saving ? <Loader2 aria-hidden="true" className="w-4 h-4 animate-spin" /> : null}
|
||||
{saving ? 'Saving…' : 'Continue →'}
|
||||
{saving ? 'Saving…' : 'Continue'}
|
||||
</button>
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
@@ -102,7 +102,7 @@ const WorkspaceCreateStep = ({
|
||||
className="inline-flex items-center gap-2 px-5 py-2.5 rounded-xl bg-primary text-primary-foreground font-display text-sm font-semibold hover:bg-primary/80 disabled:opacity-50 transition-colors focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-background"
|
||||
>
|
||||
{creating ? <Loader2 aria-hidden="true" className="w-4 h-4 animate-spin" /> : null}
|
||||
{creating ? 'Creating…' : 'Create workspace →'}
|
||||
{creating ? 'Creating…' : 'Create workspace'}
|
||||
</button>
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {
|
||||
Brain, Layers, Wrench, Target, Microscope, Laptop, Megaphone, Rocket,
|
||||
Scale, Building, Plus, PenLine, BarChart3, Code, ClipboardList, Mail,
|
||||
Hexagon, Zap, Crown, HeadphonesIcon, Settings, Database, Users,
|
||||
Hexagon, Crown, HeadphonesIcon, Settings, Database, Users,
|
||||
Palette, DollarSign, Briefcase,
|
||||
} from 'lucide-react';
|
||||
import { DUR } from '@/lib/motion/tokens';
|
||||
@@ -150,7 +150,7 @@ export const TIER_OPTIONS: readonly TierOption[] = [
|
||||
{
|
||||
id: 'professional' as UserTier,
|
||||
name: 'Standard',
|
||||
icon: Zap,
|
||||
icon: Layers,
|
||||
color: 'text-amber-400',
|
||||
desc: 'Agents, memory, and workspace tools. The full knowledge-worker kit.',
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useState, type ReactNode } from 'react';
|
||||
import { motion, useReducedMotion } from 'framer-motion';
|
||||
import { ChevronDown, Sparkles } from 'lucide-react';
|
||||
import { ChevronDown, ListChecks } from 'lucide-react';
|
||||
import { cn } from '@/lib/utils';
|
||||
import { SPRING } from '@/lib/motion/tokens';
|
||||
import { DotLive } from './DotLive';
|
||||
@@ -34,7 +34,7 @@ interface ActivityStreamProps {
|
||||
/**
|
||||
* The Chat "activity stream" — a collapsible card that reveals the agent's
|
||||
* steps (each with a tone dot and optional provenance pill). The header shows a
|
||||
* summary + step count + duration. Violet spark = intelligence/memory work.
|
||||
* summary + step count + duration. Violet checklist icon = the agent's work steps.
|
||||
*/
|
||||
export function ActivityStream({
|
||||
summary,
|
||||
@@ -55,7 +55,7 @@ export function ActivityStream({
|
||||
aria-expanded={open}
|
||||
className="flex w-full items-center gap-2.5 px-3.5 py-2.5 text-left"
|
||||
>
|
||||
<Sparkles className="h-4 w-4 shrink-0 text-[var(--intel)]" strokeWidth={1.8} />
|
||||
<ListChecks className="h-4 w-4 shrink-0 text-[var(--intel)]" strokeWidth={1.8} />
|
||||
<span className="flex-1 text-[13px] text-[var(--text-2)]">
|
||||
{summary}
|
||||
{meta && <span className="text-[var(--text-dim)]"> · {meta}</span>}
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
*/
|
||||
import type { ElementType } from 'react';
|
||||
import {
|
||||
Clock, Zap, Brain, FileText, Bot, Shield, CheckCircle2,
|
||||
XCircle,
|
||||
Clock, Activity, Brain, FileText, Bot, Shield, CheckCircle2,
|
||||
XCircle, Wrench, Workflow, Plug,
|
||||
} from 'lucide-react';
|
||||
import type { TimelineEvent } from './types';
|
||||
|
||||
@@ -55,11 +55,11 @@ type LegacyEventType =
|
||||
|
||||
export type KnownEventType = CanonicalEventType | LegacyEventType;
|
||||
|
||||
/** Lucide icon per event type. Unknown types fall back to `Zap`. */
|
||||
/** Lucide icon per event type. Unknown types fall back to `Activity`. */
|
||||
export const EVENT_ICONS: Record<KnownEventType, TimelineIcon> = {
|
||||
// ── Canonical (server-emitted) ────────────────────────────────────
|
||||
tool_call: Zap,
|
||||
tool_result: Zap,
|
||||
tool_call: Wrench,
|
||||
tool_result: Wrench,
|
||||
memory_write: Brain,
|
||||
memory_delete: Brain,
|
||||
workspace_create: FileText,
|
||||
@@ -77,10 +77,10 @@ export const EVENT_ICONS: Record<KnownEventType, TimelineIcon> = {
|
||||
memory_save: Brain,
|
||||
agent_spawned: Bot,
|
||||
skill_installed: FileText,
|
||||
workflow_execution: Zap,
|
||||
workflow_execution: Workflow,
|
||||
user_action: FileText,
|
||||
knowledge_created: Brain,
|
||||
connector_activated: Zap,
|
||||
connector_activated: Plug,
|
||||
error: XCircle,
|
||||
};
|
||||
|
||||
@@ -113,7 +113,7 @@ export const EVENT_COLORS: Record<KnownEventType, string> = {
|
||||
error: 'text-destructive border-destructive/30',
|
||||
};
|
||||
|
||||
export const DEFAULT_EVENT_ICON: TimelineIcon = Zap;
|
||||
export const DEFAULT_EVENT_ICON: TimelineIcon = Activity;
|
||||
export const DEFAULT_EVENT_COLOR = 'text-muted-foreground border-border/30';
|
||||
|
||||
/** Lookup helpers — safe against unknown event types. */
|
||||
|
||||
Reference in New Issue
Block a user