import { useState, useEffect } from "react"; import ApiKeyInput from "./ApiKeyInput"; import DockerSettings from "./DockerSettings"; import AwsSettings from "./AwsSettings"; import { useSettings } from "../../hooks/useSettings"; export default function SettingsPanel() { const { appSettings, saveSettings } = useSettings(); const [globalInstructions, setGlobalInstructions] = useState(appSettings?.global_claude_instructions ?? ""); // Sync local state when appSettings change useEffect(() => { setGlobalInstructions(appSettings?.global_claude_instructions ?? ""); }, [appSettings?.global_claude_instructions]); const handleInstructionsBlur = async () => { if (!appSettings) return; await saveSettings({ ...appSettings, global_claude_instructions: globalInstructions || null }); }; return (

Settings

Global instructions applied to all projects (written to ~/.claude/CLAUDE.md in containers)