/
GreyCat
/
openhuman
Обзор
Документация
Войти
/
GreyCat
/
openhuman
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
app/src/hooks/useDeveloperMode.ts
14 строк
547 B
Steven Enamakel
feat(settings): always show Developer & Diagnostics (drop dev-mode gate) (#3639)
12 июн 2026, 23:32
Не верифицирован
12 июн 2026, 23:32
3a71619
Код
Авторство
О чём код?
/** * useDeveloperMode — runtime developer-mode gate. * * Developer surfaces (Settings › Developer & Diagnostics, dev-only settings * search entries, the Intelligence "council" tab) are now always visible, so * this hook unconditionally returns `true`. The previous opt-in toggle in * Settings › About has been removed. * * Gating was always UI-only. The Rust `SecurityPolicy` / autonomy-tier * enforcement in the core is authoritative and is unaffected by this. */ export function useDeveloperMode(): boolean { return true; }