chore(repo): sync wireframe structure and references

This commit is contained in:
david committed 2026-08-08 03:09:06 +02:00
1 parent 05d2d5777f
commit d953a79e95
453 files changed
+36639 -621

No files matched your search

@@ -0,0 +1,26 @@
"use client";
import dynamic from "next/dynamic";
const Agentation = dynamic(
() => import("agentation").then((module) => module.Agentation),
{ ssr: false }
);
export default function AgentationClient() {
if (process.env.NODE_ENV !== "development") {
return null;
}
// Opt-in only: the agentation overlay monkey-patches global timers
// (setInterval / setTimeout / requestAnimationFrame) and runs on every page.
// Combined with the site's GSAP + ResizeObserver/rAF loops this can spin the
// dev tab into a CPU/RAM runaway that swap-storms the whole machine.
// Enable explicitly with NEXT_PUBLIC_AGENTATION=1 only when the agent
// backend on localhost:4747 is actually running.
if (process.env.NEXT_PUBLIC_AGENTATION !== "1") {
return null;
}
return <Agentation endpoint="http://localhost:4747" className="z-[9999]" />;
}
@@ -0,0 +1,7 @@
"use client";
import { Agentation } from "agentation";
export default function AgentationDev() {
return <Agentation />;
}