/** * Configuration tab — extracted from Settings.tsx (cq-002) */ import React, { useState } from 'react'; import type { StorageStats } from '@agentkitai/agentlens-core'; import { getStats, getConfig, updateConfig, type ConfigUpdate, } from '../../api/client'; import { useApi } from '../../hooks/useApi'; // ─── Helpers ──────────────────────────────────────────────── function StatsCard({ label, value }: { label: string; value: string }): React.ReactElement { return (
{label}
{value}
Loading…
)} {stats && (Loading configuration…
)} {saveSuccess && (Retention Period
Events older than this are automatically deleted
AgentGate URL
Base URL of your AgentGate instance (approval events arrive via the inbound webhook — see the Integrations tab)
AgentGate Secret
Shared secret for AgentGate webhook verification
FormBridge URL
Base URL of your FormBridge instance (form events arrive via the inbound webhook — see the Integrations tab)
FormBridge Secret
Shared secret for FormBridge webhook verification