/** * 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 ConfigData, } 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
Webhook URL for AgentGate approval events
AgentGate Secret
Shared secret for AgentGate webhook verification
FormBridge URL
Webhook URL for FormBridge form events
FormBridge Secret
Shared secret for FormBridge webhook verification