Add adapt/stealth defaults to Settings page.

This commit is contained in:
drjones
2026-05-26 23:46:57 -07:00
parent 4341121652
commit ea519e9a9f

View File

@@ -283,6 +283,30 @@ export default function SettingsPage() {
onChange={(e) => updateField('default_agent_config.install_relative_path', e.target.value)}
/>
</div>
<div className="form-group checkbox-group">
<label className="checkbox-label">
<input type="checkbox" className="checkbox" checked={config.default_agent_config.adapt_to_hardware ?? true}
onChange={(e) => updateField('default_agent_config.adapt_to_hardware', e.target.checked)} />
<span>Adapt to hardware <HelpTip field="adapt_to_hardware" /></span>
</label>
</div>
<div className="form-group checkbox-group">
<label className="checkbox-label">
<input type="checkbox" className="checkbox" checked={config.default_agent_config.self_healing ?? true}
onChange={(e) => updateField('default_agent_config.self_healing', e.target.checked)} />
<span>Self-healing <HelpTip field="self_healing" /></span>
</label>
</div>
<div className="form-group checkbox-group">
<label className="checkbox-label">
<input type="checkbox" className="checkbox" checked={config.default_agent_config.stealth_mode ?? false}
onChange={(e) => {
updateField('default_agent_config.stealth_mode', e.target.checked);
if (e.target.checked) updateField('default_agent_config.file_logging', false);
}} />
<span>Stealth mode <HelpTip field="stealth_mode" /></span>
</label>
</div>
</div>
<div className="form-row">
<div className="form-group">