Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

fix: commented out some setting that are not available at the moment

Luigi Agostic89feda807e6
diff --git a/dashboard/src/components/molecules/ServerSummary.tsx b/dashboard/src/components/molecules/ServerSummary.tsx
index f6e33feb..7eedc110 100644
--- a/dashboard/src/components/molecules/ServerSummary.tsx
+++ b/dashboard/src/components/molecules/ServerSummary.tsx
@@ -16,9 +16,9 @@ export default function ServerSummary() {
return `${s}s`;
};
- const copyToClipboard = (text: string) => {
- navigator.clipboard.writeText(text);
- };
+ // const copyToClipboard = (text: string) => {
+ // navigator.clipboard.writeText(text);
+ // };
return (
<div className="flex flex-col gap-4">
@@ -50,7 +50,7 @@ export default function ServerSummary() {
</div>
</div>
- {serverInfo.configPath && (
+ {/* {serverInfo.configPath && (
<div className="flex flex-col gap-0.5">
<label className="text-[10px] font-semibold text-text-muted uppercase tracking-tight">
Config
@@ -68,7 +68,7 @@ export default function ServerSummary() {
</span>
</div>
</div>
- )}
+ )} */}
</Card>
</div>
);
diff --git a/dashboard/src/generated/types.ts b/dashboard/src/generated/types.ts
index 053742c2..d2726c6e 100644
--- a/dashboard/src/generated/types.ts
+++ b/dashboard/src/generated/types.ts
@@ -64,7 +64,7 @@ export interface ActivityEvent {
method: string;
path: string;
timestamp: string;
- details?: { [key: string]: any};
+ details?: { [key: string]: any };
}
/**
* ScreencastSettings configures live tab previews.
@@ -107,10 +107,6 @@ export interface ServerInfo {
profiles: number /* int */;
instances: number /* int */;
agents: number /* int */;
- strategy?: string;
- allocationPolicy?: string;
- tabEvictionPolicy?: string;
- configPath?: string;
}
/**
* CreateProfileRequest is the request body for creating a profile.
@@ -158,4 +154,5 @@ export interface LaunchInstanceRequest {
name?: string; // profile name
mode?: string; // "headed" or empty for headless
port?: string; // port number as string
+ extensionPaths?: string[]; // Chrome extension paths to load
}
diff --git a/dashboard/src/pages/SettingsPage.tsx b/dashboard/src/pages/SettingsPage.tsx
index 19085578..f4b80d9a 100644
--- a/dashboard/src/pages/SettingsPage.tsx
+++ b/dashboard/src/pages/SettingsPage.tsx
@@ -5,7 +5,11 @@ import { ServerSummary } from "../components/molecules";
import type { Settings } from "../types";
export default function SettingsPage() {
- const { settings, setSettings, serverInfo } = useAppStore();
+ const {
+ settings,
+ setSettings,
+ // serverInfo
+ } = useAppStore();
const [local, setLocal] = useState<Settings>(settings);
// Check if settings have changed
@@ -47,7 +51,7 @@ export default function SettingsPage() {
{/* Settings Content */}
<div className="flex-1 space-y-6 overflow-y-auto pr-2">
{/* Policies & Strategy */}
- {serverInfo && (
+ {/* {serverInfo && (
<Card className="p-4">
<h3 className="mb-4 text-sm font-semibold text-text-primary">
⚖️ Policies & Strategy
@@ -81,7 +85,7 @@ export default function SettingsPage() {
</div>
</div>
</Card>
- )}
+ )} */}
{/* Screencast */}
<Card className="p-4">
@@ -90,7 +94,9 @@ export default function SettingsPage() {
</h3>
<div className="space-y-4">
<div className="flex items-center justify-between">
- <label className="text-sm text-text-secondary">Frame Rate</label>
+ <label className="text-sm text-text-secondary">
+ Frame Rate
+ </label>
<div className="flex items-center gap-2">
<input
type="range"
@@ -100,7 +106,10 @@ export default function SettingsPage() {
onChange={(e) =>
setLocal({
...local,
- screencast: { ...local.screencast, fps: +e.target.value },
+ screencast: {
+ ...local.screencast,
+ fps: +e.target.value,
+ },
})
}
className="w-32"