Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(shot): update shot page implementation

Steven Enamakel081ddbdd918a
diff --git a/app/src/shot.html b/app/src/shot.html
deleted file mode 100644
index 81af02b849..0000000000
--- a/app/src/shot.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<!doctype html>
-<html><head><meta charset="utf-8"/><title>probe</title></head>
-<body><div id="root"></div><script type="module" src="/shot.tsx"></script></body></html>
diff --git a/app/src/shot.tsx b/app/src/shot.tsx
deleted file mode 100644
index 60dc24e789..0000000000
--- a/app/src/shot.tsx
+++ /dev/null
@@ -1,32 +0,0 @@
-import { createRoot } from 'react-dom/client';
-import './index.css';
-
-if (new URLSearchParams(location.search).has('dark')) {
- document.documentElement.classList.add('dark');
-}
-
-// Each row: a class whose colour SHOULD differ between themes, and one that
-// should not, both with and without an opacity modifier (which is what
-// compiles to color-mix(in oklab, …) under Tailwind v4).
-const PROBES = [
- 'text-content',
- 'text-content/80',
- 'text-content-muted',
- 'text-content-muted/80',
- 'bg-surface',
- 'bg-surface/80',
- 'text-primary-300',
- 'text-primary-300/80',
- 'text-primary-700/80',
- 'border-content-faint/35',
-];
-
-createRoot(document.getElementById('root')!).render(
- <div className="bg-surface p-2">
- {PROBES.map(c => (
- <div key={c} data-probe={c} className={`border ${c}`}>
- {c}
- </div>
- ))}
- </div>
-);