# plugin-admin

`@fayz-ai/plugin-admin` · preview · Capability parcial

Every SaaS/admin-template app already resolves a shell config — sidebar or topbar layout, rail or tabs for module navigation, a mobile header treatment, whether org/branding settings are shown — from FayzAppConfig (src/config/app.tsx / theme.ts) at build time. Today an operator can't see any of that from the Panel; changing it means hand-editing config files and redeploying. plugin-admin adds an…

## Ficha técnica

- **Pacote:** `@fayz-ai/plugin-admin`
- **Versão:** 0.1.0
- **Status:** preview
- **Capability:** Capability parcial
- **Tipo de produto:** Plataforma
- **Canal stable:** ainda não publicado
- **Migrations:** nenhuma
- **Factory:** `createAdminPlugin()`

## Modelo de dados

Sem tabelas próprias — usa a biblioteca core / archetype (mesma regra: `tenant_id` + RLS).

## Tools de IA

| id | modo | descrição |
| --- | --- | --- |
| `admin.get-shell-settings` | read | Returns the app shell configuration: layout variant, module nav style, mobile header treatment, and whether org/branding settings are shown. |

## Integrações

Sem conector hospedado — provedores externos via spine de conectores (`@fayz-ai/core`).

## Integrar

Adicione o plugin em `surfaces.admin.plugins` do `app.manifest.json` e rode o doctor:

```json
{ "surfaces": { "admin": { "plugins": [ { "id": "admin", "enabled": true } ] } } }
```

```bash
npx fayz doctor
```
