Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
address review (codex): show the Grok upload warning in the provider form too
[._.]/ Adam Eivya47d340ba80d
diff --git a/client/src/pages/AIProviders.jsx b/client/src/pages/AIProviders.jsxindex abcbba8b2d..21c0941ee7 100644--- a/client/src/pages/AIProviders.jsx+++ b/client/src/pages/AIProviders.jsx@@ -19,6 +19,22 @@ import CodeReviewDefaultsPanel from '../components/providers/CodeReviewDefaultsPimport Modal from '../components/ui/Modal';import { FormField } from '../components/ui/FormField';+// Privacy disclosure for the Grok Build CLI/TUI: its harness uploads the entire+// working repo to xAI (GCP) as it works unless the user opts out. Shown both on+// the provider card and in the create/edit form (before enabling) — see+// isGrokBuildCli for which providers match.+function GrokUploadWarning({ className = '' }) {+ return (+ <div className={`text-xs rounded-md border border-port-warning/40 bg-port-warning/10 text-port-warning px-2.5 py-2 leading-relaxed ${className}`}>+ ⚠️ The Grok harness uploads your <span className="font-semibold">entire working repo</span> to+ xAI (GCP) as it works. To keep your code local, add the following to{' '}+ <code className="font-mono">~/.grok/config.toml</code> before enabling this provider:+ <pre className="mt-1.5 whitespace-pre rounded bg-port-bg/60 px-2 py-1.5 font-mono text-[11px] text-port-warning">{`[harness]+disable_codebase_upload = true`}</pre>+ </div>+ );+}+export default function AIProviders() {const [providers, setProviders] = useState([]);const [statuses, setStatuses] = useState({}); // runtime availability by providerId (separate from the `enabled` toggle)@@ -567,15 +583,7 @@ export default function AIProviders() {</div>)}- {isGrokBuildCli(provider) && (- <div className="mt-2 text-xs rounded-md border border-port-warning/40 bg-port-warning/10 text-port-warning px-2.5 py-2 leading-relaxed">- ⚠️ The Grok harness uploads your <span className="font-semibold">entire working repo</span> to- xAI (GCP) as it works. To keep your code local, add the following to{' '}- <code className="font-mono">~/.grok/config.toml</code> before enabling this provider:- <pre className="mt-1.5 whitespace-pre rounded bg-port-bg/60 px-2 py-1.5 font-mono text-[11px] text-port-warning">{`[harness]-disable_codebase_upload = true`}</pre>- </div>- )}+ {isGrokBuildCli(provider) && <GrokUploadWarning className="mt-2" />}{testResults[provider.id] && !testResults[provider.id].testing && (<div className={`mt-2 text-sm ${testResults[provider.id].success ? 'text-port-success' : 'text-port-error'}`}>@@ -1327,6 +1335,8 @@ function ProviderForm({ provider, onClose, onSave, allProviders = [] }) {<span className="text-sm text-gray-400">Enabled</span></label>+ {isGrokBuildCli({ type: formData.type, command: formData.command }) && <GrokUploadWarning />}+<div className="flex justify-end gap-3 pt-4"><buttontype="button"