Self-improving AI Employees for everyone
Python ai-agentsai-employeeai-employeesassistantautonomous-agentsco-employeescompanygrok-botinstinctloop-agentsmuseown-your-datapersonalself-hosted
docs(theme): client comments describe the three themes left
trohitgc800fa368973
diff --git a/client/src/Dashboard.tsx b/client/src/Dashboard.tsxindex 0dbe1826..94f3ba7b 100644--- a/client/src/Dashboard.tsx+++ b/client/src/Dashboard.tsx@@ -548,9 +548,8 @@ const DashboardContent: React.FC = () => {// `.canvas-host` / `.canvas` background-image (per-theme// `--canvas-grid` + multi-layer gradient stack from// client/src/themes/<theme>.css) paints through. Painting a- // backgroundColor here would hide every theme decoration —- // Cyber perspective grid, Renaissance fleur-de-lis, Surveillance- // CCTV reticle, Steampunk brass bolts, etc.+ // backgroundColor here would hide the theme's canvas decoration+ // (Atomic's starburst).const reactFlowStyle = React.useMemo(() => ({width: '100%',height: '100%',@@ -1207,12 +1206,9 @@ const DashboardContent: React.FC = () => {display: 'flex',position: 'relative',}}>- {/* `canvas-host` + `canvas` activate per-theme canvas- decorations (cyber grid backplane, atomic starburst, rot- candlelight pools, surveillance crosshair brackets,- renaissance fleur-de-lis + marginalia, greek temple key- pattern). The `canvas` co-class is the handoff selector- used by every per-theme CSS file. Decorative pseudo-+ {/* `canvas-host` + `canvas` activate the per-theme canvas+ decoration (Atomic's starburst). The `canvas` co-class is+ the handoff selector per-theme CSS uses. Decorative pseudo-elements declare pointer-events: none. */}<divclassName="canvas-host canvas"diff --git a/client/src/app/usePageActivitySync.ts b/client/src/app/usePageActivitySync.tsindex a12d5656..0dadf01c 100644--- a/client/src/app/usePageActivitySync.ts+++ b/client/src/app/usePageActivitySync.ts@@ -4,10 +4,10 @@** Why the attribute exists (Wave 33): browsers keep advancing CSS keyframe* timing on hidden tabs, and when the tab returns every paused frame of- * every executing node's three-layer `node-pulse` (plus Cyber's- * full-viewport flicker/roll) flushes at once. The compositor stalls for- * 100-200 ms and the first click after returning is swallowed. base.css- * pauses every CSS animation while the attribute is present. Script-driven+ * every executing node's three-layer `node-pulse` flushes at once. The+ * compositor stalls for 100-200 ms and the first click after returning is+ * swallowed. base.css pauses every CSS animation while the attribute is+ * present. Script-driven* motion (lib/motion, the Home orb) reads `pageActivity` for the same signal.** "Can be seen" is the Page Visibility API alone. Chrome also reports adiff --git a/client/src/components/AIAgentNode.tsx b/client/src/components/AIAgentNode.tsxindex 0a1c6b74..6090a68d 100644--- a/client/src/components/AIAgentNode.tsx+++ b/client/src/components/AIAgentNode.tsx@@ -146,8 +146,7 @@ const AIAgentNode: React.FC<NodeProps<NodeData>> = ({ id, type, data, isConnectareturn (// `node` + `node-agent` + `selected` co-classes are the design-handoff- // structural hooks for per-theme decorations (Renaissance wax seal,- // Cyber neon underglow + corner LED blink, etc.).+ // structural hooks for per-theme decorations.<div// No data-executing attribute here: the executing pulse binds via the// Dashboard-assigned `.react-flow__node.executing` wrapper classdiff --git a/client/src/components/SquareNode.tsx b/client/src/components/SquareNode.tsxindex f7816bee..389710cd 100644--- a/client/src/components/SquareNode.tsx+++ b/client/src/components/SquareNode.tsx@@ -297,10 +297,8 @@ const SquareNode: React.FC<NodeProps<NodeData>> = ({ id, type, data, isConnectabreturn (// `sq-node` + `selected` co-classes are the design-handoff structural- // hooks for per-theme square-node decorations (rivets on Steampunk- // sq-node-box::before/::after, hanko seal on Edo, REC LED + surv-blink- // on Surveillance, tombstone shape on Rot, gold-foil emblem on- // Renaissance, neon underglow on Cyber, etc.).+ // hooks for per-theme square-node styling (Atomic's `.sq-node-box`+ // and its selected state).<divclassName={`sq-node ${selected ? 'selected' : ''}`}data-executing={isExecuting ? '' : undefined}diff --git a/client/src/components/StartNode.tsx b/client/src/components/StartNode.tsxindex ad6951cc..1f69c651 100644--- a/client/src/components/StartNode.tsx+++ b/client/src/components/StartNode.tsx@@ -38,8 +38,7 @@ const StartNode: React.FC<NodeProps<NodeData>> = ({ id, type, data, isConnectablreturn (// `sq-node` + `selected` co-classes activate per-theme square-node- // decorations (Renaissance wax seal, Steampunk rivets, Edo hanko- // seal, Surveillance REC LED, Cyber neon underglow). Visual styling+ // styling (Atomic's). Visual styling// (background, border, radius, shadow) lives in base.css// `.sq-node-box { ... }` defaults + per-theme overrides and reads// `var(--node-color)` for the per-definition accent.diff --git a/client/src/components/TriggerNode.tsx b/client/src/components/TriggerNode.tsxindex 1505d3a6..b016badf 100644--- a/client/src/components/TriggerNode.tsx+++ b/client/src/components/TriggerNode.tsx@@ -137,9 +137,8 @@ const TriggerNode: React.FC<NodeProps<NodeData>> = ({ id, type, data, isConnectareturn (// `sq-node` + `node-trigger` + `selected` co-classes activate per-theme- // square-node decorations (Renaissance wax seal, Steampunk rivets, Edo- // hanko seal, Surveillance REC LED, Cyber neon underglow). The- // `node-trigger` co-class lets per-type theme rules narrow further.+ // square-node styling (Atomic's). The `node-trigger` co-class lets+ // per-type theme rules narrow further.// `data-executing` binds the CSS pulse animation owned by base.css.<divclassName={`sq-node node-trigger ${selected ? 'selected' : ''}`}@@ -157,8 +156,8 @@ const TriggerNode: React.FC<NodeProps<NodeData>> = ({ id, type, data, isConnecta>{/* Main Trigger Node — visual styling lives in base.css + per-themeCSS targeting `.sq-node-box`. Inner box keeps only layout- (size, flex), and per-theme decorations like Cyber neon glow,- Renaissance wax seal, and Steampunk rivets reach the pixels. */}+ (size, flex), so per-theme styling (Atomic's) reaches the+ pixels. */}<divclassName={`sq-node-box ${isArmed ? 'opencompany-trigger-armed' : ''}`}style={{diff --git a/client/src/components/output/OutputPanel.tsx b/client/src/components/output/OutputPanel.tsxindex f350310f..b362333b 100644--- a/client/src/components/output/OutputPanel.tsx+++ b/client/src/components/output/OutputPanel.tsx@@ -38,7 +38,7 @@ const unwrap = (d: any) =>const fmt = (s: string) => s.replace(/\\n/g, '\n').replace(/\\t/g, '\t');/** Terminal-style surface for CLI stdout — the same --code-* tokens the- * JSON viewer uses, so all 12 themes paint it in their own palette. */+ * JSON viewer uses, so every theme paints it in its own palette. */const TERMINAL_STYLE = {background: 'var(--code-bg)',color: 'var(--code-text)',diff --git a/client/src/components/ui/CommandPalette.tsx b/client/src/components/ui/CommandPalette.tsxindex 45af2920..78927324 100644--- a/client/src/components/ui/CommandPalette.tsx+++ b/client/src/components/ui/CommandPalette.tsx@@ -8,11 +8,10 @@* the codebase.** Token-driven: chrome reads bg-bg-elevated + border-border-strong;- * active row reads bg-bg-active + text-accent. Under Renaissance the- * panel becomes an "open scroll" via the per-theme background image- * (declared in renaissance.css `.cmdk` block — wired through here by- * applying the `cmdk` class on the outer wrapper). Under Cyber it- * becomes a "root terminal" with neon-cyan border + scanlines.+ * active row reads bg-bg-active + text-accent. Under Atomic the panel+ * takes the theme's thick slate frame and offset shadow (atomic.css+ * `.cmdk` block — wired through here by applying the `cmdk` class on the+ * outer wrapper).*/import * as React from 'react';@@ -74,8 +73,8 @@ export const CommandPalette: React.FC<CommandPaletteProps> = ({ open, onOpenChan<DialogPrimitive.Contentdata-slot="command-palette"className={cn(- // `cmdk` class is the per-theme decorative hook (renaissance- // and cyber CSS apply backgrounds + borders + scanlines via+ // `cmdk` class is the per-theme decorative hook (Atomic's CSS+ // applies its background, border and shadow via// `:root[data-theme="..."] .cmdk`).'cmdk fixed left-1/2 top-[14%] z-50 w-[min(560px,92vw)] -translate-x-1/2 overflow-hidden rounded-md border border-border-strong bg-bg-elevated shadow-2xl outline-none','data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 duration-100',diff --git a/client/src/components/ui/ComponentItem.tsx b/client/src/components/ui/ComponentItem.tsxindex 3071a639..52ae96d5 100644--- a/client/src/components/ui/ComponentItem.tsx+++ b/client/src/components/ui/ComponentItem.tsx@@ -35,8 +35,8 @@ const ComponentItem: React.FC<ComponentItemProps> = ({ definition: localDefinitionDragEnd={() => setIsDragging(false)}className={cn(// `comp` + `row` are handoff structural hooks: comp activates- // per-theme component-card decorations (left accent bar on Cyber,- // boomerang corners on Atomic, gold border on Renaissance hover);+ // per-theme component-card decorations (boomerang corners on+ // Atomic);// row enables the global hover-sound delegate.'comp row group relative flex-row items-center gap-3 px-3 py-2 cursor-grab select-none','border-border-default bg-bg-app transition-all duration-150 ease-out',diff --git a/client/src/components/ui/ComponentPalette.tsx b/client/src/components/ui/ComponentPalette.tsxindex 47e7353d..bceeb39b 100644--- a/client/src/components/ui/ComponentPalette.tsx+++ b/client/src/components/ui/ComponentPalette.tsx@@ -124,7 +124,7 @@ const ComponentPalette: React.FC<ComponentPaletteProps> = ({return (// Palette shell: `palette` co-class activates per-theme decorations- // (panel textures, neon side-glow on Cyber, marble grain on Greek).+ // (Atomic's slate edge).<div className="palette flex h-full w-full flex-col overflow-hidden border-l border-border-default bg-bg-panel">{/* Header Section — bg-bg-app drops one elevation step. */}<div className="border-b border-border-default bg-bg-app p-4">diff --git a/client/src/components/ui/ConsoleChat.tsx b/client/src/components/ui/ConsoleChat.tsxindex f812c441..5e03ca0b 100644--- a/client/src/components/ui/ConsoleChat.tsx+++ b/client/src/components/ui/ConsoleChat.tsx@@ -9,7 +9,7 @@** The console's font size applies to the conversation. The `chat` panel* hook stays on ConsolePanel's root; the turns carry `chat-msg-user` /- * `chat-msg-bot` for the stylized themes.+ * `chat-msg-bot` for the theme (Atomic paints them).*/import type { Ref } from 'react';diff --git a/client/src/components/ui/ConsolePanel.tsx b/client/src/components/ui/ConsolePanel.tsxindex ffdf3a69..ccd77163 100644--- a/client/src/components/ui/ConsolePanel.tsx+++ b/client/src/components/ui/ConsolePanel.tsx@@ -321,8 +321,7 @@ const ConsolePanel: React.FC<ConsolePanelProps> = ({return (// `chat` co-class is the design-handoff structural hook for per-theme- // panel decorations (parchment vellum on Renaissance, neon cyan- // top-glow on Cyber, washi noise on Edo, etc.).+ // panel decorations (Atomic's slate top rule).<divclassName="chat relative"onWheel={e => {diff --git a/client/src/components/ui/Modal.tsx b/client/src/components/ui/Modal.tsxindex de01c884..c7eccd47 100644--- a/client/src/components/ui/Modal.tsx+++ b/client/src/components/ui/Modal.tsx@@ -123,8 +123,7 @@ const Modal: React.FC<ModalProps> = ({<Dialog open={isOpen} onOpenChange={(next) => { if (!next) onClose(); }}><DialogPortal>{/* bg-bg-overlay reads --bg-overlay (each theme owns its own- scrim alpha + tone — Renaissance uses ink-brown, Cyber uses- void-near-black, light/dark use plain blacks). */}+ scrim alpha + tone). */}<DialogOverlay className={cn('bg-bg-overlay supports-backdrop-filter:backdrop-blur-xs', OVERLAY_MOTION[motion])} /><DialogPrimitive.ContentonOpenAutoFocus={onOpenAutoFocus}@@ -134,8 +133,7 @@ const Modal: React.FC<ModalProps> = ({className={cn(// bg-bg-app + border-border-default consume the new-contract// tokens directly so modals inherit the surface hierarchy- // defined by the active theme (parchment under Renaissance,- // void under Cyber).+ // defined by the active theme.//// `modal` is the design-handoff structural hook; Atomic's CSS// styles it (with `.modal-head` / `.modal-title`).@@ -158,9 +156,9 @@ const Modal: React.FC<ModalProps> = ({{showHeader ? (// Header: bg-bg-panel sits one elevation step above bg-bg-app// (panel surface above page surface). font-display + tracking- // + text-transform are theme-driven so titles read as Cinzel- // uppercase under Renaissance and Space Mono under- // Cyber, while staying clean sans-serif under light/dark.+ // + text-transform are theme-driven so titles read as Bevan+ // uppercase under Atomic, while staying clean sans-serif+ // under light/dark.<div className="modal-head relative flex min-h-14 w-full shrink-0 items-center border-b border-border-default bg-bg-panel px-5 py-3"><DialogTitle className="absolute left-5 flex max-w-[calc(100%_-_5rem)] items-center gap-2 font-display text-base font-semibold tracking-[var(--type-tracking-display)] text-fg-default [text-transform:var(--type-uppercase)]">{titleIcon}diff --git a/client/src/components/ui/SettingsPanel.tsx b/client/src/components/ui/SettingsPanel.tsxindex 51216464..a94361c0 100644--- a/client/src/components/ui/SettingsPanel.tsx+++ b/client/src/components/ui/SettingsPanel.tsx@@ -67,7 +67,7 @@ interface SectionProps {const Section: React.FC<SectionProps> = ({ title, Icon, tone, children }) => (// bg-bg-elevated + border-default — settings sections are elevated// cards stacked inside the modal body. font-display + tracking gives- // Renaissance/Cyber their typographic identity on section headers.+ // Atomic its display type on section headers.<div className="mb-4 rounded-md border border-border-default bg-bg-elevated p-4"><div className="mb-4 flex items-center gap-2 border-b border-border-default pb-3"><div className={`flex h-8 w-8 items-center justify-center rounded-md ${TONE_CLASSES[tone]}`}>diff --git a/client/src/components/ui/StatusBar.tsx b/client/src/components/ui/StatusBar.tsxindex 45c7dfb1..0a0d8c52 100644--- a/client/src/components/ui/StatusBar.tsx+++ b/client/src/components/ui/StatusBar.tsx@@ -2,10 +2,8 @@* StatusBar — fixed-bottom system console line.** Lives below the canvas, shows workflow name, node count, WebSocket- * connection state, active theme, and a live clock. Designed to read- * as a "shell prompt" line under Cyber and a "manuscript footer" under- * Renaissance via the new-contract typography tokens (font-mono,- * tracking, uppercase).+ * connection state, active theme, and a live clock. Its type comes from+ * the new-contract typography tokens (font-mono, tracking, uppercase).** Per the handoff this is the `.statusbar` surface — it always exists,* height is 24px, sits above the ConsolePanel toggle bar.@@ -43,13 +41,11 @@ export const StatusBar: React.FC<StatusBarProps> = ({ workflowName, nodeCount })return (// Fixed-bottom strip: bg-bg-panel + 1px top rule. font-mono carries- // through to IM Fell English under Renaissance and JetBrains Mono- // under Cyber, system mono under light/dark.+ // through to Space Mono under Atomic, system mono under light/dark.<divclassName={cn(// `statusbar` is the handoff structural hook for per-theme- // decorations (gauge readouts on Steampunk, REC blink on- // Surveillance, illuminated footer on Renaissance).+ // decorations (Atomic's slate bar).'statusbar flex h-6 items-center gap-3 border-t border-border-default bg-bg-panel px-3.5','font-mono text-[11px] tracking-[0.04em] text-fg-muted','[text-transform:var(--type-uppercase)]',@@ -58,8 +54,8 @@ export const StatusBar: React.FC<StatusBarProps> = ({ workflowName, nodeCount })aria-label="Status bar"><span className={cn('flex items-center gap-1.5 font-medium', wsTone)}>- {/* `pip` is the handoff hook for the per-theme blinking dot- (Surveillance fires `surv-blink`, Cyber fires `cyber-blink`). */}+ {/* `pip` is the handoff hook for the per-theme dot (Atomic+ colours it). */}<spanclassName={cn('pip inline-block h-1.5 w-1.5 rounded-full',diff --git a/client/src/components/ui/TopToolbar.tsx b/client/src/components/ui/TopToolbar.tsxindex 8ca08dff..f33bba2d 100644--- a/client/src/components/ui/TopToolbar.tsx+++ b/client/src/components/ui/TopToolbar.tsx@@ -67,7 +67,7 @@ import { AI_PROVIDER_META } from '../icons/AIProviderIcons';// New-contract token: --border-default ↔ Tailwind utility `bg-border-default`.// Same colour as `bg-border` under light/dark, retints automatically under-// renaissance / cyber via the per-theme [data-theme="..."] block.+// Atomic via its [data-theme="atomic"] block.const Divider = () => <div className="mx-1 h-6 w-px bg-border-default" />;interface TopToolbarProps {@@ -191,18 +191,16 @@ const TopToolbar: React.FC<TopToolbarProps> = ({return (// border-default + bg-bg-panel are the new-contract tokens. They// resolve to the existing colours under light/dark (no visual- // change) but pick up the parchment / void surfaces under- // renaissance / cyber automatically.+ // change) and pick up Atomic's surfaces automatically.// `toolbar` is the design-handoff structural class — per-theme CSS- // attaches panel textures (vellum on Renaissance, scanlines on Cyber,- // marble veins on Greek, riveted leather on Steampunk, etc.) +- // border treatments via `:root[data-theme="..."] .toolbar`.+ // attaches its border treatment via `:root[data-theme="..."] .toolbar`+ // (Atomic's thick slate rule).<div className="toolbar flex h-12 items-center justify-between gap-3 border-b border-border-default bg-bg-panel px-3">{/* ---------- Left Section ---------- */}{/* Design-handoff layout contract: every toolbar cluster is pinned(shrink-0) except the workflow-name chip, which is the ONE- shrinkable group. Wide-tracking themes (Cyber/Greek uppercase at- 0.10-0.18em) widen every label; without pinning, the mode toggle+ shrinkable group. Wide-tracking themes (Atomic's uppercase+ display type) widen every label; without pinning, the mode toggleand action cluster collapse before the name does. */}<div className="flex shrink-0 items-center gap-1.5"><Button@@ -230,7 +228,7 @@ const TopToolbar: React.FC<TopToolbarProps> = ({{/* font-display + tracking-display drive the per-theme displayfont + letter-spacing; uppercase is gated by --type-uppercasevia the new-contract `tracking-display` token (light/dark- use 0 + none, renaissance + cyber turn it on). */}+ use 0 + none, Atomic turns it on). */}<span className="font-display tracking-[var(--type-tracking-display)] [text-transform:var(--type-uppercase)]">File</span>@@ -288,8 +286,7 @@ const TopToolbar: React.FC<TopToolbarProps> = ({{/* font-display + tracking-display + [text-transform] aretheme-driven via the new-contract typography tokens. Underlight/dark the workflow name reads as our regular sans-serif;- under Renaissance it becomes Cinzel uppercase, under Cyber it- becomes Space Mono uppercase. */}+ under Atomic it becomes Bevan uppercase. */}<span className="truncate text-sm font-display font-medium tracking-[var(--type-tracking-display)] text-fg-default [text-transform:var(--type-uppercase)]">{workflowName}</span>@@ -531,8 +528,7 @@ const TopToolbar: React.FC<TopToolbarProps> = ({</ActionButton>{/* Status Indicator — font-mono tracks the new-contract --font-mono- so renaissance gets IM Fell English and cyber gets JetBrains- Mono. Stays system mono under light/dark. */}+ so Atomic gets Space Mono. Stays system mono under light/dark. */}<divclassName={cn('flex items-center gap-2 rounded-sm px-3 py-1 text-xs font-mono',diff --git a/client/src/components/ui/WorkflowSidebar.tsx b/client/src/components/ui/WorkflowSidebar.tsxindex b25c47ce..98b69568 100644--- a/client/src/components/ui/WorkflowSidebar.tsx+++ b/client/src/components/ui/WorkflowSidebar.tsx@@ -67,8 +67,7 @@ const WorkflowCard: React.FC<WorkflowCardProps> = ({</div><h4className={cn(- // Display typography on the workflow name — Cinzel under- // Renaissance, Space Mono under Cyber.+ // Display typography on the workflow name — Bevan under Atomic.'m-0 flex-1 truncate font-display text-sm font-medium tracking-[var(--type-tracking-display)] [text-transform:var(--type-uppercase)]',isSelected ? 'text-accent' : 'text-fg-default')}@@ -77,8 +76,8 @@ const WorkflowCard: React.FC<WorkflowCardProps> = ({</h4></div>- {/* Metadata uses font-mono — picks up IM Fell English / JetBrains- Mono / system mono per theme. */}+ {/* Metadata uses font-mono — Space Mono under Atomic, the system+ mono under light/dark. */}<divclassName={cn('flex items-center justify-between font-mono text-xs',diff --git a/client/src/components/ui/action-button.tsx b/client/src/components/ui/action-button.tsxindex 65207701..64243dc1 100644--- a/client/src/components/ui/action-button.tsx+++ b/client/src/components/ui/action-button.tsx@@ -28,9 +28,8 @@ import { Sounds } from '@/lib/sound';export const actionButtonVariants = cva(// Base: 32px tall pill with icon-text gap, semibold, focus ring, smooth hover.// `action-btn` + `btn` co-classes are the design-handoff structural- // hooks for per-theme decorations (gold-foil on Renaissance, neon- // outline on Cyber, hard 4px shadow on Atomic) and the global hover- // sound delegate. Disabled state uses shadcn-idiomatic+ // hooks for per-theme decorations (the hard offset shadow on Atomic)+ // and the global hover sound delegate. Disabled state uses shadcn-idiomatic// `disabled:opacity-50` so we don't do per-token opacity arithmetic// at the call site.'action-btn btn inline-flex h-8 items-center gap-1.5 rounded-md border px-3.5 text-[13px] font-semibold transition-all outline-none select-none disabled:cursor-not-allowed disabled:opacity-50 focus-visible:ring-2 focus-visible:ring-ring/40',diff --git a/client/src/components/ui/button.tsx b/client/src/components/ui/button.tsxindex dcc399e3..b10338b3 100644--- a/client/src/components/ui/button.tsx+++ b/client/src/components/ui/button.tsx@@ -8,9 +8,8 @@ import { Sounds } from "@/lib/sound"// `btn` co-class is the design-handoff structural hook — every shadcn// Button gets it so per-theme CSS rules (`.btn`, `.btn-primary`, etc.)-// activate (gold-foil on Renaissance, neon outline on Cyber, riveted-// brass on Steampunk, boomerang shadow on Atomic, etc.). It also-// powers the global hover-sound delegate which selects on `.btn, .row,+// can target it. It also powers the global hover-sound delegate which+// selects on `.btn, .row,// .action-btn, .menu-pop-item, .wf-card, .comp, .cmdk-item`.const buttonVariants = cva("btn group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",diff --git a/client/src/components/ui/dropdown-menu.tsx b/client/src/components/ui/dropdown-menu.tsxindex 21a01a00..6830c782 100644--- a/client/src/components/ui/dropdown-menu.tsx+++ b/client/src/components/ui/dropdown-menu.tsx@@ -45,9 +45,7 @@ function DropdownMenuContent({sideOffset={sideOffset}align={align}// `menu-pop` co-class is the design-handoff structural hook- // for per-theme dropdown decorations (parchment + gilded- // border on Renaissance, neon outline + > prefix on Cyber,- // etc.).+ // for per-theme dropdown decorations.className={cn("menu-pop z-50 max-h-(--radix-dropdown-menu-content-available-height) w-(--radix-dropdown-menu-trigger-width) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:overflow-hidden data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95", className )}{...props}/>@@ -91,9 +89,8 @@ function DropdownMenuItem({data-inset={inset}data-variant={variant}onSelect={handleSelect}- // `menu-pop-item` co-class powers per-theme item decorations- // (Renaissance ink-spread hover + ✦ marker; Cyber `> ` prefix +- // neon glow; etc.) and the W18 hover-sound delegate.+ // `menu-pop-item` co-class is the per-theme item hook and powers+ // the W18 hover-sound delegate.className={cn("menu-pop-item group/dropdown-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive",classNamediff --git a/client/src/components/ui/input.tsx b/client/src/components/ui/input.tsxindex 7d72b33f..012325fc 100644--- a/client/src/components/ui/input.tsx+++ b/client/src/components/ui/input.tsx@@ -20,10 +20,9 @@ function Input({ className, type, onChange, ...props }: React.ComponentProps<"intype={type}data-slot="input"onChange={handleChange}- // `input` co-class is the design-handoff structural hook —- // per-theme CSS attaches ruled-line backgrounds (Renaissance),- // terminal prompt prefix (Cyber), washi underline (Edo), etc.- // Also targeted by the W18 `type` sound delegate.+ // `input` co-class is the design-handoff structural hook+ // per-theme CSS can target. Also targeted by the W18 `type` sound+ // delegate.className={cn("input h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",classNamediff --git a/client/src/components/ui/popover.tsx b/client/src/components/ui/popover.tsxindex 275aba79..ad0201ec 100644--- a/client/src/components/ui/popover.tsx+++ b/client/src/components/ui/popover.tsx@@ -7,7 +7,7 @@ import { cn } from "@/lib/utils"* Popover — floating content anchored to a trigger or an anchor (shadcn,* on the repo's tokens). Radix supplies placement, collision handling,* focus management and dismissal. `menu-pop` is the design-handoff hook- * the stylized themes decorate, as on the dropdown menu.+ * per-theme CSS can decorate, as on the dropdown menu.*/function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) {return <PopoverPrimitive.Root data-slot="popover" {...props} />diff --git a/client/src/features/chat/turns/AssistantTurn.tsx b/client/src/features/chat/turns/AssistantTurn.tsxindex 17cf795e..34896b47 100644--- a/client/src/features/chat/turns/AssistantTurn.tsx+++ b/client/src/features/chat/turns/AssistantTurn.tsx@@ -12,8 +12,8 @@* replaces it. A run that waits for Resume, failed or was stopped says so* where its answer would be.*- * `chat-msg chat-msg-bot` (on the text only) is the theme hook the stylized- * themes paint as a bubble.+ * `chat-msg chat-msg-bot` (on the text only) is the theme hook Atomic+ * paints as a bubble.*/import { CircleAlert, Pause, RotateCcw, Square } from 'lucide-react';diff --git a/client/src/features/chat/turns/UserTurn.tsx b/client/src/features/chat/turns/UserTurn.tsxindex b5460cf5..035ed985 100644--- a/client/src/features/chat/turns/UserTurn.tsx+++ b/client/src/features/chat/turns/UserTurn.tsx@@ -2,8 +2,8 @@* The owner's message: a bubble on the right (design handoff chat,* "Thread"). A button they pressed in an interface the employee showed* (`kind: "action"`) reads as the press: the button's label beside a- * pointer, in a quieter pill. `chat-msg chat-msg-user` is the theme hook the- * stylized themes paint.+ * pointer, in a quieter pill. `chat-msg chat-msg-user` is the theme hook+ * Atomic paints.** Files sent with it show above it (images as thumbnails, other files as* chips); a message that is only files has no bubble.diff --git a/client/src/index.css b/client/src/index.cssindex ef73ee49..6d6f87dc 100644--- a/client/src/index.css+++ b/client/src/index.css@@ -333,14 +333,13 @@* `--canvas-grid` + multi-layer gradient stack) paints through.* Per the upstream v11 stylesheet, `.react-flow` ships with only* `direction: ltr;` — no background. Painting one here would hide- * the per-theme decorations (Cyber perspective grid, Renaissance- * fleur-de-lis, Surveillance CCTV reticle, etc.). When migrating+ * the per-theme decoration (Atomic's starburst). When migrating* to @xyflow/react v12, set `--xy-background-color: transparent;`* on `.xy-flow` (v12 sets a default opaque background via custom* property). */-/* The editor's dot grid (Dashboard's <Background>): drawn in the base- * themes, transparent in the stylized ones (--grid-dot, themes/*.css). */+/* The editor's dot grid (Dashboard's <Background>): drawn in light and+ * dark, transparent in Atomic (--grid-dot, themes/*.css). */.react-flow__background pattern circle {fill: var(--grid-dot) !important;}@@ -584,7 +583,7 @@ html.oc-theme-fade *::after {* esm/index.js), so its documented theming API is plain CSS custom properties.* Declaring them here rather than passing one of its bundled theme objects* through the `style` prop means: every <JsonView> in the app is themed with no- * per-call-site code, and all 12 themes repaint on `data-theme` change through+ * per-call-site code, and every theme repaints on `data-theme` change through* the normal cascade instead of a React re-render.* -------------------------------------------------------------------------- */@@ -704,10 +703,6 @@ html.oc-theme-fade *::after {border-top: 1px solid var(--border-default);margin: 12px 0;}-/* The stylized themes paint a reply (.chat-msg-bot) as a glowing or tinted- * bubble; code blocks and tables inside keep their own surfaces unglowed. */-.chat-msg-bot pre,-.chat-msg-bot table { text-shadow: none; }/* While an answer streams, a pulsing dot follows its last words (design* handoff chat, "Streaming"): at the end of the last block, or of a list's* last item. */diff --git a/client/src/lib/motion.ts b/client/src/lib/motion.tsindex 199f1bde..a37da79c 100644--- a/client/src/lib/motion.ts+++ b/client/src/lib/motion.ts@@ -3,8 +3,8 @@** Durations and easings come from CSS tokens (`--dur-*` / `--ease-*` in* themes/base.css), read from the computed style of <html> and cached per- * theme. A theme that retunes its motion (Cyber's stepped easing, Atomic's- * bounce) therefore retunes every animation that names the token. Two+ * theme. A theme that retunes its motion (Atomic's bounce) therefore+ * retunes every animation that names the token. Two* policies are applied here instead of at each call site:** - prefers-reduced-motion: durations become 1 ms and delays 0, so elementsdiff --git a/client/src/styles/theme.ts b/client/src/styles/theme.tsindex 2ddf94d5..97f688f3 100644--- a/client/src/styles/theme.ts+++ b/client/src/styles/theme.ts@@ -20,7 +20,7 @@// and a few non-color UI primitives.//// AUTHORITATIVE SOURCE for color tokens: the `:root[data-theme="..."]`-// blocks in `client/src/themes/<name>.css` (10 themes) plus the shadcn+// blocks in `client/src/themes/<name>.css` (light, dark, atomic) plus the shadcn// HSL-triplet bridge in `client/src/index.css`. New components consume// those via Tailwind utilities (`bg-bg-app`, `text-fg-default`,// `bg-action-run-soft`, `bg-node-agent-soft`) — never `theme.colors.X`diff --git a/client/src/themes/__tests__/themeTokens.test.ts b/client/src/themes/__tests__/themeTokens.test.tsindex 9f002e2b..f686ffd3 100644--- a/client/src/themes/__tests__/themeTokens.test.ts+++ b/client/src/themes/__tests__/themeTokens.test.ts@@ -1,9 +1,9 @@/*** Where the editor's dot grid, the light colour scheme and the scrollbars* get their values. The grid is drawn by the two base themes only: light.css- * and dark.css also style the stylized themes through `:root` and `.dark`,- * so `--grid-dot` (and the light `color-scheme`) must live in blocks that- * match only `[data-theme="light"]` / `[data-theme="dark"]`.+ * also styles Atomic through `:root`, so `--grid-dot` (and the light+ * `color-scheme`) must live in blocks that match only `[data-theme="light"]`+ * / `[data-theme="dark"]`.*/import { readFileSync } from 'node:fs';import { join } from 'node:path';diff --git a/client/src/themes/base.css b/client/src/themes/base.cssindex 1579a3f0..9386ca5d 100644--- a/client/src/themes/base.css+++ b/client/src/themes/base.css@@ -154,8 +154,8 @@--blur-scrim: 6px; /* backdrop blur behind Home dialogs *//* ── Home radii — multiples of the per-theme --radius-lg (8px in light and- * dark), so the themes that square their corners off (edo 0, greek 2px)- * stay square instead of growing pills. ─────────────────────────────── */+ * dark, 4px in Atomic), so a theme with squarer corners stays+ * square instead of growing pills. ─────────────────────────────── */--radius-row: calc(var(--radius-lg, 8px) * 1.25); /* 10 — rows, tiles */--radius-card: calc(var(--radius-lg, 8px) * 1.5); /* 12 — cards */--radius-panel: calc(var(--radius-lg, 8px) * 2); /* 16 — settings */@@ -286,22 +286,22 @@--canvas-grid: none;--canvas-grid-opacity: 0.4;/* The editor canvas's dot grid (React Flow <Background>, index.css). Only- * the two base themes draw it (light.css, dark.css); every stylized theme- * keeps its own --canvas-grid decoration alone. */+ * the two base themes draw it (light.css, dark.css); Atomic keeps its own+ * --canvas-grid decoration alone. */--grid-dot: transparent;/* Node execution pulse colour (Wave 30). Independent of `--node-color`* (the node's accent) so the executing-node glow stays high-contrast* against the canvas background regardless of which plugin is running.- * Each theme overrides this to its most visible accent (Cyber neon- * cyan, Renaissance gold, Surveillance REC red, etc.). The default- * resolves to the theme's `--info` accent. */+ * A theme may override this with its most visible accent (Atomic uses+ * its orange accent). The default resolves to the theme's `--info`+ * accent. */--node-pulse-color: var(--info);/* Canvas-edge tokens (design-handoff contract). Resting edges are one* pale neutral derived from the theme foreground, dashed, thin — so- * they stay legible on Renaissance vellum and Cyber's near-black void- * alike. Status recolors (executing / completed / error / ...) live in+ * they stay legible on every theme's canvas, light or dark. Status+ * recolors (executing / completed / error / ...) live in* styles/canvasAnimations.ts and reference ONLY these tokens plus the* semantic color tokens. Themes may override any of them. */--edge-stroke: color-mix(in srgb, var(--fg-default) var(--tint-edge), transparent);@@ -311,11 +311,10 @@--edge-dash: 5 5; /* resting dash rhythm */--edge-dash-active: 8 4; /* executing / pending dash-march rhythm */- /* Semantic-status alias + soft fills. Several skins (greek / plague /- * rot / atomic / wasteland / surveillance) reference `--danger` and the- * `--*-soft` family in their decoration rules; before these fallback- * declarations existed those var() reads computed to invalid and the- * fills silently dropped. The color side (--info/--success/--warning/+ /* Semantic-status alias + soft fills. Theme decoration rules read+ * `--danger` and the `--*-soft` family (Atomic's selected workflow card+ * uses `--warning-soft`); before these fallback declarations existed+ * such var() reads computed to invalid and the fills silently dropped. The color side (--info/--success/--warning/* --destructive) resolves per-theme at computed-value time; themes may* override any of these wholesale. */--danger: var(--destructive);@@ -347,9 +346,8 @@* frames in the compositor queue). When the tab becomes visible, all* paused frames flush at once — with W30's three-layer box-shadow* `node-pulse` (peak `0 0 56px 16px color-mix(...)` × 3 layers) running- * on every executing node, plus Cyber theme's full-viewport- * `cyber-flicker` (5s opacity) + `cyber-roll` (8s viewport-height- * translateY), the GPU compositor stalls for 100-200ms. During the stall+ * on every executing node, the GPU compositor stalls for 100-200ms.+ * During the stall* input events queue but don't dispatch — first click on tab return* appears unresponsive.*@@ -392,8 +390,8 @@ html[data-page-hidden] *::after {* `--node-workflow`). These rules consume that custom property* to draw a sensible default border / gradient / shadow so light, dark,* and any theme that doesn't define its own `.node` rule still renders- * correctly. Per-theme CSS in client/src/themes/<theme>.css overrides- * these with material-specific decorations (vellum, neon, marble, etc.).+ * correctly. Per-theme CSS in client/src/themes/<theme>.css may override+ * these with its own decorations.* ============================================================================ */.node {@@ -428,8 +426,7 @@ html[data-page-hidden] *::after {via canvasAnimations.ts (`.react-flow__node.executing`). The keyframeuses --node-pulse-color (theme-controlled high-contrast accent) NOT--node-color (plugin accent), so the glow stays visible against any- theme background — Cyber's near-black, Renaissance's vellum,- Surveillance's grey, etc. */+ theme background. */.react-flow__node.executing .node {animation: var(--pulse-keyframe, node-pulse) var(--pulse-duration, 1.4s) var(--pulse-timing, ease-in-out) infinite;}diff --git a/client/src/themes/dark.css b/client/src/themes/dark.cssindex d1b020a7..cdda8afb 100644--- a/client/src/themes/dark.css+++ b/client/src/themes/dark.css@@ -138,8 +138,7 @@color-scheme: dark;}-/* The dark theme only, not the stylized dark themes that share .dark: the- * editor canvas's dot grid. */+/* The dark theme's editor canvas dot grid. */:root[data-theme="dark"] {--grid-dot: color-mix(in srgb, var(--fg-muted) 22%, transparent);}diff --git a/client/src/themes/light.css b/client/src/themes/light.cssindex 233ef3f4..4a992546 100644--- a/client/src/themes/light.css+++ b/client/src/themes/light.css@@ -47,7 +47,7 @@--fg-on-danger: #ffffff;--fg-on-warning: #1a1d21;- /* Type — system stack for light/dark; Renaissance + Cyber override */+ /* Type — system stack for light/dark; Atomic overrides */--font-display: 'Geist Variable', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;--font-body: 'Geist Variable', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;--font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, monospace;@@ -234,8 +234,8 @@--status-paused-dot: #9aa1ac;}-/* The light theme only, not the stylized themes that inherit :root above:- * the editor canvas's dot grid, and native controls drawn light. */+/* The light theme only, not Atomic, which inherits :root above: the+ * editor canvas's dot grid, and native controls drawn light. */:root[data-theme="light"] {--grid-dot: color-mix(in srgb, var(--fg-muted) 20%, transparent);