Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix(city): brighten scene and fix settings panel viewport collapse

Adam Eivy3c5854e048ee
diff --git a/.changelog/v0.12.x.md b/.changelog/v0.12.x.md
index 1a78774afa..9444f2b85d 100644
--- a/.changelog/v0.12.x.md
+++ b/.changelog/v0.12.x.md
@@ -370,6 +370,19 @@ This release adds branch management and automated release workflow capabilities
- `client/src/services/api.js` — Added `getCosActionableInsights()` API function
- `client/src/pages/ChiefOfStaff.jsx` — Renders ActionableInsightsBanner above QuickSummary on the Tasks tab
+### Agents — Overview Quick Actions & Compact Layout
+- **Quick Actions card**: One-click Engage Now and Check Posts directly from the Overview tab — no more navigating to Tools, selecting an account, and finding the button
+- **Auto-select account**: When an agent has exactly one active platform account, it's automatically selected for quick actions (Overview) and tools (Tools tab)
+- **Two-column layout**: Overview now uses a responsive 3/2 grid — personality form on the left, quick actions + AI providers + accounts on the right
+- **Compact personality form**: Tone + Avatar (emoji/color) on same row, Topics + Quirks on same row, saving vertical space
+- **Rate limit badges**: Quick Actions card shows remaining rate limits per action type with color-coded indicators
+- **Removed AI regeneration block**: The rarely-used "Regenerate with AI" section (provider/model pickers + Generate button) removed from prime Overview real estate
+- **Generate Post shortcut**: Button navigates to `/agents/:id/tools` where the full post composer lives, with account pre-selected
+
+**Client changes**:
+- `client/src/components/agents/tabs/OverviewTab.jsx` — Major rewrite: removed AI regen section, added 2-column grid layout, Quick Actions card with engage/check/generate buttons, compact form fields, rate limit display
+- `client/src/components/agents/tabs/ToolsTab.jsx` — Auto-select first active account on mount
+
### Agents — Per-Function AI Provider/Model Configuration
- **Per-function AI config**: Each agent can now configure separate AI providers for **Content Generation** (posts/comments), **Engagement** (autonomous interactions), and **Challenge Solving** (verification)
- **Overview tab UI**: Replaced single "Default AI Provider" selector with 3 function-specific rows, each with provider + model dropdowns
diff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsx
index a3d5e0d361..69ea2841f1 100644
--- a/client/src/components/Layout.jsx
+++ b/client/src/components/Layout.jsx
@@ -457,7 +457,7 @@ export default function Layout() {
location.pathname.startsWith('/digital-twin') ||
location.pathname.startsWith('/agents') ||
location.pathname === '/shell' ||
- location.pathname === '/city';
+ location.pathname.startsWith('/city');
return (
<main id="main-content" className={`flex-1 overflow-auto ${isFullWidth ? '' : 'p-4 md:p-6'}`}>
{isFullWidth ? <Outlet /> : <div className="max-w-7xl mx-auto"><Outlet /></div>}
diff --git a/client/src/components/city/Building.jsx b/client/src/components/city/Building.jsx
index faa81b3387..bf8c612978 100644
--- a/client/src/components/city/Building.jsx
+++ b/client/src/components/city/Building.jsx
@@ -256,13 +256,13 @@ function NeonEdgeStrip({ position, height, color, delay }) {
useFrame(({ clock }) => {
if (!ref.current) return;
const t = clock.getElapsedTime();
- ref.current.material.opacity = 0.3 + Math.sin(t * 1.2 + delay) * 0.2;
+ ref.current.material.opacity = 0.5 + Math.sin(t * 1.2 + delay) * 0.25;
});
return (
<mesh ref={ref} position={position}>
<boxGeometry args={[0.03, height, 0.03]} />
- <meshBasicMaterial color={color} transparent opacity={0.4} />
+ <meshBasicMaterial color={color} transparent opacity={0.6} />
</mesh>
);
}
@@ -305,13 +305,13 @@ export default function Building({ app, position, agentCount, onClick, playSfx }
if (!meshRef.current) return;
const t = clock.getElapsedTime();
- const baseIntensity = isOnline ? 0.25 : 0.08;
- const pulse = isOnline ? Math.sin(t * 2 + seed) * 0.1 : 0;
- const hoverBoost = hovered ? 0.3 : 0;
+ const baseIntensity = isOnline ? 0.5 : 0.2;
+ const pulse = isOnline ? Math.sin(t * 2 + seed) * 0.15 : 0;
+ const hoverBoost = hovered ? 0.4 : 0;
meshRef.current.material.emissiveIntensity = baseIntensity + pulse + hoverBoost;
if (glowRef.current) {
- glowRef.current.material.opacity = 0.25 + (isOnline ? Math.sin(t * 1.5) * 0.1 : 0) + (hovered ? 0.2 : 0);
+ glowRef.current.material.opacity = 0.35 + (isOnline ? Math.sin(t * 1.5) * 0.12 : 0) + (hovered ? 0.25 : 0);
}
// Glow halo wireframe pulse
@@ -336,7 +336,7 @@ export default function Building({ app, position, agentCount, onClick, playSfx }
<meshStandardMaterial
color={CITY_COLORS.buildingBody}
emissive={edgeColor}
- emissiveIntensity={0.15}
+ emissiveIntensity={0.35}
map={windowTexture}
transparent
opacity={app.archived ? 0.75 : 0.95}
diff --git a/client/src/components/city/CityEffects.jsx b/client/src/components/city/CityEffects.jsx
index e07fa37a2e..2eae749072 100644
--- a/client/src/components/city/CityEffects.jsx
+++ b/client/src/components/city/CityEffects.jsx
@@ -96,11 +96,11 @@ const ColorGradingShader = {
float shadowWeight = smoothstep(0.0, 0.3, lum) * (1.0 - smoothstep(0.0, 0.4, lum));
float midWeight = smoothstep(0.2, 0.5, lum) * (1.0 - smoothstep(0.5, 0.8, lum));
float highWeight = smoothstep(0.6, 1.0, lum);
- color.rgb = mix(color.rgb, color.rgb * shadowTint * 3.0, shadowWeight * 0.25);
+ color.rgb = mix(color.rgb, color.rgb * shadowTint * 3.0, shadowWeight * 0.12);
color.rgb = mix(color.rgb, color.rgb * midTint * 1.4, midWeight * 0.15);
color.rgb = mix(color.rgb, color.rgb * highTint, highWeight * 0.1);
- // Slight contrast boost
- color.rgb = (color.rgb - 0.5) * 1.08 + 0.5;
+ // Slight brightness lift for dark areas
+ color.rgb = color.rgb * 1.1 + 0.015;
gl_FragColor = color;
}
`,
diff --git a/client/src/components/city/CityLights.jsx b/client/src/components/city/CityLights.jsx
index 2bbe71e4e4..900a560759 100644
--- a/client/src/components/city/CityLights.jsx
+++ b/client/src/components/city/CityLights.jsx
@@ -43,12 +43,12 @@ function Searchlight() {
<spotLight
ref={ref}
position={[25, 30, 0]}
- intensity={0.3}
+ intensity={0.6}
color="#06b6d4"
- angle={0.15}
+ angle={0.2}
penumbra={0.8}
- distance={80}
- decay={1.5}
+ distance={90}
+ decay={1.2}
castShadow={false}
/>
);
@@ -57,21 +57,23 @@ function Searchlight() {
export default function CityLights() {
return (
<>
- <ambientLight intensity={0.06} color={CITY_COLORS.ambient} />
- {/* Main overhead cyan - brighter */}
- <pointLight position={[0, 25, 0]} intensity={0.6} color="#06b6d4" distance={80} />
+ <ambientLight intensity={0.18} color="#1a1a3a" />
+ {/* Main overhead cyan */}
+ <pointLight position={[0, 30, 0]} intensity={1.2} color="#06b6d4" distance={100} />
+ {/* Secondary overhead fill - broad white/blue */}
+ <pointLight position={[0, 20, 10]} intensity={0.5} color="#4488cc" distance={90} />
{/* Magenta accent from left - animated color shift */}
- <AnimatedLight position={[-20, 10, -15]} baseColor="#ec4899" intensity={0.45} distance={55} speed={0.3} shiftRange={0.15} />
+ <AnimatedLight position={[-20, 12, -15]} baseColor="#ec4899" intensity={0.7} distance={60} speed={0.3} shiftRange={0.15} />
{/* Blue accent from right - animated shift */}
- <AnimatedLight position={[20, 10, 15]} baseColor="#3b82f6" intensity={0.45} distance={55} speed={0.4} shiftRange={0.12} />
+ <AnimatedLight position={[20, 12, 15]} baseColor="#3b82f6" intensity={0.7} distance={60} speed={0.4} shiftRange={0.12} />
{/* Purple from behind - more presence */}
- <pointLight position={[0, 15, -25]} intensity={0.3} color="#8b5cf6" distance={50} />
+ <pointLight position={[0, 15, -25]} intensity={0.5} color="#8b5cf6" distance={60} />
{/* Warm orange ground level accent */}
- <pointLight position={[10, 3, 5]} intensity={0.2} color="#f97316" distance={30} />
+ <pointLight position={[10, 3, 5]} intensity={0.35} color="#f97316" distance={35} />
{/* Additional green accent - ground level from opposite side */}
- <pointLight position={[-12, 2, 8]} intensity={0.12} color="#22c55e" distance={20} />
+ <pointLight position={[-12, 3, 8]} intensity={0.2} color="#22c55e" distance={25} />
{/* Red warning accent from below-right */}
- <pointLight position={[15, 1, -10]} intensity={0.08} color="#f43f5e" distance={18} />
+ <pointLight position={[15, 2, -10]} intensity={0.15} color="#f43f5e" distance={22} />
{/* Sweeping searchlight */}
<Searchlight />
</>
diff --git a/client/src/components/city/CityScene.jsx b/client/src/components/city/CityScene.jsx
index 0a00aa4b20..36ad2dfce3 100644
--- a/client/src/components/city/CityScene.jsx
+++ b/client/src/components/city/CityScene.jsx
@@ -40,7 +40,7 @@ export default function CityScene({ apps, agentMap, onBuildingClick, cosStatus,
style={{ background: '#030308' }}
gl={{ antialias: true }}
>
- <fogExp2 attach="fog" args={['#030308', 0.018]} />
+ <fogExp2 attach="fog" args={['#030308', 0.01]} />
<CityLights />
<CityStarfield />
<CityShootingStars playSfx={playSfx} />
diff --git a/client/src/components/city/cityConstants.js b/client/src/components/city/cityConstants.js
index 23c1b87353..3797804db4 100644
--- a/client/src/components/city/cityConstants.js
+++ b/client/src/components/city/cityConstants.js
@@ -13,7 +13,7 @@ export const CITY_COLORS = {
not_found: '#6366f1',
archived: '#475569',
},
- buildingBody: '#080816',
+ buildingBody: '#10102a',
particles: '#06b6d4',
stars: '#ffffff',
// Neon accent palette for building window/decoration variety