Avatar Customization + Update Agent Brain (#23)

Co-authored-by: iamlukethedev <iamlukethedev@users.noreply.github.com>
This commit is contained in:
Luke The Dev
2026-03-20 23:05:14 -05:00
committed by GitHub
parent a5b0895dd8
commit 65c2b9cf85
39 changed files with 2803 additions and 551 deletions
+11 -1
View File
@@ -2,11 +2,21 @@ import { Suspense } from "react";
import { AgentStoreProvider } from "@/features/agents/state/store";
import { OfficeScreen } from "@/features/office/screens/OfficeScreen";
const ENABLED_RE = /^(1|true|yes|on)$/i;
const readDebugFlag = (value: string | undefined): boolean => {
const normalized = (value ?? "").trim();
if (!normalized) return true;
return ENABLED_RE.test(normalized);
};
export default function OfficePage() {
const showOpenClawConsole = readDebugFlag(process.env.DEBUG);
return (
<AgentStoreProvider>
<Suspense fallback={null}>
<OfficeScreen />
<OfficeScreen showOpenClawConsole={showOpenClawConsole} />
</Suspense>
</AgentStoreProvider>
);